Home
last modified time | relevance | path

Searched refs:TestcaseType (Results 1 – 12 of 12) sorted by relevance

/cts/tests/tests/voicesettings/src/android/voicesettings/cts/
DBatterySaverModeTest.java40 if (!runTest(Utils.TestcaseType.BATTERYSAVER_MODE_OFF, false)) { in testAll()
44 runTest(Utils.TestcaseType.BATTERYSAVER_MODE_ON, true); in testAll()
49 if (!runTest(Utils.TestcaseType.BATTERYSAVER_MODE_ON, true)) { in testAll()
53 runTest(Utils.TestcaseType.BATTERYSAVER_MODE_OFF, false); in testAll()
57 private boolean runTest(Utils.TestcaseType test, boolean expectedMode) throws Exception { in runTest()
DAirplaneModeTest.java50 if (!runTest(Utils.TestcaseType.AIRPLANE_MODE_ON, AIRPLANE_MODE_IS_ON)) { in testAll()
54 runTest(Utils.TestcaseType.AIRPLANE_MODE_OFF, AIRPLANE_MODE_IS_OFF); in testAll()
59 if (!runTest(Utils.TestcaseType.AIRPLANE_MODE_OFF, AIRPLANE_MODE_IS_OFF)) { in testAll()
63 runTest(Utils.TestcaseType.AIRPLANE_MODE_ON, AIRPLANE_MODE_IS_ON); in testAll()
67 private boolean runTest(Utils.TestcaseType test, int expectedMode) throws Exception { in runTest()
DZenModeTest.java56 if (!runTest(Utils.TestcaseType.ZEN_MODE_ON, ZEN_MODE_IS_ALARMS)) { in testAll()
60 runTest(Utils.TestcaseType.ZEN_MODE_OFF, ZEN_MODE_IS_OFF); in testAll()
65 if (!runTest(Utils.TestcaseType.ZEN_MODE_OFF, ZEN_MODE_IS_OFF)) { in testAll()
69 runTest(Utils.TestcaseType.ZEN_MODE_ON, ZEN_MODE_IS_ALARMS); in testAll()
73 private boolean runTest(Utils.TestcaseType test, int expectedMode) throws Exception { in runTest()
DVoiceSettingsTestBase.java42 private Utils.TestcaseType mTestCaseType;
69 protected void registerBroadcastReceiver(Utils.TestcaseType testCaseType) throws Exception { in registerBroadcastReceiver()
80 protected boolean startTestAndWaitForBroadcast(Utils.TestcaseType testCaseType) in startTestAndWaitForBroadcast()
/cts/tests/tests/alarmclock/src/android/alarmclock/cts/
DDismissAlarmTest.java20 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()
DAlarmClockTestBase.java20 import android.alarmclock.common.Utils.TestcaseType;
44 private TestcaseType mTestCaseType;
62 private void registerBroadcastReceiver(TestcaseType testCaseType) throws Exception { in registerBroadcastReceiver()
73 private boolean isIntentAupported(TestcaseType testCaseType) { in isIntentAupported()
102 protected String runTest(TestcaseType testCaseType) throws Exception { in runTest()
121 private boolean startTestActivity(TestcaseType testCaseType) { in startTestActivity()
DSetAlarmTest.java20 import android.alarmclock.common.Utils.TestcaseType;
28 assertEquals(Utils.COMPLETION_RESULT, runTest(TestcaseType.SET_ALARM)); in testAll()
DSnoozeAlarmTest.java20 import android.alarmclock.common.Utils.TestcaseType;
28 String result = runTest(TestcaseType.SNOOZE_ALARM); in testAll()
/cts/tests/tests/alarmclock/service/src/android/alarmclock/service/
DMainInteractionSession.java20 import android.alarmclock.common.Utils.TestcaseType;
37 private TestcaseType mTestType;
65 mTestType = TestcaseType.valueOf(testCaseType); in onShow()
/cts/tests/tests/voicesettings/common/src/android/voicesettings/common/
DUtils.java21 public enum TestcaseType { enum in Utils
/cts/tests/tests/alarmclock/common/src/android/alarmclock/common/
DUtils.java25 public enum TestcaseType { enum in Utils
/cts/tests/tests/voicesettings/service/src/android/voicesettings/service/
DMainInteractionSession.java35 import common.src.android.voicesettings.common.Utils.TestcaseType;
45 TestcaseType mTestType;
72 mTestType = TestcaseType.valueOf(testCaseType); in onShow()