Searched refs:disableAdbRoot (Results 1 – 12 of 12) sorted by relevance
69 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()
97 EasyMock.expect(mMockDevice.disableAdbRoot()).andReturn(true).times(2); in testSetUpSuccess_enforced_notRootBefore()
114 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()
64 device.disableAdbRoot(); in setUp()80 device.disableAdbRoot(); in tearDown()
61 } else if (mWasRoot && !mForceRoot && !device.disableAdbRoot()) { in setUp()74 device.disableAdbRoot(); in tearDown()
66 reset = device.disableAdbRoot(); in preExecutionCheck()94 reset = device.disableAdbRoot(); in postExecutionCheck()
81 EasyMock.expect(mMockDevice.disableAdbRoot()).andReturn(preRevertOk); in expectPreAndPost()91 EasyMock.expect(mMockDevice.disableAdbRoot()).andReturn(postRevertOk); in expectPreAndPost()
178 if (!wasRoot && !mDevice.disableAdbRoot()) { in collectAndLogCoverageMeasurementsAsRoot()
228 mDevice.disableAdbRoot(); in testFastboot()
1055 public boolean disableAdbRoot() throws DeviceNotAvailableException; in disableAdbRoot() method
218 assertTrue(mTestDevice.disableAdbRoot()); in testDisableAdbRoot_alreadyUnroot()237 assertTrue(mTestDevice.disableAdbRoot()); in testDisableAdbRoot_unroot()
3303 public boolean disableAdbRoot() throws DeviceNotAvailableException { in disableAdbRoot() method in NativeDevice