/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestResult.java | 48 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()
|
D | DialogTestListActivity.java | 226 public DialogTestListItem(Context context, int nameResId, String testId) { in DialogTestListItem() argument 227 super(context.getString(nameResId), testId, null, null, null, null); in DialogTestListItem() local 230 public DialogTestListItem(Context context, int nameResId, String testId, in DialogTestListItem() argument 232 super(context.getString(nameResId), testId, testIntent, null, null, null); in DialogTestListItem() local 263 public DialogTestListItemWithIcon(Context context, int nameResId, String testId, in DialogTestListItemWithIcon() argument 265 super(context, nameResId, testId, testInstructionResId, testIntent); in DialogTestListItemWithIcon()
|
D | IntentDrivenTestActivity.java | 121 public TestInfo(String testId, int title, int infoText, ButtonInfo... buttons) { in TestInfo() argument 130 mTestId = testId; in TestInfo() 221 Intent[] createIntents(String testId, int buttonText); in createIntents() argument
|
D | PassFailButtons.java | 401 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()
|
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/result/ |
D | CtsXmlResultReporterTest.java | 142 final TestIdentifier testId = new TestIdentifier("com.foo.FooTest", "testFoo"); in testSinglePass() local 146 mResultReporter.testStarted(testId); in testSinglePass() 147 mResultReporter.testEnded(testId, emptyMap); in testSinglePass() 165 "<Test name=\"%s\" result=\"pass\"", testId.getTestName()); in testSinglePass() 175 final TestIdentifier testId = new TestIdentifier("FooTest", "testFoo"); in testSingleFail() local 180 mResultReporter.testStarted(testId); in testSingleFail() 181 mResultReporter.testFailed(testId, trace); in testSingleFail() 182 mResultReporter.testEnded(testId, emptyMap); in testSingleFail() 207 final TestIdentifier testId = new TestIdentifier("FooTest", "testFoo"); in testIncludeTestLogTags() local 216 mResultReporter.testStarted(testId); in testIncludeTestLogTags() [all …]
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
D | GeeTestResultParser.java | 415 String[] testId = identifier.split("\\."); in parseTestIdentifier() local 416 if (testId.length < 2) { in parseTestIdentifier() 421 returnInfo.mTestClassName = testId[0]; in parseTestIdentifier() 422 returnInfo.mTestName = testId[1]; in parseTestIdentifier() 488 TestIdentifier testId = new TestIdentifier(mFakePackagePrefix + testResult.mTestClass, in processTestStartedTag() local 492 listener.testStarted(testId); in processTestStartedTag() 508 TestIdentifier testId = new TestIdentifier(mFakePackagePrefix + testResult.mTestClass, in doTestEnded() local 552 listener.testFailed(testId, mCurrentTestResult.getTrace()); in doTestEnded() 557 listener.testFailed(testId, mCurrentTestResult.getTrace()); in doTestEnded() 564 listener.testEnded(testId, emptyMap); in doTestEnded() [all …]
|
D | SingleJUnitTestResultParser.java | 39 …public SingleJUnitTestResultParser(TestIdentifier testId, Collection<ITestRunListener> listeners) { in SingleJUnitTestResultParser() argument 40 mTestId = testId; in SingleJUnitTestResultParser() 44 public SingleJUnitTestResultParser(TestIdentifier testId, ITestRunListener listener) { in SingleJUnitTestResultParser() argument 45 mTestId = testId; in SingleJUnitTestResultParser()
|
D | DeqpTestRunner.java | 271 private void forwardFinalizedPendingResult(TestIdentifier testId) { in forwardFinalizedPendingResult() argument 272 if (mRemainingTests.contains(testId)) { in forwardFinalizedPendingResult() 273 final PendingResult result = mPendingResults.get(testId); in forwardFinalizedPendingResult() 275 mPendingResults.remove(testId); in forwardFinalizedPendingResult() 276 mRemainingTests.remove(testId); in forwardFinalizedPendingResult() 279 mSink.testStarted(testId); in forwardFinalizedPendingResult() 288 mSink.testLog(testId.getClassName() + "." + testId.getTestName() + "@" in forwardFinalizedPendingResult() 309 mSink.testFailed(testId, errorLog.toString()); in forwardFinalizedPendingResult() 313 mSink.testEnded(testId, emptyMap); in forwardFinalizedPendingResult() 315 CLog.w("Finalization for non-pending case %s", testId); in forwardFinalizedPendingResult() [all …]
|
D | JUnitDeviceTest.java | 127 for (TestIdentifier testId : mTests) { in run() 129 testId, listener); in run() 133 testId.getClassName(), testId.getTestName()); in run() 136 listener.testStarted(testId); in run()
|
D | TestNGDeviceTest.java | 123 for (TestIdentifier testId : mTests) { in run() 125 testId, listener); in run() 129 testId.getClassName(), testId.getTestName()); in run() 132 listener.testStarted(testId); in run()
|
D | JarHostTest.java | 192 for (TestIdentifier testId : mTests) { in run() 193 Test junitTest = loadTest(testId.getClassName(), testId.getTestName()); in run() 195 runTest(testId, junitTest, junitResult); in run() 203 … private void runTest(TestIdentifier testId, final Test junitTest, final TestResult junitResult) { in runTest() argument
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | RsPackColorTo8888Test.java | 35 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException { in forEach() argument 36 switch (testId) { in forEach() 68 private void float3input(long seed, int testId) { in float3input() argument 77 forEach(testId, mAllocationIn, mAllocationOut); in float3input() 95 private void float4input(long seed, int testId) { in float4input() argument 104 forEach(testId, mAllocationIn, mAllocationOut); in float4input()
|
D | GetElementAt.java | 36 public void forEach(int testId, Allocation mOut) throws RSRuntimeException { in forEach() argument 37 switch (testId) { in forEach()
|
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/ |
D | TestPackageXmlParserTest.java | 197 final TestIdentifier testId = in testParse_instancedMultiple() local 200 def.getTestInstanceArguments().get(testId); in testParse_instancedMultiple() 221 final TestIdentifier testId = in testParse_instancedSingle() local 224 def.getTestInstanceArguments().get(testId); in testParse_instancedSingle() 242 final TestIdentifier testId = in testParse_instancedEmptys() local 245 def.getTestInstanceArguments().get(testId); in testParse_instancedEmptys() 265 final TestIdentifier testId = in testParse_instancedNoInstances() local 268 def.getTestInstanceArguments().get(testId); in testParse_instancedNoInstances()
|
D | DeqpTestRunnerTest.java | 122 final TestIdentifier testId = new TestIdentifier("dEQP-GLES" in testGlesVersion() local 169 tests.add(testId); in testGlesVersion() 172 instance.put(testId, DEFAULT_INSTANCE_ARGS); in testGlesVersion() 215 mockListener.testStarted(EasyMock.eq(testId)); in testGlesVersion() 218 mockListener.testEnded(EasyMock.eq(testId), EasyMock.<Map<String, String>>notNull()); in testGlesVersion() 281 final TestIdentifier testId = new TestIdentifier("dEQP-GLES3.info", "version"); in testResultCode() local 319 tests.add(testId); in testResultCode() 322 instance.put(testId, DEFAULT_INSTANCE_ARGS); in testResultCode() 353 mockListener.testStarted(EasyMock.eq(testId)); in testResultCode() 357 mockListener.testFailed(testId, in testResultCode() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | PolicyTransparencyTestListActivity.java | 128 String testId = (mIsDeviceOwner ? "DO_" : "PO_") + title; in addTestsToAdapter() local 129 intent.putExtra(PolicyTransparencyTestActivity.EXTRA_TEST_ID, testId); in addTestsToAdapter() 130 adapter.add(TestListItem.newTest(title, testId, intent, null)); in addTestsToAdapter() 140 String testId = (mIsDeviceOwner ? "DO_" : "PO_") + title; in addTestsToAdapter() local 142 intent.putExtra(PolicyTransparencyTestActivity.EXTRA_TEST_ID, testId); in addTestsToAdapter() 143 adapter.add(TestListItem.newTest(title, testId, intent, null)); in addTestsToAdapter()
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
D | TestPackageResult.java | 123 public Test insertTest(TestIdentifier testId) { in insertTest() argument 124 return findTest(testId, true); in insertTest() 127 private Test findTest(TestIdentifier testId, boolean insertIfMissing) { in findTest() argument 129 Collections.addAll(classNameSegments, testId.getClassName().split("\\.")); in findTest() 132 testId.getClassName()); in findTest() 137 …return mSuiteRoot.findTest(classNameSegments, testCaseName, testId.getTestName(), insertIfMissing); in findTest() 146 public Test findTest(TestIdentifier testId) { in findTest() argument 147 return findTest(testId, false); in findTest()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/ |
D | GoNegRequesterTestActivity.java | 30 protected ReqTestCase getTestCase(Context context, String testId) { in getTestCase() argument 31 return GoNegReqTestSuite.getTestCase(context, testId); in getTestCase()
|
D | P2pClientTestActivity.java | 30 protected ReqTestCase getTestCase(Context context, String testId) { in getTestCase() argument 31 return P2pClientTestSuite.getTestCase(context, testId); in getTestCase()
|
D | ServiceRequesterTestActivity.java | 30 protected ReqTestCase getTestCase(Context context, String testId) { in getTestCase() argument 31 return ServReqTestSuite.getTestCase(context, testId); in getTestCase()
|
D | RequesterTestActivity.java | 102 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/p2p/testcase/ |
D | GoNegReqTestSuite.java | 47 String testId) { in getTestCase() argument 51 if (test.getTestId().equals(testId)) { in getTestCase()
|
D | P2pClientTestSuite.java | 47 String testId) { in getTestCase() argument 51 if (test.getTestId().equals(testId)) { in getTestCase()
|
D | ServReqTestSuite.java | 33 String testId) { in getTestCase() argument 37 if (test.getTestId().equals(testId)) { in getTestCase()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/deskclock/ |
D | DeskClockTestsActivity.java | 170 public Intent[] createIntents(String testId, int buttonText) { in createIntents() argument 171 if (testId.equals(START_ALARM_TEST)) { in createIntents() 185 throw new IllegalArgumentException("Unknown test: " + testId); in createIntents()
|