/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
D | TestSensorEvent.java | 31 public final long timestamp; field in TestSensorEvent 56 timestamp = event.timestamp; in TestSensorEvent() 65 public TestSensorEvent(Sensor sensor, long timestamp, int accuracy, float[] values) { in TestSensorEvent() argument 66 this(sensor, timestamp, timestamp, accuracy, values); in TestSensorEvent() 72 public TestSensorEvent(Sensor sensor, long timestamp, long receivedTimestamp, int accuracy, in TestSensorEvent() argument 75 this.timestamp = timestamp; in TestSensorEvent() 85 this.timestamp, in toString()
|
D | SensorCalibratedUncalibratedVerifier.java | 83 long calibratedTimestampNs = calibratedEvent.timestamp; in verifyMeasurements() 88 long uncalibratedTimestampNs = uncalibratedEvent.timestamp; in verifyMeasurements()
|
D | SensorCtsHelper.java | 105 return (lastEvent.timestamp - firstEvent.timestamp) / (collectionSize - 1); in getSamplingPeriodNs()
|
/cts/tests/tests/midi/src/android/midi/cts/ |
D | MidiEchoTest.java | 63 public final long timestamp; field in MidiEchoTest.MidiMessage 66 MidiMessage(byte[] buffer, int offset, int length, long timestamp) { in MidiMessage() argument 70 this.timestamp = timestamp; in MidiMessage() 98 long timestamp) { in onSend() argument 99 messages.add(new MidiMessage(data, offset, count, timestamp)); in onSend() 329 long timestamp = 0x0123765489ABFEDCL; in testEchoSmallMessage() local 331 mc.echoInputPort.send(buffer, 0, 0, timestamp); // should be a NOOP in testEchoSmallMessage() 332 mc.echoInputPort.send(buffer, 0, buffer.length, timestamp); in testEchoSmallMessage() 333 mc.echoInputPort.send(buffer, 0, 0, timestamp); // should be a NOOP in testEchoSmallMessage() 346 assertEquals("timestamp in message", timestamp, message.timestamp); in testEchoSmallMessage() [all …]
|
D | MidiEchoTestService.java | 66 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument 72 mOutputReceiver.send(data, offset, count, timestamp); in onSend()
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/ |
D | FrequencyVerification.java | 160 mMinTimestamp = event.timestamp; in addSensorEventInternal() 161 mMaxTimestamp = event.timestamp; in addSensorEventInternal() 163 if (mMinTimestamp > event.timestamp) { in addSensorEventInternal() 164 mMinTimestamp = event.timestamp; in addSensorEventInternal() 166 if (mMaxTimestamp < event.timestamp) { in addSensorEventInternal() 167 mMaxTimestamp = event.timestamp; in addSensorEventInternal()
|
D | EventOrderingVerification.java | 86 info.index, nanosToMillis(info.previousEvent.timestamp), in verify() 87 nanosToMillis(info.event.timestamp))); in verify() 114 mMaxTimestamp = event.timestamp; in addSensorEventInternal() 116 if (event.timestamp <= mMaxTimestamp) { in addSensorEventInternal() 119 mMaxTimestamp = event.timestamp; in addSensorEventInternal()
|
D | JitterVerificationTest.java | 57 long timestamp = 0; in testVerify() local 59 timestamps[i] = timestamp; in testVerify() 60 timestamp += (i % 10 == 0) ? 500000 : 1000000; in testVerify() 105 for (long timestamp : timestamps) { in getVerification() 106 events.add(new TestSensorEvent(null, timestamp, 0, null)); in getVerification()
|
D | EventGapVerification.java | 88 nanosToMillis(info.event.timestamp - info.previousEvent.timestamp))); in verify() 114 long deltaNs = event.timestamp - mPreviousEvent.timestamp; in addSensorEventInternal()
|
D | EventGapVerificationTest.java | 98 for (long timestamp : timestamps) { in getVerification() 99 events.add(new TestSensorEvent(null, timestamp, 0, null)); in getVerification()
|
D | FrequencyVerificationTest.java | 84 for (long timestamp : timestamps) { in getVerification() 85 events.add(new TestSensorEvent(null, timestamp, 0, null)); in getVerification()
|
D | EventOrderingVerificationTest.java | 92 for (long timestamp : timestamps) { in getVerification() 93 events.add(new TestSensorEvent(null, timestamp, 0, null)); in getVerification()
|
/cts/tests/tests/net/src/android/net/wifi/cts/ |
D | ScanResultTest.java | 157 long timestamp = 0; in testScanResultTimeStamp() local 168 timestamp = result.timestamp; in testScanResultTimeStamp() 169 assertTrue(timestamp != 0); in testScanResultTimeStamp() 180 long timeDiff = (result.timestamp - timestamp) / 1000; in testScanResultTimeStamp()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/ |
D | LocationVerifier.java | 85 long timestamp = location.getTime(); in onLocationChanged() local 86 long delta = timestamp - mLastActiveTimestamp; in onLocationChanged() 87 mLastActiveTimestamp = timestamp; in onLocationChanged() 172 long timestamp = location.getTime(); in onLocationChanged() local 173 long delta = timestamp - mLastPassiveTimestamp; in onLocationChanged() 174 mLastPassiveTimestamp = timestamp; in onLocationChanged()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | StepCounterTestActivity.java | 237 counterEvent.timestamp); in verifyStepCounterMeasurements() 245 counterEvent.timestamp, in verifyStepCounterMeasurements() 269 counterEvent.timestamp, in verifyStepCounterMeasurements() 337 private void logUserReportedStep(long timestamp) throws InterruptedException { in logUserReportedStep() argument 342 mTimestampsUserReported.add(timestamp); in logUserReportedStep() 343 getTestLogger().logMessage(R.string.snsr_step_reported, timestamp); in logUserReportedStep()
|
D | SensorSynchronizationTestActivity.java | 81 accMovementTimestamp = event.timestamp; in analyzeData() 89 magMovementTimestamp = event.timestamp; in analyzeData() 97 gyrMovementTimestamp = event.timestamp; in analyzeData()
|
D | RVCVXCheckAnalyzer.java | 883 double timestamp; in analyzeVideo() local 887 timestamp = (double)ts[0] / 1e6; in analyzeVideo() 889 timestamp = (double) i / meta.fps; in analyzeVideo() 891 if (LOCAL_LOGV) Log.v(TAG, String.format("Added frame %d ts = %f", i, timestamp)); in analyzeVideo() 892 recs.add(new AttitudeRec(timestamp, rodr2rpy(rv))); in analyzeVideo() 1193 private long timestamp; field in RVCVXCheckAnalyzer.VideoDecoderForOpenCV.MatBuffer 1206 timestamp = -1; in MatBuffer() 1231 ts[0] = timestamp; in get() 1248 timestamp = ts; in put()
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | DeletedContactUtil.java | 80 long timestamp) { in querySinceTimestamp() argument 82 String[] args = new String[] {timestamp + ""}; in querySinceTimestamp()
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
D | TestSummaryXml.java | 48 public TestSummaryXml(int id, String timestamp) { in TestSummaryXml() argument 50 mTimestamp = timestamp; in TestSummaryXml()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | IvfWriter.java | 137 private static byte[] makeIvfFrameHeader(int size, long timestamp){ in makeIvfFrameHeader() argument 140 lay64bits(frameHeader, 4, timestamp); in makeIvfFrameHeader()
|
D | MidiSoloTest.java | 55 public void onSend(byte[] msg, int offset, int count, long timestamp) in onSend() argument 119 long timestamp) throws IOException { in testMidiReceiver()
|
/cts/tests/tests/gesture/src/android/gesture/cts/ |
D | GesturePointTest.java | 40 assertEquals(expected_timestamp, point.timestamp); in testGesturePointConstructor()
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/ |
D | CameraSessionUtils.java | 127 long timestamp, long frameNumber) { in onCaptureStarted() argument 128 mCaptureTimeQueue.offer(timestamp); in onCaptureStarted() 129 super.onCaptureStarted(session, request, timestamp, frameNumber); in onCaptureStarted()
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
D | SurfaceViewPreviewTest.java | 316 long timestamp = result.get(CaptureResult.SENSOR_TIMESTAMP); in measureMeanFrameInterval() local 318 long interval = timestamp - prevTimestamp; in measureMeanFrameInterval() 322 prevTimestamp = timestamp; in measureMeanFrameInterval() 482 long timestamp = 0; in verifyCaptureResults() local 485 assertTrue("Captures are out of order", timestamp < nextTimestamp); in verifyCaptureResults() 486 timestamp = nextTimestamp; in verifyCaptureResults()
|
D | BurstCaptureTest.java | 321 long timestamp = burstResult.get(CaptureResult.SENSOR_TIMESTAMP); in yuvBurstTestByCamera() local 323 long frameDuration = timestamp - prevTimestamp; in yuvBurstTestByCamera() 330 prevTimestamp = timestamp; in yuvBurstTestByCamera()
|