/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/ |
D | RootTargetPreparerTest.java | 74 when(mMockDevice.disableAdbRoot()).thenReturn(true); in testSetUpSuccess_notRootBefore() 80 verify(mMockDevice, times(1)).disableAdbRoot(); in testSetUpSuccess_notRootBefore() 98 when(mMockDevice.disableAdbRoot()).thenReturn(true); in testSetUpSuccess_rootBefore_forceUnroot() 104 verify(mMockDevice, times(1)).disableAdbRoot(); in testSetUpSuccess_rootBefore_forceUnroot() 126 when(mMockDevice.disableAdbRoot()).thenReturn(false); in testSetUpFail_forceUnroot() 140 when(mMockDevice.disableAdbRoot()).thenReturn(true); in testSetUpFail_forceRoot_ignoresFailure() 153 when(mMockDevice.disableAdbRoot()).thenReturn(false); in testSetUpFail_forceUnroot_ignoresFailure() 160 verify(mMockDevice, times(1)).disableAdbRoot(); in testSetUpFail_forceUnroot_ignoresFailure()
|
D | DisableSELinuxTargetPreparerTest.java | 100 when(mMockDevice.disableAdbRoot()).thenReturn(true); in testSetUpSuccess_enforced_notRootBefore() 110 verify(mMockDevice, times(2)).disableAdbRoot(); in testSetUpSuccess_enforced_notRootBefore()
|
/tools/tradefederation/core/javatests/com/android/tradefed/util/ |
D | AdbRootElevatorTest.java | 59 inOrder.verify(mMockDevice).disableAdbRoot(); in testEnablesAndDisablesRoot() 89 verify(mMockDevice, never()).disableAdbRoot(); in testFailsToEnableAdbRoot_throwsException() 104 verify(mMockDevice, never()).disableAdbRoot(); in testDeviceNotAvailableOnRoot_throwsException()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | DisableSELinuxTargetPreparer.java | 64 device.disableAdbRoot(); in setUp() 80 device.disableAdbRoot(); in tearDown()
|
D | RootTargetPreparer.java | 61 } else if (mWasRoot && !mForceRoot && !device.disableAdbRoot()) { in setUp() 78 device.disableAdbRoot(); in tearDown()
|
/tools/tradefederation/core/javatests/com/android/tradefed/suite/checker/ |
D | ShellStatusCheckerTest.java | 84 when(mMockDevice.disableAdbRoot()).thenReturn(preRevertOk).thenReturn(postRevertOk); in expectPreAndPost() 91 when(mMockDevice.disableAdbRoot()).thenReturn(preRevertOk); in expectPreAndPost() 98 when(mMockDevice.disableAdbRoot()).thenReturn(postRevertOk); in expectPreAndPost()
|
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/ |
D | ShellStatusChecker.java | 66 reset = device.disableAdbRoot(); in preExecutionCheck() 94 reset = device.disableAdbRoot(); in postExecutionCheck()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | AdbRootElevator.java | 43 mDevice.disableAdbRoot(); in close()
|
/tools/tradefederation/contrib/src/com/android/fastboot/tests/ |
D | FastbootTest.java | 228 mDevice.disableAdbRoot(); in testFastboot()
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/ |
D | JavaCodeCoverageCollectorTest.java | 141 when(mMockDevice.disableAdbRoot()).thenReturn(true); in setUp() 295 inOrder.verify(mMockDevice).disableAdbRoot(); in testRunEnded_rootDisabled_disablesRootAfterPullingFiles()
|
D | GcovCodeCoverageCollectorTest.java | 308 inOrder.verify(mMockDevice).disableAdbRoot(); in testInit_adbRootAndCoverageFlushed()
|
D | ClangCodeCoverageCollectorTest.java | 626 inOrder.verify(mMockDevice).disableAdbRoot(); in testInit_adbRootAndCoverageFlush()
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/ |
D | INativeDevice.java | 1220 public boolean disableAdbRoot() throws DeviceNotAvailableException; in disableAdbRoot() method
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/ |
D | TestDeviceFileFuncTest.java | 180 mTestDevice.disableAdbRoot(); in testPull_NoPermissions()
|
D | TestDeviceFuncTest.java | 912 mTestDevice.disableAdbRoot(); in testPullFileContents()
|
D | TestDeviceTest.java | 370 assertTrue(mTestDevice.disableAdbRoot()); in testDisableAdbRoot_alreadyUnroot() 389 assertTrue(mTestDevice.disableAdbRoot()); in testDisableAdbRoot_unroot()
|
D | NativeDeviceTest.java | 3455 public boolean disableAdbRoot() throws DeviceNotAvailableException { in testGetFastbootSerialNumber_non_root_tcp_adb()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | NativeDevice.java | 4075 public boolean disableAdbRoot() throws DeviceNotAvailableException { in disableAdbRoot() method in NativeDevice 4449 disableAdbRoot(); in getFastbootSerialNumber()
|