Searched refs:TestcaseType (Results 1 – 12 of 12) sorted by relevance
/cts/tests/tests/voicesettings/src/android/voicesettings/cts/ |
D | BatterySaverModeTest.java | 61 if (!runTest(BroadcastUtils.TestcaseType.BATTERYSAVER_MODE_OFF, false)) { in testAll() 65 runTest(BroadcastUtils.TestcaseType.BATTERYSAVER_MODE_ON, true); in testAll() 70 if (!runTest(BroadcastUtils.TestcaseType.BATTERYSAVER_MODE_ON, true)) { in testAll() 74 runTest(BroadcastUtils.TestcaseType.BATTERYSAVER_MODE_OFF, false); in testAll() 78 … private boolean runTest(BroadcastUtils.TestcaseType test, boolean expectedMode) throws Exception { in runTest()
|
D | AirplaneModeTest.java | 71 if (!runTest(BroadcastUtils.TestcaseType.AIRPLANE_MODE_ON, AIRPLANE_MODE_IS_ON)) { in testAll() 75 runTest(BroadcastUtils.TestcaseType.AIRPLANE_MODE_OFF, AIRPLANE_MODE_IS_OFF); in testAll() 80 if (!runTest(BroadcastUtils.TestcaseType.AIRPLANE_MODE_OFF, AIRPLANE_MODE_IS_OFF)) { in testAll() 84 runTest(BroadcastUtils.TestcaseType.AIRPLANE_MODE_ON, AIRPLANE_MODE_IS_ON); in testAll() 88 private boolean runTest(BroadcastUtils.TestcaseType test, int expectedMode) throws Exception { in runTest()
|
D | ZenModeTest.java | 76 if (!runTest(BroadcastUtils.TestcaseType.ZEN_MODE_ON, ZEN_MODE_IS_ALARMS)) { in testAll() 80 runTest(BroadcastUtils.TestcaseType.ZEN_MODE_OFF, ZEN_MODE_IS_OFF); in testAll() 85 if (!runTest(BroadcastUtils.TestcaseType.ZEN_MODE_OFF, ZEN_MODE_IS_OFF)) { in testAll() 89 runTest(BroadcastUtils.TestcaseType.ZEN_MODE_ON, ZEN_MODE_IS_ALARMS); in testAll() 93 private boolean runTest(BroadcastUtils.TestcaseType test, int expectedMode) throws Exception { in runTest()
|
/cts/tests/tests/alarmclock/src/android/alarmclock/cts/ |
D | DismissAlarmTest.java | 20 import android.alarmclock.common.Utils.TestcaseType; 28 assertEquals(Utils.COMPLETION_RESULT, runTest(TestcaseType.SET_ALARM_FOR_DISMISSAL)); in testAll() 29 assertEquals(Utils.COMPLETION_RESULT, runTest(TestcaseType.DISMISS_ALARM)); in testAll()
|
D | AlarmClockTestBase.java | 20 import android.alarmclock.common.Utils.TestcaseType; 44 private TestcaseType mTestCaseType; 71 private void registerBroadcastReceiver(TestcaseType testCaseType) throws Exception { in registerBroadcastReceiver() 79 private boolean isIntentSupported(TestcaseType testCaseType) { in isIntentSupported() 108 protected String runTest(TestcaseType testCaseType) throws Exception { in runTest() 127 private boolean startTestActivity(TestcaseType testCaseType) { in startTestActivity()
|
D | SetAlarmTest.java | 20 import android.alarmclock.common.Utils.TestcaseType; 28 assertEquals(Utils.COMPLETION_RESULT, runTest(TestcaseType.SET_ALARM)); in testAll()
|
D | SnoozeAlarmTest.java | 20 import android.alarmclock.common.Utils.TestcaseType; 28 String result = runTest(TestcaseType.SNOOZE_ALARM); in testAll()
|
/cts/libs/deviceutil/src/android/cts/util/ |
D | BroadcastTestBase.java | 44 private BroadcastUtils.TestcaseType mTestCaseType; 92 …protected void registerBroadcastReceiver(BroadcastUtils.TestcaseType testCaseType) throws Exceptio… in registerBroadcastReceiver() 100 protected boolean startTestAndWaitForBroadcast(BroadcastUtils.TestcaseType testCaseType, in startTestAndWaitForBroadcast()
|
D | BroadcastUtils.java | 21 public enum TestcaseType { enum in BroadcastUtils
|
/cts/tests/tests/alarmclock/service/src/android/alarmclock/service/ |
D | MainInteractionSession.java | 20 import android.alarmclock.common.Utils.TestcaseType; 37 private TestcaseType mTestType; 65 mTestType = TestcaseType.valueOf(testCaseType); in onShow()
|
/cts/tests/tests/voicesettings/service/src/android/voicesettings/service/ |
D | MainInteractionSession.java | 31 import android.cts.util.BroadcastUtils.TestcaseType; 45 TestcaseType mTestType; 72 mTestType = TestcaseType.valueOf(testCaseType); in onShow()
|
/cts/tests/tests/alarmclock/common/src/android/alarmclock/common/ |
D | Utils.java | 25 public enum TestcaseType { enum in Utils
|