Home
last modified time | relevance | path

Searched refs:ResolveInfoFlags (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/app/
DPackageManagerExt.kt23 import android.content.pm.PackageManager.ResolveInfoFlags
47 return resolveActivityAsUser(intent, ResolveInfoFlags.of(flags.toLong()), app.userId) in PackageManager()
DAppListRepository.kt189 val flags = PackageManager.ResolveInfoFlags.of( in getSystemPackageNames()
/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/model/app/
DPackageManagerExtTest.kt25 import android.content.pm.PackageManager.ResolveInfoFlags
51 packageManager.resolveActivityAsUser(any(), any<ResolveInfoFlags>(), eq(APP.userId)) in mockResolveActivityAsUser()
113 argumentCaptor<ResolveInfoFlags> { in resolveActionForApp_withFlags()
DAppListRepositoryTest.kt27 import android.content.pm.PackageManager.ResolveInfoFlags
74 on { queryIntentActivitiesAsUser(any(), any<ResolveInfoFlags>(), any<Int>()) } doReturn in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/data/repository/
DInstalledTilesComponentRepositoryImplTest.kt25 import android.content.pm.PackageManager.ResolveInfoFlags in <lambda>()
81 whenever(packageManager.queryIntentServicesAsUser(any(), any<ResolveInfoFlags>(), anyInt())) in <lambda>()
278 ResolveInfoFlags.of( in <lambda>()
289 argThat<ResolveInfoFlags> { flags -> flags?.value == FLAGS.value } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/data/repository/
DInstalledTilesComponentRepository.kt25 import android.content.pm.PackageManager.ResolveInfoFlags
119 ResolveInfoFlags.of( in getInstalledTilesComponents()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTest.java47 assertThat(PackageManager.ResolveInfoFlags.of(42L).getValue()).isEqualTo(42L); in testResolveInfoFlags()
/frameworks/base/services/core/java/com/android/server/media/
DMediaRoute2ProviderWatcher.java49 private static final PackageManager.ResolveInfoFlags RESOLVE_INFO_FLAGS =
50 PackageManager.ResolveInfoFlags.of(GET_RESOLVED_FILTER);
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/base/actions/
DQSTileIntentUserInputHandlerTest.kt24 import android.content.pm.PackageManager.ResolveInfoFlags
151 any(ResolveInfoFlags::class.java), in setUpQueryResult()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java1453 return resolveActivity(intent, ResolveInfoFlags.of(flags)); in resolveActivity()
1457 public ResolveInfo resolveActivity(Intent intent, ResolveInfoFlags flags) { in resolveActivity()
1463 return resolveActivityAsUser(intent, ResolveInfoFlags.of(flags), userId); in resolveActivityAsUser()
1467 public ResolveInfo resolveActivityAsUser(Intent intent, ResolveInfoFlags flags, int userId) { in resolveActivityAsUser()
1481 return queryIntentActivities(intent, ResolveInfoFlags.of(flags)); in queryIntentActivities()
1485 public List<ResolveInfo> queryIntentActivities(Intent intent, ResolveInfoFlags flags) { in queryIntentActivities()
1492 return queryIntentActivitiesAsUser(intent, ResolveInfoFlags.of(flags), userId); in queryIntentActivitiesAsUser()
1498 public List<ResolveInfo> queryIntentActivitiesAsUser(Intent intent, ResolveInfoFlags flags, in queryIntentActivitiesAsUser()
1520 intent, ResolveInfoFlags.of(flags)); in queryIntentActivityOptions()
1526 List<Intent> specifics, Intent intent, ResolveInfoFlags flags) { in queryIntentActivityOptions()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/base/actions/
DQSTileIntentUserInputHandler.kt103 PackageManager.ResolveInfoFlags.of(0L), in handle()
/frameworks/base/services/companion/java/com/android/server/companion/utils/
DPackageUtils.java43 import android.content.pm.PackageManager.ResolveInfoFlags;
130 COMPANION_SERVICE_INTENT, ResolveInfoFlags.of(0), userId);
/frameworks/base/core/java/android/content/pm/
DPackageManager.java5655 public final static class ResolveInfoFlags extends Flags { class in PackageManager
5656 private ResolveInfoFlags(@ResolveInfoFlagsBits long value) { in ResolveInfoFlags() method in PackageManager.ResolveInfoFlags
5660 public static ResolveInfoFlags of(@ResolveInfoFlagsBits long value) { in of()
5661 return new ResolveInfoFlags(value); in of()
7588 public ResolveInfo resolveActivity(@NonNull Intent intent, @NonNull ResolveInfoFlags flags) { in resolveActivity()
7635 @NonNull ResolveInfoFlags flags, @UserIdInt int userId) { in resolveActivityAsUser()
7665 @NonNull ResolveInfoFlags flags) { in queryIntentActivities()
7702 @NonNull ResolveInfoFlags flags, @UserIdInt int userId) { in queryIntentActivitiesAsUser()
7745 @NonNull ResolveInfoFlags flags, @NonNull UserHandle user) { in queryIntentActivitiesAsUser()
7787 @NonNull ResolveInfoFlags flags) { in queryIntentActivityOptions()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
DPrivacyDialogControllerTest.kt25 import android.content.pm.PackageManager.ResolveInfoFlags in <lambda>()
670 `when`(packageManager.resolveActivity(any(), any<ResolveInfoFlags>())) in <lambda>()
699 `when`(packageManager.resolveActivity(any(), any<ResolveInfoFlags>())) in <lambda>()
719 `when`(packageManager.resolveActivity(any(), any<ResolveInfoFlags>())) in <lambda>()
742 `when`(packageManager.resolveActivity(any(), any<ResolveInfoFlags>())) in <lambda>()
DPrivacyDialogControllerV2Test.kt25 import android.content.pm.PackageManager.ResolveInfoFlags in <lambda>()
678 `when`(packageManager.resolveActivity(any(), any<ResolveInfoFlags>())).thenAnswer { in <lambda>()
710 `when`(packageManager.resolveActivity(any(), any<ResolveInfoFlags>())).thenAnswer { in <lambda>()
729 `when`(packageManager.resolveActivity(any(), any<ResolveInfoFlags>())).thenAnswer { in <lambda>()
754 `when`(packageManager.resolveActivity(any(), any<ResolveInfoFlags>())).thenAnswer { in <lambda>()
/frameworks/base/core/java/com/android/internal/accessibility/util/
DAccessibilityUtils.java341 final PackageManager.ResolveInfoFlags flags = PackageManager.ResolveInfoFlags.of( in findA11yMenuComponentNames()
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/activity/
DA11yMenuSettingsActivity.java116 intent, PackageManager.ResolveInfoFlags.of(0)).isEmpty()) { in initializeHelpAndFeedbackPreference()
/frameworks/opt/car/services/updatableServices/tests/src/com/android/server/wm/
DCarDisplayCompatActivityInterceptorTest.java41 import android.content.pm.PackageManager.ResolveInfoFlags;
98 when(mMockPackageManager.resolveActivity(any(Intent.class), any(ResolveInfoFlags.class))) in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/
DControlsServiceInfo.kt80 PackageManager.ResolveInfoFlags.of( in resolvePanelActivity()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DControlsListingControllerImplTest.kt565 any<PackageManager.ResolveInfoFlags>(), in testForceReloadCallsListeners()
672 ) : ArgumentMatcher<PackageManager.ResolveInfoFlags> {
673 override fun matches(argument: PackageManager.ResolveInfoFlags?): Boolean { in matches()
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/
DInputMethodManagerServiceRestrictImeAmountTest.java152 PackageManager.ResolveInfoFlags.of(flags)); in getResolveInfo()
/frameworks/opt/car/services/updatableServices/src/com/android/server/wm/
DCarDisplayCompatActivityInterceptor.java103 PackageManager.ResolveInfoFlags.of(MATCH_SYSTEM_ONLY)); in CarDisplayCompatActivityInterceptor()
DCarLaunchOnPrivateDisplayActivityInterceptor.java209 PackageManager.ResolveInfoFlags.of(MATCH_SYSTEM_ONLY)); in readRouterActivityFromConfig()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlsListingControllerImpl.kt208 PackageManager.ResolveInfoFlags.of(flags.toLong()), in getCurrentServices()
/frameworks/base/core/java/android/service/credentials/
DCredentialProviderInfoFactory.java387 PackageManager.ResolveInfoFlags.of(PackageManager.GET_META_DATA), in getAvailableSystemServiceInfos()
643 PackageManager.ResolveInfoFlags.of(PackageManager.GET_META_DATA), in getUserProviders()

12