Home
last modified time | relevance | path

Searched refs:setIsUserAMonkey (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DDevelopmentSwitchBarControllerTest.java77 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.java134 ShadowUtils.setIsUserAMonkey(true); in handlePreferenceTreeClick_monkeyUser_shouldReturnFalse()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowUtils.java85 public static void setIsUserAMonkey(boolean isUserAMonkey) { in setIsUserAMonkey() method in ShadowUtils
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/
DUsbDetailsTranscodeMtpControllerTest.java171 ShadowUtils.setIsUserAMonkey(true); in isAvailable_isMonkey_shouldReturnFalse()
DUsbDefaultFragmentTest.java141 ShadowUtils.setIsUserAMonkey(true); in setDefaultKey_isMonkey_shouldDoNothing()
DUsbDetailsFunctionsControllerTest.java243 ShadowUtils.setIsUserAMonkey(true); in isAvailable_isMonkey_shouldReturnFalse()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/
DBuildNumberPreferenceControllerTest.java146 ShadowUtils.setIsUserAMonkey(true); in handlePrefTreeClick_isMonkeyRun_doNothing()