/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/flags/ |
D | FakeFeatureFlagsTest.kt | 17 package com.android.systemui.flags 44 val flags: FeatureFlags = FakeFeatureFlags() in accessingUnspecifiedFlags_throwsException() constant 46 assertThat(flags.isEnabled(Flags.NULL_FLAG)).isFalse() in accessingUnspecifiedFlags_throwsException() 52 assertThat(flags.isEnabled(unreleasedFlag)).isFalse() in accessingUnspecifiedFlags_throwsException() 58 assertThat(flags.isEnabled(releasedFlag)).isFalse() in accessingUnspecifiedFlags_throwsException() 64 assertThat(flags.isEnabled(resourceBooleanFlag)).isFalse() in accessingUnspecifiedFlags_throwsException() 70 assertThat(flags.isEnabled(sysPropBooleanFlag)).isFalse() in accessingUnspecifiedFlags_throwsException() 76 assertThat(flags.getString(stringFlag)).isEmpty() in accessingUnspecifiedFlags_throwsException() 82 assertThat(flags.getString(resourceStringFlag)).isEmpty() in accessingUnspecifiedFlags_throwsException() 91 val flags = FakeFeatureFlags() in specifiedFlags_returnCorrectValues() constant [all …]
|
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/ |
D | PermissionFlags.kt | 330 fun isPermissionGranted(flags: Int): Boolean { in isPermissionGranted() 331 if (flags.hasBits(INSTALL_GRANTED)) { in isPermissionGranted() 334 if (flags.hasBits(INSTALL_REVOKED)) { in isPermissionGranted() 337 if (flags.hasBits(PROTECTION_GRANTED)) { in isPermissionGranted() 340 if (flags.hasBits(LEGACY_GRANTED) || flags.hasBits(IMPLICIT_GRANTED)) { in isPermissionGranted() 343 if (flags.hasBits(RESTRICTION_REVOKED)) { in isPermissionGranted() 346 return flags.hasBits(RUNTIME_GRANTED) in isPermissionGranted() 349 fun isAppOpGranted(flags: Int): Boolean { in isAppOpGranted() 350 if (!isPermissionGranted(flags)) { in isAppOpGranted() 353 if (flags.hasAnyBit(MASK_RESTRICTED)) { in isAppOpGranted() [all …]
|
/frameworks/native/libs/ftl/ |
D | flags_test.cpp | 30 Flags<TestFlags> flags = TestFlags::ONE; in TEST() local 31 ASSERT_TRUE(flags.test(TestFlags::ONE)); in TEST() 32 ASSERT_FALSE(flags.test(TestFlags::TWO)); in TEST() 33 ASSERT_FALSE(flags.test(TestFlags::THREE)); in TEST() 37 Flags<TestFlags> flags = TestFlags::ONE | TestFlags::TWO; in TEST() local 38 ASSERT_TRUE(flags.any()); in TEST() 39 ASSERT_TRUE(flags.any(TestFlags::ONE)); in TEST() 40 ASSERT_TRUE(flags.any(TestFlags::TWO)); in TEST() 41 ASSERT_FALSE(flags.any(TestFlags::THREE)); in TEST() 42 ASSERT_TRUE(flags.any(TestFlags::ONE | TestFlags::TWO)); in TEST() [all …]
|
/frameworks/base/ |
D | AconfigFlags.bp | 23 "android.adaptiveauth.flags-aconfig-java", 24 "android.app.contextualsearch.flags-aconfig-java", 25 "android.app.flags-aconfig-java", 27 "android.app.smartspace.flags-aconfig-java", 28 "android.app.usage.flags-aconfig-java", 29 "android.app.wearable.flags-aconfig-java", 30 "android.appwidget.flags-aconfig-java", 31 "android.chre.flags-aconfig-java", 32 "android.companion.flags-aconfig-java", 33 "android.companion.virtual.flags-aconfig-java", [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/pkg/ |
D | PackageUserStateUtils.java | 39 ComponentInfo componentInfo, long flags) { in isMatch() argument 42 componentInfo.directBootAware, componentInfo.name, flags); in isMatch() 46 boolean isPackageEnabled, ParsedMainComponent component, long flags) { in isMatch() argument 48 component.isDirectBootAware(), component.getName(), flags); in isMatch() 62 boolean isComponentDirectBootAware, String componentName, long flags) { in isMatch() argument 63 final boolean matchUninstalled = (flags & PackageManager.MATCH_KNOWN_PACKAGES) != 0; in isMatch() 64 if (!isAvailable(state, flags) && !(isSystem && matchUninstalled)) { in isMatch() 65 return reportIfDebug(false, flags); in isMatch() 68 if (!isEnabled(state, isPackageEnabled, isComponentEnabled, componentName, flags)) { in isMatch() 69 return reportIfDebug(false, flags); in isMatch() [all …]
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | QuickStepContract.java | 179 public static String getSystemUiStateString(long flags) { in getSystemUiStateString() argument 181 if ((flags & SYSUI_STATE_SCREEN_PINNING) != 0) { in getSystemUiStateString() 184 if ((flags & SYSUI_STATE_OVERVIEW_DISABLED) != 0) { in getSystemUiStateString() 187 if ((flags & SYSUI_STATE_HOME_DISABLED) != 0) { in getSystemUiStateString() 190 if ((flags & SYSUI_STATE_SEARCH_DISABLED) != 0) { in getSystemUiStateString() 193 if ((flags & SYSUI_STATE_NAV_BAR_HIDDEN) != 0) { in getSystemUiStateString() 196 if ((flags & SYSUI_STATE_NOTIFICATION_PANEL_EXPANDED) != 0) { in getSystemUiStateString() 199 if ((flags & SYSUI_STATE_QUICK_SETTINGS_EXPANDED) != 0) { in getSystemUiStateString() 202 if ((flags & SYSUI_STATE_STATUS_BAR_KEYGUARD_SHOWING) != 0) { in getSystemUiStateString() 205 if ((flags & SYSUI_STATE_STATUS_BAR_KEYGUARD_SHOWING_OCCLUDED) != 0) { in getSystemUiStateString() [all …]
|
/frameworks/base/libs/hwui/hwui/ |
D | PaintImpl.cpp | 141 uint32_t flags = 0; in paintToLegacyFlags() local 142 flags |= -(int)paint.isAntiAlias() & sAntiAliasFlag; in paintToLegacyFlags() 143 flags |= -(int)paint.isDither() & sDitherFlag; in paintToLegacyFlags() 144 return flags; in paintToLegacyFlags() 148 uint32_t flags = 0; in fontToLegacyFlags() local 149 flags |= -(int)font.isEmbolden() & sFakeBoldFlag; in fontToLegacyFlags() 150 flags |= -(int)font.isLinearMetrics() & sLinearMetrics; in fontToLegacyFlags() 151 flags |= -(int)font.isSubpixel() & sSubpixelMetrics; in fontToLegacyFlags() 152 flags |= -(int)font.isEmbeddedBitmaps() & sEmbeddedBitmaps; in fontToLegacyFlags() 153 flags |= -(int)font.isForceAutoHinting() & sForceAutoHinting; in fontToLegacyFlags() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | IntRangeManagerTest.java | 49 int flags; field in IntRangeManagerTest.TestIntRangeManager 59 flags |= FLAG_START_UPDATE_CALLED; in startUpdate() 71 flags |= FLAG_ADD_RANGE_CALLED; in addRange() 79 flags |= FLAG_FINISH_UPDATE_CALLED; in finishUpdate() 85 flags = 0; in reset() 120 assertEquals("flags before test", 0, testManager.flags); in testAddSingleChannel() 122 assertEquals("flags after test", ALL_FLAGS_SET, testManager.flags); in testAddSingleChannel() 128 assertEquals("flags after test", ALL_FLAGS_SET, testManager.flags); in testAddSingleChannel() 138 assertEquals("flags after enable", ALL_FLAGS_SET, testManager.flags); in testRemoveSingleChannel() 143 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/res/ |
D | ApkAssets.java | 150 public static @NonNull ApkAssets loadFromPath(@NonNull String path, @PropertyFlags int flags) in loadFromPath() argument 152 return new ApkAssets(FORMAT_APK, path, flags, null /* assets */); in loadFromPath() 164 public static @NonNull ApkAssets loadFromPath(@NonNull String path, @PropertyFlags int flags, in loadFromPath() argument 166 return new ApkAssets(FORMAT_APK, path, flags, assets); in loadFromPath() 183 @NonNull String friendlyName, @PropertyFlags int flags, in loadFromFd() argument 185 return new ApkAssets(FORMAT_APK, fd, friendlyName, flags, assets); in loadFromFd() 206 @NonNull String friendlyName, long offset, long length, @PropertyFlags int flags, in loadFromFd() argument 209 return new ApkAssets(FORMAT_APK, fd, friendlyName, offset, length, flags, assets); in loadFromFd() 222 @PropertyFlags int flags) throws IOException { in loadOverlayFromPath() argument 223 return new ApkAssets(FORMAT_IDMAP, idmapPath, flags, null /* assets */); in loadOverlayFromPath() [all …]
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | CompatibilityModeTest.java | 74 final int flags = (FLAG_SUPPORTS_LARGE_SCREENS | FLAG_SUPPORTS_NORMAL_SCREENS in testGlobalCompatModeEnabled_oldApp_supportAllScreens_usesCompatMode() local 78 generateMockApplicationInfo(Build.VERSION_CODES.CUPCAKE, flags); in testGlobalCompatModeEnabled_oldApp_supportAllScreens_usesCompatMode() 85 final int flags = (FLAG_SUPPORTS_LARGE_SCREENS in testGlobalCompatModeEnabled_oldApp_supportSomeScreens_usesCompatMode() local 89 generateMockApplicationInfo(Build.VERSION_CODES.CUPCAKE, flags); in testGlobalCompatModeEnabled_oldApp_supportSomeScreens_usesCompatMode() 96 final int flags = FLAG_SUPPORTS_NORMAL_SCREENS; in testGlobalCompatModeEnabled_oldApp_supportOnlyOneScreen_usesCompatMode() local 98 generateMockApplicationInfo(Build.VERSION_CODES.CUPCAKE, flags); in testGlobalCompatModeEnabled_oldApp_supportOnlyOneScreen_usesCompatMode() 113 final int flags = (FLAG_SUPPORTS_LARGE_SCREENS | FLAG_SUPPORTS_NORMAL_SCREENS in testGlobalCompatModeDisabled_oldApp_supportAllScreens_usesCompatMode() local 117 generateMockApplicationInfo(Build.VERSION_CODES.CUPCAKE, flags); in testGlobalCompatModeDisabled_oldApp_supportAllScreens_usesCompatMode() 124 final int flags = (FLAG_SUPPORTS_LARGE_SCREENS in testGlobalCompatModeDisabled_oldApp_supportSomeScreens_usesCompatMode() local 128 generateMockApplicationInfo(Build.VERSION_CODES.CUPCAKE, flags); in testGlobalCompatModeDisabled_oldApp_supportSomeScreens_usesCompatMode() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | SurfaceFlinger_SetDisplayStateTest.cpp | 48 uint32_t flags = mFlinger.setDisplayStateLocked(state); in TEST_F() local 54 EXPECT_EQ(0u, flags); in TEST_F() 78 uint32_t flags = mFlinger.setDisplayStateLocked(state); in TEST_F() local 84 EXPECT_EQ(0u, flags); in TEST_F() 112 uint32_t flags = mFlinger.setDisplayStateLocked(state); in TEST_F() local 118 EXPECT_EQ(0u, flags); in TEST_F() 149 uint32_t flags = mFlinger.setDisplayStateLocked(state); in TEST_F() local 155 EXPECT_EQ(eDisplayTransactionNeeded, flags); in TEST_F() 183 uint32_t flags = mFlinger.setDisplayStateLocked(state); in TEST_F() local 189 EXPECT_EQ(0u, flags); in TEST_F() [all …]
|
/frameworks/av/camera/ |
D | CameraUtils.cpp | 57 int32_t& flags = *transform; in getRotationTransform() local 73 flags = 0; in getRotationTransform() 76 flags = NATIVE_WINDOW_TRANSFORM_ROT_90; in getRotationTransform() 79 flags = NATIVE_WINDOW_TRANSFORM_ROT_180; in getRotationTransform() 82 flags = NATIVE_WINDOW_TRANSFORM_ROT_270; in getRotationTransform() 96 flags = mirror; in getRotationTransform() 99 flags = mirror ^ in getRotationTransform() 103 flags = mirror ^ in getRotationTransform() 107 flags = mirror ^ in getRotationTransform() 131 flags |= NATIVE_WINDOW_TRANSFORM_INVERSE_DISPLAY; in getRotationTransform() [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/base/core/java/android/content/pm/ |
D | UserInfo.java | 235 public @UserInfoFlag int flags; field in UserInfo 302 public UserInfo(int id, String name, int flags) { in UserInfo() argument 303 this(id, name, null, flags); in UserInfo() 311 public UserInfo(int id, String name, String iconPath, int flags) { in UserInfo() argument 312 this(id, name, iconPath, flags, getDefaultUserType(flags)); in UserInfo() 315 public UserInfo(int id, String name, String iconPath, int flags, String userType) { in UserInfo() argument 318 this.flags = flags; in UserInfo() 366 return (flags & FLAG_PRIMARY) == FLAG_PRIMARY; in isPrimary() 371 return (flags & FLAG_ADMIN) == FLAG_ADMIN; in isAdmin() 385 return (flags & FLAG_PROFILE) != 0; in isProfile() [all …]
|
/frameworks/base/services/core/jni/gnss/ |
D | Utils.cpp | 31 namespace location_flags = android::location::flags; 170 uint32_t flags = static_cast<uint32_t>(location.gnssLocationFlags); in translateGnssLocation() local 171 if (flags & android::hardware::gnss::GnssLocation::HAS_LAT_LONG) { in translateGnssLocation() 175 if (flags & android::hardware::gnss::GnssLocation::HAS_ALTITUDE) { in translateGnssLocation() 178 if (flags & android::hardware::gnss::GnssLocation::HAS_SPEED) { in translateGnssLocation() 181 if (flags & android::hardware::gnss::GnssLocation::HAS_BEARING) { in translateGnssLocation() 184 if (flags & android::hardware::gnss::GnssLocation::HAS_HORIZONTAL_ACCURACY) { in translateGnssLocation() 187 if (flags & android::hardware::gnss::GnssLocation::HAS_VERTICAL_ACCURACY) { in translateGnssLocation() 190 if (flags & android::hardware::gnss::GnssLocation::HAS_SPEED_ACCURACY) { in translateGnssLocation() 193 if (flags & android::hardware::gnss::GnssLocation::HAS_BEARING_ACCURACY) { in translateGnssLocation() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/ |
D | RefactorFlag.kt | 17 package com.android.systemui.flags 42 flags: FeatureFlags, 44 ) : this(flags, flag, { it.isEnabled(flag) }) in <lambda>() 46 constructor(flags: FeatureFlags, flag: ReleasedFlag) : this(flags, flag, { it.isEnabled(flag) }) in <lambda>() 91 fun forView(flag: UnreleasedFlag, flags: FeatureFlags? = null) = in assertInLegacyMode() 92 RefactorFlag(flags, flag) { it.isEnabled(flag) } in assertInLegacyMode() 97 fun forView(flag: ReleasedFlag, flags: FeatureFlags? = null) = in assertInLegacyMode() 98 RefactorFlag(flags, flag) { it.isEnabled(flag) } in assertInLegacyMode()
|
/frameworks/base/core/java/android/view/ |
D | SyncRtSurfaceTransactionApplier.java | 103 if ((params.flags & FLAG_TRANSACTION) != 0) { in applyParams() 107 if ((params.flags & FLAG_MATRIX) != 0) { in applyParams() 110 if ((params.flags & FLAG_WINDOW_CROP) != 0) { in applyParams() 113 if ((params.flags & FLAG_ALPHA) != 0) { in applyParams() 116 if ((params.flags & FLAG_LAYER) != 0) { in applyParams() 119 if ((params.flags & FLAG_CORNER_RADIUS) != 0) { in applyParams() 122 if ((params.flags & FLAG_BACKGROUND_BLUR_RADIUS) != 0) { in applyParams() 125 if ((params.flags & FLAG_VISIBILITY) != 0) { in applyParams() 167 int flags; field in SyncRtSurfaceTransactionApplier.SurfaceParams.Builder 190 flags |= FLAG_ALPHA; in withAlpha() [all …]
|
/frameworks/base/core/java/android/database/ |
D | ContentObserver.java | 183 public void onChange(boolean selfChange, @Nullable Uri uri, @NotifyFlags int flags) { in onChange() argument 200 @NotifyFlags int flags) { in onChange() argument 202 onChange(selfChange, uri, flags); in onChange() 223 @NotifyFlags int flags, @NonNull UserHandle user) { in onChange() argument 229 @NotifyFlags int flags, @UserIdInt int userId) { in onChange() argument 236 onChange(selfChange, uris, flags, UserHandle.of(userId)); in onChange() 238 onChange(selfChange, uris, flags); in onChange() 298 @NotifyFlags int flags) { in dispatchChange() argument 299 dispatchChange(selfChange, Arrays.asList(uri), flags); in dispatchChange() 316 @NotifyFlags int flags) { in dispatchChange() argument [all …]
|
/frameworks/base/services/tests/mockingservicestests/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/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/av/media/libstagefright/codecs/on2/enc/ |
D | SoftVPXEncoder.cpp | 557 vpx_enc_frame_flags_t flags = 0; in getEncodeFlags() local 563 flags |= VP8_EFLAG_NO_UPD_GF; in getEncodeFlags() 564 flags |= VP8_EFLAG_NO_UPD_ARF; in getEncodeFlags() 565 flags |= VP8_EFLAG_NO_REF_GF; in getEncodeFlags() 566 flags |= VP8_EFLAG_NO_REF_ARF; in getEncodeFlags() 569 flags |= VP8_EFLAG_NO_REF_GF; in getEncodeFlags() 572 flags |= VP8_EFLAG_NO_REF_ARF; in getEncodeFlags() 573 flags |= VP8_EFLAG_NO_UPD_ARF; in getEncodeFlags() 574 flags |= VP8_EFLAG_NO_UPD_LAST; in getEncodeFlags() 577 flags |= VP8_EFLAG_NO_REF_ARF; in getEncodeFlags() [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePackageManager.java | 75 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException { in getPackageInfo() argument 80 public PackageInfo getPackageInfoAsUser(String packageName, int flags, int userId) in getPackageInfoAsUser() argument 92 public List<SharedLibraryInfo> getSharedLibraries(@InstallFlags int flags) { in getSharedLibraries() argument 97 public List<SharedLibraryInfo> getSharedLibrariesAsUser(@InstallFlags int flags, in getSharedLibrariesAsUser() argument 133 public int[] getPackageGids(String packageName, int flags) throws NameNotFoundException { in getPackageGids() argument 138 public int getPackageUid(String packageName, int flags) throws NameNotFoundException { in getPackageUid() argument 148 …public int getPackageUidAsUser(String packageName, int flags, int userHandle) throws NameNotFoundE… in getPackageUidAsUser() argument 153 public PermissionInfo getPermissionInfo(String name, int flags) throws NameNotFoundException { in getPermissionInfo() argument 158 public List<PermissionInfo> queryPermissionsByGroup(String group, int flags) in queryPermissionsByGroup() argument 174 public PermissionGroupInfo getPermissionGroupInfo(String name, int flags) in getPermissionGroupInfo() argument [all …]
|
/frameworks/libs/binary_translation/guest_os_primitives/ |
D | guest_thread_clone.cc | 40 long CloneSyscall(long flags, long child_stack, long parent_tid, long new_tls, long child_tid) { in CloneSyscall() argument 42 return syscall(__NR_clone, flags, child_stack, parent_tid, child_tid, new_tls); in CloneSyscall() 44 return syscall(__NR_clone, flags, child_stack, parent_tid, new_tls, child_tid); in CloneSyscall() 87 int flags, in CloneGuestThread() argument 93 if (!(flags & CLONE_VM)) { in CloneGuestThread() 99 long pid = CloneSyscall(flags & ~CLONE_SETTLS, 0, parent_tid, 0, child_tid); in CloneGuestThread() 107 if ((flags & CLONE_SETTLS)) { in CloneGuestThread() 121 info.thread = GuestThread::CreateClone(thread, (flags & CLONE_SIGHAND) != 0); in CloneGuestThread() 128 if ((flags & CLONE_SETTLS)) { in CloneGuestThread() 142 if (!(flags & CLONE_VFORK)) { in CloneGuestThread() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | DexoptOptions.java | 95 public DexoptOptions(String packageName, String compilerFilter, int flags) { in DexoptOptions() argument 96 this(packageName, /*compilationReason*/ -1, compilerFilter, /*splitName*/ null, flags); in DexoptOptions() 99 public DexoptOptions(String packageName, int compilationReason, int flags) { in DexoptOptions() argument 101 /*splitName*/ null, flags); in DexoptOptions() 105 String splitName, int flags) { in DexoptOptions() argument 116 if ((flags & (~validityMask)) != 0) { in DexoptOptions() 117 throw new IllegalArgumentException("Invalid flags : " + Integer.toHexString(flags)); in DexoptOptions() 122 mFlags = flags; in DexoptOptions() 263 /*@DexoptFlags*/ int flags = extraFlags; in convertToDexoptParams() local 272 flags |= ArtFlags.FLAG_FORCE; in convertToDexoptParams() [all …]
|