Home
last modified time | relevance | path

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

/cts/hostsidetests/car/src/android/car/cts/powerpolicy/
DSilentModeInfo.java21 public final class SilentModeInfo { class
27 public static final SilentModeInfo NO_SILENT = new SilentModeInfo(true, true, false, false);
28 public static final SilentModeInfo FORCED_SILENT = new SilentModeInfo(true, false, true, true);
35 private SilentModeInfo(boolean supported, boolean monitoring, boolean byHW, boolean forced) { in SilentModeInfo() method in SilentModeInfo
58 SilentModeInfo that = (SilentModeInfo) o; in equals()
77 public static SilentModeInfo parse(String cmdOutput) throws Exception { in parse()
101 return new SilentModeInfo(attrs[0], attrs[1], attrs[2], attrs[3]); in parse()
DPowerPolicyTestHelper.java30 private final SilentModeInfo mSilentMode;
46 SilentModeInfo silentMode) { in PowerPolicyTestHelper()
74 public void checkSilentModeFull(SilentModeInfo expected) { in checkSilentModeFull()
/cts/hostsidetests/car/src/android/car/cts/
DPowerPolicyHostTest.java32 import android.car.cts.powerpolicy.SilentModeInfo;
196 private SilentModeInfo getSilentModeInfo() throws Exception { in getSilentModeInfo()
197 return executeAndParseCommand(new SystemInfoParser<SilentModeInfo>(SilentModeInfo.class), in getSilentModeInfo()
198 SilentModeInfo.COMMAND); in getSilentModeInfo()
209 SilentModeInfo smInfo = getSilentModeInfo(); in checkSilentModeSupported()
246 testHelper.checkSilentModeFull(SilentModeInfo.FORCED_SILENT); in checkForcedSilentMode()
260 testHelper.checkSilentModeFull(SilentModeInfo.NO_SILENT); in checkLeaveForcedSilentMode()
381 SilentModeInfo silentInfo = getSilentModeInfo(); in waitUntilForcedSilentModeChangeTo()