Home
last modified time | relevance | path

Searched refs:TestResult (Results 1 – 25 of 68) 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/NormalApp/src/com/android/cts/normalapp/
DClientTest.java41 import com.android.cts.util.TestResult;
72 private final SynchronousQueue<TestResult> mResultQueue = new SynchronousQueue<>();
301 final TestResult testResult = getResult(); in testStartNormal()
316 final TestResult testResult = getResult(); in testStartNormal()
332 final TestResult testResult = getResult(); in testStartNormal()
368 final TestResult testResult = getResult(); in testStartEphemeral()
379 final TestResult testResult = getResult(); in testStartEphemeral()
392 final TestResult testResult = getResult(); in testStartEphemeral()
404 final TestResult testResult = getResult(); in testStartEphemeral()
418 final TestResult testResult = getResult(); in testStartEphemeral()
[all …]
DExposedService.java26 import com.android.cts.util.TestResult;
39 TestResult.getBuilder() in onBind()
60 TestResult.getBuilder() in onStartCommand()
DNormalService.java25 import com.android.cts.util.TestResult;
44 TestResult.getBuilder() in onStartCommand()
/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/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()
DClientTest.java72 import com.android.cts.util.TestResult;
112 private final SynchronousQueue<TestResult> mResultQueue = new SynchronousQueue<>();
399 final TestResult testResult = getResult(); in testStartNormal()
411 final TestResult testResult = getResult(); in testStartNormal()
424 final TestResult testResult = getResult(); in testStartNormal()
506 final TestResult testResult = getResult(); in testStartExposed01()
527 final TestResult testResult = getResult(); in testStartExposed02()
549 final TestResult testResult = getResult(); in testStartExposed03()
601 final TestResult testResult = getResult(); in testStartExposed06()
621 final TestResult testResult = getResult(); in testStartExposed07()
[all …]
DEphemeralService.java32 import com.android.cts.util.TestResult;
40 TestResult.getBuilder() in onBind()
53 TestResult.getBuilder() in onStartCommand()
DEphemeralActivity3.java26 import com.android.cts.util.TestResult;
35 TestResult.getBuilder() in onCreate()
DEphemeralActivity2.java26 import com.android.cts.util.TestResult;
35 TestResult.getBuilder() in onCreate()
/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()
DTurnOffWorkActivity.java38 import com.android.cts.verifier.TestResult;
50 setTestResult(mTurnOffWorkTest, TestResult.TEST_RESULT_PASSED);
52 setTestResult(mTurnOnWorkTest, TestResult.TEST_RESULT_PASSED);
86 setTestResult(mTurnOffWorkTest, TestResult.TEST_RESULT_NOT_EXECUTED); in onCreate()
87 setTestResult(mTurnOnWorkTest, TestResult.TEST_RESULT_NOT_EXECUTED); 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,
DByodFlowTestActivity.java42 import com.android.cts.verifier.TestResult;
250 TestResult.TEST_RESULT_PASSED : TestResult.TEST_RESULT_FAILED); in handleStatusUpdate()
757 setProfileOwnerTestResult(TestResult.TEST_RESULT_FAILED); in queryProfileOwner()
766 if (result == TestResult.TEST_RESULT_FAILED) { in setProfileOwnerTestResult()
778 setTestResult(mDiskEncryptionTest, TestResult.TEST_RESULT_FAILED); in checkDiskEncryption()
786 setTestResult(mDiskEncryptionTest, TestResult.TEST_RESULT_FAILED); in handleDiskEncryptionStatus()
795 setTestResult(mDiskEncryptionTest, TestResult.TEST_RESULT_PASSED); in handleDiskEncryptionStatus()
807 setTestResult(mDiskEncryptionTest, TestResult.TEST_RESULT_FAILED); in handleDiskEncryptionStatus()
819 setTestResult(mDiskEncryptionTest, TestResult.TEST_RESULT_FAILED); in handleSetLockForEncryption()
837 setTestResult(mIntentFiltersTest, TestResult.TEST_RESULT_FAILED); in checkIntentFilters()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/base/
DGnssCtsTestResult.java25 import junit.framework.TestResult;
38 public class GnssCtsTestResult extends TestResult {
40 private final TestResult mWrappedTestResult;
44 public GnssCtsTestResult(Context context, TestResult testResult) { in GnssCtsTestResult()
DGnssCtsTestSuite.java20 import junit.framework.TestResult;
42 public void run(TestResult testResult) { in run()
62 public void runTest(Test test, TestResult testResult) { in runTest()
/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/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/
DDialogTestListActivity.java130 setTestResult(mTest, TestResult.TEST_RESULT_PASSED); in onPass()
136 setTestResult(mTest, TestResult.TEST_RESULT_FAILED); in onFail()
193 setTestResult(test, TestResult.TEST_RESULT_FAILED); in handleItemClick()
213 setTestResult(test, TestResult.TEST_RESULT_FAILED); in startTestIntent()
226 TestResult.addResultData(resultIntent, result, test.testName, /* testDetails */ null, in setTestResult()
235 TestResult.addResultData(resultIntent, result, testName, /* testDetails */ null, in setTestResult()
DTestResult.java32 public class TestResult { class
108 static TestResult fromActivityResult(int resultCode, Intent data) { in fromActivityResult()
115 return new TestResult(name, result, details, reportLog, historyCollection); in fromActivityResult()
118 private TestResult( in TestResult() method in TestResult
/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/apps/CtsVerifier/src/com/android/cts/verifier/security/
DCAInstallNotificationVerifierActivity.java39 import com.android.cts.verifier.TestResult;
76 setTestResult(this, TestResult.TEST_RESULT_PASSED); in setupTests()
84 setTestResult(this, TestResult.TEST_RESULT_PASSED); in setupTests()
/cts/hostsidetests/atrace/src/android/atrace/cts/
DAtraceHostTestBase.java26 import com.android.tradefed.result.TestResult;
97 public void run(junit.framework.TestResult result) { in run()
167 for (Map.Entry<TestDescription, TestResult> resultEntry : in runDeviceTests()
170 com.android.ddmlib.testrunner.TestResult.TestStatus.PASSED)) { in runDeviceTests()
/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()

123