Home
last modified time | relevance | path

Searched refs:mWasRoot (Results 1 – 2 of 2) 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()
73 if (!mWasRoot && mForceRoot) { in tearDown()
75 } else if (mWasRoot && !mForceRoot) { in tearDown()