Home
last modified time | relevance | path

Searched refs:queryFlags (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/java/android/flags/
DIFeatureFlags.aidl74 List<SyncableFlag> queryFlags(in List<SyncableFlag> flagList); in queryFlags() method
/frameworks/base/core/java/android/content/pm/
DShortcutQueryWrapper.java150 int queryFlags = in.readInt(); in ShortcutQueryWrapper() local
157 this.mQueryFlags = queryFlags; in ShortcutQueryWrapper()
DLauncherApps.java566 public ShortcutQuery setQueryFlags(@QueryFlags int queryFlags) { in setQueryFlags() argument
567 mQueryFlags = queryFlags; in setQueryFlags()
/frameworks/base/services/tests/servicestests/src/com/android/server/flags/
DFeatureFlagsServiceTest.java219 List<SyncableFlag> outputFlags = mFeatureFlagsService.queryFlags(inputFlags); in testQueryFlags_onlyOnce()
246 List<SyncableFlag> outputFlagsFirst = mFeatureFlagsService.queryFlags(inputFlagsFirst); in testQueryFlags_twoCallsWithDifferentDefaults()
247 List<SyncableFlag> outputFlagsSecond = mFeatureFlagsService.queryFlags(inputFlagsSecond); in testQueryFlags_twoCallsWithDifferentDefaults()
/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/customization/data/content/
DCustomizationProviderClient.kt63 suspend fun queryFlags(): List<Flag> in <lambda>() method
259 override suspend fun queryFlags(): List<CustomizationProviderClient.Flag> { in queryFlags() method in com.android.systemui.shared.customization.data.content.CustomizationProviderClientImpl
298 return observeUri(Contract.FlagsTable.URI).map { queryFlags() } in observeFlags()
DFakeCustomizationProviderClient.kt92 override suspend fun queryFlags(): List<CustomizationProviderClient.Flag> { in <lambda>() method
/frameworks/base/core/tests/coretests/src/android/flags/
DIFeatureFlagsFake.java42 public List<SyncableFlag> queryFlags(List<SyncableFlag> flagList) { in queryFlags() method in IFeatureFlagsFake
/frameworks/base/services/core/java/com/android/server/
DBinderCallsStatsService.java117 final int queryFlags = MATCH_DIRECT_BOOT_AWARE | MATCH_DIRECT_BOOT_UNAWARE; in createAppidTrustlist() local
119 pm.getPackagesHoldingPermissions(permissions, queryFlags); in createAppidTrustlist()
124 final int uid = pm.getPackageUid(pkgInfo.packageName, queryFlags); in createAppidTrustlist()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DCustomizationProvider.kt150 MATCH_CODE_ALL_FLAGS -> queryFlags() in <lambda>()
331 private suspend fun queryFlags(): Cursor { in <lambda>() method in com.android.systemui.keyguard.CustomizationProvider
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java2974 int queryFlags, int userId, int callingPid, int callingUid) {
2982 if ((queryFlags & ShortcutQuery.FLAG_GET_KEY_FIELDS_ONLY) != 0) {
2984 } else if ((queryFlags & ShortcutQuery.FLAG_GET_PERSONS_DATA) != 0) {
3003 componentName, queryFlags, userId, ret, cloneFlag,
3011 changedSince, componentName, queryFlags, userId, ret, cloneFlag,
3023 @Nullable ComponentName componentName, int queryFlags,
3044 ((queryFlags & ShortcutQuery.FLAG_MATCH_PINNED_BY_ANY_LAUNCHER) != 0);
3045 queryFlags |= (getPinnedByAnyLauncher ? ShortcutQuery.FLAG_MATCH_PINNED : 0);
3048 componentName, queryFlags, getPinnedByAnyLauncher);
3055 @Nullable ComponentName componentName, int queryFlags,
[all …]
/frameworks/base/services/flags/java/com/android/server/flags/
DFeatureFlagsBinder.java118 public List<SyncableFlag> queryFlags(List<SyncableFlag> incomingFlags) { in queryFlags() method in FeatureFlagsBinder
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DShortcutHelperTest.java358 private static boolean hasFlag(int queryFlags, int flag) { in hasFlag() argument
359 return (queryFlags & flag) != 0; in hasFlag()
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DPermissionService.kt1653 var queryFlags = 0 in <lambda>() variable
1655 queryFlags = queryFlags or PermissionFlags.SYSTEM_EXEMPT in <lambda>()
1658 queryFlags = queryFlags or PermissionFlags.UPGRADE_EXEMPT in <lambda>()
1661 queryFlags = queryFlags or PermissionFlags.INSTALLER_EXEMPT in <lambda>()
1665 if (flags.hasAnyBit(queryFlags)) permissionName else null in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DDataManagerTest.java823 Integer queryFlags = mQueryFlagsCaptor.getValue(); in testGetConversationGetsPersonsData() local
824 assertThat(hasFlag(queryFlags, ShortcutQuery.FLAG_GET_PERSONS_DATA)).isTrue(); in testGetConversationGetsPersonsData()
1363 Integer queryFlags = mQueryFlagsCaptor.getValue(); in testGetRecentConversationsGetsPersonsData() local
1364 assertThat(hasFlag(queryFlags, ShortcutQuery.FLAG_GET_PERSONS_DATA)).isTrue(); in testGetRecentConversationsGetsPersonsData()
1722 private static boolean hasFlag(int queryFlags, int flag) { in hasFlag() argument
1723 return (queryFlags & flag) != 0; in hasFlag()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java2079 protected List<ShortcutInfo> getLauncherShortcuts(String launcher, int userId, int queryFlags) {
2083 q.setQueryFlags(queryFlags);
2203 protected static ShortcutQuery buildQueryWithFlags(int queryFlags) {
2205 q.setQueryFlags(queryFlags);
DShortcutManagerTest11.java845 private static ShortcutQuery createShortcutQuery(int queryFlags) { in createShortcutQuery() argument
/frameworks/base/services/people/java/com/android/server/people/data/
DDataManager.java754 @ShortcutQuery.QueryFlags int queryFlags = ShortcutQuery.FLAG_MATCH_DYNAMIC in getShortcuts() local
761 /*componentName=*/ null, queryFlags, userId, Process.myPid(), Process.myUid()); in getShortcuts()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceImpl.java1143 int queryFlags = 0; in getAllowlistedRestrictedPermissionsInternal() local
1145 queryFlags |= FLAG_PERMISSION_RESTRICTION_SYSTEM_EXEMPT; in getAllowlistedRestrictedPermissionsInternal()
1148 queryFlags |= FLAG_PERMISSION_RESTRICTION_UPGRADE_EXEMPT; in getAllowlistedRestrictedPermissionsInternal()
1151 queryFlags |= FLAG_PERMISSION_RESTRICTION_INSTALLER_EXEMPT; in getAllowlistedRestrictedPermissionsInternal()
1159 if ((currentFlags & queryFlags) != 0) { in getAllowlistedRestrictedPermissionsInternal()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...