Home
last modified time | relevance | path

Searched refs:TestResult (Results 1 – 25 of 69) sorted by relevance

123

/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/util/src/com/android/cts/util/
DTestResult.java25 public class TestResult implements Parcelable { class
87 private TestResult(String packageName, String componentName, String methodName, in TestResult() method in TestResult
115 public static final Creator<TestResult> CREATOR = new Creator<TestResult>() {
116 public TestResult createFromParcel(Parcel source) {
117 return new TestResult(source);
119 public TestResult[] newArray(int size) {
120 return new TestResult[size];
124 private TestResult(Parcel source) { in TestResult() method in TestResult
173 public TestResult build() { in build()
174 return new TestResult(packageName, componentName, methodName, in build()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DEphemeralResult.java30 import com.android.cts.util.TestResult;
41 && intent.hasExtra(TestResult.EXTRA_TEST_RESULT)) { in onCreate()
42 ((TestResult) intent.getParcelableExtra(TestResult.EXTRA_TEST_RESULT)).broadcast(this); in onCreate()
DEphemeralService.java32 import com.android.cts.util.TestResult;
40 TestResult.getBuilder() in onBind()
53 TestResult.getBuilder() in onStartCommand()
DEphemeralActivity2.java26 import com.android.cts.util.TestResult;
35 TestResult.getBuilder() in onCreate()
DEphemeralActivity3.java26 import com.android.cts.util.TestResult;
35 TestResult.getBuilder() in onCreate()
DClientTest.java77 import com.android.cts.util.TestResult;
118 private final SynchronousQueue<TestResult> mResultQueue = new SynchronousQueue<>();
405 final TestResult testResult = getResult(); in testStartNormal()
417 final TestResult testResult = getResult(); in testStartNormal()
430 final TestResult testResult = getResult(); in testStartNormal()
512 final TestResult testResult = getResult(); in testStartExposed01()
533 final TestResult testResult = getResult(); in testStartExposed02()
555 final TestResult testResult = getResult(); in testStartExposed03()
607 final TestResult testResult = getResult(); in testStartExposed06()
627 final TestResult testResult = getResult(); in testStartExposed07()
[all …]
DEphemeralActivity.java30 import com.android.cts.util.TestResult;
47 TestResult.getBuilder() in onCreate()
/cts/hostsidetests/webkit/src/com/android/cts/webkit/
DWebViewHostSideStartupTest.java21 import com.android.ddmlib.testrunner.TestResult.TestStatus;
24 import com.android.tradefed.result.TestResult;
76 Collection<TestResult> testResults = testRunResult.getTestResults().values(); in assertDeviceTestPasses()
79 TestResult testResult = testResults.toArray(new TestResult[1])[0]; in assertDeviceTestPasses()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DSensorCtsTestSuite.java20 import junit.framework.TestResult;
42 public void run(TestResult testResult) { in run()
62 public void runTest(Test test, TestResult testResult) { in runTest()
DSensorCtsTestResult.java25 import junit.framework.TestResult;
40 class SensorCtsTestResult extends TestResult {
42 private final TestResult mWrappedTestResult;
46 public SensorCtsTestResult(Context context, TestResult testResult) { in SensorCtsTestResult()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DAbstractTestListActivity.java59 intent.putExtra(TestResult.TEST_START_TIME, mStartTime); in getIntent()
93 if (mStartTime == 0 && data.hasExtra(TestResult.TEST_START_TIME)) { in handleLaunchTestResult()
94 mStartTime = data.getLongExtra(TestResult.TEST_START_TIME, 0); in handleLaunchTestResult()
102 TestResult testResult = TestResult.fromActivityResult(resultCode, data); in handleLaunchTestResult()
DTestResult.java35 public class TestResult { class
37 private static final String TAG = TestResult.class.getSimpleName();
127 static TestResult fromActivityResult(int resultCode, Intent data) { in fromActivityResult()
134 return new TestResult(name, result, details, reportLog, historyCollection); in fromActivityResult()
137 private TestResult( in TestResult() method in TestResult
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/
DExposedService.java26 import com.android.cts.util.TestResult;
39 TestResult.getBuilder() in onBind()
60 TestResult.getBuilder() in onStartCommand()
DClientTest.java52 import com.android.cts.util.TestResult;
93 private final SynchronousQueue<TestResult> mResultQueue = new SynchronousQueue<>();
322 final TestResult testResult = getResult(); in testStartNormal()
337 final TestResult testResult = getResult(); in testStartNormal()
353 final TestResult testResult = getResult(); in testStartNormal()
389 final TestResult testResult = getResult(); in testStartEphemeral()
400 final TestResult testResult = getResult(); in testStartEphemeral()
413 final TestResult testResult = getResult(); in testStartEphemeral()
425 final TestResult testResult = getResult(); in testStartEphemeral()
439 final TestResult testResult = getResult(); in testStartEphemeral()
[all …]
DNormalService.java25 import com.android.cts.util.TestResult;
44 TestResult.getBuilder() in onStartCommand()
DExposedActivity.java28 import com.android.cts.util.TestResult;
48 TestResult.getBuilder() in onCreate()
DNormalWebActivity.java28 import com.android.cts.util.TestResult;
50 TestResult.getBuilder() in onCreate()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/UserApp/src/com/android/cts/userapp/
DUserActivity.java25 import com.android.cts.util.TestResult;
34 TestResult.getBuilder() in onCreate()
/cts/tools/vm-tests-tf/build/src/util/build/
DJUnitTestCollector.java25 import junit.framework.TestResult;
58 protected TestResult createTestResult() { in JUnitTestCollector()
59 return new TestResult() { in JUnitTestCollector()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DAuthenticationBoundKeyTestActivity.java28 import com.android.cts.verifier.TestResult;
129 setTestResult(mLockScreenBoundKeyTest, TestResult.TEST_RESULT_FAILED); in onFinish()
137 setTestResult(mLockScreenBoundKeyTest, TestResult.TEST_RESULT_FAILED); in onFinish()
178 setTestResult(mFingerprintBoundKeyTest, TestResult.TEST_RESULT_FAILED); in setupTests()
311 setTestResult(mLockScreenBoundKeyTest, TestResult.TEST_RESULT_PASSED); in handleActivityResult()
314 setTestResult(mLockScreenBoundKeyTest, TestResult.TEST_RESULT_FAILED); in handleActivityResult()
318 setTestResult(mLockScreenBoundKeyTest, TestResult.TEST_RESULT_FAILED); in handleActivityResult()
361 TestResult.TEST_RESULT_PASSED); in onAuthenticationSucceeded()
365 TestResult.TEST_RESULT_FAILED); in onAuthenticationSucceeded()
DDeviceOwnerRequestingBugreportTestActivity.java39 import com.android.cts.verifier.TestResult;
91 TestResult.setPassedResult(this, getIntent().getStringExtra(EXTRA_TEST_ID), in onCreate()
94 TestResult.setFailedResult(this, getIntent().getStringExtra(EXTRA_TEST_ID), in onCreate()
102 TestResult.setPassedResult(this, getIntent().getStringExtra(EXTRA_TEST_ID), in onCreate()
105 TestResult.setFailedResult(this, getIntent().getStringExtra(EXTRA_TEST_ID), in onCreate()
114 TestResult.setPassedResult(this, getIntent().getStringExtra(EXTRA_TEST_ID), in onCreate()
117 TestResult.setFailedResult(this, getIntent().getStringExtra(EXTRA_TEST_ID), in onCreate()
DRecentsRedactionActivity.java32 import com.android.cts.verifier.TestResult;
62 resultCode = TestResult.TEST_RESULT_PASSED;
65 resultCode = TestResult.TEST_RESULT_FAILED;
70 Intent resultIntent = TestResult.createResult(RecentsRedactionActivity.this, resultCode,
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DCAInstallNotificationVerifierActivity.java34 import com.android.cts.verifier.TestResult;
69 setTestResult(this, TestResult.TEST_RESULT_PASSED); in setupTests()
77 setTestResult(this, TestResult.TEST_RESULT_PASSED); in setupTests()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/ImplicitlyExposedApp/src/com/android/cts/implicitapp/
DImplicitActivity.java28 import com.android.cts.util.TestResult;
47 TestResult.getBuilder() in onCreate()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp2/src/com/android/cts/ephemeralapp2/
DEphemeralActivity.java30 import com.android.cts.util.TestResult;
46 TestResult.getBuilder() in onCreate()

123