/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | TopLevelWallpaperPreferenceControllerTest.java | 53 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 …]
|
D | WallpaperPreferenceControllerTest.java | 53 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 …]
|
D | ControlsPrivacyPreferenceControllerTest.java | 57 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/ |
D | RTTSettingPreferenceControllerTest.java | 45 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/ |
D | DevelopmentTilePreferenceControllerTest.java | 67 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/ |
D | AdvancedConnectedDeviceControllerTest.java | 64 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/ |
D | RemoteVolumeGroupControllerTest.java | 91 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/ |
D | SpecialAppAccessTest.java | 51 private ShadowPackageManager mShadowPackageManager; field in SpecialAppAccessTest 59 mShadowPackageManager = shadowOf( in setUp()
|
/packages/apps/KeyChain/robotests/src/com/android/keychain/ |
D | KeyChainServiceRoboTest.java | 119 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/ |
D | MediaOutputIndicatorSliceTest.java | 102 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/ |
D | MediaOutputPreferenceControllerTest.java | 135 private ShadowPackageManager mShadowPackageManager; field in MediaOutputPreferenceControllerTest 287 mShadowPackageManager.addPackage(mPackageInfo, mPackageStats); in updateState_withActiveLocalPlayback_checkTitle() 353 mShadowPackageManager = Shadows.shadowOf(mContext.getPackageManager()); in initPackage()
|