/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/policy/ |
D | LockTaskModePolicyHandlerTest.java | 218 ShadowPackageManager shadowPackageManager = Shadows.shadowOf(mContext.getPackageManager()); in setupDefaultSystemPackages() local 234 shadowPackageManager.installPackage(dialerPackage); in setupDefaultSystemPackages() 235 shadowPackageManager.addActivityIfNotPresent(dialerComponent); in setupDefaultSystemPackages() 236 shadowPackageManager.addIntentFilterForActivity(dialerComponent, dialerIntent); in setupDefaultSystemPackages() 252 shadowPackageManager.installPackage(settingsPackage); in setupDefaultSystemPackages() 253 shadowPackageManager.addActivityIfNotPresent(settingsComponent); in setupDefaultSystemPackages() 254 shadowPackageManager.addIntentFilterForActivity(settingsComponent, settingsIntent); in setupDefaultSystemPackages() 272 shadowPackageManager.installPackage(requestPermissionPackage); in setupDefaultSystemPackages() 273 shadowPackageManager.addActivityIfNotPresent(requestPermissionComponent); in setupDefaultSystemPackages() 274 shadowPackageManager.addIntentFilterForActivity(requestPermissionComponent, in setupDefaultSystemPackages() [all …]
|
D | DevicePolicyControllerImplTest.java | 1146 ShadowPackageManager shadowPackageManager = Shadows.shadowOf(mTestApp.getPackageManager()); in installKioskAppWithoutCategoryHomeIntentFilter() local 1149 shadowPackageManager.installPackage(kioskPackageInfo); in installKioskAppWithoutCategoryHomeIntentFilter() 1157 shadowPackageManager.addActivityIfNotPresent(kioskAppComponent); in installKioskAppWithoutCategoryHomeIntentFilter() 1158 shadowPackageManager.addIntentFilterForActivity(kioskAppComponent, kioskAppIntentFilter); in installKioskAppWithoutCategoryHomeIntentFilter() 1162 ShadowPackageManager shadowPackageManager = Shadows.shadowOf(mTestApp.getPackageManager()); in installKioskAppWithLockScreenIntentFilter() local 1165 shadowPackageManager.installPackage(kioskPackageInfo); in installKioskAppWithLockScreenIntentFilter() 1173 shadowPackageManager.addActivityIfNotPresent(kioskAppComponent); in installKioskAppWithLockScreenIntentFilter() 1174 shadowPackageManager.addIntentFilterForActivity(kioskAppComponent, kioskAppIntentFilter); in installKioskAppWithLockScreenIntentFilter() 1178 ShadowPackageManager shadowPackageManager = Shadows.shadowOf(mTestApp.getPackageManager()); in installKioskAppWithSetupIntentFilter() local 1181 shadowPackageManager.installPackage(kioskPackageInfo); in installKioskAppWithSetupIntentFilter() [all …]
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/testutils/ |
D | Utils.java | 34 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/ |
D | DefaultAutofillPickerEntryPreferenceControllerTest.java | 249 ShadowPackageManager shadowPackageManager = Shadows.shadowOf(mContext.getPackageManager()); in getSettingIntent_noServiceInterface_returnsNull() local 250 shadowPackageManager.addResolveInfoForIntent(intent, Collections.emptyList()); in getSettingIntent_noServiceInterface_returnsNull() 268 ShadowPackageManager shadowPackageManager = Shadows.shadowOf(mContext.getPackageManager()); in getSettingIntent_hasServiceInterface_returnsIntent() local 269 shadowPackageManager.addResolveInfoForIntent(intent, Lists.newArrayList(resolveInfo)); in getSettingIntent_hasServiceInterface_returnsIntent()
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/ |
D | DevicePrefFragmentTest.java | 134 final ShadowPackageManager shadowPackageManager = shadowOf( in testUpdateCastSettings() local 136 shadowPackageManager.addPackage(packageInfo); in testUpdateCastSettings() 137 shadowPackageManager.addResolveInfoForIntent(intent, resolveInfo); in testUpdateCastSettings()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/ |
D | GestureNavigationSettingsAssistControllerTest.java | 70 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/biometrics/ |
D | MultiBiometricEnrollHelperTest.java | 140 final ShadowPackageManager shadowPackageManager = shadowOf(mContext.getPackageManager()); in launchFaceAndFingerprintEnroll_testFace() local 141 shadowPackageManager.setSystemFeature(PackageManager.FEATURE_FACE, true); in launchFaceAndFingerprintEnroll_testFace()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | LaunchAccessibilityActivityPreferenceFragmentTest.java | 156 final ShadowPackageManager shadowPackageManager = in setupTileService() local 158 shadowPackageManager.addResolveInfoForIntent(tileProbe, info); in setupTileService()
|
D | ToggleAccessibilityServicePreferenceFragmentTest.java | 544 final ShadowPackageManager shadowPackageManager = in setupTileService() local 546 shadowPackageManager.addResolveInfoForIntent(tileProbe, info); in setupTileService()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
D | AvatarViewMixinTest.java | 126 ShadowPackageManager shadowPackageManager = Shadow.extract(mContext.getPackageManager()); in queryProviderAuthority_useNewShadowPackagteManager_returnAuthority() local 141 shadowPackageManager.addResolveInfoForIntent(AvatarViewMixin.INTENT_GET_ACCOUNT_DATA, in queryProviderAuthority_useNewShadowPackagteManager_returnAuthority()
|