Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DClientTest.java405 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/
DClientTest.java322 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/
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/hostsidetests/car/src/android/car/cts/powerpolicy/
DPowerPolicyTestResult.java62 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/
DWebViewHostSideStartupTest.java58 TestResult testResult = testResults.toArray(new TestResult[1])[0]; in assertDeviceTestPasses() local
59 assertTrue(testResult.getStackTrace(), TestStatus.PASSED.equals(testResult.getStatus())); in assertDeviceTestPasses()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DAbstractTestListActivity.java105 TestResult testResult = TestResult.fromActivityResult(resultCode, data); in handleLaunchTestResult() local
106 testResult.getHistoryCollection().add( in handleLaunchTestResult()
107 testResult.getName(), mStartTime, mEndTime, mIsAutomated); in handleLaunchTestResult()
108 mAdapter.setTestResult(testResult); in handleLaunchTestResult()
DTestResult.java96 public static Intent createResult(Activity activity, int testResult, String testName, in createResult() argument
103 addResultData(data, testResult, testName, testDetails, reportLog, historyCollection); in createResult()
107 public static void addResultData(Intent intent, int testResult, String testName, in addResultData() argument
111 intent.putExtra(TEST_RESULT, testResult); in addResultData()
DTestListAdapter.java248 public void setTestResult(TestResult testResult) { in setTestResult() argument
249 String name = testResult.getName(); in setTestResult()
252 TestResultHistoryCollection histories = testResult.getHistoryCollection(); in setTestResult()
255 new SetTestResultTask(name, testResult.getResult(), in setTestResult()
256 testResult.getDetails(), testResult.getReportLog(), histories, in setTestResult()
354 int testResult = cursor.getInt(2); in getRefreshResults() local
361 results.put(testName, testResult); in getRefreshResults()
664 int testResult = getTestResult(position); in getView() local
669 switch (testResult) { in getView()
684 throw new IllegalArgumentException("Unknown test result: " + testResult); in getView()
DTestResultsReport.java185 private TestStatus getTestResultStatus(int testResult) { in getTestResultStatus() argument
186 switch (testResult) { in getTestResultStatus()
197 throw new IllegalArgumentException("Unknown test result: " + testResult); in getTestResultStatus()
DTestResultsProvider.java123 static void setTestResult(Context context, String testName, int testResult, in setTestResult() argument
127 values.put(TestResultsProvider.COLUMN_TEST_RESULT, testResult); in setTestResult()
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DCapturedActivity.java220 TestResult testResult = new TestResult(); in runTest() local
229 testResult.passFrames = 1000; in runTest()
230 testResult.failFrames = 0; in runTest()
231 return testResult; in runTest()
338 mSurfacePixelValidator.finish(testResult); in runTest()
345 testResult.passFrames = 0; in runTest()
346 testResult.failFrames = 1000; in runTest()
348 Log.d(TAG, "Test finished, passFrames " + testResult.passFrames in runTest()
349 + ", failFrames " + testResult.failFrames); in runTest()
350 return testResult; in runTest()
DSurfacePixelValidator2.java145 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/hostsidetests/car/src/android/car/cts/
DPowerPolicyHostTest.java160 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/
Drerun.py53 testResult = doc.getElementsByTagName("TestResult")[0]
54 packages = getChildrenWithTag(testResult, "TestPackage")
/cts/apps/CtsVerifier/jni/midi/
DMidiTestManager.cpp255 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/hostsidetests/packagemanager/stats/src/com/android/cts/packagemanager/stats/host/
DIncrementalAppErrorStatsTests.java85 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()
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DMediaPlayerStressTest.java170 boolean testResult = true; in doTestVideoPlayback()
187 testResult = false; in doTestVideoPlayback()
200 assertTrue("playback " + mediaName, testResult); in doTestVideoPlayback()
/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/seccomp/app/src/android/seccomp/cts/app/
DSeccompDeviceTest.java189 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/
DAudioDescriptorActivity.java244 Pair<Boolean, String> testResult = testAudioDescriptors(); in displayTestResult() local
245 getPassButton().setEnabled(testResult.first); in displayTestResult()
246 mTestStatusLbl.setText(testResult.second); in displayTestResult()
/cts/tests/tests/media/drmframework/jni/
Dnative-mediadrm-jni.cpp340 jboolean testResult = JNI_FALSE; in testPsshNative() local
347 testResult = JNI_TRUE; in testPsshNative()
350 testResult = JNI_FALSE; in testPsshNative()
355 return testResult; in testPsshNative()
/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()