Home
last modified time | relevance | path

Searched refs:queryIntentActivitiesAsUser (Results 1 – 25 of 50) sorted by relevance

12

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DUserManagerStateTest.java382 when(mMockPackageManager.queryIntentActivitiesAsUser(mMockIntent, in testGetCanForwardToProfileIdMap_systemUserCanForwardToAll()
410 when(mMockPackageManager.queryIntentActivitiesAsUser(mMockIntent, in testGetCanForwardToProfileIdMap_systemUserCanForwardToManaged()
449 when(mMockPackageManager.queryIntentActivitiesAsUser(mMockIntent, in testGetCanForwardToProfileIdMap_systemUserCanNotForwardToManagedUser()
478 when(mMockPackageManager.queryIntentActivitiesAsUser(mMockIntent, in testGetCanForwardToProfileIdMap_managedCanForwardToAll()
508 when(mMockPackageManager.queryIntentActivitiesAsUser(mMockIntent, in testGetCanForwardToProfileIdMap_managedCanNotForwardToAll()
537 when(mMockPackageManager.queryIntentActivitiesAsUser(mMockIntent, in testGetCanForwardToProfileIdMap_privateCanForwardToAll()
557 when(mMockPackageManager.queryIntentActivitiesAsUser(mMockIntent, in testGetCanForwardToProfileIdMap_privateCanNotForwardToManagedUser()
616 when(mMockPackageManager.queryIntentActivitiesAsUser(mMockIntent, in testOnProfileStatusChange_actionProfileUnavailableForPrivateProfile()
651 when(mMockPackageManager.queryIntentActivitiesAsUser(mMockIntent, in testOnProfileStatusChange_actionProfileAvailable_profileInitialised()
693 when(mMockPackageManager.queryIntentActivitiesAsUser(mMockIntent, in testOnProfileStatusChange_actionProfileAvailable_profileNotInitialised()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/
DInstalledAppCountItemManagerTest.java74 when(mMockPm.queryIntentActivitiesAsUser(any(), anyInt(), anyInt())).thenReturn(intents); in isSystemApp_userCanOpen_isCounted()
84 when(mMockPm.queryIntentActivitiesAsUser(any(), anyInt(), anyInt())).thenReturn(intents); in isSystemApp_userCannotOpen_isNotCounted()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/permission/
DHealthPermissionIntentAppsTracker.java104 .queryIntentActivitiesAsUser( in updateStateAndGetIfIntentWasRemoved()
157 return mPackageManager.queryIntentActivitiesAsUser( in getHealthIntentSupportiveAppsForUser()
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DPackageManagerCompat.java159 public List<ResolveInfo> queryIntentActivitiesAsUser( in queryIntentActivitiesAsUser() method in PackageManagerCompat
161 return mManager.queryIntentActivitiesAsUser(intent, flags, userId); in queryIntentActivitiesAsUser()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppOpenByDefaultPreferenceControllerTest.java178 .queryIntentActivitiesAsUser(any(Intent.class), anyInt(), anyInt())) in updateState_isBrowserApp_shouldNotShowPreference()
198 .queryIntentActivitiesAsUser(any(Intent.class), anyInt(), anyInt())) in updateState_notBrowserApp_notInstantApp_shouldShowPreferenceAndSetSummary()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DExtraSettingsLoader.java96 List<ResolveInfo> results = mPm.queryIntentActivitiesAsUser(intent, in loadPreferences()
100 List<ResolveInfo> extra_settings_results = mPm.queryIntentActivitiesAsUser(intent, in loadPreferences()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DInstalledAppListerTest.java85 when(mPackageManager.queryIntentActivitiesAsUser( in expectQueryIntentActivities()
177 .queryIntentActivitiesAsUser(any(), anyInt(), anyInt()); in testCountInstalledAppsAcrossAllUsers()
DInstalledAppCounterTest.java130 when(mPackageManager.queryIntentActivitiesAsUser( in expectQueryIntentActivities()
161 .queryIntentActivitiesAsUser(any(Intent.class), anyInt(), anyInt()); in testCountInstalledAppsAcrossAllUsers()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/enterprise/apps/
DInstalledAppCounter.java69 List<ResolveInfo> intents = pm.queryIntentActivitiesAsUser( in includeInCount()
/packages/apps/Car/Settings/src/com/android/car/settingslib/applications/
DInstalledAppCounter.java72 List<ResolveInfo> intents = pm.queryIntentActivitiesAsUser( in includeInCount()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/enterprise/apps/
DInstalledAppCounter.java69 List<ResolveInfo> intents = pm.queryIntentActivitiesAsUser( in includeInCount()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/enterprise/
DEnterprisePrivacyFeatureProviderImpl.java265 final List<ResolveInfo> activities = mPm.queryIntentActivitiesAsUser(intent, 0, MY_USER_ID); in getParentalControlsIntent()
331 final List<ResolveInfo> activities = mPm.queryIntentActivitiesAsUser(intent, 0, userId); in getWorkPolicyInfoIntentPO()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/homeactivities/
DTaskCategoryManager.java132 List<ResolveInfo> result = mContext.getPackageManager().queryIntentActivitiesAsUser( in updateFullScreenActivities()
153 List<ResolveInfo> result = mContext.getPackageManager().queryIntentActivitiesAsUser( in updateBackgroundActivityMap()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/enterprise/
DEnterprisePrivacyFeatureProviderImpl.java268 final List<ResolveInfo> activities = mPm.queryIntentActivitiesAsUser(intent, 0, MY_USER_ID); in getParentalControlsIntent()
334 final List<ResolveInfo> activities = mPm.queryIntentActivitiesAsUser(intent, 0, userId); in getWorkPolicyInfoIntentPO()
/packages/modules/Permission/service/java/com/android/permission/util/
DPackageUtils.java62 return packageManager.queryIntentActivitiesAsUser(intent, flags, UserHandle.of(userId)); in queryUnfilteredIntentActivitiesAsUser()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/util/
DCrossProfileUtils.java73 for (ResolveInfo info : packageManager.queryIntentActivitiesAsUser( in isIntentAllowedCrossProfileAccessFromUser()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DInstalledAppCountItemManager.java90 List<ResolveInfo> intents = mContext.getPackageManager().queryIntentActivitiesAsUser( in shouldCountApp()
/packages/apps/Settings/src/com/android/settings/applications/
DInstalledAppCounter.java74 List<ResolveInfo> intents = pm.queryIntentActivitiesAsUser( in includeInCount()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/managedomainurls/
DAppLaunchSettingsBasePreferenceController.java91 List<ResolveInfo> list = mPm.queryIntentActivitiesAsUser(sBrowserIntent, in isBrowserApp()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/permission/
DHealthPermissionIntentAppsTrackerTest.java88 when(mPackageManager.queryIntentActivitiesAsUser(any(), any(), eq(CURRENT_USER))) in setSelfIntentSupport()
/packages/apps/DocumentsUI/src/com/android/documentsui/util/
DCrossProfileUtils.java97 for (ResolveInfo info : packageManager.queryIntentActivitiesAsUser(intent, in getCrossProfileResolveInfoPostV()
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/
DAppTimeSpentPreference.kt66 fun isAvailable() = context.packageManager.queryIntentActivitiesAsUser( in isAvailable()
DAppLocalePreference.kt69 val resolveInfos = packageManager.queryIntentActivitiesAsUser( in <lambda>()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/dock/
DBackgroundExcludedItemsProvider.java77 List<ResolveInfo> result = mContext.getPackageManager().queryIntentActivitiesAsUser( in updateBackgroundActivityMap()
/packages/services/Telephony/src/com/android/phone/
DErrorDialogActivity.java140 .queryIntentActivitiesAsUser( in canStartActivityAsUser()

12