Searched refs:testCaseType (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/voicesettings/src/android/voicesettings/cts/ |
D | BroadcastTestBase.java | 127 protected void registerBroadcastReceiver(BroadcastUtils.TestcaseType testCaseType) in registerBroadcastReceiver() argument 129 mTestCaseType = testCaseType; in registerBroadcastReceiver() 133 new IntentFilter(BroadcastUtils.BROADCAST_INTENT + testCaseType.toString()), in registerBroadcastReceiver() 137 protected boolean startTestAndWaitForBroadcast(BroadcastUtils.TestcaseType testCaseType, in startTestAndWaitForBroadcast() argument 139 Log.i(TAG, "Begin Testing: " + testCaseType); in startTestAndWaitForBroadcast() 140 registerBroadcastReceiver(testCaseType); in startTestAndWaitForBroadcast() 141 mActivity.startTest(testCaseType.toString(), pkg, cls); in startTestAndWaitForBroadcast() 179 protected boolean startTestAndWaitForChange(BroadcastUtils.TestcaseType testCaseType, Uri uri, in startTestAndWaitForChange() argument 182 Log.i(TAG, "Begin Testing: " + testCaseType); in startTestAndWaitForChange() 186 registerBroadcastReceiver(testCaseType); in startTestAndWaitForChange() [all …]
|
D | BroadcastTestStartActivity.java | 42 void startTest(String testCaseType, String pkg, String cls) { in startTest() argument 44 Log.i(TAG, "received_testcasetype = " + testCaseType); in startTest() 45 intent.putExtra(BroadcastUtils.TESTCASE_TYPE, testCaseType); in startTest() 46 intent.setAction("android.intent.action.VIMAIN_" + testCaseType); in startTest()
|
/cts/tests/tests/voicesettings/service/src/android/voicesettings/service/ |
D | VoiceInteractionMain.java | 34 String testCaseType = getIntent().getStringExtra(BroadcastUtils.TESTCASE_TYPE); in onCreate() local 35 Log.i(TAG, "received_testcasetype = " + testCaseType); in onCreate() 36 intent.putExtra(BroadcastUtils.TESTCASE_TYPE, testCaseType); in onCreate()
|
D | MainInteractionSession.java | 73 String testCaseType = args.getString(BroadcastUtils.TESTCASE_TYPE); in onShow() local 74 Log.i(TAG, "received_testcasetype = " + testCaseType); in onShow() 76 mTestType = TestcaseType.valueOf(testCaseType); in onShow()
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/ |
D | VoiceInteractionTest.java | 118 private void verifySingleTestcaseResult(Utils.TestCaseType testCaseType, String result) { in verifySingleTestcaseResult() argument 119 Log.i(TAG, "Received testresult: " + result + " for " + testCaseType); in verifySingleTestcaseResult() 120 switch (testCaseType) { in verifySingleTestcaseResult() 158 Log.i(TAG, testCaseType + " passed"); in verifySingleTestcaseResult()
|
/cts/tests/tests/assist/common/src/android/assist/common/ |
D | Utils.java | 191 public static final ComponentName getTestAppComponent(String testCaseType) { in getTestAppComponent() argument 192 switch (testCaseType) { in getTestAppComponent() 236 public static final int getAssistDataTimeout(String testCaseType) { in getAssistDataTimeout() argument 237 switch (testCaseType) { in getAssistDataTimeout()
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | MainInteractionSession.java | 273 Utils.TestCaseType testCaseType; in isTestTypeCancel() local 275 testCaseType = Utils.TestCaseType.valueOf(extras.getString(Utils.TESTCASE_TYPE)); in isTestTypeCancel() 280 return testCaseType == Utils.TestCaseType.COMPLETION_REQUEST_CANCEL_TEST || in isTestTypeCancel() 281 testCaseType == Utils.TestCaseType.COMMANDREQUEST_CANCEL_TEST || in isTestTypeCancel() 282 testCaseType == Utils.TestCaseType.CONFIRMATION_REQUEST_CANCEL_TEST || in isTestTypeCancel() 283 testCaseType == Utils.TestCaseType.PICKOPTION_REQUEST_CANCEL_TEST || in isTestTypeCancel() 284 testCaseType == Utils.TestCaseType.ABORT_REQUEST_CANCEL_TEST; in isTestTypeCancel()
|