/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
D | GeeTestResultParser.java | 484 TestResult testResult = getCurrentTestResult(); in processTestStartedTag() local 485 testResult.mTestClass = parsedResults.mTestClassName; in processTestStartedTag() 486 testResult.mTestName = parsedResults.mTestName; in processTestStartedTag() 488 TestIdentifier testId = new TestIdentifier(mFakePackagePrefix + testResult.mTestClass, in processTestStartedTag() 489 testResult.mTestName); in processTestStartedTag() 507 TestResult testResult = getCurrentTestResult(); in doTestEnded() local 508 TestIdentifier testId = new TestIdentifier(mFakePackagePrefix + testResult.mTestClass, in doTestEnded() 509 testResult.mTestName); in doTestEnded() 520 testResult.mRunTime = new Long(parsedResults.mTestRunTime); in doTestEnded() 530 if (!testResult.isComplete()) { in doTestEnded() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | SensorPowerTestActivity.java | 98 PowerTestHostLink.PowerTestResult testResult = mHostLink.run(); in testSensorsPower() local 103 testResult.passedCount, in testSensorsPower() 104 testResult.skippedCount, in testSensorsPower() 105 testResult.failedCount); in testSensorsPower() 106 Assert.assertEquals(testDetails.getSummary(), 0, testResult.failedCount); in testSensorsPower()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
D | SensorCtsTestSuite.java | 42 public void run(TestResult testResult) { in run() argument 43 mWrappedTestSuite.run(new SensorCtsTestResult(mContext, testResult)); in run() 62 public void runTest(Test test, TestResult testResult) { in runTest() argument 63 mWrappedTestSuite.runTest(test, testResult); in runTest()
|
D | SensorCtsTestResult.java | 46 public SensorCtsTestResult(Context context, TestResult testResult) { in SensorCtsTestResult() argument 48 mWrappedTestResult = testResult; in SensorCtsTestResult()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestResult.java | 71 private static Intent createResult(Activity activity, int testResult, String testName, in createResult() argument 74 addResultData(data, testResult, testName, testDetails, reportLog); in createResult() 78 public static void addResultData(Intent intent, int testResult, String testName, in addResultData() argument 81 intent.putExtra(TEST_RESULT, testResult); in addResultData()
|
D | TestListAdapter.java | 177 public void setTestResult(TestResult testResult) { in setTestResult() argument 178 new SetTestResultTask(testResult.getName(), testResult.getResult(), in setTestResult() 179 testResult.getDetails(), testResult.getReportLog()).execute(); in setTestResult() 244 int testResult = cursor.getInt(2); in getRefreshResults() local 247 results.put(testName, testResult); in getRefreshResults() 394 int testResult = getTestResult(position); in getView() local 399 switch (testResult) { in getView() 414 throw new IllegalArgumentException("Unknown test result: " + testResult); in getView()
|
D | AbstractTestListActivity.java | 76 TestResult testResult = TestResult.fromActivityResult(resultCode, data); in handleLaunchTestResult() local 77 mAdapter.setTestResult(testResult); in handleLaunchTestResult()
|
D | TestResultsReport.java | 151 private String getTestResultString(int testResult) { in getTestResultString() argument 152 switch (testResult) { in getTestResultString() 163 throw new IllegalArgumentException("Unknown test result: " + testResult); in getTestResultString()
|
D | TestResultsProvider.java | 214 static void setTestResult(Context context, String testName, int testResult, in setTestResult() argument 217 values.put(TestResultsProvider.COLUMN_TEST_RESULT, testResult); in setTestResult()
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | MediaPlayerStressTest.java | 117 boolean testResult = true; in doTestVideoPlayback() 134 testResult = false; in doTestVideoPlayback() 147 assertTrue("playback " + mediaName, testResult); in doTestVideoPlayback()
|
/cts/tools/utils/ |
D | rerun.py | 53 testResult = doc.getElementsByTagName("TestResult")[0] 54 packages = getChildrenWithTag(testResult, "TestPackage")
|
/cts/suite/cts/utils/ |
D | get_csv_report.py | 97 testResult = doc.getElementsByTagName("TestResult")[0] 98 buildInfos = testResult.getElementsByTagName("BuildInfo") 113 packages = getChildrenWithTag(testResult, "TestPackage")
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | BaseDevicePolicyTest.java | 253 TestResult testResult = testEntry.getValue(); in printTestResult() local 255 "Test " + testEntry.getKey() + ": " + testResult.getStatus()); in printTestResult() 256 if (testResult.getStatus() != TestStatus.PASSED) { in printTestResult() 257 CLog.logAndDisplay(LogLevel.WARN, testResult.getStackTrace()); in printTestResult()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ |
D | PowerTestHostLink.java | 245 String testResult = request.substring(REQUEST_SET_TEST_RESULT.length()); in processClientRequest() local 246 response = handleSetTestResultCmd(testResult); in processClientRequest()
|