Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/device/
DITestDevice.java552 public String getSetting(String namespace, String key) throws DeviceNotAvailableException; in getSetting() method
561 public String getSetting(int userId, String namespace, String key) in getSetting() method
DTestDevice.java1106 public String getSetting(String namespace, String key) throws DeviceNotAvailableException {
1114 public String getSetting(int userId, String namespace, String key)
DNativeDevice.java3696 public String getSetting(String namespace, String key) in getSetting() method in NativeDevice
3705 public String getSetting(int userId, String namespace, String key) in getSetting() method in NativeDevice
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceSetup.java814 String previousSetting = device.getSetting("system", key); in changeSettings()
824 String previousSetting = device.getSetting("secure", key); in changeSettings()
835 String previousSetting = device.getSetting("global", key); in changeSettings()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DDeviceSetupTest.java1060 EasyMock.expect(mMockDevice.getSetting("system", "key")).andReturn("orig").once(); in test_restore_settings()
1063 EasyMock.expect(mMockDevice.getSetting("global", "key2")).andReturn("orig2").once(); in test_restore_settings()
1066 EasyMock.expect(mMockDevice.getSetting("secure", "key3")).andReturn("orig3").once(); in test_restore_settings()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceFuncTest.java813 String initValue = mTestDevice.getSetting(0, "system", "screen_brightness"); in testPutSettings()
817 String secondValue = mTestDevice.getSetting(0, "system", "screen_brightness"); in testPutSettings()
DTestDeviceTest.java2947 assertEquals("78", mTestDevice.getSetting(0, "system", "screen_brightness")); in testGetSetting()
2960 assertEquals("78", mTestDevice.getSetting("system", "screen_brightness")); in testGetSetting_SystemUser()
2973 assertNull(mTestDevice.getSetting(0, "system", "screen_brightness")); in testGetSetting_nulloutput()
2987 assertNull(mTestDevice.getSetting(0, "TEST", "screen_brightness")); in testGetSetting_unexpectedNamespace()
DNativeDeviceTest.java609 mTestDevice.getSetting("global", "wifi_on"); in testGetSettingSystemUser_exception()
621 mTestDevice.getSetting(0, "global", "wifi_on"); in testGetSetting_exception()