Home
last modified time | relevance | path

Searched refs:setSetting (Results 1 – 8 of 8) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceSetup.java493 device.setSetting("system", entry.getKey(), entry.getValue()); in tearDown()
496 device.setSetting("global", entry.getKey(), entry.getValue()); in tearDown()
499 device.setSetting("secure", entry.getKey(), entry.getValue()); in tearDown()
794 device.setSetting("global", "airplane_mode_on", "1"); in changeSettings()
801 device.setSetting("global", "airplane_mode_on", "0"); in changeSettings()
818 device.setSetting("system", key, value); in changeSettings()
828 device.setSetting("secure", key, value); in changeSettings()
839 device.setSetting("global", key, value); in changeSettings()
/tools/tradefederation/core/src/com/android/tradefed/device/
DITestDevice.java569 public void setSetting(String namespace, String key, String value) in setSetting() method
579 public void setSetting(int userId, String namespace, String key, String value) in setSetting() method
DTestDevice.java1143 public void setSetting(String namespace, String key, String value)
1152 public void setSetting(int userId, String namespace, String key, String value)
DNativeDevice.java3714 public void setSetting(String namespace, String key, String value) in setSetting() method in NativeDevice
3723 public void setSetting(int userId, String namespace, String key, String value) in setSetting() method in NativeDevice
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DDeviceSetupTest.java1061 mMockDevice.setSetting("system", "key", "value"); in test_restore_settings()
1064 mMockDevice.setSetting("global", "key2", "value2"); in test_restore_settings()
1067 mMockDevice.setSetting("secure", "key3", "value3"); in test_restore_settings()
1069 mMockDevice.setSetting("system", "key", "orig"); in test_restore_settings()
1071 mMockDevice.setSetting("global", "key2", "orig2"); in test_restore_settings()
1073 mMockDevice.setSetting("secure", "key3", "orig3"); in test_restore_settings()
1208 mMockDevice.setSetting(namespace, key, value); in doSettingExpectations()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceFuncTest.java816 mTestDevice.setSetting(0, "system", "screen_brightness", "50"); in testPutSettings()
820 mTestDevice.setSetting(0, "system", "screen_brightness", initValue); in testPutSettings()
DTestDeviceTest.java3002 mTestDevice.setSetting(0, "TEST", "screen_brightness", "75"); in testSetSetting_unexpectedNamespace()
3022 mTestDevice.setSetting(0, "system", "screen_brightness", "75"); in testSetSettings()
3040 mTestDevice.setSetting("system", "screen_brightness", "75"); in testSetSettings_SystemUser()
3058 mTestDevice.setSetting(0, "system", "screen_brightness", "75"); in testSetSettings_lowApi()
DNativeDeviceTest.java633 mTestDevice.setSetting("global", "wifi_on", "0"); in testSetSettingSystemUser_exception()
645 mTestDevice.setSetting(0, "global", "wifi_on", "0"); in testSetSetting_exception()