Searched refs:TestcaseType (Results 1 – 12 of 12) sorted by relevance
/cts/tests/tests/voicesettings/src/android/voicesettings/cts/ |
D | BatterySaverModeTest.java | 40 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()
|
D | AirplaneModeTest.java | 50 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()
|
D | ZenModeTest.java | 56 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()
|
D | VoiceSettingsTestBase.java | 42 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/ |
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; 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()
|
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/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/common/src/android/voicesettings/common/ |
D | Utils.java | 21 public enum TestcaseType { enum in Utils
|
/cts/tests/tests/alarmclock/common/src/android/alarmclock/common/ |
D | Utils.java | 25 public enum TestcaseType { enum in Utils
|
/cts/tests/tests/voicesettings/service/src/android/voicesettings/service/ |
D | MainInteractionSession.java | 35 import common.src.android.voicesettings.common.Utils.TestcaseType; 45 TestcaseType mTestType; 72 mTestType = TestcaseType.valueOf(testCaseType); in onShow()
|