/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | IntRangeManagerTest.java | 48 int flags; field in IntRangeManagerTest.TestIntRangeManager 58 flags |= FLAG_START_UPDATE_CALLED; in startUpdate() 70 flags |= FLAG_ADD_RANGE_CALLED; in addRange() 78 flags |= FLAG_FINISH_UPDATE_CALLED; in finishUpdate() 84 flags = 0; in reset() 119 assertEquals("flags before test", 0, testManager.flags); in testAddSingleChannel() 121 assertEquals("flags after test", ALL_FLAGS_SET, testManager.flags); in testAddSingleChannel() 127 assertEquals("flags after test", ALL_FLAGS_SET, testManager.flags); in testAddSingleChannel() 137 assertEquals("flags after enable", ALL_FLAGS_SET, testManager.flags); in testRemoveSingleChannel() 142 testManager.flags); in testRemoveSingleChannel() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ConnectionRecord.java | 32 final int flags; // Binding options. field in ConnectionRecord 44 + " flags=0x" + Integer.toHexString(flags)); in dump() 53 flags = _flags; in ConnectionRecord() 68 if ((flags&Context.BIND_AUTO_CREATE) != 0) { in toString() 71 if ((flags&Context.BIND_DEBUG_UNBIND) != 0) { in toString() 74 if ((flags&Context.BIND_NOT_FOREGROUND) != 0) { in toString() 77 if ((flags&Context.BIND_IMPORTANT_BACKGROUND) != 0) { in toString() 80 if ((flags&Context.BIND_ABOVE_CLIENT) != 0) { in toString() 83 if ((flags&Context.BIND_ALLOW_OOM_MANAGEMENT) != 0) { in toString() 86 if ((flags&Context.BIND_WAIVE_PRIORITY) != 0) { in toString() [all …]
|
/frameworks/base/libs/androidfw/tests/ |
D | Theme_test.cpp | 65 uint32_t flags; in TEST_F() local 66 EXPECT_EQ(kInvalidCookie, theme->GetAttribute(app::R::attr::attr_one, &value, &flags)); in TEST_F() 77 uint32_t flags; in TEST_F() local 80 cookie = theme->GetAttribute(app::R::attr::attr_one, &value, &flags); in TEST_F() 84 EXPECT_EQ(static_cast<uint32_t>(ResTable_typeSpec::SPEC_PUBLIC), flags); in TEST_F() 86 cookie = theme->GetAttribute(app::R::attr::attr_two, &value, &flags); in TEST_F() 90 EXPECT_EQ(static_cast<uint32_t>(ResTable_typeSpec::SPEC_PUBLIC), flags); in TEST_F() 101 uint32_t flags; in TEST_F() local 104 cookie = theme->GetAttribute(app::R::attr::attr_one, &value, &flags); in TEST_F() 108 EXPECT_EQ(static_cast<uint32_t>(ResTable_typeSpec::SPEC_PUBLIC), flags); in TEST_F() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | UserInfo.java | 101 public int flags; field in UserInfo 119 public UserInfo(int id, String name, int flags) { in UserInfo() argument 120 this(id, name, null, flags); in UserInfo() 123 public UserInfo(int id, String name, String iconPath, int flags) { in UserInfo() argument 126 this.flags = flags; in UserInfo() 133 return (flags & FLAG_PRIMARY) == FLAG_PRIMARY; in isPrimary() 137 return (flags & FLAG_ADMIN) == FLAG_ADMIN; in isAdmin() 141 return (flags & FLAG_GUEST) == FLAG_GUEST; in isGuest() 145 return (flags & FLAG_RESTRICTED) == FLAG_RESTRICTED; in isRestricted() 149 return (flags & FLAG_MANAGED_PROFILE) == FLAG_MANAGED_PROFILE; in isManagedProfile() [all …]
|
D | IPackageManager.aidl | 65 PackageInfo getPackageInfo(String packageName, int flags, int userId); in getPackageInfo() argument 67 int flags, int userId); in getPackageInfoVersioned() argument 68 int getPackageUid(String packageName, int flags, int userId); in getPackageUid() argument 69 int[] getPackageGids(String packageName, int flags, int userId); in getPackageGids() argument 74 PermissionInfo getPermissionInfo(String name, String packageName, int flags); in getPermissionInfo() argument 76 ParceledListSlice queryPermissionsByGroup(String group, int flags); in queryPermissionsByGroup() argument 78 PermissionGroupInfo getPermissionGroupInfo(String name, int flags); in getPermissionGroupInfo() argument 80 ParceledListSlice getAllPermissionGroups(int flags); in getAllPermissionGroups() argument 82 ApplicationInfo getApplicationInfo(String packageName, int flags ,int userId); in getApplicationInfo() argument 84 ActivityInfo getActivityInfo(in ComponentName className, int flags, int userId); in getActivityInfo() argument [all …]
|
D | ServiceInfo.java | 78 public int flags; field in ServiceInfo 86 flags = orig.flags; in ServiceInfo() 94 void dump(Printer pw, String prefix, int flags) { in dump() argument 97 pw.println(prefix + "flags=0x" + Integer.toHexString(flags)); in dump() 98 super.dumpBack(pw, prefix, flags); in dump() 114 dest.writeInt(flags); in writeToParcel() 130 flags = source.readInt(); in ServiceInfo()
|
/frameworks/av/camera/ |
D | CameraUtils.cpp | 53 int32_t& flags = *transform; in getRotationTransform() local 60 flags = 0; in getRotationTransform() 63 flags = NATIVE_WINDOW_TRANSFORM_ROT_90; in getRotationTransform() 66 flags = NATIVE_WINDOW_TRANSFORM_ROT_180; in getRotationTransform() 69 flags = NATIVE_WINDOW_TRANSFORM_ROT_270; in getRotationTransform() 82 flags = NATIVE_WINDOW_TRANSFORM_FLIP_H; in getRotationTransform() 85 flags = NATIVE_WINDOW_TRANSFORM_FLIP_H ^ in getRotationTransform() 89 flags = NATIVE_WINDOW_TRANSFORM_FLIP_H ^ in getRotationTransform() 93 flags = NATIVE_WINDOW_TRANSFORM_FLIP_H ^ in getRotationTransform() 118 flags |= NATIVE_WINDOW_TRANSFORM_INVERSE_DISPLAY; in getRotationTransform() [all …]
|
/frameworks/base/core/java/android/net/ |
D | LinkAddress.java | 67 private int flags; field in LinkAddress 114 private void init(InetAddress address, int prefixLength, int flags, int scope) { in init() argument 125 this.flags = flags; in init() 139 public LinkAddress(InetAddress address, int prefixLength, int flags, int scope) { in LinkAddress() argument 140 init(address, prefixLength, flags, scope); in LinkAddress() 185 public LinkAddress(String address, int flags, int scope) { in LinkAddress() argument 188 init(ipAndMask.first, ipAndMask.second, flags, scope); in LinkAddress() 218 this.flags == linkAddress.flags && in equals() 227 return address.hashCode() + 11 * prefixLength + 19 * flags + 43 * scope; in hashCode() 272 return flags; in getFlags() [all …]
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputConnectionInspector.java | 116 int flags = 0; in getMissingMethodFlagsInternal() local 118 flags |= MissingMethodFlags.GET_SELECTED_TEXT; in getMissingMethodFlagsInternal() 121 flags |= MissingMethodFlags.SET_COMPOSING_REGION; in getMissingMethodFlagsInternal() 124 flags |= MissingMethodFlags.COMMIT_CORRECTION; in getMissingMethodFlagsInternal() 127 flags |= MissingMethodFlags.REQUEST_CURSOR_UPDATES; in getMissingMethodFlagsInternal() 130 flags |= MissingMethodFlags.DELETE_SURROUNDING_TEXT_IN_CODE_POINTS; in getMissingMethodFlagsInternal() 133 flags |= MissingMethodFlags.GET_HANDLER; in getMissingMethodFlagsInternal() 136 flags |= MissingMethodFlags.CLOSE_CONNECTION; in getMissingMethodFlagsInternal() 139 flags |= MissingMethodFlags.COMMIT_CONTENT; in getMissingMethodFlagsInternal() 141 sMissingMethodsMap.put(clazz, flags); in getMissingMethodFlagsInternal() [all …]
|
D | InputConnectionWrapper.java | 77 public CharSequence getTextBeforeCursor(int n, int flags) { in getTextBeforeCursor() argument 78 return mTarget.getTextBeforeCursor(n, flags); in getTextBeforeCursor() 85 public CharSequence getTextAfterCursor(int n, int flags) { in getTextAfterCursor() argument 86 return mTarget.getTextAfterCursor(n, flags); in getTextAfterCursor() 93 public CharSequence getSelectedText(int flags) { in getSelectedText() argument 94 return mTarget.getSelectedText(flags); in getSelectedText() 109 public ExtractedText getExtractedText(ExtractedTextRequest request, int flags) { in getExtractedText() argument 110 return mTarget.getExtractedText(request, flags); in getExtractedText() 277 public boolean commitContent(InputContentInfo inputContentInfo, int flags, Bundle opts) { in commitContent() argument 278 return mTarget.commitContent(inputContentInfo, flags, opts); in commitContent()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePackageManager.java | 67 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException { in getPackageInfo() argument 72 public PackageInfo getPackageInfoAsUser(String packageName, int flags, int userId) in getPackageInfoAsUser() argument 79 @PackageInfoFlags int flags) throws NameNotFoundException { in getPackageInfo() argument 84 public List<SharedLibraryInfo> getSharedLibraries(@InstallFlags int flags) { in getSharedLibraries() argument 89 public List<SharedLibraryInfo> getSharedLibrariesAsUser(@InstallFlags int flags, in getSharedLibrariesAsUser() argument 120 public int[] getPackageGids(String packageName, int flags) throws NameNotFoundException { in getPackageGids() argument 125 public int getPackageUid(String packageName, int flags) throws NameNotFoundException { in getPackageUid() argument 135 …public int getPackageUidAsUser(String packageName, int flags, int userHandle) throws NameNotFoundE… in getPackageUidAsUser() argument 140 public PermissionInfo getPermissionInfo(String name, int flags) throws NameNotFoundException { in getPermissionInfo() argument 145 public List<PermissionInfo> queryPermissionsByGroup(String group, int flags) in queryPermissionsByGroup() argument [all …]
|
/frameworks/base/core/java/android/os/ |
D | DropBoxManager.java | 127 public Entry(String tag, long millis, byte[] data, int flags) { in Entry() argument 129 if (((flags & IS_EMPTY) != 0) != (data == null)) { in Entry() 130 throw new IllegalArgumentException("Bad flags: " + flags); in Entry() 137 mFlags = flags; in Entry() 144 public Entry(String tag, long millis, ParcelFileDescriptor data, int flags) { in Entry() argument 146 if (((flags & IS_EMPTY) != 0) != (data == null)) { in Entry() 147 throw new IllegalArgumentException("Bad flags: " + flags); in Entry() 154 mFlags = flags; in Entry() 161 public Entry(String tag, long millis, File data, int flags) throws IOException { in Entry() argument 163 if ((flags & IS_EMPTY) != 0) throw new IllegalArgumentException("Bad flags: " + flags); in Entry() [all …]
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockPackageManager.java | 73 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException { in getPackageInfo() argument 79 int flags) throws NameNotFoundException { in getPackageInfo() argument 85 public PackageInfo getPackageInfoAsUser(String packageName, int flags, int userId) in getPackageInfoAsUser() argument 116 public int[] getPackageGids(String packageName, int flags) throws NameNotFoundException { in getPackageGids() argument 121 public int getPackageUid(String packageName, int flags) throws NameNotFoundException { in getPackageUid() argument 127 public int getPackageUidAsUser(String packageName, int flags, int userHandle) in getPackageUidAsUser() argument 140 public PermissionInfo getPermissionInfo(String name, int flags) in getPermissionInfo() argument 146 public List<PermissionInfo> queryPermissionsByGroup(String group, int flags) in queryPermissionsByGroup() argument 159 int flags) throws NameNotFoundException { in getPermissionGroupInfo() argument 164 public List<PermissionGroupInfo> getAllPermissionGroups(int flags) { in getAllPermissionGroups() argument [all …]
|
/frameworks/av/media/libstagefright/codecs/on2/enc/ |
D | SoftVPXEncoder.cpp | 547 vpx_enc_frame_flags_t flags = 0; in getEncodeFlags() local 553 flags |= VP8_EFLAG_NO_UPD_GF; in getEncodeFlags() 554 flags |= VP8_EFLAG_NO_UPD_ARF; in getEncodeFlags() 555 flags |= VP8_EFLAG_NO_REF_GF; in getEncodeFlags() 556 flags |= VP8_EFLAG_NO_REF_ARF; in getEncodeFlags() 559 flags |= VP8_EFLAG_NO_REF_GF; in getEncodeFlags() 562 flags |= VP8_EFLAG_NO_REF_ARF; in getEncodeFlags() 563 flags |= VP8_EFLAG_NO_UPD_ARF; in getEncodeFlags() 564 flags |= VP8_EFLAG_NO_UPD_LAST; in getEncodeFlags() 567 flags |= VP8_EFLAG_NO_REF_ARF; in getEncodeFlags() [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | Transform.cpp | 129 status_t Transform::set(uint32_t flags, float w, float h) in set() argument 131 if (flags & ROT_INVALID) { in set() 138 if (flags & ROT_90) { in set() 143 if (flags & FLIP_H) { in set() 151 if (flags & FLIP_V) { in set() 159 if (flags & ROT_90) { in set() 262 uint32_t flags = ROT_0; in type() local 264 if (a<0) flags |= FLIP_H; in type() 265 if (d<0) flags |= FLIP_V; in type() 270 flags |= ROT_90; in type() [all …]
|
/frameworks/native/vulkan/libvulkan/ |
D | debug_report.cpp | 34 head_.next = new (mem) Node{head_.next, info.flags, info.pfnCallback, in AddCallback() 56 void DebugReportCallbackList::Message(VkDebugReportFlagsEXT flags, in Message() argument 66 if ((node->flags & flags) != 0) { in Message() 67 node->callback(flags, object_type, object, location, message_code, in Message() 73 void DebugReportLogger::Message(VkDebugReportFlagsEXT flags, in Message() argument 86 (info->flags & flags) != 0) { in Message() 87 info->pfnCallback(flags, object_type, object, location, in Message() 97 callbacks_->Message(flags, object_type, object, location, message_code, in Message() 102 void DebugReportLogger::PrintV(VkDebugReportFlagsEXT flags, in PrintV() argument 114 Message(flags, object_type, object, 0, 0, LOG_TAG, buf); in PrintV() [all …]
|
/frameworks/base/core/java/android/os/storage/ |
D | DiskInfo.java | 52 public final int flags; field in DiskInfo 59 public DiskInfo(String id, int flags) { in DiskInfo() argument 61 this.flags = flags; in DiskInfo() 66 flags = parcel.readInt(); in DiskInfo() 98 if ((flags & FLAG_SD) != 0) { in getDescription() 104 } else if ((flags & FLAG_USB) != 0) { in getDescription() 116 return (flags & FLAG_ADOPTABLE) != 0; in isAdoptable() 120 return (flags & FLAG_DEFAULT_PRIMARY) != 0; in isDefaultPrimary() 124 return (flags & FLAG_SD) != 0; in isSd() 128 return (flags & FLAG_USB) != 0; in isUsb() [all …]
|
/frameworks/base/core/java/android/util/ |
D | Base64.java | 117 public static byte[] decode(String str, int flags) { in decode() argument 118 return decode(str.getBytes(), flags); in decode() 135 public static byte[] decode(byte[] input, int flags) { in decode() argument 136 return decode(input, 0, input.length, flags); in decode() 155 public static byte[] decode(byte[] input, int offset, int len, int flags) { in decode() argument 158 Decoder decoder = new Decoder(flags, new byte[len*3/4]); in decode() 241 public Decoder(int flags, byte[] output) { in Decoder() argument 244 alphabet = ((flags & URL_SAFE) == 0) ? DECODE : DECODE_WEBSAFE; in Decoder() 454 public static String encodeToString(byte[] input, int flags) { in encodeToString() argument 456 return new String(encode(input, flags), "US-ASCII"); in encodeToString() [all …]
|
D | Base64OutputStream.java | 29 private final int flags; field in Base64OutputStream 44 public Base64OutputStream(OutputStream out, int flags) { in Base64OutputStream() argument 45 this(out, flags, true); in Base64OutputStream() 60 public Base64OutputStream(OutputStream out, int flags, boolean encode) { in Base64OutputStream() argument 62 this.flags = flags; in Base64OutputStream() 64 coder = new Base64.Encoder(flags, null); in Base64OutputStream() 66 coder = new Base64.Decoder(flags, null); in Base64OutputStream() 114 if ((flags & Base64.NO_CLOSE) == 0) { in close()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | ViewInfoStore.java | 70 record.flags |= FLAG_PRE; in addToPreLayout() 75 return record != null && ((record.flags & FLAG_DISAPPEARED) != 0); in isDisappearing() 106 if (record != null && (record.flags & flag) != 0) { in popFromLayoutStep() 107 record.flags &= ~flag; in popFromLayoutStep() 117 if ((record.flags & (FLAG_PRE | FLAG_POST)) == 0) { in popFromLayoutStep() 150 record.flags |= FLAG_APPEAR; in addToAppearedInPreLayoutHolders() 162 return record != null && (record.flags & FLAG_PRE) != 0; in isInPreLayout() 188 record.flags |= FLAG_POST; in addToPostLayout() 203 record.flags |= FLAG_DISAPPEARED; in addToDisappearedInLayout() 215 record.flags &= ~FLAG_DISAPPEARED; in removeFromDisappearedInLayout() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ViewInfoStore.java | 73 record.flags |= FLAG_PRE; in addToPreLayout() 78 return record != null && ((record.flags & FLAG_DISAPPEARED) != 0); in isDisappearing() 109 if (record != null && (record.flags & flag) != 0) { in popFromLayoutStep() 110 record.flags &= ~flag; in popFromLayoutStep() 120 if ((record.flags & (FLAG_PRE | FLAG_POST)) == 0) { in popFromLayoutStep() 153 record.flags |= FLAG_APPEAR; in addToAppearedInPreLayoutHolders() 165 return record != null && (record.flags & FLAG_PRE) != 0; in isInPreLayout() 191 record.flags |= FLAG_POST; in addToPostLayout() 206 record.flags |= FLAG_DISAPPEARED; in addToDisappearedInLayout() 218 record.flags &= ~FLAG_DISAPPEARED; in removeFromDisappearedInLayout() [all …]
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayDeviceInfo.java | 223 public int flags; field in DisplayDeviceInfo 317 || flags != other.flags in diff() 350 flags = other.flags; in copyFrom() 388 sb.append(flagsToString(flags)); in toString() 408 private static String flagsToString(int flags) { in flagsToString() argument 410 if ((flags & FLAG_DEFAULT_DISPLAY) != 0) { in flagsToString() 413 if ((flags & FLAG_ROTATES_WITH_CONTENT) != 0) { in flagsToString() 416 if ((flags & FLAG_SECURE) != 0) { in flagsToString() 419 if ((flags & FLAG_SUPPORTS_PROTECTED_BUFFERS) != 0) { in flagsToString() 422 if ((flags & FLAG_PRIVATE) != 0) { in flagsToString() [all …]
|
/frameworks/base/core/java/android/nfc/ |
D | BeamShareData.java | 19 public final int flags; field in BeamShareData 21 public BeamShareData(NdefMessage msg, Uri[] uris, UserHandle userHandle, int flags) { in BeamShareData() argument 25 this.flags = flags; in BeamShareData() 34 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument 42 dest.writeInt(this.flags); in writeToParcel() 57 int flags = source.readInt(); 59 return new BeamShareData(msg, uris, userHandle, flags);
|
/frameworks/base/core/java/android/text/format/ |
D | DateUtils.java | 276 int flags = FORMAT_SHOW_DATE | FORMAT_SHOW_YEAR | FORMAT_ABBREV_MONTH; in getRelativeTimeSpanString() local 277 return getRelativeTimeSpanString(time, now, minResolution, flags); in getRelativeTimeSpanString() 301 int flags) { in getRelativeTimeSpanString() argument 303 TimeZone.getDefault(), time, now, minResolution, flags); in getRelativeTimeSpanString() 330 long transitionResolution, int flags) { in getRelativeDateTimeString() argument 332 if ((flags & (FORMAT_SHOW_TIME | FORMAT_12HOUR | FORMAT_24HOUR)) == FORMAT_SHOW_TIME) { in getRelativeDateTimeString() 333 flags |= DateFormat.is24HourFormat(c) ? FORMAT_24HOUR : FORMAT_12HOUR; in getRelativeDateTimeString() 338 transitionResolution, flags); in getRelativeDateTimeString() 535 long endMillis, int flags) { in formatDateRange() argument 537 return formatDateRange(context, f, startMillis, endMillis, flags).toString(); in formatDateRange() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Installer.java | 153 public long createAppData(String uuid, String packageName, int userId, int flags, int appId, in createAppData() argument 157 return mInstalld.createAppData(uuid, packageName, userId, flags, appId, seInfo, in createAppData() 164 public void restoreconAppData(String uuid, String packageName, int userId, int flags, int appId, in restoreconAppData() argument 168 mInstalld.restoreconAppData(uuid, packageName, userId, flags, appId, seInfo); in restoreconAppData() 174 public void migrateAppData(String uuid, String packageName, int userId, int flags) in migrateAppData() argument 178 mInstalld.migrateAppData(uuid, packageName, userId, flags); in migrateAppData() 184 public void clearAppData(String uuid, String packageName, int userId, int flags, in clearAppData() argument 188 mInstalld.clearAppData(uuid, packageName, userId, flags, ceDataInode); in clearAppData() 194 public void destroyAppData(String uuid, String packageName, int userId, int flags, in destroyAppData() argument 198 mInstalld.destroyAppData(uuid, packageName, userId, flags, ceDataInode); in destroyAppData() [all …]
|