Home
last modified time | relevance | path

Searched refs:mShadowPackageManager (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DWallpaperPreferenceControllerTest.java53 private ShadowPackageManager mShadowPackageManager; field in WallpaperPreferenceControllerTest
71 mShadowPackageManager = Shadows.shadowOf(mContext.getPackageManager()); in setUp()
77 mShadowPackageManager.setResolveInfosForIntent( in isAvailable_wallpaperPickerEnabled_shouldReturnTrue()
85 mShadowPackageManager.setResolveInfosForIntent( in isAvailable_wallpaperPickerDisabled_shouldReturnFalse()
95 mShadowPackageManager.setResolveInfosForIntent( in areStylesAvailable_noComponentSpecified()
103 mShadowPackageManager.setResolveInfosForIntent( in areStylesAvailable_componentUnresolveable()
111 mShadowPackageManager.setResolveInfosForIntent( in areStylesAvailable_componentResolved()
120 mShadowPackageManager.setResolveInfosForIntent( in getKeywords_withoutStyles()
131 mShadowPackageManager.setResolveInfosForIntent( in getKeywords_withStyles()
144 mShadowPackageManager.setResolveInfosForIntent( in handlePreferenceTreeClick_wallpaperOnly()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/location/
DLocationScanningPreferenceControllerTest.java43 private ShadowPackageManager mShadowPackageManager; field in LocationScanningPreferenceControllerTest
54 mShadowPackageManager = Shadows.shadowOf(context.getPackageManager()); in setUp()
59 mShadowPackageManager.setSystemFeature(PackageManager.FEATURE_WIFI, /* supported= */ true); in getAvailabilityStatus_available_wifiOrBluetooth()
60 mShadowPackageManager.setSystemFeature(PackageManager.FEATURE_BLUETOOTH_LE, in getAvailabilityStatus_available_wifiOrBluetooth()
65 mShadowPackageManager.setSystemFeature(PackageManager.FEATURE_WIFI, /* supported= */ false); in getAvailabilityStatus_available_wifiOrBluetooth()
66 mShadowPackageManager.setSystemFeature(PackageManager.FEATURE_BLUETOOTH_LE, in getAvailabilityStatus_available_wifiOrBluetooth()
74 mShadowPackageManager.setSystemFeature(PackageManager.FEATURE_WIFI, /* supported= */ false); in getAvailabilityStatus_notAvailable_noWifiNoBluetooth()
75 mShadowPackageManager.setSystemFeature(PackageManager.FEATURE_BLUETOOTH_LE, in getAvailabilityStatus_notAvailable_noWifiNoBluetooth()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/qstile/
DDevelopmentTilePreferenceControllerTest.java67 private ShadowPackageManager mShadowPackageManager; field in DevelopmentTilePreferenceControllerTest
74 mShadowPackageManager = Shadows.shadowOf(mContext.getPackageManager()); in setUp()
96 mShadowPackageManager.setResolveInfosForIntent(tileProbe, Arrays.asList(info)); in display_hasTileService_shouldDisplay()
/packages/apps/KeyChain/robotests/src/com/android/keychain/
DKeyChainServiceRoboTest.java105 private ShadowPackageManager mShadowPackageManager; field in KeyChainServiceRoboTest
116 mShadowPackageManager = shadowOf(packageManager); in setUp()
251 mShadowPackageManager.setNameForUid(uid, packageName); in setUpCaller()