/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/ |
D | FrequencyVerificationTest.java | 40 ISensorVerification verification = getVerification(999.0, 1001.0, timestamps); in testVerifification() local 41 verification.verify(getEnvironment(1000), stats); in testVerifification() 45 verification = getVerification(850.0, 1050.0, timestamps); in testVerifification() 46 verification.verify(getEnvironment(950), stats); in testVerifification() 50 verification = getVerification(950.0, 1150.0, timestamps); in testVerifification() 51 verification.verify(getEnvironment(1050), stats); in testVerifification() 55 verification = getVerification(850.0, 975.0, timestamps); in testVerifification() 57 verification.verify(getEnvironment(950), stats); in testVerifification() 65 verification = getVerification(1025.0, 1150.0, timestamps); in testVerifification() 67 verification.verify(getEnvironment(1050), stats); in testVerifification() [all …]
|
D | MeanVerificationTest.java | 48 MeanVerification verification = getVerification(expected, threshold, values); in testVerify() local 49 verification.verify(stats); in testVerify() 55 verification = getVerification(expected, threshold, values); in testVerify() 56 verification.verify(stats); in testVerify() 62 verification = getVerification(expected, threshold, values); in testVerify() 64 verification.verify(stats); in testVerify() 74 verification = getVerification(expected, threshold, values); in testVerify() 76 verification.verify(stats); in testVerify() 85 verification = getVerification(expected, threshold, values); in testVerify() 87 verification.verify(stats); in testVerify() [all …]
|
D | JitterVerificationTest.java | 51 ISensorVerification verification = getVerification(1, timestamps); in testVerify() local 52 verification.verify(environment, stats); in testVerify() 62 verification = getVerification(1, timestamps); in testVerify() 64 verification.verify(environment, stats); in testVerify() 75 JitterVerification verification = getVerification(1, timestamps); in testCalculateDelta() local 76 List<Long> deltaValues = verification.getDeltaValues(); in testCalculateDelta() 84 verification = getVerification(1, timestamps); in testCalculateDelta() 85 deltaValues = verification.getDeltaValues(); in testCalculateDelta() 93 verification = getVerification(1, timestamps); in testCalculateDelta() 94 deltaValues = verification.getDeltaValues(); in testCalculateDelta() [all …]
|
D | EventOrderingVerificationTest.java | 38 EventOrderingVerification verification = getVerification(); in testNoEvents() local 39 verification.verify(stats); in testNoEvents() 48 EventOrderingVerification verification = getVerification(0, 1, 2, 3, 4); in testSequentialTimestamp() local 49 verification.verify(stats); in testSequentialTimestamp() 58 EventOrderingVerification verification = getVerification(0, 2, 1, 3, 4); in testSingleOutofOrder() local 60 verification.verify(stats); in testSingleOutofOrder() 75 EventOrderingVerification verification = getVerification(4, 0, 1, 2, 3); in testMultipleOutOfOrder() local 77 verification.verify(stats); in testMultipleOutOfOrder() 95 EventOrderingVerification verification = new EventOrderingVerification(); in getVerification() local 96 verification.addSensorEvents(events); in getVerification() [all …]
|
D | EventBasicVerificationTest.java | 51 EventBasicVerification verification; in testVerify() local 54 verification = getVerification(10, sensor1, sensor1, new float[20][3]); in testVerify() 57 verification.verify(stats); in testVerify() 63 verification = getVerification(10, sensor1, sensor1, new float[5][3]); in testVerify() 67 verification.verify(stats); in testVerify() 79 verification = getVerification(10, sensor1, sensor2, new float[15][3]); in testVerify() 83 verification.verify(stats); in testVerify() 102 EventBasicVerification verification = in getVerification() local 104 verification.addSensorEvents(events); in getVerification() 105 return verification; in getVerification()
|
D | MagnitudeVerificationTest.java | 54 MagnitudeVerification verification = getVerification(expected, threshold, values); in runStats() local 56 verification.verify(stats); in runStats() 59 verification.verify(stats); in runStats() 75 MagnitudeVerification verification = new MagnitudeVerification(expected, threshold); in getVerification() local 76 verification.addSensorEvents(events); in getVerification() 77 return verification; in getVerification()
|
D | StandardDeviationVerificationTest.java | 65 StandardDeviationVerification verification = getVerification(threshold, values); in runVerification() local 67 verification.verify(stats); in runVerification() 71 verification.verify(stats); in runVerification() 92 StandardDeviationVerification verification = new StandardDeviationVerification(threshold); in getVerification() local 93 verification.addSensorEvents(events); in getVerification() 94 return verification; in getVerification()
|
D | EventGapVerificationTest.java | 71 ISensorVerification verification = getVerification(expected, timestamps); in runVerification() local 74 verification.verify(environment, stats); in runVerification() 78 verification.verify(environment, stats); in runVerification() 101 EventGapVerification verification = new EventGapVerification(expected); in getVerification() local 102 verification.addSensorEvents(events); in getVerification() 103 return verification; in getVerification()
|
D | TimestampClockSourceVerificationTest.java | 167 ISensorVerification verification = getVerification(expectedUs, timestamps); in runVerification() local 170 verification.verify(environment, stats); in runVerification() 174 verification.verify(environment, stats); in runVerification() 208 … TimestampClockSourceVerification verification = new TimestampClockSourceVerification(expectedUs); in getVerification() local 209 verification.addSensorEvents(events); in getVerification() 210 return verification; in getVerification()
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensoroperations/ |
D | TestSensorOperation.java | 115 public void addVerification(ISensorVerification verification) { in addVerification() argument 116 if (verification != null) { in addVerification() 117 mVerifications.add(verification); in addVerification() 149 for (ISensorVerification verification : mVerifications) { in execute() 150 failed |= evaluateResults(collectedEvents, verification, sb); in execute() 168 for (ISensorVerification verification : mVerifications) { in clone() 169 operation.addVerification(verification.clone()); in clone() 179 ISensorVerification verification, in evaluateResults() argument 184 verification.addSensorEvents(events); in evaluateResults() 185 verification.verify(mEnvironment, getStats()); in evaluateResults()
|
/cts/tests/tests/print/src/android/print/cts/ |
D | PrinterDiscoverySessionLifecycleTest.java | 43 import org.mockito.exceptions.verification.VerificationInOrderFailure;
|