Home
last modified time | relevance | path

Searched refs:shadowPackageManager (Results 1 – 7 of 7) sorted by relevance

/aosp12/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/testutils/
H A DUtils.java34 final ShadowPackageManager shadowPackageManager = shadowOf( in addAutofill() local
50 shadowPackageManager.addPackage(autofillPackageInfo); in addAutofill()
51 shadowPackageManager.addResolveInfoForIntent(intent, resolveInfo); in addAutofill()
/aosp12/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/defaultapps/
H A DDefaultAutofillPickerEntryPreferenceControllerTest.java151 ShadowPackageManager shadowPackageManager = Shadows.shadowOf(mContext.getPackageManager()); in getSettingIntent_noServiceInterface_returnsNull() local
152 shadowPackageManager.addResolveInfoForIntent(intent, Collections.emptyList()); in getSettingIntent_noServiceInterface_returnsNull()
170 ShadowPackageManager shadowPackageManager = Shadows.shadowOf(mContext.getPackageManager()); in getSettingIntent_hasServiceInterface_returnsIntent() local
171 shadowPackageManager.addResolveInfoForIntent(intent, Lists.newArrayList(resolveInfo)); in getSettingIntent_hasServiceInterface_returnsIntent()
/aosp12/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/
H A DDevicePrefFragmentTest.java132 final ShadowPackageManager shadowPackageManager = shadowOf( in testUpdateCastSettings() local
134 shadowPackageManager.addPackage(packageInfo); in testUpdateCastSettings()
135 shadowPackageManager.addResolveInfoForIntent(intent, resolveInfo); in testUpdateCastSettings()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
H A DGestureNavigationSettingsAssistControllerTest.java70 ShadowPackageManager shadowPackageManager = Shadows.shadowOf(mContext.getPackageManager()); in setUp() local
71 shadowPackageManager.addResolveInfoForIntent(quickStepIntent, info); in setUp()
/aosp12/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
H A DTransportTestUtils.java57 ShadowPackageManager shadowPackageManager, TransportData... transports) in setUpTransportsForTransportManager() argument
66 shadowPackageManager.addResolveInfoForIntent(transportIntent(), resolveInfo); in setUpTransportsForTransportManager()
67 shadowPackageManager.addResolveInfoForIntent( in setUpTransportsForTransportManager()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
H A DAvatarViewMixinTest.java128 ShadowPackageManager shadowPackageManager = Shadow.extract(mContext.getPackageManager()); in queryProviderAuthority_useNewShadowPackagteManager_returnAuthority() local
143 shadowPackageManager.addResolveInfoForIntent(AvatarViewMixin.INTENT_GET_ACCOUNT_DATA, in queryProviderAuthority_useNewShadowPackagteManager_returnAuthority()
/aosp12/frameworks/base/services/robotests/backup/src/com/android/server/backup/
H A DUserBackupManagerServiceTest.java556 ShadowPackageManager shadowPackageManager = shadowOf(mContext.getPackageManager()); in setUpForUpdateTransportAttributes() local
557 shadowPackageManager.installPackage(packageInfo); in setUpForUpdateTransportAttributes()
558 shadowPackageManager.setPackagesForUid(PACKAGE_UID, transportPackage); in setUpForUpdateTransportAttributes()