/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | BroadcastTestBase.java | 92 …protected void registerBroadcastReceiver(BroadcastUtils.TestcaseType testCaseType) throws Exceptio… in registerBroadcastReceiver() argument 93 mTestCaseType = testCaseType; in registerBroadcastReceiver() 97 new IntentFilter(BroadcastUtils.BROADCAST_INTENT + testCaseType.toString())); in registerBroadcastReceiver() 100 protected boolean startTestAndWaitForBroadcast(BroadcastUtils.TestcaseType testCaseType, in startTestAndWaitForBroadcast() argument 102 Log.i(TAG, "Begin Testing: " + testCaseType); in startTestAndWaitForBroadcast() 103 registerBroadcastReceiver(testCaseType); in startTestAndWaitForBroadcast() 104 mActivity.startTest(testCaseType.toString(), pkg, cls); in startTestAndWaitForBroadcast()
|
D | BroadcastTestStartActivity.java | 40 void startTest(String testCaseType, String pkg, String cls) { in startTest() argument 42 Log.i(TAG, "received_testcasetype = " + testCaseType); in startTest() 43 intent.putExtra(BroadcastUtils.TESTCASE_TYPE, testCaseType); in startTest() 44 intent.setAction("android.intent.action.VIMAIN_" + testCaseType); in startTest()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BroadcastTestBase.java | 92 …protected void registerBroadcastReceiver(BroadcastUtils.TestcaseType testCaseType) throws Exceptio… in registerBroadcastReceiver() argument 93 mTestCaseType = testCaseType; in registerBroadcastReceiver() 97 new IntentFilter(BroadcastUtils.BROADCAST_INTENT + testCaseType.toString())); in registerBroadcastReceiver() 100 protected boolean startTestAndWaitForBroadcast(BroadcastUtils.TestcaseType testCaseType, in startTestAndWaitForBroadcast() argument 102 Log.i(TAG, "Begin Testing: " + testCaseType); in startTestAndWaitForBroadcast() 103 registerBroadcastReceiver(testCaseType); in startTestAndWaitForBroadcast() 104 mActivity.startTest(testCaseType.toString(), pkg, cls); in startTestAndWaitForBroadcast()
|
D | BroadcastTestStartActivity.java | 40 void startTest(String testCaseType, String pkg, String cls) { in startTest() argument 42 Log.i(TAG, "received_testcasetype = " + testCaseType); in startTest() 43 intent.putExtra(BroadcastUtils.TESTCASE_TYPE, testCaseType); in startTest() 44 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 | 70 String testCaseType = args.getString(BroadcastUtils.TESTCASE_TYPE); in onShow() local 71 Log.i(TAG, "received_testcasetype = " + testCaseType); in onShow() 73 mTestType = TestcaseType.valueOf(testCaseType); in onShow()
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/ |
D | VoiceInteractionTest.java | 114 private void verifySingleTestcaseResult(Utils.TestCaseType testCaseType, String result) { in verifySingleTestcaseResult() argument 115 Log.i(TAG, "Received testresult: " + result + " for " + testCaseType); in verifySingleTestcaseResult() 116 switch (testCaseType) { in verifySingleTestcaseResult() 154 Log.i(TAG, testCaseType + " passed"); in verifySingleTestcaseResult()
|
/cts/tests/tests/assist/common/src/android/assist/common/ |
D | Utils.java | 185 public static final ComponentName getTestAppComponent(String testCaseType) { in getTestAppComponent() argument 186 switch (testCaseType) { in getTestAppComponent() 230 public static final int getAssistDataTimeout(String testCaseType) { in getAssistDataTimeout() argument 231 switch (testCaseType) { in getAssistDataTimeout()
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | MainInteractionSession.java | 233 Utils.TestCaseType testCaseType; in isTestTypeCancel() local 235 testCaseType = Utils.TestCaseType.valueOf(extras.getString(Utils.TESTCASE_TYPE)); in isTestTypeCancel() 240 return testCaseType == Utils.TestCaseType.COMPLETION_REQUEST_CANCEL_TEST || in isTestTypeCancel() 241 testCaseType == Utils.TestCaseType.COMMANDREQUEST_CANCEL_TEST || in isTestTypeCancel() 242 testCaseType == Utils.TestCaseType.CONFIRMATION_REQUEST_CANCEL_TEST || in isTestTypeCancel() 243 testCaseType == Utils.TestCaseType.PICKOPTION_REQUEST_CANCEL_TEST || in isTestTypeCancel() 244 testCaseType == Utils.TestCaseType.ABORT_REQUEST_CANCEL_TEST; in isTestTypeCancel()
|