Home
last modified time | relevance | path

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

1234

/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/ctsverifier/src/com/android/cts/verifier/
DCtsVerifierTest.java123 enum TestResult { enum in CtsVerifierTest
195 TestResult currentTestResult = getTestResult(testNameToRun); in runTest()
197 if (currentTestResult == TestResult.PASSED) { in runTest()
199 } else if (currentTestResult == TestResult.FAILED) { in runTest()
223 if (currentTestResult == TestResult.PASSED) { in runTest()
225 } else if (currentTestResult == TestResult.FAILED) { in runTest()
227 } else if (currentTestResult == TestResult.ASSUMPTION_FAILED) { in runTest()
259 private TestResult getTestResult(String testName) { in getTestResult()
272 return TestResult.PASSED; in getTestResult()
274 return TestResult.FAILED; in getTestResult()
[all …]
/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 …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DAbstractTestListActivity.java63 intent.putExtra(TestResult.TEST_START_TIME, mStartTime); in getIntent()
67 private void setTestResult(TestResult testResult) { in setTestResult()
103 if (mStartTime == 0 && data != null && data.hasExtra(TestResult.TEST_START_TIME)) { in handleLaunchTestResult()
104 mStartTime = data.getLongExtra(TestResult.TEST_START_TIME, 0); in handleLaunchTestResult()
116 TestResult testResult = TestResult.fromActivityResult(resultCode, data); in handleLaunchTestResult()
122 setTestResult(TestResult.fromActivityResultWithDisplayMode( in handleLaunchTestResult()
124 setTestResult(TestResult.fromActivityResultWithDisplayMode( in handleLaunchTestResult()
DTestResult.java37 public class TestResult { class
39 private static final String TAG = TestResult.class.getSimpleName();
137 static TestResult fromActivityResult(int resultCode, Intent data) { in fromActivityResult()
146 static TestResult fromActivityResultWithTestName( in fromActivityResultWithTestName()
153 return new TestResult(name, result, details, reportLog, historyCollection); in fromActivityResultWithTestName()
160 static TestResult fromActivityResultWithDisplayMode( in fromActivityResultWithDisplayMode()
176 private TestResult( in TestResult() method in TestResult
/cts/hostsidetests/webkit/src/com/android/cts/webkit/
DWebViewHostSideStartupTest.java21 import com.android.ddmlib.testrunner.TestResult.TestStatus;
24 import com.android.tradefed.result.TestResult;
55 Collection<TestResult> testResults = testRunResult.getTestResults().values(); in assertDeviceTestPasses()
58 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/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/
DDeviceOwnerRequestingBugreportTestActivity.java40 import com.android.cts.verifier.TestResult;
93 TestResult.setPassedResult(this, getIntent().getStringExtra(EXTRA_TEST_ID), in onCreate()
96 TestResult.setFailedResult(this, getIntent().getStringExtra(EXTRA_TEST_ID), in onCreate()
104 TestResult.setPassedResult(this, getIntent().getStringExtra(EXTRA_TEST_ID), in onCreate()
107 TestResult.setFailedResult(this, getIntent().getStringExtra(EXTRA_TEST_ID), in onCreate()
116 TestResult.setPassedResult(this, getIntent().getStringExtra(EXTRA_TEST_ID), in onCreate()
119 TestResult.setFailedResult(this, getIntent().getStringExtra(EXTRA_TEST_ID), in onCreate()
DRecentsRedactionActivity.java32 import com.android.cts.verifier.TestResult;
62 resultCode = TestResult.TEST_RESULT_PASSED;
64 resultCode = TestResult.TEST_RESULT_FAILED;
68 Intent resultIntent = TestResult.createResult(RecentsRedactionActivity.this, resultCode,
DAuthenticationBoundKeyTestActivity.java30 import com.android.cts.verifier.TestResult;
134 setTestResult(mLockScreenBoundKeyTest, TestResult.TEST_RESULT_FAILED); in onFinish()
142 setTestResult(mLockScreenBoundKeyTest, TestResult.TEST_RESULT_FAILED); in onFinish()
183 setTestResult(mFingerprintBoundKeyTest, TestResult.TEST_RESULT_FAILED); in setupTests()
321 setTestResult(mLockScreenBoundKeyTest, TestResult.TEST_RESULT_PASSED); in handleActivityResult()
324 setTestResult(mLockScreenBoundKeyTest, TestResult.TEST_RESULT_FAILED); in handleActivityResult()
328 setTestResult(mLockScreenBoundKeyTest, TestResult.TEST_RESULT_FAILED); in handleActivityResult()
371 TestResult.TEST_RESULT_PASSED); in onAuthenticationSucceeded()
375 TestResult.TEST_RESULT_FAILED); in onAuthenticationSucceeded()
/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()

1234