Home
last modified time | relevance | path

Searched refs:ShadowUtils (Results 1 – 25 of 33) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DDevelopmentSwitchBarControllerTest.java31 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()
DClearAdbKeysPreferenceControllerTest.java36 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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DSwipeToNotificationSettingsTest.java25 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/
DSystemAlertWindowPreferenceControllerTest.java23 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/fingerprint/
DFingerprintEnrollEnrollingTest.java34 import com.android.settings.testutils.shadow.ShadowUtils;
49 @Config(shadows = ShadowUtils.class)
60 ShadowUtils.setFingerprintManager(mFingerprintManager); in setUp()
73 ShadowUtils.reset(); in tearDown()
DSetupFingerprintEnrollFindSensorTest.java33 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()
DFingerprintEnrollFindSensorTest.java38 import com.android.settings.testutils.shadow.ShadowUtils;
58 @Config(shadows = ShadowUtils.class)
69 ShadowUtils.setFingerprintManager(mFingerprintManager); in setUp()
82 ShadowUtils.reset(); in tearDown()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DTopLevelNetworkEntryPreferenceControllerTest.java29 import com.android.settings.testutils.shadow.ShadowUtils;
46 @Config(shadows = {ShadowRestrictedLockUtilsInternal.class, ShadowUtils.class})
79 ShadowUtils.reset(); in tearDown()
84 ShadowUtils.setIsDemoUser(true); in getAvailabilityStatus_demoUser_unsupported()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/
DBuildNumberPreferenceControllerTest.java41 import com.android.settings.testutils.shadow.ShadowUtils;
59 @Config(shadows = ShadowUtils.class)
96 ShadowUtils.reset(); in tearDown()
144 ShadowUtils.setIsUserAMonkey(true); in handlePrefTreeClick_isMonkeyRun_doNothing()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipDialogFragmentTest.java38 import com.android.settings.testutils.shadow.ShadowUtils;
55 @Config(shadows = {ShadowUtils.class, ShadowAlertDialogCompat.class})
79 ShadowUtils.setApplicationLabel(PACKAGE_NAME, DISPLAY_NAME); in setUp()
193 ShadowUtils.setApplicationLabel(PACKAGE_NAME, DISPLAY_NAME); in testOnCreateDialog_unRestrictAppTip_fireUnRestrictDialog()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/
DUsbDefaultFragmentTest.java32 import com.android.settings.testutils.shadow.ShadowUtils;
120 @Config(shadows = ShadowUtils.class)
122 ShadowUtils.setIsUserAMonkey(true); in setDefaultKey_isMonkey_shouldDoNothing()
DUsbDetailsFunctionsControllerTest.java37 import com.android.settings.testutils.shadow.ShadowUtils;
215 @Config(shadows = ShadowUtils.class)
217 ShadowUtils.setIsUserAMonkey(true); in isAvailable_isMonkey_shouldReturnFalse()
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/
DSearchFeatureProviderImplTest.java34 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/system/
DFactoryResetPreferenceControllerTest.java24 import com.android.settings.testutils.shadow.ShadowUtils;
55 ShadowUtils.reset(); in tearDown()
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DSetupChooseLockGenericTest.java33 import com.android.settings.testutils.shadow.ShadowUtils;
47 ShadowUtils.class,
DChooseLockPatternTest.java30 import com.android.settings.testutils.shadow.ShadowUtils;
42 @Config(shadows = ShadowUtils.class)
DChooseLockSettingsHelperTest.java20 import com.android.settings.testutils.shadow.ShadowUtils;
35 @Config(shadows = {ShadowUserManager.class, ShadowUtils.class})
DSetupSkipDialogTest.java26 import com.android.settings.testutils.shadow.ShadowUtils;
36 @Config(shadows = {ShadowUtils.class, ShadowAlertDialogCompat.class})
DSetupChooseLockPasswordTest.java38 import com.android.settings.testutils.shadow.ShadowUtils;
65 ShadowUtils.class,
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DMasterClearTest.java52 import com.android.settings.testutils.shadow.ShadowUtils;
67 @Config(shadows = ShadowUtils.class)
252 ShadowUtils.setIsDemoUser(true); in testInitiateMasterClear_inDemoMode_sendsIntent()
256 ShadowUtils.setDeviceOwnerComponent(componentName); in testInitiateMasterClear_inDemoMode_sendsIntent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/actionbar/
DSearchMenuControllerTest.java34 import com.android.settings.testutils.shadow.ShadowUtils;
46 @Config(shadows = ShadowUtils.class)
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DLockscreenDashboardFragmentTest.java38 import com.android.settings.testutils.shadow.ShadowUtils;
53 @Config(shadows = {ShadowUtils.class, ShadowLockPatternUtils.class})
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/
DApplicationDetailsFragmentTest.java56 import com.android.car.settings.testutils.ShadowUtils;
88 ShadowUtils.class})
134 ShadowUtils.reset(); in tearDown()
359 ShadowUtils.setDeviceProvisioningPackage(PACKAGE_NAME); in onStart_deviceProvisioningPackage_disablesUninstallButton()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DRedactionInterstitialTest.java24 import com.android.settings.testutils.shadow.ShadowUtils;
38 ShadowUtils.class,
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DDataUsageSummaryTest.java43 import com.android.settings.testutils.shadow.ShadowUtils;
60 ShadowUtils.class,

12