Searched refs:shadowPackageManager (Results 1 – 5 of 5) sorted by relevance
34 final ShadowPackageManager shadowPackageManager = shadowOf( in addAutofill() local50 shadowPackageManager.addPackage(autofillPackageInfo); in addAutofill()51 shadowPackageManager.addResolveInfoForIntent(intent, resolveInfo); in addAutofill()
151 ShadowPackageManager shadowPackageManager = Shadows.shadowOf(mContext.getPackageManager()); in getSettingIntent_noServiceInterface_returnsNull() local152 shadowPackageManager.addResolveInfoForIntent(intent, Collections.emptyList()); in getSettingIntent_noServiceInterface_returnsNull()170 ShadowPackageManager shadowPackageManager = Shadows.shadowOf(mContext.getPackageManager()); in getSettingIntent_hasServiceInterface_returnsIntent() local171 shadowPackageManager.addResolveInfoForIntent(intent, Lists.newArrayList(resolveInfo)); in getSettingIntent_hasServiceInterface_returnsIntent()
132 final ShadowPackageManager shadowPackageManager = shadowOf( in testUpdateCastSettings() local134 shadowPackageManager.addPackage(packageInfo); in testUpdateCastSettings()135 shadowPackageManager.addResolveInfoForIntent(intent, resolveInfo); in testUpdateCastSettings()
70 ShadowPackageManager shadowPackageManager = Shadows.shadowOf(mContext.getPackageManager()); in setUp() local71 shadowPackageManager.addResolveInfoForIntent(quickStepIntent, info); in setUp()
128 ShadowPackageManager shadowPackageManager = Shadow.extract(mContext.getPackageManager()); in queryProviderAuthority_useNewShadowPackagteManager_returnAuthority() local143 shadowPackageManager.addResolveInfoForIntent(AvatarViewMixin.INTENT_GET_ACCOUNT_DATA, in queryProviderAuthority_useNewShadowPackagteManager_returnAuthority()