Home
last modified time | relevance | path

Searched refs:SensorTestDetails (Results 1 – 6 of 6) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DSensorCtsVerifierTestActivity.java20 import com.android.cts.verifier.sensors.reporting.SensorTestDetails;
55 protected SensorTestDetails executeTests() throws InterruptedException { in executeTests()
58 SensorTestDetails testDetails = executeTest(testMethod); in executeTests()
61 return new SensorTestDetails( in executeTests()
86 private SensorTestDetails executeTest(Method testMethod) throws InterruptedException { in executeTest()
91 SensorTestDetails testDetails; in executeTest()
96 new SensorTestDetails(testName, SensorTestDetails.ResultCode.PASS, testSummary); in executeTest()
99 testDetails = new SensorTestDetails(testName, "TestExecution", e.getCause()); in executeTest()
101 testDetails = new SensorTestDetails(testName, "TestInfrastructure", e); in executeTest()
104 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in executeTest()
DBaseSensorTestActivity.java23 import com.android.cts.verifier.sensors.reporting.SensorTestDetails;
189 SensorTestDetails testDetails; in run()
192 testDetails = new SensorTestDetails(testName, SensorTestDetails.ResultCode.PASS); in run()
194 testDetails = new SensorTestDetails(testName, "DeactivateSensorFeatures", e); in run()
197 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in run()
198 if (resultCode == SensorTestDetails.ResultCode.SKIPPED) { in run()
202 if (resultCode == SensorTestDetails.ResultCode.PASS) { in run()
211 testDetails = new SensorTestDetails(testName, "RestoreSensorFeatures", e); in run()
252 protected abstract SensorTestDetails executeTests() throws InterruptedException; in executeTests()
426 private void setTestResult(SensorTestDetails testDetails) { in setTestResult()
[all …]
DSensorCtsTestActivity.java22 import com.android.cts.verifier.sensors.reporting.SensorTestDetails;
115 protected SensorTestDetails executeTests() { in executeTests()
126 return new SensorTestDetails( in executeTests()
128 SensorTestDetails.ResultCode.FAIL, in executeTests()
134 return new SensorTestDetails(getApplicationContext(), getClass().getName(), result); in executeTests()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/reporting/
DSensorTestDetails.java30 public class SensorTestDetails { class
42 public SensorTestDetails(String name, ResultCode resultCode) { in SensorTestDetails() method in SensorTestDetails
46 public SensorTestDetails(String name, ResultCode resultCode, String summary) { in SensorTestDetails() method in SensorTestDetails
52 public SensorTestDetails( in SensorTestDetails() method in SensorTestDetails
70 public SensorTestDetails(Context context, String name, Result result) { in SensorTestDetails() method in SensorTestDetails
78 public SensorTestDetails(String name, String tag, Throwable cause) { in SensorTestDetails() method in SensorTestDetails
105 public SensorTestDetails cloneAndChangeResultCode(ResultCode resultCode) { in cloneAndChangeResultCode()
106 return new SensorTestDetails(mName, resultCode, mSummary); in cloneAndChangeResultCode()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DSensorPowerTestActivity.java22 import com.android.cts.verifier.sensors.reporting.SensorTestDetails;
55 public void logTestResult(SensorTestDetails testDetails) { in logTestResult()
100 SensorTestDetails testDetails = new SensorTestDetails( in testSensorsPower()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/
DPowerTestHostLink.java19 import com.android.cts.verifier.sensors.reporting.SensorTestDetails;
54 void logTestResult(SensorTestDetails testDetails); in logTestResult()
272 SensorTestDetails.ResultCode resultCode = SensorTestDetails.ResultCode.FAIL; in handleSetTestResultCmd()
280 resultCode = SensorTestDetails.ResultCode.PASS; in handleSetTestResultCmd()
285 resultCode = SensorTestDetails.ResultCode.FAIL; in handleSetTestResultCmd()
290 resultCode = SensorTestDetails.ResultCode.SKIPPED; in handleSetTestResultCmd()
307 new SensorTestDetails(testName, resultCode, fullMessage)); in handleSetTestResultCmd()