/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/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | AbstractTestListActivity.java | 67 private void setTestResult(TestResult testResult) { in setTestResult() argument 68 testResult.getHistoryCollection().add( in setTestResult() 69 testResult.getName(), mStartTime, mEndTime, mIsAutomated); in setTestResult() 70 mAdapter.setTestResult(testResult); in setTestResult() 116 TestResult testResult = TestResult.fromActivityResult(resultCode, data); in handleLaunchTestResult() local 119 TestListItem testListItem = mAdapter.getItemByName(testResult.getName()); in handleLaunchTestResult() 127 setTestResult(testResult); in handleLaunchTestResult()
|
D | TestResult.java | 112 public static Intent createResult(Activity activity, int testResult, String testName, in createResult() argument 119 addResultData(data, testResult, testName, testDetails, reportLog, historyCollection); in createResult() 123 public static void addResultData(Intent intent, int testResult, String testName, in addResultData() argument 127 intent.putExtra(TEST_RESULT, testResult); in addResultData()
|
D | TestListAdapter.java | 440 public void setTestResult(TestResult testResult) { in setTestResult() argument 441 String name = testResult.getName(); in setTestResult() 444 TestResultHistoryCollection histories = testResult.getHistoryCollection(); in setTestResult() 449 testResult.getResult(), in setTestResult() 450 testResult.getDetails(), in setTestResult() 451 testResult.getReportLog(), in setTestResult() 543 int testResult = cursor.getInt(2); in getRefreshResults() local 550 results.put(testName, testResult); in getRefreshResults() 871 int testResult = getTestResult(position); in getView() local 876 switch (testResult) { in getView() [all …]
|
D | TestResultsReport.java | 185 private TestStatus getTestResultStatus(int testResult) { in getTestResultStatus() argument 186 switch (testResult) { in getTestResultStatus() 197 throw new IllegalArgumentException("Unknown test result: " + testResult); in getTestResultStatus()
|
D | HostTestsActivity.java | 264 private void updateTestResult(int testResult, String testId) { in updateTestResult() argument 268 testResult, in updateTestResult()
|
/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/apps/CtsVerifier/jni/midi/ |
D | MidiTestManager.cpp | 349 int testResult = TESTSTATUS_NOTRUN; in ProcessInput() local 379 testResult = TESTSTATUS_FAILED_MISMATCH; in ProcessInput() 383 return testResult; in ProcessInput() 388 testResult = TESTSTATUS_FAILED_OVERRUN; in ProcessInput() 392 return testResult; in ProcessInput() 395 testResult = TESTSTATUS_PASSED; in ProcessInput() 399 return testResult; in ProcessInput() 406 testResult = TESTSTATUS_FAILED_TIMEOUT; in ProcessInput() 410 return testResult; in ProcessInput() 414 return testResult; in ProcessInput()
|
/cts/hostsidetests/webkit/src/com/android/cts/webkit/ |
D | WebViewHostSideStartupTest.java | 58 TestResult testResult = testResults.toArray(new TestResult[1])[0]; in assertDeviceTestPasses() local 59 assertTrue(testResult.getStackTrace(), TestStatus.PASSED.equals(testResult.getStatus())); in assertDeviceTestPasses()
|
/cts/hostsidetests/car/src/android/car/cts/ |
D | PowerPolicyHostTest.java | 302 private void waitPowerPolicyListenersUpdated(PowerPolicyTestResult testResult, in waitPowerPolicyListenersUpdated() argument 308 return checkPowerPolicyListenersUpdated(testResult, clientTestcase, in waitPowerPolicyListenersUpdated() 313 private boolean checkPowerPolicyListenersUpdated(PowerPolicyTestResult testResult, in checkPowerPolicyListenersUpdated() argument 317 return testResult.checkLastTestResultEntryData(clientTestcase, clientAction, in checkPowerPolicyListenersUpdated() 325 private void waitResetPowerPolicyListenersComplete(PowerPolicyTestResult testResult, in waitResetPowerPolicyListenersComplete() argument 330 return testResult.checkLastTestResultEntryData(clientTestcase, clientAction, in waitResetPowerPolicyListenersComplete() 346 PowerPolicyTestResult testResult, String clientAction) throws Exception { in testPowerPolicyListeners() argument 353 waitResetPowerPolicyListenersComplete(testResult, clientTestcase, in testPowerPolicyListeners() 356 waitPowerPolicyListenersUpdated(testResult, clientTestcase, in testPowerPolicyListeners() 361 testResult.checkLastTestResultEntry(clientTestcase, clientAction, in testPowerPolicyListeners() [all …]
|
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | SurfacePixelValidator2.java | 160 public void finish(CapturedActivity.TestResult testResult) { in finish() argument 165 testResult.failFrames = mResultFailureFrames; in finish() 166 testResult.passFrames = mResultSuccessFrames; in finish() 169 testResult.failures.put(mFirstFailures.keyAt(i), mFirstFailures.valueAt(i)); in finish()
|
D | CapturedActivity.java | 145 TestResult testResult = new TestResult(); in runTest() local 157 mSurfacePixelValidator.finish(testResult); in runTest() 267 Log.d(TAG, "Test finished, passFrames " + testResult.passFrames in runTest() 268 + ", failFrames " + testResult.failFrames); in runTest() 269 return testResult; in runTest() 272 Log.e(TAG, "Test Failed, passFrames " + testResult.passFrames + ", failFrames " in runTest() 273 + testResult.failFrames); in runTest()
|
/cts/hostsidetests/multiuser/src/android/host/multiuser/ |
D | UserManagerHostTest.java | 69 final boolean testResult = runDeviceTests(options); in assertPreviousUserIs() 70 assertThat(testResult).isTrue(); in assertPreviousUserIs()
|
/cts/tools/utils/ |
D | rerun.py | 53 testResult = doc.getElementsByTagName("TestResult")[0] 54 packages = getChildrenWithTag(testResult, "TestPackage")
|
/cts/hostsidetests/packagemanager/stats/src/com/android/cts/packagemanager/stats/host/ |
D | IncrementalAppErrorStatsTests.java | 85 Map<String, String> testResult = Utils.runDeviceTests(getDevice(), HELPER_PACKAGE, in setUp() local 87 assertNotNull(testResult); in setUp() 88 assertEquals(1, testResult.size()); in setUp() 90 int blockedPageIndex = Integer.parseInt(testResult.get(PAGE_INDEX_TO_BLOCK)); in setUp()
|
D | PackageInstallationSessionReportedStatsTests.java | 183 Map<String, String> testResult = Utils.runDeviceTests(getDevice(), HELPER_PACKAGE, in checkUserTypes() local 185 assertNotNull(testResult); in checkUserTypes() 186 assertEquals(1, testResult.size()); in checkUserTypes() 187 String[] userTypesStrings = testResult.get(GET_USER_TYPES_HELPER_ARG_USER_TYPES).split(","); in checkUserTypes()
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | MediaPlayerStressTest.java | 166 boolean testResult = true; in doTestVideoPlayback() 182 testResult = false; in doTestVideoPlayback() 196 assertTrue("playback " + mediaName + " (" + failureDiagnostic + ")", 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/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioDescriptorActivity.java | 254 Pair<Boolean, String> testResult = testAudioDescriptors(); in displayTestResult() local 255 getPassButton().setEnabled(testResult.first); in displayTestResult() 256 mTestStatusLbl.setText(testResult.second); in displayTestResult()
|
/cts/hostsidetests/mediapc/videoencodingquality/bdrate/src/main/java/com/android/media/videoquality/bdrate/ |
D | BdRateMain.java | 263 String testResult = new String(Files.readAllBytes(path), StandardCharsets.UTF_8); in loadTestResult() local 264 return VeqTestResult.parseFromTestResult(testResult); in loadTestResult()
|