Home
last modified time | relevance | path

Searched refs:disableAdbRoot (Results 1 – 12 of 12) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DRootTargetPreparerTest.java69 EasyMock.expect(mMockDevice.disableAdbRoot()).andReturn(true).once(); in testSetUpSuccess_notRootBefore()
93 EasyMock.expect(mMockDevice.disableAdbRoot()).andReturn(true).once(); in testSetUpSuccess_rootBefore_forceUnroot()
121 EasyMock.expect(mMockDevice.disableAdbRoot()).andReturn(false).once(); in testSetUpFail_forceUnroot()
136 EasyMock.expect(mMockDevice.disableAdbRoot()).andReturn(true).once(); in testSetUpFail_forceRoot_ignoresFailure()
150 EasyMock.expect(mMockDevice.disableAdbRoot()).andReturn(false).once(); in testSetUpFail_forceUnroot_ignoresFailure()
DDisableSELinuxTargetPreparerTest.java97 EasyMock.expect(mMockDevice.disableAdbRoot()).andReturn(true).times(2); in testSetUpSuccess_enforced_notRootBefore()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DJavaCodeCoverageListenerTest.java114 when(mMockDevice.disableAdbRoot()).thenReturn(true); in setUp()
217 inOrder.verify(mMockDevice).disableAdbRoot(); in testRunEnded_rootDisabled_disablesRootAfterPullingFiles()
225 when(mMockDevice.disableAdbRoot()).thenReturn(false); in testRunEnded_rootDisabled_throwsIfCannotDisableRoot()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DDisableSELinuxTargetPreparer.java64 device.disableAdbRoot(); in setUp()
80 device.disableAdbRoot(); in tearDown()
DRootTargetPreparer.java61 } else if (mWasRoot && !mForceRoot && !device.disableAdbRoot()) { in setUp()
74 device.disableAdbRoot(); in tearDown()
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/
DShellStatusChecker.java66 reset = device.disableAdbRoot(); in preExecutionCheck()
94 reset = device.disableAdbRoot(); in postExecutionCheck()
/tools/tradefederation/core/tests/src/com/android/tradefed/suite/checker/
DShellStatusCheckerTest.java81 EasyMock.expect(mMockDevice.disableAdbRoot()).andReturn(preRevertOk); in expectPreAndPost()
91 EasyMock.expect(mMockDevice.disableAdbRoot()).andReturn(postRevertOk); in expectPreAndPost()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DJavaCodeCoverageListener.java178 if (!wasRoot && !mDevice.disableAdbRoot()) { in collectAndLogCoverageMeasurementsAsRoot()
/tools/tradefederation/contrib/src/com/android/fastboot/tests/
DFastbootTest.java228 mDevice.disableAdbRoot(); in testFastboot()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DINativeDevice.java1055 public boolean disableAdbRoot() throws DeviceNotAvailableException; in disableAdbRoot() method
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceTest.java218 assertTrue(mTestDevice.disableAdbRoot()); in testDisableAdbRoot_alreadyUnroot()
237 assertTrue(mTestDevice.disableAdbRoot()); in testDisableAdbRoot_unroot()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java3303 public boolean disableAdbRoot() throws DeviceNotAvailableException { in disableAdbRoot() method in NativeDevice