Searched refs:getSetting (Results 1 – 8 of 8) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | ITestDevice.java | 552 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
|
D | TestDevice.java | 1106 public String getSetting(String namespace, String key) throws DeviceNotAvailableException { 1114 public String getSetting(int userId, String namespace, String key)
|
D | NativeDevice.java | 3696 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/ |
D | DeviceSetup.java | 814 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/ |
D | DeviceSetupTest.java | 1060 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/ |
D | TestDeviceFuncTest.java | 813 String initValue = mTestDevice.getSetting(0, "system", "screen_brightness"); in testPutSettings() 817 String secondValue = mTestDevice.getSetting(0, "system", "screen_brightness"); in testPutSettings()
|
D | TestDeviceTest.java | 2947 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()
|
D | NativeDeviceTest.java | 609 mTestDevice.getSetting("global", "wifi_on"); in testGetSettingSystemUser_exception() 621 mTestDevice.getSetting(0, "global", "wifi_on"); in testGetSetting_exception()
|