Home
last modified time | relevance | path

Searched refs:testResult (Results 1 – 14 of 14) sorted by relevance

/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DGeeTestResultParser.java484 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/
DSensorPowerTestActivity.java98 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/
DSensorCtsTestSuite.java42 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()
DSensorCtsTestResult.java46 public SensorCtsTestResult(Context context, TestResult testResult) { in SensorCtsTestResult() argument
48 mWrappedTestResult = testResult; in SensorCtsTestResult()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResult.java71 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()
DTestListAdapter.java177 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()
DAbstractTestListActivity.java76 TestResult testResult = TestResult.fromActivityResult(resultCode, data); in handleLaunchTestResult() local
77 mAdapter.setTestResult(testResult); in handleLaunchTestResult()
DTestResultsReport.java151 private String getTestResultString(int testResult) { in getTestResultString() argument
152 switch (testResult) { in getTestResultString()
163 throw new IllegalArgumentException("Unknown test result: " + testResult); in getTestResultString()
DTestResultsProvider.java214 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/
DMediaPlayerStressTest.java117 boolean testResult = true; in doTestVideoPlayback()
134 testResult = false; in doTestVideoPlayback()
147 assertTrue("playback " + mediaName, testResult); in doTestVideoPlayback()
/cts/tools/utils/
Drerun.py53 testResult = doc.getElementsByTagName("TestResult")[0]
54 packages = getChildrenWithTag(testResult, "TestPackage")
/cts/suite/cts/utils/
Dget_csv_report.py97 testResult = doc.getElementsByTagName("TestResult")[0]
98 buildInfos = testResult.getElementsByTagName("BuildInfo")
113 packages = getChildrenWithTag(testResult, "TestPackage")
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java253 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/
DPowerTestHostLink.java245 String testResult = request.substring(REQUEST_SET_TEST_RESULT.length()); in processClientRequest() local
246 response = handleSetTestResultCmd(testResult); in processClientRequest()