Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/testutils/
DUtils.java34 final ShadowPackageManager shadowPackageManager = shadowOf( in addAutofill() local
50 shadowPackageManager.addPackage(autofillPackageInfo); in addAutofill()
51 shadowPackageManager.addResolveInfoForIntent(intent, resolveInfo); in addAutofill()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/defaultapps/
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()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/
DDevicePrefFragmentTest.java132 final ShadowPackageManager shadowPackageManager = shadowOf( in testUpdateCastSettings() local
134 shadowPackageManager.addPackage(packageInfo); in testUpdateCastSettings()
135 shadowPackageManager.addResolveInfoForIntent(intent, resolveInfo); in testUpdateCastSettings()
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DGestureNavigationSettingsAssistControllerTest.java70 ShadowPackageManager shadowPackageManager = Shadows.shadowOf(mContext.getPackageManager()); in setUp() local
71 shadowPackageManager.addResolveInfoForIntent(quickStepIntent, info); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
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()