Home
last modified time | relevance | path

Searched refs:mEnforcingState (Results 1 – 2 of 2) sorted by relevance

/test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/
DVtsTraceCollectPreparer.java68 private String mEnforcingState = null; // start state for selinux enforcement field in VtsTraceCollectPreparer
108 mEnforcingState = device.executeShellCommand("getenforce"); in setUp()
109 if (mEnforcingState == null in setUp()
110 || (!mEnforcingState.equals(SELINUX_DISABLED) in setUp()
111 && !mEnforcingState.equals(SELINUX_PERMISSIVE))) { in setUp()
121 if (mEnforcingState != null && !mEnforcingState.equals(SELINUX_DISABLED)) { in tearDown()
122 device.executeShellCommand("setenforce " + mEnforcingState); in tearDown()
DVtsCoveragePreparer.java86 private String mEnforcingState = null; // start state for selinux enforcement field in VtsCoveragePreparer
232 mEnforcingState = device.executeShellCommand("getenforce"); in setUp()
233 if (!mEnforcingState.equals(SELINUX_DISABLED) in setUp()
234 && !mEnforcingState.equals(SELINUX_PERMISSIVE)) { in setUp()
253 if (mEnforcingState != null && !mEnforcingState.equals(SELINUX_DISABLED)) { in tearDown()
254 device.executeShellCommand("setenforce " + mEnforcingState); in tearDown()