Home
last modified time | relevance | path

Searched refs:testId (Results 1 – 25 of 37) sorted by relevance

12

/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResult.java48 public static void setPassedResult(Activity activity, String testId, String testDetails) { in setPassedResult() argument
49 setPassedResult(activity, testId, testDetails, null /*reportLog*/); in setPassedResult()
53 public static void setPassedResult(Activity activity, String testId, String testDetails, in setPassedResult() argument
55 activity.setResult(Activity.RESULT_OK, createResult(activity, TEST_RESULT_PASSED, testId, in setPassedResult()
60 public static void setFailedResult(Activity activity, String testId, String testDetails) { in setFailedResult() argument
61 setFailedResult(activity, testId, testDetails, null /*reportLog*/); in setFailedResult()
65 public static void setFailedResult(Activity activity, String testId, String testDetails, in setFailedResult() argument
67 activity.setResult(Activity.RESULT_OK, createResult(activity, TEST_RESULT_FAILED, testId, in setFailedResult()
DDialogTestListActivity.java256 public DialogTestListItem(Context context, String nameId, String testId) { in DialogTestListItem() argument
257 super(nameId, testId, null, null, null, null); in DialogTestListItem()
260 public DialogTestListItem(Context context, int nameResId, String testId) { in DialogTestListItem() argument
261 super(context.getString(nameResId), testId, null, null, null, null); in DialogTestListItem() local
264 public DialogTestListItem(Context context, int nameResId, String testId, in DialogTestListItem() argument
266 super(context.getString(nameResId), testId, testIntent, null, null, null); in DialogTestListItem() local
297 public DialogTestListItemWithIcon(Context context, int nameResId, String testId, in DialogTestListItemWithIcon() argument
299 super(context, nameResId, testId, testInstructionResId, testIntent); in DialogTestListItemWithIcon()
DPassFailButtons.java401 protected static void setTestResultAndFinish(android.app.Activity activity, String testId, in setTestResultAndFinish() argument
412 setTestResultAndFinishHelper(activity, testId, testDetails, passed, reportLog); in setTestResultAndFinish()
416 protected static void setTestResultAndFinishHelper(android.app.Activity activity, String testId, in setTestResultAndFinishHelper() argument
419 TestResult.setPassedResult(activity, testId, testDetails, reportLog); in setTestResultAndFinishHelper()
421 TestResult.setFailedResult(activity, testId, testDetails, reportLog); in setTestResultAndFinishHelper()
DIntentDrivenTestActivity.java139 public TestInfo(String testId, int title, int infoText, ButtonInfo... buttons) { in TestInfo() argument
148 mTestId = testId; in TestInfo()
239 Intent[] createIntents(String testId, int buttonText); in createIntents() argument
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioFrequencyMicActivity.java320 private void showWait(int testId, boolean show) { in showWait() argument
321 switch(testId) { in showWait()
334 private String getTestString(int testId) { in getTestString() argument
336 switch(testId) { in getTestString()
350 private void showMessage(int testId, String msg) { in showMessage() argument
352 switch(testId) { in showMessage()
367 private void startTest(int testId) { in startTest() argument
374 switch(testId) { in startTest()
445 TestRunnable(int testId) { in TestRunnable() argument
447 mTestId = testId; in TestRunnable()
[all …]
DAudioFrequencyUnprocessedActivity.java396 private String getTestString(int testId) { in getTestString() argument
398 switch(testId) { in getTestString()
415 private void showWait(int testId, boolean show) { in showWait() argument
416 switch(testId) { in showWait()
432 private void showMessage(int testId, String msg) { in showMessage() argument
434 switch(testId) { in showMessage()
665 private void startTest(int testId) { in startTest() argument
674 switch(testId) { in startTest()
767 TestRunnable(int testId) { in TestRunnable() argument
769 mTestId = testId; in TestRunnable()
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DRsPackColorTo8888Test.java41 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException { in forEach() argument
42 switch (testId) { in forEach()
74 private void float3input(long seed, int testId) { in float3input() argument
83 forEach(testId, mAllocationIn, mAllocationOut); in float3input()
104 private void float4input(long seed, int testId) { in float4input() argument
113 forEach(testId, mAllocationIn, mAllocationOut); in float4input()
DGetElementAt.java53 public void forEach(int testId, Allocation mOut) throws RSRuntimeException { in forEach() argument
54 switch (testId) { in forEach()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/
DServiceRequesterTestActivity.java30 protected ReqTestCase getTestCase(Context context, String testId) { in getTestCase() argument
31 return ServReqTestSuite.getTestCase(context, testId); in getTestCase()
DGoNegRequesterTestActivity.java30 protected ReqTestCase getTestCase(Context context, String testId) { in getTestCase() argument
31 return GoNegReqTestSuite.getTestCase(context, testId); in getTestCase()
DP2pClientTestActivity.java30 protected ReqTestCase getTestCase(Context context, String testId) { in getTestCase() argument
31 return P2pClientTestSuite.getTestCase(context, testId); in getTestCase()
DP2pClientWithConfigFixedFrequencyTestActivity.java40 protected ReqTestCase getTestCase(Context context, String testId) { in getTestCase() argument
41 return P2pClientWithConfigFixedFrequencyTestSuite.getTestCase(context, testId); in getTestCase()
DP2pClientWithConfigTestActivity.java40 protected ReqTestCase getTestCase(Context context, String testId) { in getTestCase() argument
41 return P2pClientWithConfigTestSuite.getTestCase(context, testId); in getTestCase()
DP2pClientWithConfig2gBandTestActivity.java40 protected ReqTestCase getTestCase(Context context, String testId) { in getTestCase() argument
41 return P2pClientWithConfig2gBandTestSuite.getTestCase(context, testId); in getTestCase()
DRequesterTestActivity.java102 protected abstract ReqTestCase getTestCase(Context context, String testId); in getTestCase() argument
115 String testId = (String) getIntent().getSerializableExtra( in onCreate() local
117 mTestCase = getTestCase(this, testId); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DPolicyTransparencyTestListActivity.java152 String testId = getTestId(title); in addTestsToAdapter() local
153 intent.putExtra(PolicyTransparencyTestActivity.EXTRA_TEST_ID, testId); in addTestsToAdapter()
154 adapter.add(TestListItem.newTest(title, testId, intent, null)); in addTestsToAdapter()
173 String testId = getTestId(title); in addTestsToAdapter() local
175 intent.putExtra(PolicyTransparencyTestActivity.EXTRA_TEST_ID, testId); in addTestsToAdapter()
176 adapter.add(TestListItem.newTest(title, testId, intent, null)); in addTestsToAdapter()
DCompTestActivity.java68 String testId = getIntent().getStringExtra( in onActivityResult() local
72 testId); in onActivityResult()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
DP2pClientWithConfigTestSuite.java47 String testId) { in getTestCase() argument
51 if (test.getTestId().equals(testId)) { in getTestCase()
DP2pClientWithConfigFixedFrequencyTestSuite.java47 String testId) { in getTestCase() argument
51 if (test.getTestId().equals(testId)) { in getTestCase()
DP2pClientWithConfig2gBandTestSuite.java48 String testId) { in getTestCase() argument
52 if (test.getTestId().equals(testId)) { in getTestCase()
DGoNegReqTestSuite.java47 String testId) { in getTestCase() argument
51 if (test.getTestId().equals(testId)) { in getTestCase()
DP2pClientTestSuite.java47 String testId) { in getTestCase() argument
51 if (test.getTestId().equals(testId)) { in getTestCase()
DServReqTestSuite.java33 String testId) { in getTestCase() argument
37 if (test.getTestId().equals(testId)) { in getTestCase()
/cts/tests/tests/print/src/android/print/cts/
DInteractionBetweenPrintDocumentAndPrinterDiscovery.java74 PrinterId testId = session.getService().generatePrinterId(PRINTER_NAME); in addPrinter() local
76 new PrinterCapabilitiesInfo.Builder(testId) in addPrinter()
82 PrinterInfo testPrinter = new PrinterInfo.Builder(testId, PRINTER_NAME, status) in addPrinter()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DCAInstallNotificationVerifierActivity.java90 public InstallCertItem(Context context, int nameResId, String testId, Intent intent) { in InstallCertItem() argument
91 super(context, nameResId, testId, nameResId, intent); in InstallCertItem()

12