/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | DevelopmentSwitchBarControllerTest.java | 31 import com.android.settings.testutils.shadow.ShadowUtils; 50 @Config(shadows = {ShadowUtils.class, ShadowUserManager.class}) 72 ShadowUtils.reset(); in tearDown() 77 ShadowUtils.setIsUserAMonkey(true); in runThroughLifecycle_v2_isMonkeyRun_shouldNotRegisterListener() 92 ShadowUtils.setIsUserAMonkey(false); in runThroughLifecycle_isNotMonkeyRun_shouldRegisterAndRemoveListener() 108 ShadowUtils.setIsUserAMonkey(false); in runThroughLifecycle_v2_isNotMonkeyRun_shouldRegisterAndRemoveListener() 123 ShadowUtils.setIsUserAMonkey(false); in buildController_unavailable_shouldDisableSwitchBar()
|
D | ClearAdbKeysPreferenceControllerTest.java | 36 import com.android.settings.testutils.shadow.ShadowUtils; 52 @Config(shadows = ShadowUtils.class) 78 ShadowUtils.reset(); in tearDown() 134 ShadowUtils.setIsUserAMonkey(true); in handlePreferenceTreeClick_monkeyUser_shouldReturnFalse()
|
D | AdbQrCodePreferenceControllerTest.java | 38 import com.android.settings.testutils.shadow.ShadowUtils; 51 @Config(shadows = ShadowUtils.class)
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | PowerButtonEndsCallPreferenceControllerTest.java | 28 import com.android.settings.testutils.shadow.ShadowUtils; 39 @Config(shadows = {ShadowUtils.class, ShadowKeyCharacterMap.class}) 57 ShadowUtils.reset(); in tearDown() 64 ShadowUtils.setIsVoiceCapable(true); in getAvailabilityStatus_hasPowerKeyAndVoiceCapable_shouldReturnAvailable() 73 ShadowUtils.setIsVoiceCapable(false); in getAvailabilityStatus_noVoiceCapable_shouldReturnUnsupportedOnDevice() 82 ShadowUtils.setIsVoiceCapable(true); in getAvailabilityStatus_noPowerKey_shouldReturnUnsupportedOnDevice()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/ |
D | SwipeToNotificationSettingsTest.java | 25 import com.android.settings.testutils.shadow.ShadowUtils; 47 ShadowUtils.reset(); in setUp() 52 ShadowUtils.reset(); in tearDown() 72 @Config(shadows = ShadowUtils.class) 74 ShadowUtils.setFingerprintManager(null); in getNonIndexableKeys_noFingerprintHardware_shouldSuppressPage()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/ |
D | SystemAlertWindowPreferenceControllerTest.java | 23 import com.android.settings.testutils.shadow.ShadowUtils; 33 @Config(shadows = {ShadowUtils.class}) 47 ShadowUtils.setIsSystemAlertWindowEnabled(true); in systemAlertWindow_byDefault_shouldBeShown() 53 ShadowUtils.setIsSystemAlertWindowEnabled(false); in systemAlertWindow_lowMemory_shouldNotBeShown()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/face/ |
D | BiometricLockscreenBypassPreferenceControllerTest.java | 25 import com.android.settings.testutils.shadow.ShadowUtils; 36 @Config(shadows = {ShadowUtils.class}) 50 ShadowUtils.reset(); in tearDown() 55 ShadowUtils.setIsMultipleBiometricsSupported(true); in isAvailable_multipleBiometricsSupported_shouldReturnAvailable()
|
D | FaceSettingsLockscreenBypassPreferenceControllerTest.java | 34 import com.android.settings.testutils.shadow.ShadowUtils; 50 @Config(shadows = {ShadowUtils.class}) 80 ShadowUtils.reset(); in tearDown() 99 ShadowUtils.setIsMultipleBiometricsSupported(true); in isAvailable_multipleBiometricsSupported_shouldReturnUnsupported()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | BatteryPercentagePreferenceControllerTest.java | 28 import com.android.settings.testutils.shadow.ShadowUtils; 39 @Config(shadows = ShadowUtils.class) 55 ShadowUtils.reset(); in tearDown() 78 ShadowUtils.setIsBatteryPresent(false); in getAvailabilityStatus_batteryNotPresent_shouldReturnConditionallyUnavailable()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | OpenSupportedLinksTest.java | 39 import com.android.settings.testutils.shadow.ShadowUtils; 53 @Config(shadows = ShadowUtils.class) 81 ShadowUtils.reset(); in tearDown() 95 ShadowUtils.setHandledDomains(domainLinks); in addLinksToFooter_oneHandledDomains_returnDomainsFooterTitle() 164 ShadowUtils.setHandledDomains(domainLinks); in initHandledDomains()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/ |
D | FingerprintEnrollEnrollingTest.java | 35 import com.android.settings.testutils.shadow.ShadowUtils; 51 @Config(shadows = ShadowUtils.class) 62 ShadowUtils.setFingerprintManager(mFingerprintManager); in setUp() 75 ShadowUtils.reset(); in tearDown()
|
D | SetupFingerprintEnrollFindSensorTest.java | 33 import com.android.settings.testutils.shadow.ShadowUtils; 49 @Config(shadows = {ShadowUtils.class, ShadowAlertDialogCompat.class}) 58 ShadowUtils.setFingerprintManager(mFingerprintManager); in setUp() 64 ShadowUtils.reset(); in tearDown()
|
D | FingerprintEnrollFindSensorTest.java | 39 import com.android.settings.testutils.shadow.ShadowUtils; 59 @Config(shadows = ShadowUtils.class) 70 ShadowUtils.setFingerprintManager(mFingerprintManager); in setUp() 83 ShadowUtils.reset(); in tearDown()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | TopLevelNetworkEntryPreferenceControllerTest.java | 31 import com.android.settings.testutils.shadow.ShadowUtils; 47 @Config(shadows = {ShadowRestrictedLockUtilsInternal.class, ShadowUtils.class}) 72 ShadowUtils.reset(); in tearDown() 77 ShadowUtils.setIsDemoUser(true); in getAvailabilityStatus_demoUser_unsupported()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/ |
D | BuildNumberPreferenceControllerTest.java | 43 import com.android.settings.testutils.shadow.ShadowUtils; 61 @Config(shadows = ShadowUtils.class) 98 ShadowUtils.reset(); in tearDown() 146 ShadowUtils.setIsUserAMonkey(true); in handlePrefTreeClick_isMonkeyRun_doNothing()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/ |
D | BatteryTipDialogFragmentTest.java | 41 import com.android.settings.testutils.shadow.ShadowUtils; 61 @Config(shadows = {ShadowUtils.class, ShadowAlertDialogCompat.class}) 86 ShadowUtils.setApplicationLabel(PACKAGE_NAME, DISPLAY_NAME); in setUp() 217 ShadowUtils.setApplicationLabel(PACKAGE_NAME, DISPLAY_NAME); in testOnCreateDialog_unRestrictAppTip_fireUnRestrictDialog()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/ |
D | SearchFeatureProviderImplTest.java | 34 import com.android.settings.testutils.shadow.ShadowUtils; 63 @Config(shadows = ShadowUtils.class) 87 @Config(shadows = ShadowUtils.class)
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/ |
D | UsbDetailsTranscodeMtpControllerTest.java | 36 import com.android.settings.testutils.shadow.ShadowUtils; 169 @Config(shadows = ShadowUtils.class) 171 ShadowUtils.setIsUserAMonkey(true); in isAvailable_isMonkey_shouldReturnFalse()
|
D | UsbDefaultFragmentTest.java | 40 import com.android.settings.testutils.shadow.ShadowUtils; 139 @Config(shadows = ShadowUtils.class) 141 ShadowUtils.setIsUserAMonkey(true); in setDefaultKey_isMonkey_shouldDoNothing()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryHeaderPreferenceControllerTest.java | 47 import com.android.settings.testutils.shadow.ShadowUtils; 65 @Config(shadows = {ShadowEntityHeaderController.class, ShadowUtils.class}) 129 ShadowUtils.reset(); in tearDown() 308 ShadowUtils.setIsBatteryPresent(false); in displayPreference_batteryNotPresent_isInvisible()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/system/ |
D | FactoryResetPreferenceControllerTest.java | 26 import com.android.settings.testutils.shadow.ShadowUtils; 57 ShadowUtils.reset(); in tearDown()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | SetupChooseLockGenericTest.java | 33 import com.android.settings.testutils.shadow.ShadowUtils; 47 ShadowUtils.class,
|
D | ChooseLockPatternTest.java | 33 import com.android.settings.testutils.shadow.ShadowUtils; 45 @Config(shadows = ShadowUtils.class)
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/actionbar/ |
D | SearchMenuControllerTest.java | 38 import com.android.settings.testutils.shadow.ShadowUtils; 52 @Config(shadows = ShadowUtils.class)
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
D | MainClearTest.java | 53 import com.android.settings.testutils.shadow.ShadowUtils; 71 @Config(shadows = ShadowUtils.class) 265 ShadowUtils.setIsDemoUser(true); in testInitiateMainClear_inDemoMode_sendsIntent() 269 ShadowUtils.setDeviceOwnerComponent(componentName); in testInitiateMainClear_inDemoMode_sendsIntent()
|