Searched refs:mShadowPackageManager (Results 1 – 4 of 4) sorted by relevance
53 private ShadowPackageManager mShadowPackageManager; field in WallpaperPreferenceControllerTest71 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 …]
43 private ShadowPackageManager mShadowPackageManager; field in LocationScanningPreferenceControllerTest54 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()
67 private ShadowPackageManager mShadowPackageManager; field in DevelopmentTilePreferenceControllerTest74 mShadowPackageManager = Shadows.shadowOf(mContext.getPackageManager()); in setUp()96 mShadowPackageManager.setResolveInfosForIntent(tileProbe, Arrays.asList(info)); in display_hasTileService_shouldDisplay()
105 private ShadowPackageManager mShadowPackageManager; field in KeyChainServiceRoboTest116 mShadowPackageManager = shadowOf(packageManager); in setUp()251 mShadowPackageManager.setNameForUid(uid, packageName); in setUpCaller()