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.java498 device.setSetting("system", entry.getKey(), entry.getValue()); in tearDown()
501 device.setSetting("global", entry.getKey(), entry.getValue()); in tearDown()
504 device.setSetting("secure", entry.getKey(), entry.getValue()); in tearDown()
807 device.setSetting("global", "airplane_mode_on", "1"); in changeSettings()
814 device.setSetting("global", "airplane_mode_on", "0"); in changeSettings()
831 device.setSetting("system", key, value); in changeSettings()
841 device.setSetting("secure", key, value); in changeSettings()
852 device.setSetting("global", key, value); in changeSettings()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DDeviceSetupTest.java1124 mMockDevice.setSetting("system", "key", "value"); in test_restore_settings()
1127 mMockDevice.setSetting("global", "key2", "value2"); in test_restore_settings()
1130 mMockDevice.setSetting("secure", "key3", "value3"); in test_restore_settings()
1132 mMockDevice.setSetting("system", "key", "orig"); in test_restore_settings()
1134 mMockDevice.setSetting("global", "key2", "orig2"); in test_restore_settings()
1136 mMockDevice.setSetting("secure", "key3", "orig3"); in test_restore_settings()
1318 mMockDevice.setSetting(namespace, key, value); in doSettingExpectations()
/tools/tradefederation/core/src/com/android/tradefed/device/
DITestDevice.java833 public void setSetting(String namespace, String key, String value) in setSetting() method
843 public void setSetting(int userId, String namespace, String key, String value) in setSetting() method
DTestDevice.java1482 public void setSetting(String namespace, String key, String value) in setSetting() method in TestDevice
1491 public void setSetting(int userId, String namespace, String key, String value) in setSetting() method in TestDevice
DNativeDevice.java4017 public void setSetting(String namespace, String key, String value) in setSetting() method in NativeDevice
4026 public void setSetting(int userId, String namespace, String key, String value) in setSetting() method in NativeDevice
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceFuncTest.java818 mTestDevice.setSetting(0, "system", "screen_brightness", "50"); in testPutSettings()
822 mTestDevice.setSetting(0, "system", "screen_brightness", initValue); in testPutSettings()
DTestDeviceTest.java3604 mTestDevice.setSetting(0, "TEST", "screen_brightness", "75"); in testSetSetting_unexpectedNamespace()
3624 mTestDevice.setSetting(0, "system", "screen_brightness", "75"); in testSetSettings()
3642 mTestDevice.setSetting("system", "screen_brightness", "75"); in testSetSettings_SystemUser()
3660 mTestDevice.setSetting(0, "system", "screen_brightness", "75"); in testSetSettings_lowApi()
DNativeDeviceTest.java695 mTestDevice.setSetting("global", "wifi_on", "0"); in testSetSettingSystemUser_exception()
706 mTestDevice.setSetting(0, "global", "wifi_on", "0"); in testSetSetting_exception()