Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
DTileUtilsTest.java126 when(mPackageManager.queryIntentActivitiesAsUser(any(Intent.class), anyInt(), anyInt())) in getTilesForIntent_shouldParseCategory()
148 when(mPackageManager.queryIntentActivitiesAsUser(any(Intent.class), anyInt(), anyInt())) in getTilesForIntent_shouldParseKeyHintForSystemApp()
169 when(mPackageManager.queryIntentActivitiesAsUser(any(Intent.class), anyInt(), anyInt())) in getTilesForIntent_shouldSkipNonSystemApp()
192 verify(mPackageManager, atLeastOnce()).queryIntentActivitiesAsUser( in getCategories_withPackageName()
210 when(mPackageManager.queryIntentActivitiesAsUser(any(Intent.class), anyInt(), anyInt())) in getTilesForIntent_shouldReadMetadataTitleAsString()
232 when(mPackageManager.queryIntentActivitiesAsUser(any(Intent.class), anyInt(), anyInt())) in getTilesForIntent_shouldReadMetadataTitleFromResource()
258 when(mPackageManager.queryIntentActivitiesAsUser(any(Intent.class), anyInt(), anyInt())) in getTilesForIntent_shouldNotTintIconIfInSettingsPackage()
281 when(mPackageManager.queryIntentActivitiesAsUser(any(Intent.class), anyInt(), anyInt())) in getTilesForIntent_tileAlreadyInCache_shouldUpdateMetaData()
313 when(mPackageManager.queryIntentActivitiesAsUser(any(Intent.class), anyInt(), anyInt())) in getTilesForIntent_shouldMarkIconTintableIfMetadataSet()
334 when(mPackageManager.queryIntentActivitiesAsUser(any(Intent.class), anyInt(), anyInt())) in getTilesForIntent_shouldProcessUriContentForSystemApp()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DResolverListControllerTest.java168 when(mMockPackageManager.queryIntentActivitiesAsUser(any(), anyInt(), in getResolversForIntent_usesResultsFromPackageManager()
193 when(mMockPackageManager.queryIntentActivitiesAsUser(any(), anyInt(), in getResolversForIntent_shouldGetOnlyDefaultActivitiesTrue_addsFlag()
208 verify(mMockPackageManager).queryIntentActivitiesAsUser(any(), in getResolversForIntent_shouldGetOnlyDefaultActivitiesTrue_addsFlag()
218 when(mMockPackageManager.queryIntentActivitiesAsUser(any(), anyInt(), in getResolversForIntent_shouldGetOnlyDefaultActivitiesFalse_doesNotAddFlag()
233 verify(mMockPackageManager).queryIntentActivitiesAsUser(any(), in getResolversForIntent_shouldGetOnlyDefaultActivitiesFalse_doesNotAddFlag()
245 when(mMockPackageManager.queryIntentActivitiesAsUser(any(), anyInt(), in testResolveInfoWithNoUserHandle_isNotAddedToResults()
/frameworks/base/telecomm/java/android/telecom/
DDefaultDialerManager.java157 packageManager.queryIntentActivitiesAsUser(intent, 0, userId); in getInstalledDialerApplications()
218 .queryIntentActivitiesAsUser(intent, 0, userId); in filterByIntent()
/frameworks/base/core/java/android/content/pm/
DAppsQueryHelper.java101 final List<ResolveInfo> resolveInfos = queryIntentActivitiesAsUser(intent, in queryApps()
180 protected List<ResolveInfo> queryIntentActivitiesAsUser(Intent intent, int userId) { in queryIntentActivitiesAsUser() method in AppsQueryHelper
DPackageManager.java7693 public abstract List<ResolveInfo> queryIntentActivitiesAsUser(@NonNull Intent intent, in queryIntentActivitiesAsUser() method in PackageManager
7701 public List<ResolveInfo> queryIntentActivitiesAsUser(@NonNull Intent intent, in queryIntentActivitiesAsUser() method in PackageManager
7732 public List<ResolveInfo> queryIntentActivitiesAsUser(@NonNull Intent intent, in queryIntentActivitiesAsUser() method in PackageManager
7734 return queryIntentActivitiesAsUser(intent, flags, user.getIdentifier()); in queryIntentActivitiesAsUser()
7744 public List<ResolveInfo> queryIntentActivitiesAsUser(@NonNull Intent intent, in queryIntentActivitiesAsUser() method in PackageManager
7746 return queryIntentActivitiesAsUser(intent, flags, user.getIdentifier()); in queryIntentActivitiesAsUser()
/frameworks/base/services/core/java/com/android/server/media/
DMediaServerUtils.java53 .queryIntentActivitiesAsUser(intent, /* flags= */ 0, userHandle); in isValidActivityComponentName()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/base/actions/
DQSTileIntentUserInputHandler.kt101 packageManager.queryIntentActivitiesAsUser( in handle()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DActivityIntentHelper.java86 final List<ResolveInfo> appList = mPm.queryIntentActivitiesAsUser( in getTargetActivityInfo()
/frameworks/base/packages/SettingsLib/Utils/src/com/android/settingslib/utils/
DWorkPolicyUtils.java149 mPackageManager.queryIntentActivitiesAsUser( in getWorkPolicyInfoIntentPO()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/
DControlsServiceInfo.kt78 val resolveInfos = mPm.queryIntentActivitiesAsUser( in resolvePanelActivity()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/base/actions/
DQSTileIntentUserInputHandlerTest.kt149 packageManager.queryIntentActivitiesAsUser( in setUpQueryResult()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppsQueryHelperTests.java127 protected List<ResolveInfo> queryIntentActivitiesAsUser(Intent intent, int userId) { in queryIntentActivitiesAsUser() method in AppsQueryHelperTests.AppsQueryHelperTestable
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbUserSettingsManager.java85 return mPackageManager.queryIntentActivitiesAsUser(intent, PackageManager.GET_META_DATA, in queryIntentActivities()
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/app/
DAppListRepository.kt196 packageManager.queryIntentActivitiesAsUser(launchIntent, flags, userId) in getSystemPackageNames()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DAppUtils.java202 final List<ResolveInfo> list = context.getPackageManager().queryIntentActivitiesAsUser( in isBrowserApp()
/frameworks/base/services/core/java/com/android/server/search/
DSearchManagerService.java256 .queryIntentActivitiesAsUser(searchIntent, PackageManager.GET_META_DATA in querySearchableActivities()
/frameworks/base/core/java/com/android/internal/app/
DResolverListController.java160 final List<ResolveInfo> infos = mpm.queryIntentActivitiesAsUser(intent, flags, in getResolversForIntentAsUserInternal()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOverlayPackagesProvider.java251 final List<ResolveInfo> resolveInfos = mPm.queryIntentActivitiesAsUser(launcherIntent, in getLaunchableApps()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DOverlayPackagesProviderTest.java480 public List<ResolveInfo> queryIntentActivitiesAsUser(Intent intent, int flags, int userId) { in queryIntentActivitiesAsUser() method in OverlayPackagesProviderTest.FakePackageManager
/frameworks/base/tests/TelephonyCommonTests/src/com/android/internal/telephony/tests/
DSmsApplicationTest.java136 .queryIntentActivitiesAsUser(nullable(Intent.class), anyInt(), in setUp()
/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/model/app/
DAppListRepositoryTest.kt74 on { queryIntentActivitiesAsUser(any(), any<ResolveInfoFlags>(), any<Int>()) } doReturn in <lambda>()
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DTileUtils.java313 final List<ResolveInfo> results = pm.queryIntentActivitiesAsUser(intent, in loadActivityTiles()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java418 public List<ResolveInfo> queryIntentActivitiesAsUser(Intent intent, int flags, int userId) { in queryIntentActivitiesAsUser() method in PackageManagerStub
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DControlsListingControllerImplTest.kt644 packageManager.queryIntentActivitiesAsUser( in setUpQueryResult()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java455 public List<ResolveInfo> queryIntentActivitiesAsUser(Intent intent, int flags, int userId) { in queryIntentActivitiesAsUser() method in BridgePackageManager

12