Home
last modified time | relevance | path

Searched refs:mWasRoot (Results 1 – 3 of 3) sorted by relevance

/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DDisableSELinuxTargetPreparer.java34 private boolean mWasRoot = false; field in DisableSELinuxTargetPreparer
52 mWasRoot = device.isAdbRoot(); in setUp()
53 if (!mWasRoot && !device.enableAdbRoot()) { in setUp()
63 if (!mWasRoot) { in setUp()
74 if (!mWasRoot) { in tearDown()
79 if (!mWasRoot) { in tearDown()
DRootTargetPreparer.java36 private boolean mWasRoot = false; field in RootTargetPreparer
58 mWasRoot = device.isAdbRoot(); in setUp()
59 if (!mWasRoot && mForceRoot && !device.enableAdbRoot()) { in setUp()
61 } else if (mWasRoot && !mForceRoot && !device.disableAdbRoot()) { in setUp()
77 if (!mWasRoot && mForceRoot) { in tearDown()
79 } else if (mWasRoot && !mForceRoot) { in tearDown()
/tools/tradefederation/core/src/com/android/tradefed/util/
DAdbRootElevator.java26 private final boolean mWasRoot; field in AdbRootElevator
31 mWasRoot = mDevice.isAdbRoot(); in AdbRootElevator()
32 if (!mWasRoot) { in AdbRootElevator()
41 if (!mWasRoot) { in close()