Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DTopLevelWallpaperPreferenceControllerTest.java53 private ShadowPackageManager mShadowPackageManager; field in TopLevelWallpaperPreferenceControllerTest
71 mShadowPackageManager = Shadows.shadowOf(mContext.getPackageManager()); in setUp()
77 mShadowPackageManager.setResolveInfosForIntent( in isAvailable_wallpaperPickerEnabledAndStylePickerEnabled_returnsTrue()
79 mShadowPackageManager.setResolveInfosForIntent( in isAvailable_wallpaperPickerEnabledAndStylePickerEnabled_returnsTrue()
87 mShadowPackageManager.setResolveInfosForIntent( in isAvailable_wallpaperPickerEnabledAndStylePickerDisabled_returnsTrue()
89 mShadowPackageManager.setResolveInfosForIntent( in isAvailable_wallpaperPickerEnabledAndStylePickerDisabled_returnsTrue()
97 mShadowPackageManager.setResolveInfosForIntent( in isAvailable_wallpaperPickerDisabledAndStylePickerEnabled_returnsTrue()
99 mShadowPackageManager.setResolveInfosForIntent( in isAvailable_wallpaperPickerDisabledAndStylePickerEnabled_returnsTrue()
107 mShadowPackageManager.setResolveInfosForIntent( in isAvailable_wallpaperPickerDisabledAndStylePickerDisabled_returnsFalse()
109 mShadowPackageManager.setResolveInfosForIntent( in isAvailable_wallpaperPickerDisabledAndStylePickerDisabled_returnsFalse()
[all …]
DWallpaperPreferenceControllerTest.java53 private ShadowPackageManager mShadowPackageManager; field in WallpaperPreferenceControllerTest
71 mShadowPackageManager = Shadows.shadowOf(mContext.getPackageManager()); in setUp()
77 mShadowPackageManager.setResolveInfosForIntent( in isAvailable_wallpaperPickerEnabledAndStylePickerEnabled_returnsTrue()
79 mShadowPackageManager.setResolveInfosForIntent( in isAvailable_wallpaperPickerEnabledAndStylePickerEnabled_returnsTrue()
87 mShadowPackageManager.setResolveInfosForIntent( in isAvailable_wallpaperPickerEnabledAndStylePickerDisabled_returnsTrue()
89 mShadowPackageManager.setResolveInfosForIntent( in isAvailable_wallpaperPickerEnabledAndStylePickerDisabled_returnsTrue()
97 mShadowPackageManager.setResolveInfosForIntent( in isAvailable_wallpaperPickerDisabledAndStylePickerEnabled_returnsTrue()
99 mShadowPackageManager.setResolveInfosForIntent( in isAvailable_wallpaperPickerDisabledAndStylePickerEnabled_returnsTrue()
107 mShadowPackageManager.setResolveInfosForIntent( in isAvailable_wallpaperPickerDisabledAndStylePickerDisabled_returnsFalse()
109 mShadowPackageManager.setResolveInfosForIntent( in isAvailable_wallpaperPickerDisabledAndStylePickerDisabled_returnsFalse()
[all …]
DControlsPrivacyPreferenceControllerTest.java57 private ShadowPackageManager mShadowPackageManager; field in ControlsPrivacyPreferenceControllerTest
69 mShadowPackageManager = Shadows.shadowOf(mContext.getPackageManager()); in setUp()
125 mShadowPackageManager.setSystemFeature(PackageManager.FEATURE_CONTROLS, true); in getSummary_ControlsAvailable_lockscreen_privacy_showString()
133 mShadowPackageManager.setSystemFeature(PackageManager.FEATURE_CONTROLS, true); in updateState_onPreferenceRefreshed_preferenceEnabledAndSummaryChanged()
145 mShadowPackageManager.setSystemFeature(PackageManager.FEATURE_CONTROLS, true); in getAvailabilityStatus_ControlsOnNotSecure_returnsDisabled()
155 mShadowPackageManager.setSystemFeature(PackageManager.FEATURE_CONTROLS, false); in getAvailabilityStatus_ControlsOffSecure_returnsDisabled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DRTTSettingPreferenceControllerTest.java45 private ShadowPackageManager mShadowPackageManager; field in RTTSettingPreferenceControllerTest
52 mShadowPackageManager = shadowOf(context.getPackageManager()); in setUp()
87 mShadowPackageManager.addResolveInfoForIntent(intent, info); in setupTestIntent()
/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/Settings/tests/robotests/src/com/android/settings/connecteddevice/
DAdvancedConnectedDeviceControllerTest.java64 private ShadowPackageManager mShadowPackageManager; field in AdvancedConnectedDeviceControllerTest
75 mShadowPackageManager = Shadows.shadowOf(mContext.getPackageManager()); in setUp()
112 mShadowPackageManager.addResolveInfoForIntent( in isAndroidAutoSettingAvailable_returnTrue()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DRemoteVolumeGroupControllerTest.java91 private ShadowPackageManager mShadowPackageManager; field in RemoteVolumeGroupControllerTest
181 mShadowPackageManager.addPackage(mPackageInfo, mPackageStats); in displayPreference_withActiveSession_checkSwitcherPreferenceTitle()
201 mShadowPackageManager = Shadows.shadowOf(mContext.getPackageManager()); in initPackage()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/apps/specialaccess/
DSpecialAppAccessTest.java51 private ShadowPackageManager mShadowPackageManager; field in SpecialAppAccessTest
59 mShadowPackageManager = shadowOf( in setUp()
/packages/apps/KeyChain/robotests/src/com/android/keychain/
DKeyChainServiceRoboTest.java119 private ShadowPackageManager mShadowPackageManager; field in KeyChainServiceRoboTest
130 mShadowPackageManager = shadowOf(packageManager); in setUp()
350 mShadowPackageManager.setNameForUid(uid, packageName); in setUpCaller()
/packages/apps/Settings/tests/robotests/src/com/android/settings/media/
DMediaOutputIndicatorSliceTest.java102 private ShadowPackageManager mShadowPackageManager; field in MediaOutputIndicatorSliceTest
135 mShadowPackageManager.addPackage(mPackageInfo, mPackageStats); in getSlice_withConnectedDevice_verifyMetadata()
277 mShadowPackageManager = Shadows.shadowOf(mContext.getPackageManager()); in initPackage()
/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/
DMediaOutputPreferenceControllerTest.java135 private ShadowPackageManager mShadowPackageManager; field in MediaOutputPreferenceControllerTest
287 mShadowPackageManager.addPackage(mPackageInfo, mPackageStats); in updateState_withActiveLocalPlayback_checkTitle()
353 mShadowPackageManager = Shadows.shadowOf(mContext.getPackageManager()); in initPackage()