/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ |
D | ClientTest.java | 405 final TestResult testResult = getResult(); in testStartNormal() local 417 final TestResult testResult = getResult(); in testStartNormal() local 430 final TestResult testResult = getResult(); in testStartNormal() local 512 final TestResult testResult = getResult(); in testStartExposed01() local 513 assertThat(testResult.getPackageName(), in testStartExposed01() 515 assertThat(testResult.getComponentName(), in testStartExposed01() 517 assertThat(testResult.getStatus(), in testStartExposed01() 519 assertThat(testResult.getEphemeralPackageInfoExposed(), in testStartExposed01() 521 assertThat(testResult.getException(), in testStartExposed01() 533 final TestResult testResult = getResult(); in testStartExposed02() local [all …]
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/ |
D | ClientTest.java | 322 final TestResult testResult = getResult(); in testStartNormal() local 323 assertThat(testResult.getPackageName(), in testStartNormal() 325 assertThat(testResult.getComponentName(), in testStartNormal() 327 assertThat(testResult.getException(), in testStartNormal() 337 final TestResult testResult = getResult(); in testStartNormal() local 338 assertThat(testResult.getPackageName(), in testStartNormal() 340 assertThat(testResult.getComponentName(), in testStartNormal() 342 assertThat(testResult.getException(), in testStartNormal() 353 final TestResult testResult = getResult(); in testStartNormal() local 354 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/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/hostsidetests/car/src/android/car/cts/powerpolicy/ |
D | PowerPolicyTestResult.java | 62 TestResultTable testResult; in checkFullTestResult() local 66 testResult = mTestAnalyzer.getTailDiff(mStartSnapshot, mEndSnapshot); in checkFullTestResult() 67 if (testResult == null) { in checkFullTestResult() 71 .that(mTestAnalyzer.checkIfTestResultMatch(mExpected, testResult, false)) in checkFullTestResult()
|
/cts/hostsidetests/webkit/src/com/android/cts/webkit/ |
D | WebViewHostSideStartupTest.java | 79 TestResult testResult = testResults.toArray(new TestResult[1])[0]; in assertDeviceTestPasses() local 80 assertTrue(testResult.getStackTrace(), TestStatus.PASSED.equals(testResult.getStatus())); in assertDeviceTestPasses()
|
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | CapturedActivity.java | 217 TestResult testResult = new TestResult(); in runTest() local 226 testResult.passFrames = 1000; in runTest() 227 testResult.failFrames = 0; in runTest() 228 return testResult; in runTest() 308 mSurfacePixelValidator.finish(testResult); in runTest() 315 testResult.passFrames = 0; in runTest() 316 testResult.failFrames = 1000; in runTest() 318 Log.d(TAG, "Test finished, passFrames " + testResult.passFrames in runTest() 319 + ", failFrames " + testResult.failFrames); in runTest() 320 return testResult; in runTest()
|
D | SurfacePixelValidator2.java | 145 public void finish(CapturedActivity.TestResult testResult) { in finish() argument 149 testResult.failFrames = mResultFailureFrames; in finish() 150 testResult.passFrames = mResultSuccessFrames; in finish() 153 testResult.failures.put(mFirstFailures.keyAt(i), mFirstFailures.valueAt(i)); in finish()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | AbstractTestListActivity.java | 102 TestResult testResult = TestResult.fromActivityResult(resultCode, data); in handleLaunchTestResult() local 103 testResult.getHistoryCollection().add( in handleLaunchTestResult() 104 testResult.getName(), mStartTime, mEndTime, mIsAutomated); in handleLaunchTestResult() 105 mAdapter.setTestResult(testResult); in handleLaunchTestResult()
|
D | TestResult.java | 102 public static Intent createResult(Activity activity, int testResult, String testName, in createResult() argument 109 addResultData(data, testResult, testName, testDetails, reportLog, historyCollection); in createResult() 113 public static void addResultData(Intent intent, int testResult, String testName, in addResultData() argument 117 intent.putExtra(TEST_RESULT, testResult); in addResultData()
|
D | TestListAdapter.java | 241 public void setTestResult(TestResult testResult) { in setTestResult() argument 242 String name = testResult.getName(); in setTestResult() 245 TestResultHistoryCollection histories = testResult.getHistoryCollection(); in setTestResult() 248 new SetTestResultTask(name, testResult.getResult(), in setTestResult() 249 testResult.getDetails(), testResult.getReportLog(), histories).execute(); in setTestResult() 339 int testResult = cursor.getInt(2); in getRefreshResults() local 344 results.put(testName, testResult); in getRefreshResults() 605 int testResult = getTestResult(position); in getView() local 610 switch (testResult) { in getView() 625 throw new IllegalArgumentException("Unknown test result: " + testResult); in getView()
|
D | TestResultsReport.java | 178 private TestStatus getTestResultStatus(int testResult) { in getTestResultStatus() argument 179 switch (testResult) { in getTestResultStatus() 190 throw new IllegalArgumentException("Unknown test result: " + testResult); in getTestResultStatus()
|
D | TestResultsProvider.java | 120 static void setTestResult(Context context, String testName, int testResult, in setTestResult() argument 123 values.put(TestResultsProvider.COLUMN_TEST_RESULT, testResult); in setTestResult()
|
/cts/hostsidetests/car/src/android/car/cts/ |
D | PowerPolicyHostTest.java | 160 PowerPolicyTestResult testResult = new PowerPolicyTestResult(mTestAnalyzer); in testPowerPolicyChange() local 169 waitResetPowerPolicyListenersComplete(testResult, clientTestcase, in testPowerPolicyChange() 172 waitPowerPolicyListenersUpdated(testResult, clientTestcase, in testPowerPolicyChange() 176 testResult.checkLastTestResultEntry(clientTestcase, clientAction, in testPowerPolicyChange() 181 waitPowerPolicyListenersUpdated(testResult, clientTestcase, in testPowerPolicyChange() 185 testResult.checkLastTestResultEntry(clientTestcase, clientAction, in testPowerPolicyChange() 308 private void waitPowerPolicyListenersUpdated(PowerPolicyTestResult testResult, in waitPowerPolicyListenersUpdated() argument 313 return checkPowerPolicyListenersUpdated(testResult, clientTestcase, in waitPowerPolicyListenersUpdated() 318 private boolean checkPowerPolicyListenersUpdated(PowerPolicyTestResult testResult, in checkPowerPolicyListenersUpdated() argument 321 return testResult.checkLastTestResultEntryData(clientTestcase, clientAction, in checkPowerPolicyListenersUpdated() [all …]
|
/cts/tools/utils/ |
D | rerun.py | 53 testResult = doc.getElementsByTagName("TestResult")[0] 54 packages = getChildrenWithTag(testResult, "TestPackage")
|
/cts/apps/CtsVerifier/jni/midi/ |
D | MidiTestManager.cpp | 255 int testResult = TESTSTATUS_NOTRUN; in ProcessInput() local 292 testResult = TESTSTATUS_FAILED_MISMATCH; in ProcessInput() 301 testResult = TESTSTATUS_FAILED_OVERRUN; in ProcessInput() 308 testResult = TESTSTATUS_PASSED; in ProcessInput() 317 return testResult; in ProcessInput()
|
/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/hostsidetests/seccomp/app/src/android/seccomp/cts/app/ |
D | SeccompDeviceTest.java | 189 boolean testResult = conn.getTestResult(); in testAppZygoteSyscalls() 190 Assert.assertTrue("seccomp tests in application zygote failed; see logs.", testResult); in testAppZygoteSyscalls()
|
/cts/tests/tests/media/libmediandkjni/ |
D | native-mediadrm-jni.cpp | 336 jboolean testResult = JNI_FALSE; in Java_android_media_cts_NativeMediaDrmClearkeyTest__testPsshNative() local 343 testResult = JNI_TRUE; in Java_android_media_cts_NativeMediaDrmClearkeyTest__testPsshNative() 346 testResult = JNI_FALSE; in Java_android_media_cts_NativeMediaDrmClearkeyTest__testPsshNative() 351 return testResult; in Java_android_media_cts_NativeMediaDrmClearkeyTest__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()
|