Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DClientTest.java399 final TestResult testResult = getResult(); in testStartNormal() local
411 final TestResult testResult = getResult(); in testStartNormal() local
424 final TestResult testResult = getResult(); in testStartNormal() local
506 final TestResult testResult = getResult(); in testStartExposed01() local
507 assertThat(testResult.getPackageName(), in testStartExposed01()
509 assertThat(testResult.getComponentName(), in testStartExposed01()
511 assertThat(testResult.getStatus(), in testStartExposed01()
513 assertThat(testResult.getEphemeralPackageInfoExposed(), in testStartExposed01()
515 assertThat(testResult.getException(), in testStartExposed01()
527 final TestResult testResult = getResult(); in testStartExposed02() local
[all …]
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/
DClientTest.java301 final TestResult testResult = getResult(); in testStartNormal() local
302 assertThat(testResult.getPackageName(), in testStartNormal()
304 assertThat(testResult.getComponentName(), in testStartNormal()
306 assertThat(testResult.getException(), in testStartNormal()
316 final TestResult testResult = getResult(); in testStartNormal() local
317 assertThat(testResult.getPackageName(), in testStartNormal()
319 assertThat(testResult.getComponentName(), in testStartNormal()
321 assertThat(testResult.getException(), in testStartNormal()
332 final TestResult testResult = getResult(); in testStartNormal() local
333 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/apps/CtsVerifier/src/com/android/cts/verifier/location/base/
DGnssCtsTestSuite.java42 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()
DGnssCtsTestResult.java44 public GnssCtsTestResult(Context context, TestResult testResult) { in GnssCtsTestResult() argument
46 mWrappedTestResult = testResult; in GnssCtsTestResult()
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DCapturedActivity.java184 TestResult testResult = new TestResult(); in runTest() local
193 testResult.passFrames = 1000; in runTest()
194 testResult.failFrames = 0; in runTest()
195 return testResult; in runTest()
270 mSurfacePixelValidator.finish(testResult); in runTest()
277 testResult.passFrames = 0; in runTest()
278 testResult.failFrames = 1000; in runTest()
280 Log.d(TAG, "Test finished, passFrames " + testResult.passFrames in runTest()
281 + ", failFrames " + testResult.failFrames); in runTest()
282 return testResult; in runTest()
DSurfacePixelValidator2.java130 public void finish(CapturedActivity.TestResult testResult) { in finish() argument
134 testResult.failFrames = mResultFailureFrames; in finish()
135 testResult.passFrames = mResultSuccessFrames; in finish()
138 testResult.failures.put(mFirstFailures.keyAt(i), mFirstFailures.valueAt(i)); in finish()
DSurfacePixelValidator.java144 public void finish(CapturedActivity.TestResult testResult) { in finish() argument
148 testResult.failFrames = mResultFailureFrames; in finish()
149 testResult.passFrames = mResultSuccessFrames; in finish()
152 testResult.failures.put(mFirstFailures.keyAt(i), mFirstFailures.valueAt(i)); in finish()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResult.java71 public 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.java194 public void setTestResult(TestResult testResult) { in setTestResult() argument
195 new SetTestResultTask(testResult.getName(), testResult.getResult(), in setTestResult()
196 testResult.getDetails(), testResult.getReportLog()).execute(); in setTestResult()
261 int testResult = cursor.getInt(2); in getRefreshResults() local
264 results.put(testName, testResult); in getRefreshResults()
411 int testResult = getTestResult(position); in getView() local
416 switch (testResult) { in getView()
431 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 TestStatus getTestResultStatus(int testResult) { in getTestResultStatus() argument
152 switch (testResult) { in getTestResultStatus()
163 throw new IllegalArgumentException("Unknown test result: " + testResult); in getTestResultStatus()
DTestResultsProvider.java228 static void setTestResult(Context context, String testName, int testResult, in setTestResult() argument
231 values.put(TestResultsProvider.COLUMN_TEST_RESULT, testResult); in setTestResult()
/cts/hostsidetests/webkit/src/com/android/cts/webkit/
DWebViewHostSideStartupTest.java79 TestResult testResult = testResults.toArray(new TestResult[1])[0]; in assertDeviceTestPasses() local
80 assertTrue(testResult.getStackTrace(), TestStatus.PASSED.equals(testResult.getStatus())); in assertDeviceTestPasses()
/cts/apps/CtsVerifier/jni/midi/
DMidiTestManager.cpp198 int testResult = TESTSTATUS_NOTRUN; in ProcessInput() local
222 testResult = TESTSTATUS_FAILED_MISMATCH; in ProcessInput()
227 testResult = TESTSTATUS_FAILED_OVERRUN; in ProcessInput()
231 testResult = TESTSTATUS_PASSED; in ProcessInput()
237 return testResult; in ProcessInput()
/cts/tools/utils/
Drerun.py53 testResult = doc.getElementsByTagName("TestResult")[0]
54 packages = getChildrenWithTag(testResult, "TestPackage")
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DMediaPlayerStressTest.java168 boolean testResult = true; in doTestVideoPlayback()
185 testResult = false; in doTestVideoPlayback()
198 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.java188 boolean testResult = conn.getTestResult(); in testAppZygoteSyscalls()
189 Assert.assertTrue("seccomp tests in application zygote failed; see logs.", testResult); in testAppZygoteSyscalls()
/cts/tests/tests/media/libmediandkjni/
Dnative-mediadrm-jni.cpp299 jboolean testResult = JNI_FALSE; in Java_android_media_cts_NativeMediaDrmClearkeyTest__testPsshNative() local
306 testResult = JNI_TRUE; in Java_android_media_cts_NativeMediaDrmClearkeyTest__testPsshNative()
309 testResult = JNI_FALSE; in Java_android_media_cts_NativeMediaDrmClearkeyTest__testPsshNative()
314 return testResult; in Java_android_media_cts_NativeMediaDrmClearkeyTest__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()