/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ |
D | ClientTest.java | 326 final TestResult testResult = getResult(); in testStartNormal() local 337 final TestResult testResult = getResult(); in testStartNormal() local 349 final TestResult testResult = getResult(); in testStartNormal() local 429 final TestResult testResult = getResult(); in testStartExposed01() local 430 assertThat(testResult.getPackageName(), in testStartExposed01() 432 assertThat(testResult.getComponentName(), in testStartExposed01() 434 assertThat(testResult.getStatus(), in testStartExposed01() 436 assertThat(testResult.getEphemeralPackageInfoExposed(), in testStartExposed01() 438 assertThat(testResult.getException(), in testStartExposed01() 449 final TestResult testResult = getResult(); in testStartExposed02() local [all …]
|
/cts/common/util/tests/src/com/android/compatibility/common/util/ |
D | CaseResultTest.java | 50 ITestResult testResult = mResult.getOrCreateResult(METHOD_1); in testResultCreation() local 53 assertTrue("Expected test result", mResult.getResults().contains(testResult)); in testResultCreation() 56 assertEquals("Expected the same result", testResult, testResult2); in testResultCreation() 61 ITestResult testResult = mResult.getOrCreateResult(METHOD_1); in testResultReporting() local 62 testResult.failed(STACK_TRACE); in testResultReporting() 63 assertEquals("Expected status to be set", TestStatus.FAIL, testResult.getResultStatus()); in testResultReporting() 64 assertEquals("Expected message to be set", MESSAGE, testResult.getMessage()); in testResultReporting() 65 assertEquals("Expected stack to be set", STACK_TRACE, testResult.getStackTrace()); in testResultReporting() 66 testResult = mResult.getOrCreateResult(METHOD_2); in testResultReporting() 67 testResult.passed(null); in testResultReporting() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/ |
D | ClientTest.java | 298 final TestResult testResult = getResult(); in testStartNormal() local 299 assertThat(testResult.getPackageName(), in testStartNormal() 301 assertThat(testResult.getComponentName(), in testStartNormal() 303 assertThat(testResult.getException(), in testStartNormal() 312 final TestResult testResult = getResult(); in testStartNormal() local 313 assertThat(testResult.getPackageName(), in testStartNormal() 315 assertThat(testResult.getComponentName(), in testStartNormal() 317 assertThat(testResult.getException(), in testStartNormal() 327 final TestResult testResult = getResult(); in testStartNormal() local 328 assertThat(testResult.getPackageName(), in testStartNormal() [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/tests/tests/view/src/android/view/cts/surfacevalidator/ |
D | CapturedActivity.java | 150 TestResult testResult = new TestResult(); in runTest() local 159 testResult.passFrames = 1000; in runTest() 160 testResult.failFrames = 0; in runTest() 161 return testResult; in runTest() 220 mSurfacePixelValidator.finish(testResult); in runTest() 227 testResult.passFrames = 0; in runTest() 228 testResult.failFrames = 1000; in runTest() 230 Log.d(TAG, "Test finished, passFrames " + testResult.passFrames in runTest() 231 + ", failFrames " + testResult.failFrames); in runTest() 232 return testResult; in runTest()
|
D | SurfacePixelValidator.java | 143 public void finish(CapturedActivity.TestResult testResult) { in finish() argument 147 testResult.failFrames = mResultFailureFrames; in finish() 148 testResult.passFrames = mResultSuccessFrames; in finish() 151 testResult.failures.put(mFirstFailures.keyAt(i), mFirstFailures.valueAt(i)); in finish()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/base/ |
D | GnssCtsTestSuite.java | 42 public void run(TestResult testResult) { in run() argument 43 mWrappedTestSuite.run(new GnssCtsTestResult(mContext, testResult)); in run() 62 public void runTest(Test test, TestResult testResult) { in runTest() argument 63 mWrappedTestSuite.runTest(test, testResult); in runTest()
|
D | GnssCtsTestResult.java | 44 public GnssCtsTestResult(Context context, TestResult testResult) { in GnssCtsTestResult() argument 46 mWrappedTestResult = testResult; in GnssCtsTestResult()
|
/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/common/util/src/com/android/compatibility/common/util/ |
D | ChecksumReporter.java | 148 for (ITestResult testResult : caseResult.getResults()) { in addInvocation() 149 addTestResult(testResult, module, buildFingerprint); in addInvocation() 215 ITestResult testResult, IModuleResult moduleResult, String buildFingerprint) { in addTestResult() argument 217 String signature = generateTestResultSignature(testResult, moduleResult, buildFingerprint); in addTestResult() 223 ITestResult testResult, IModuleResult moduleResult, String buildFingerprint) { in containsTestResult() argument 225 String signature = generateTestResultSignature(testResult, moduleResult, buildFingerprint); in containsTestResult() 273 static String generateTestResultSignature(ITestResult testResult, IModuleResult module, in generateTestResultSignature() argument 276 String stacktrace = testResult.getStackTrace(); in generateTestResultSignature() 284 .append(testResult.getFullName()).append(SEPARATOR) in generateTestResultSignature() 285 .append(testResult.getResultStatus().getValue()).append(SEPARATOR) in generateTestResultSignature()
|
/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 TestStatus getTestResultStatus(int testResult) { in getTestResultStatus() argument 152 switch (testResult) { in getTestResultStatus() 163 throw new IllegalArgumentException("Unknown test result: " + testResult); in getTestResultStatus()
|
D | TestResultsProvider.java | 228 static void setTestResult(Context context, String testName, int testResult, in setTestResult() argument 231 values.put(TestResultsProvider.COLUMN_TEST_RESULT, testResult); in setTestResult()
|
/cts/tools/utils/ |
D | rerun.py | 53 testResult = doc.getElementsByTagName("TestResult")[0] 54 packages = getChildrenWithTag(testResult, "TestPackage")
|
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/ |
D | SubPlanHelper.java | 232 for (ITestResult testResult : caseResult.getResults()) { in createSubPlan() 233 if (!statusesToRun.contains(testResult.getResultStatus())) { in createSubPlan() 235 module.getName(), testResult.getFullName()); in createSubPlan() 244 for (ITestResult testResult : caseResult.getResults()) { in createSubPlan() 245 if (statusesToRun.contains(testResult.getResultStatus())) { in createSubPlan() 247 module.getName(), testResult.getFullName()); in createSubPlan()
|
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/ |
D | CompatibilityHostTestBase.java | 179 TestResult testResult = testEntry.getValue(); in printTestResult() local 180 TestStatus testStatus = testResult.getStatus(); in printTestResult() 184 CLog.logAndDisplay(LogLevel.WARN, testResult.getStackTrace()); in printTestResult()
|
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/ |
D | BaseShortcutManagerHostTest.java | 168 TestResult testResult = testEntry.getValue(); in printTestResult() local 170 final String message = "Test " + testEntry.getKey() + ": " + testResult.getStatus(); in printTestResult() 171 if (testResult.getStatus() == TestStatus.PASSED) { in printTestResult() 175 CLog.e(testResult.getStackTrace()); in printTestResult()
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | MediaPlayerStressTest.java | 168 boolean testResult = true; in doTestVideoPlayback() 185 testResult = false; in doTestVideoPlayback() 198 assertTrue("playback " + mediaName, testResult); in doTestVideoPlayback()
|
/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/tests/tests/media/libmediandkjni/ |
D | native-mediadrm-jni.cpp | 245 jboolean testResult = JNI_FALSE; in Java_android_media_cts_NativeClearKeySystemTest__testPsshNative() local 257 testResult = JNI_TRUE; in Java_android_media_cts_NativeClearKeySystemTest__testPsshNative() 260 testResult = JNI_FALSE; in Java_android_media_cts_NativeClearKeySystemTest__testPsshNative() 265 return testResult; in Java_android_media_cts_NativeClearKeySystemTest__testPsshNative()
|
/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()
|