Searched refs:mEnforcingState (Results 1 – 2 of 2) sorted by relevance
68 private String mEnforcingState = null; // start state for selinux enforcement field in VtsTraceCollectPreparer108 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()
86 private String mEnforcingState = null; // start state for selinux enforcement field in VtsCoveragePreparer232 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()