/frameworks/base/libs/hwui/hwui/ |
D | PaintImpl.cpp | 127 uint32_t flags = 0; in paintToLegacyFlags() local 128 flags |= -(int)paint.isAntiAlias() & sAntiAliasFlag; in paintToLegacyFlags() 129 flags |= -(int)paint.isDither() & sDitherFlag; in paintToLegacyFlags() 131 flags |= sFilterBitmapFlag; in paintToLegacyFlags() 133 return flags; in paintToLegacyFlags() 137 uint32_t flags = 0; in fontToLegacyFlags() local 138 flags |= -(int)font.isEmbolden() & sFakeBoldFlag; in fontToLegacyFlags() 139 flags |= -(int)font.isLinearMetrics() & sLinearMetrics; in fontToLegacyFlags() 140 flags |= -(int)font.isSubpixel() & sSubpixelMetrics; in fontToLegacyFlags() 141 flags |= -(int)font.isEmbeddedBitmaps() & sEmbeddedBitmaps; in fontToLegacyFlags() [all …]
|
/frameworks/base/tools/hiddenapi/ |
D | generate_hiddenapi_lists_test.py | 25 flags = FlagsDict() 26 flags.parse_and_merge_csv(['A,' + FLAG_SDK, 'B,' + FLAG_SDK, 28 filter_set = flags.filter_apis(lambda api, flags: not flags) 34 flags = FlagsDict() 35 flags.parse_and_merge_csv(['A,' + FLAG_SDK, 'B', 'C']) 36 flags.assign_flag(FLAG_UNSUPPORTED, set(['C'])) 37 self.assertEqual(flags.generate_csv(), 45 flags.get_valid_subset_of_unassigned_apis(set(['A', 'B', 'D'])), set([ 'B' ])) 48 flags = FlagsDict() 51 self.assertEqual(flags.generate_csv(), []) [all …]
|
D | generate_hiddenapi_lists.py | 105 HAS_NO_API_LIST_ASSIGNED = lambda api, flags: not FLAGS_API_LIST_SET.intersection(flags) argument 106 IS_SERIALIZATION = lambda api, flags: SERIALIZATION_REGEX.match(api) argument 275 flags = sorted([self.convert_to_old_flag(flag) for flag in self._dict[api]]) 276 lines.append(",".join([api] + flags)) 306 flags = [self.convert_to_new_flag(flag) for flag in csv[1:]] 307 if (FLAG_PUBLIC_API in flags) or (FLAG_SYSTEM_API in flags): 308 flags.append(FLAG_SDK) 309 self._dict[csv[0]].update(flags) 338 flags = FlagsDict() 346 flags.parse_and_merge_csv(read_lines(filename), filename) [all …]
|
/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/core/java/android/text/format/ |
D | DateUtilsBridge.java | 72 public static String toSkeleton(Calendar calendar, int flags) { in toSkeleton() argument 73 return toSkeleton(calendar, calendar, flags); in toSkeleton() 76 public static String toSkeleton(Calendar startCalendar, Calendar endCalendar, int flags) { in toSkeleton() argument 77 if ((flags & FORMAT_ABBREV_ALL) != 0) { in toSkeleton() 78 flags |= FORMAT_ABBREV_MONTH | FORMAT_ABBREV_TIME | FORMAT_ABBREV_WEEKDAY; in toSkeleton() 82 if ((flags & FORMAT_NUMERIC_DATE) != 0) { in toSkeleton() 84 } else if ((flags & FORMAT_ABBREV_MONTH) != 0) { in toSkeleton() 89 if ((flags & FORMAT_ABBREV_WEEKDAY) != 0) { in toSkeleton() 94 if ((flags & FORMAT_24HOUR) != 0) { in toSkeleton() 96 } else if ((flags & FORMAT_12HOUR) != 0) { in toSkeleton() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | UserInfo.java | 131 public int flags; field in UserInfo 167 public UserInfo(int id, String name, int flags) { in UserInfo() argument 168 this(id, name, null, flags); in UserInfo() 172 public UserInfo(int id, String name, String iconPath, int flags) { in UserInfo() argument 175 this.flags = flags; in UserInfo() 183 return (flags & FLAG_PRIMARY) == FLAG_PRIMARY; in isPrimary() 188 return (flags & FLAG_ADMIN) == FLAG_ADMIN; in isAdmin() 193 return isGuest(flags); in isGuest() 199 public static boolean isGuest(@UserInfoFlag int flags) { in isGuest() argument 200 return (flags & FLAG_GUEST) == FLAG_GUEST; in isGuest() [all …]
|
D | IPackageManager.aidl | 70 PackageInfo getPackageInfo(String packageName, int flags, int userId); in getPackageInfo() argument 72 int flags, int userId); in getPackageInfoVersioned() argument 74 int getPackageUid(String packageName, int flags, int userId); in getPackageUid() argument 75 int[] getPackageGids(String packageName, int flags, int userId); in getPackageGids() argument 82 PermissionInfo getPermissionInfo(String name, String packageName, int flags); in getPermissionInfo() argument 84 ParceledListSlice queryPermissionsByGroup(String group, int flags); in queryPermissionsByGroup() argument 87 PermissionGroupInfo getPermissionGroupInfo(String name, int flags); in getPermissionGroupInfo() argument 89 ParceledListSlice getAllPermissionGroups(int flags); in getAllPermissionGroups() argument 92 ApplicationInfo getApplicationInfo(String packageName, int flags ,int userId); in getApplicationInfo() argument 95 ActivityInfo getActivityInfo(in ComponentName className, int flags, int userId); in getActivityInfo() argument [all …]
|
/frameworks/base/libs/androidfw/tests/ |
D | Theme_test.cpp | 72 uint32_t flags; in TEST_F() local 73 EXPECT_EQ(kInvalidCookie, theme->GetAttribute(app::R::attr::attr_one, &value, &flags)); in TEST_F() 84 uint32_t flags; in TEST_F() local 87 cookie = theme->GetAttribute(app::R::attr::attr_one, &value, &flags); in TEST_F() 91 EXPECT_EQ(static_cast<uint32_t>(ResTable_typeSpec::SPEC_PUBLIC), flags); in TEST_F() 93 cookie = theme->GetAttribute(app::R::attr::attr_two, &value, &flags); in TEST_F() 97 EXPECT_EQ(static_cast<uint32_t>(ResTable_typeSpec::SPEC_PUBLIC), flags); in TEST_F() 108 uint32_t flags; in TEST_F() local 111 cookie = theme->GetAttribute(app::R::attr::attr_one, &value, &flags); in TEST_F() 115 EXPECT_EQ(static_cast<uint32_t>(ResTable_typeSpec::SPEC_PUBLIC), flags); in TEST_F() [all …]
|
/frameworks/av/media/codec2/components/vpx/ |
D | C2SoftVpxEnc.cpp | 338 vpx_enc_frame_flags_t flags = 0; in getEncodeFlags() local 344 flags |= VP8_EFLAG_NO_UPD_GF; in getEncodeFlags() 345 flags |= VP8_EFLAG_NO_UPD_ARF; in getEncodeFlags() 346 flags |= VP8_EFLAG_NO_REF_GF; in getEncodeFlags() 347 flags |= VP8_EFLAG_NO_REF_ARF; in getEncodeFlags() 350 flags |= VP8_EFLAG_NO_REF_GF; in getEncodeFlags() 353 flags |= VP8_EFLAG_NO_REF_ARF; in getEncodeFlags() 354 flags |= VP8_EFLAG_NO_UPD_ARF; in getEncodeFlags() 355 flags |= VP8_EFLAG_NO_UPD_LAST; in getEncodeFlags() 358 flags |= VP8_EFLAG_NO_REF_ARF; in getEncodeFlags() [all …]
|
/frameworks/base/core/java/android/net/ |
D | LinkAddress.java | 96 private int flags; field in LinkAddress 192 private void init(InetAddress address, int prefixLength, int flags, int scope, in init() argument 228 this.flags = flags; in init() 248 int flags, int scope) { in LinkAddress() argument 249 init(address, prefixLength, flags, scope, LIFETIME_UNKNOWN, LIFETIME_UNKNOWN); in LinkAddress() 280 int flags, int scope, long deprecationTime, long expirationTime) { in LinkAddress() argument 281 init(address, prefixLength, flags, scope, deprecationTime, expirationTime); in LinkAddress() 333 public LinkAddress(@NonNull String address, int flags, int scope) { in LinkAddress() argument 337 init(ipAndMask.first, ipAndMask.second, flags, scope, LIFETIME_UNKNOWN, LIFETIME_UNKNOWN); in LinkAddress() 367 && this.flags == linkAddress.flags in equals() [all …]
|
/frameworks/base/tests/net/common/java/android/net/metrics/ |
D | ApfProgramEventTest.kt | 49 assertEquals(ApfProgramEvent.flagsFor(true, true), apfProgramEvent.flags) in hasFlag() 56 var flags = ApfProgramEvent.flagsFor(false, false) in testFlagsFor() variable 57 assertFalse(flags hasFlag ApfProgramEvent.FLAG_HAS_IPV4_ADDRESS) in testFlagsFor() 58 assertFalse(flags hasFlag ApfProgramEvent.FLAG_MULTICAST_FILTER_ON) in testFlagsFor() 60 flags = ApfProgramEvent.flagsFor(true, false) in testFlagsFor() 61 assertTrue(flags hasFlag ApfProgramEvent.FLAG_HAS_IPV4_ADDRESS) in testFlagsFor() 62 assertFalse(flags hasFlag ApfProgramEvent.FLAG_MULTICAST_FILTER_ON) in testFlagsFor() 64 flags = ApfProgramEvent.flagsFor(false, true) in testFlagsFor() 65 assertFalse(flags hasFlag ApfProgramEvent.FLAG_HAS_IPV4_ADDRESS) in testFlagsFor() 66 assertTrue(flags hasFlag ApfProgramEvent.FLAG_MULTICAST_FILTER_ON) in testFlagsFor() [all …]
|
/frameworks/av/media/libaudioclient/tests/ |
D | record_test_output_v1.0_ref_walleye.txt | 5 flags(0), req. flags(0), audio source(0) 14 flags(0), req. flags(0), audio source(0) 23 flags(0), req. flags(0), audio source(0) 32 flags(0), req. flags(0), audio source(0) 41 flags(0), req. flags(0), audio source(0) 50 flags(0), req. flags(0), audio source(0) 59 flags(0), req. flags(0), audio source(0) 68 flags(0), req. flags(0), audio source(0) 77 flags(0), req. flags(0), audio source(0) 86 flags(0), req. flags(0), audio source(0) [all …]
|
/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/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 …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ConnectionRecord.java | 41 final int flags; // Binding options. field in ConnectionRecord 97 + " flags=0x" + Integer.toHexString(flags)); in dump() 108 flags = _flags; in ConnectionRecord() 117 return (flags & flag) != 0; in hasFlag() 121 return (flags & flag) == 0; in notHasFlag() 171 if ((flags&Context.BIND_AUTO_CREATE) != 0) { in toString() 174 if ((flags&Context.BIND_DEBUG_UNBIND) != 0) { in toString() 177 if ((flags&Context.BIND_NOT_FOREGROUND) != 0) { in toString() 180 if ((flags&Context.BIND_IMPORTANT_BACKGROUND) != 0) { in toString() 183 if ((flags&Context.BIND_ABOVE_CLIENT) != 0) { in toString() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/ |
D | PackageManagerStub.java | 49 public PackageInfo getPackageInfo(String packageName, int flags) in getPackageInfo() argument 51 return getPackageInfoAsUser(packageName, flags, UserHandle.USER_SYSTEM); in getPackageInfo() 55 public PackageInfo getPackageInfo(VersionedPackage versionedPackage, int flags) in getPackageInfo() argument 61 public PackageInfo getPackageInfoAsUser(String packageName, int flags, int userId) in getPackageInfoAsUser() argument 101 public int[] getPackageGids(String packageName, int flags) in getPackageGids() argument 107 public int getPackageUid(String packageName, int flags) in getPackageUid() argument 119 public int getPackageUidAsUser(String packageName, int flags, int userId) in getPackageUidAsUser() argument 125 public PermissionInfo getPermissionInfo(String name, int flags) in getPermissionInfo() argument 131 public List<PermissionInfo> queryPermissionsByGroup(String group, int flags) in queryPermissionsByGroup() argument 147 public PermissionGroupInfo getPermissionGroupInfo(String name, int flags) in getPermissionGroupInfo() argument [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePackageManager.java | 66 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException { in getPackageInfo() argument 71 public PackageInfo getPackageInfoAsUser(String packageName, int flags, int userId) in getPackageInfoAsUser() argument 78 @PackageInfoFlags int flags) throws NameNotFoundException { in getPackageInfo() argument 83 public List<SharedLibraryInfo> getSharedLibraries(@InstallFlags int flags) { in getSharedLibraries() argument 88 public List<SharedLibraryInfo> getSharedLibrariesAsUser(@InstallFlags int flags, in getSharedLibrariesAsUser() argument 124 public int[] getPackageGids(String packageName, int flags) throws NameNotFoundException { in getPackageGids() argument 129 public int getPackageUid(String packageName, int flags) throws NameNotFoundException { in getPackageUid() argument 139 …public int getPackageUidAsUser(String packageName, int flags, int userHandle) throws NameNotFoundE… in getPackageUidAsUser() argument 144 public PermissionInfo getPermissionInfo(String name, int flags) throws NameNotFoundException { in getPermissionInfo() argument 149 public List<PermissionInfo> queryPermissionsByGroup(String group, int flags) in queryPermissionsByGroup() argument [all …]
|
/frameworks/base/core/tests/coretests/src/android/text/format/ |
D | RelativeDateTimeFormatterTest.java | 110 private void test_getRelativeTimeSpanString_helper(long delta, long minResolution, int flags, in test_getRelativeTimeSpanString_helper() argument 121 getRelativeTimeSpanString(en_US, tz, base - delta, base, minResolution, flags)); in test_getRelativeTimeSpanString_helper() 123 getRelativeTimeSpanString(en_US, tz, base + delta, base, minResolution, flags)); in test_getRelativeTimeSpanString_helper() 268 int flags = FORMAT_ABBREV_RELATIVE; in test_getRelativeTimeSpanStringAbbrev() local 270 test_getRelativeTimeSpanString_helper(0 * SECOND_IN_MILLIS, 0, flags, "0 sec. ago", in test_getRelativeTimeSpanStringAbbrev() 272 test_getRelativeTimeSpanString_helper(1 * MINUTE_IN_MILLIS, 0, flags, "1 min. ago", in test_getRelativeTimeSpanStringAbbrev() 274 test_getRelativeTimeSpanString_helper(5 * DAY_IN_MILLIS, 0, flags, "5 days ago", in test_getRelativeTimeSpanStringAbbrev() 277 test_getRelativeTimeSpanString_helper(0 * SECOND_IN_MILLIS, SECOND_IN_MILLIS, flags, in test_getRelativeTimeSpanStringAbbrev() 279 test_getRelativeTimeSpanString_helper(1 * SECOND_IN_MILLIS, SECOND_IN_MILLIS, flags, in test_getRelativeTimeSpanStringAbbrev() 281 test_getRelativeTimeSpanString_helper(2 * SECOND_IN_MILLIS, SECOND_IN_MILLIS, flags, in test_getRelativeTimeSpanStringAbbrev() [all …]
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | QuickStepContract.java | 108 public static String getSystemUiStateString(int flags) { in getSystemUiStateString() argument 110 str.add((flags & SYSUI_STATE_SCREEN_PINNING) != 0 ? "screen_pinned" : ""); in getSystemUiStateString() 111 str.add((flags & SYSUI_STATE_OVERVIEW_DISABLED) != 0 ? "overview_disabled" : ""); in getSystemUiStateString() 112 str.add((flags & SYSUI_STATE_HOME_DISABLED) != 0 ? "home_disabled" : ""); in getSystemUiStateString() 113 str.add((flags & SYSUI_STATE_SEARCH_DISABLED) != 0 ? "search_disabled" : ""); in getSystemUiStateString() 114 str.add((flags & SYSUI_STATE_NAV_BAR_HIDDEN) != 0 ? "navbar_hidden" : ""); in getSystemUiStateString() 115 str.add((flags & SYSUI_STATE_NOTIFICATION_PANEL_EXPANDED) != 0 ? "notif_visible" : ""); in getSystemUiStateString() 116 str.add((flags & SYSUI_STATE_QUICK_SETTINGS_EXPANDED) != 0 ? "qs_visible" : ""); in getSystemUiStateString() 117 str.add((flags & SYSUI_STATE_STATUS_BAR_KEYGUARD_SHOWING) != 0 ? "keygrd_visible" : ""); in getSystemUiStateString() 118 str.add((flags & SYSUI_STATE_STATUS_BAR_KEYGUARD_SHOWING_OCCLUDED) != 0 in getSystemUiStateString() [all …]
|
/frameworks/av/media/libstagefright/codecs/on2/enc/ |
D | SoftVPXEncoder.cpp | 548 vpx_enc_frame_flags_t flags = 0; in getEncodeFlags() local 554 flags |= VP8_EFLAG_NO_UPD_GF; in getEncodeFlags() 555 flags |= VP8_EFLAG_NO_UPD_ARF; in getEncodeFlags() 556 flags |= VP8_EFLAG_NO_REF_GF; in getEncodeFlags() 557 flags |= VP8_EFLAG_NO_REF_ARF; in getEncodeFlags() 560 flags |= VP8_EFLAG_NO_REF_GF; in getEncodeFlags() 563 flags |= VP8_EFLAG_NO_REF_ARF; in getEncodeFlags() 564 flags |= VP8_EFLAG_NO_UPD_ARF; in getEncodeFlags() 565 flags |= VP8_EFLAG_NO_UPD_LAST; in getEncodeFlags() 568 flags |= VP8_EFLAG_NO_REF_ARF; in getEncodeFlags() [all …]
|
/frameworks/base/core/java/android/os/ |
D | DropBoxManager.java | 142 public Entry(String tag, long millis, byte[] data, int flags) { in Entry() argument 144 if (((flags & IS_EMPTY) != 0) != (data == null)) { in Entry() 145 throw new IllegalArgumentException("Bad flags: " + flags); in Entry() 152 mFlags = flags; in Entry() 159 public Entry(String tag, long millis, ParcelFileDescriptor data, int flags) { in Entry() argument 161 if (((flags & IS_EMPTY) != 0) != (data == null)) { in Entry() 162 throw new IllegalArgumentException("Bad flags: " + flags); in Entry() 169 mFlags = flags; in Entry() 176 public Entry(String tag, long millis, File data, int flags) throws IOException { in Entry() argument 178 if ((flags & IS_EMPTY) != 0) throw new IllegalArgumentException("Bad flags: " + flags); in Entry() [all …]
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockPackageManager.java | 74 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException { in getPackageInfo() argument 80 int flags) throws NameNotFoundException { in getPackageInfo() argument 86 public PackageInfo getPackageInfoAsUser(String packageName, int flags, int userId) in getPackageInfoAsUser() argument 123 public int[] getPackageGids(String packageName, int flags) throws NameNotFoundException { in getPackageGids() argument 128 public int getPackageUid(String packageName, int flags) throws NameNotFoundException { in getPackageUid() argument 134 public int getPackageUidAsUser(String packageName, int flags, int userHandle) in getPackageUidAsUser() argument 147 public PermissionInfo getPermissionInfo(String name, int flags) in getPermissionInfo() argument 153 public List<PermissionInfo> queryPermissionsByGroup(String group, int flags) in queryPermissionsByGroup() argument 172 int flags) throws NameNotFoundException { in getPermissionGroupInfo() argument 177 public List<PermissionGroupInfo> getAllPermissionGroups(int flags) { in getAllPermissionGroups() argument [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/view/autofill/ |
D | AutofillId.java | 67 private AutofillId(int flags, int parentId, long virtualChildId, int sessionId) { in AutofillId() argument 68 mFlags = flags; in AutofillId() 70 mVirtualIntId = ((flags & FLAG_IS_VIRTUAL_INT) != 0) ? (int) virtualChildId : View.NO_ID; in AutofillId() 71 mVirtualLongId = ((flags & FLAG_IS_VIRTUAL_LONG) != 0) ? virtualChildId : View.NO_ID; in AutofillId() 77 final int flags = id.mFlags & ~FLAG_HAS_SESSION; in withoutSession() local 78 return new AutofillId(flags, id.mViewId, id.mVirtualLongId, NO_SESSION); in withoutSession() 227 public void writeToParcel(Parcel parcel, int flags) { in writeToParcel() argument 245 final int flags = source.readInt(); 246 final int sessionId = (flags & FLAG_HAS_SESSION) != 0 ? source.readInt() : NO_SESSION; 247 if ((flags & FLAG_IS_VIRTUAL_INT) != 0) { [all …]
|
/frameworks/base/core/java/android/util/ |
D | Base64.java | 119 public static byte[] decode(String str, int flags) { in decode() argument 120 return decode(str.getBytes(), flags); in decode() 137 public static byte[] decode(byte[] input, int flags) { in decode() argument 138 return decode(input, 0, input.length, flags); in decode() 157 public static byte[] decode(byte[] input, int offset, int len, int flags) { in decode() argument 160 Decoder decoder = new Decoder(flags, new byte[len*3/4]); in decode() 243 public Decoder(int flags, byte[] output) { in Decoder() argument 246 alphabet = ((flags & URL_SAFE) == 0) ? DECODE : DECODE_WEBSAFE; in Decoder() 456 public static String encodeToString(byte[] input, int flags) { in encodeToString() argument 458 return new String(encode(input, flags), "US-ASCII"); in encodeToString() [all …]
|