Home
last modified time | relevance | path

Searched refs:resolveActivityAsUser (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DActivityIntentHelper.java94 ResolveInfo resolved = mPm.resolveActivityAsUser(intent, flags, currentUserId); in getTargetActivityInfo()
119 ResolveInfo resolved = mPm.resolveActivityAsUser(intent.getIntent(), flags, currentUserId); in getPendingTargetActivityInfo()
/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/model/app/
DPackageManagerExtTest.kt51 packageManager.resolveActivityAsUser(any(), any<ResolveInfoFlags>(), eq(APP.userId)) in mockResolveActivityAsUser()
114 verify(packageManager).resolveActivityAsUser(any(), capture(), eq(APP.userId)) in resolveActionForApp_withFlags()
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/app/
DPackageManagerExt.kt47 return resolveActivityAsUser(intent, ResolveInfoFlags.of(flags.toLong()), app.userId) in PackageManager()
/frameworks/base/core/java/com/android/internal/app/
DIntentForwarderActivity.java175 mInjector.resolveActivityAsUser(newIntent, MATCH_DEFAULT_ONLY, targetUserId); in onCreate()
217 mInjector.resolveActivityAsUser(newIntent, MATCH_DEFAULT_ONLY, targetUserId); in buildAndExecuteForPrivateProfile()
509 ResolveInfo callingResolveInfo = mInjector.resolveActivityAsUser( in launchResolverActivityWithCorrectTab()
702 public CompletableFuture<ResolveInfo> resolveActivityAsUser( in resolveActivityAsUser() method in IntentForwarderActivity.InjectorImpl
705 () -> getPackageManager().resolveActivityAsUser(intent, flags, userId)); in resolveActivityAsUser()
721 CompletableFuture<ResolveInfo> resolveActivityAsUser(Intent intent, int flags, int userId); in resolveActivityAsUser() method
DSuspendedAppActivity.java122 final ResolveInfo resolvedInfo = mPm.resolveActivityAsUser(moreDetailsIntent, in getMoreDetailsActivity()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/camera/
DCameraGestureHelperTest.kt149 whenever(packageManager.resolveActivityAsUser(any(), anyInt(), anyInt())).thenReturn( in prepare()
153 whenever(packageManager.resolveActivityAsUser(any(), anyInt(), anyInt())).thenReturn( in prepare()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/enterprise/
DActionDisabledLearnMoreButtonLauncher.java39 (packageManager, url, userHandle) -> packageManager.resolveActivityAsUser(
/frameworks/base/packages/SystemUI/src/com/android/systemui/camera/
DCameraGestureHelper.kt71 val resolveInfo: ResolveInfo? = packageManager.resolveActivityAsUser( in canCameraGestureBeLaunched()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java670 when(mMockPackageManager.resolveActivityAsUser( in testStartAddAccountSessionReturnWithInvalidIntent()
701 when(mMockPackageManager.resolveActivityAsUser( in testStartAddAccountSessionReturnWithValidIntent()
735 when(mMockPackageManager.resolveActivityAsUser( in testStartAddAccountSessionWhereAuthenticatorReturnsIntentWithProhibitedFlags()
889 when(mMockPackageManager.resolveActivityAsUser( in testStartUpdateCredentialsSessionReturnWithInvalidIntent()
920 when(mMockPackageManager.resolveActivityAsUser( in testStartUpdateCredentialsSessionReturnWithValidIntent()
1191 when(mMockPackageManager.resolveActivityAsUser( in testFinishSessionAsUserReturnWithInvalidIntent()
1220 when(mMockPackageManager.resolveActivityAsUser( in testFinishSessionAsUserReturnWithValidIntent()
1578 when(mMockPackageManager.resolveActivityAsUser( in testRemoveAccountAsUserReturnWithValidIntent()
1865 when(mMockPackageManager.resolveActivityAsUser( in testGetAuthTokenReturnWithInvalidIntent()
1899 when(mMockPackageManager.resolveActivityAsUser( in testGetAuthTokenReturnWithValidIntent()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/custom/domain/interactor/
DCustomTileUserActionInteractor.kt182 .resolveActivityAsUser(intent, 0, user.identifier) in resolveIntent()
/frameworks/base/services/core/java/com/android/server/policy/role/
DRoleServicePlatformHelperImpl.java264 ResolveInfo resolveInfo = packageManager.resolveActivityAsUser( in readFromLegacySettings()
293 ResolveInfo resolveInfo = packageManager.resolveActivityAsUser(new Intent( in isSettingsApplication()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/custom/domain/interactor/
DCustomTileUserActionInteractorTest.kt253 whenever(packageManager.resolveActivityAsUser(any(), any<Int>(), any())).then { in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DPinnerServiceTest.java124 mHomePackageResolveInfo = mContext.getPackageManager().resolveActivityAsUser(homeIntent, in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DCustomTile.java407 ResolveInfo result = mContext.getPackageManager().resolveActivityAsUser(i, 0, mUser); in resolveIntent()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java408 public ResolveInfo resolveActivityAsUser(Intent intent, int flags, int userId) { in resolveActivityAsUser() method in PackageManagerStub
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java445 public ResolveInfo resolveActivityAsUser(Intent intent, int flags, int userId) { in resolveActivityAsUser() method in BridgePackageManager
/frameworks/base/test-mock/src/android/test/mock/
DMockPackageManager.java455 public ResolveInfo resolveActivityAsUser(Intent intent, int flags, int userId) { in resolveActivityAsUser() method in MockPackageManager
/frameworks/base/services/tests/servicestests/src/com/android/server/app/
DMockPackageManager.java455 public ResolveInfo resolveActivityAsUser(@NonNull Intent intent, int flags, int userId) { in resolveActivityAsUser() method in MockPackageManager
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java1458 return resolveActivityAsUser(intent, flags, getUserId()); in resolveActivity()
1462 public ResolveInfo resolveActivityAsUser(Intent intent, int flags, int userId) { in resolveActivityAsUser() method in ApplicationPackageManager
1463 return resolveActivityAsUser(intent, ResolveInfoFlags.of(flags), userId); in resolveActivityAsUser()
1467 public ResolveInfo resolveActivityAsUser(Intent intent, ResolveInfoFlags flags, int userId) { in resolveActivityAsUser() method in ApplicationPackageManager
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DIntentForwarderActivityTest.java773 public CompletableFuture<ResolveInfo> resolveActivityAsUser( in resolveActivityAsUser() method in IntentForwarderActivityTest.TestInjector
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java1132 ResolveInfo handler = mContext.getPackageManager().resolveActivityAsUser( in getDefaultSystemHandlerActivityPackage()
1176 ResolveInfo homeActivity = mContext.getPackageManager().resolveActivityAsUser( in getHeadlessSyncAdapterPackages()
/frameworks/base/services/core/java/com/android/server/
DPinnerService.java534 ResolveInfo resolveInfo = mContext.getPackageManager().resolveActivityAsUser(intent, in getApplicationInfoForIntent()
/frameworks/base/core/java/android/content/pm/
DPackageManager.java7626 public abstract ResolveInfo resolveActivityAsUser(@NonNull Intent intent, in resolveActivityAsUser() method in PackageManager
7634 public ResolveInfo resolveActivityAsUser(@NonNull Intent intent, in resolveActivityAsUser() method in PackageManager
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java1901 ResolveInfo resolveInfo = mPackageManager.resolveActivityAsUser(intentLauncher, in launchAllAppsAction()
6328 ResolveInfo info = mPackageManager.resolveActivityAsUser(
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java3391 ResolveInfo resolveInfo = mPackageManager.resolveActivityAsUser(homeIntent, in resolveNeedsSlowUnlockTransition()

12