Home
last modified time | relevance | path

Searched refs:SYSPROP_RADIO_LOG (Results 1 – 2 of 2) sorted by relevance

/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/targetprep/
DVtsDevicePreparerTest.java294 doReturn("0").when(mockDevice).getProperty(VtsDevicePreparer.SYSPROP_RADIO_LOG); in test_setUp_enableRadioLog()
298 .executeShellCommand("setprop " + VtsDevicePreparer.SYSPROP_RADIO_LOG + " 1"); in test_setUp_enableRadioLog()
312 doReturn("1").when(mockDevice).getProperty(VtsDevicePreparer.SYSPROP_RADIO_LOG); in test_setUp_enableRadioLog_alreadyEnabled()
316 .executeShellCommand(eq("setprop " + VtsDevicePreparer.SYSPROP_RADIO_LOG + " 1")); in test_setUp_enableRadioLog_alreadyEnabled()
330 doReturn(null).when(mockDevice).getProperty(VtsDevicePreparer.SYSPROP_RADIO_LOG); in test_setUp_enableRadioLog_notAvailable1()
334 .executeShellCommand(eq("setprop " + VtsDevicePreparer.SYSPROP_RADIO_LOG + " 1")); in test_setUp_enableRadioLog_notAvailable1()
348 doReturn("").when(mockDevice).getProperty(VtsDevicePreparer.SYSPROP_RADIO_LOG); in test_setUp_enableRadioLog_notAvailable2()
352 .executeShellCommand(eq("setprop " + VtsDevicePreparer.SYSPROP_RADIO_LOG + " 1")); in test_setUp_enableRadioLog_notAvailable2()
373 doReturn("1").when(mockDevice).getProperty(VtsDevicePreparer.SYSPROP_RADIO_LOG); in test_tearDown_enableAdbRoot_turnOff()
379 .executeShellCommand("setprop " + VtsDevicePreparer.SYSPROP_RADIO_LOG + " 0"); in test_tearDown_enableAdbRoot_turnOff()
[all …]
/test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/
DVtsDevicePreparer.java103 public static String SYSPROP_RADIO_LOG = "persist.vendor.radio.adb_log_on"; field in VtsDevicePreparer
105 public String mSyspropRadioLog = SYSPROP_RADIO_LOG;
267 this.setProperty(SYSPROP_RADIO_LOG, "1"); in radioLogPreRebootSetup()
291 this.setProperty(SYSPROP_RADIO_LOG, "0"); in radioLogPreTearDown()
295 this.setProperty(SYSPROP_RADIO_LOG, "1"); in radioLogPreTearDown()