Home
last modified time | relevance | path

Searched refs:timestamp (Results 1 – 25 of 48) sorted by relevance

12

/cts/tests/tests/hardware/src/android/hardware/cts/helpers/
DTestSensorEvent.java31 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()
DSensorCalibratedUncalibratedVerifier.java83 long calibratedTimestampNs = calibratedEvent.timestamp; in verifyMeasurements()
88 long uncalibratedTimestampNs = uncalibratedEvent.timestamp; in verifyMeasurements()
DSensorCtsHelper.java105 return (lastEvent.timestamp - firstEvent.timestamp) / (collectionSize - 1); in getSamplingPeriodNs()
/cts/tests/tests/midi/src/android/midi/cts/
DMidiEchoTest.java63 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 …]
DMidiEchoTestService.java66 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/
DFrequencyVerification.java160 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()
DEventOrderingVerification.java86 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()
DJitterVerificationTest.java57 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()
DEventGapVerification.java88 nanosToMillis(info.event.timestamp - info.previousEvent.timestamp))); in verify()
114 long deltaNs = event.timestamp - mPreviousEvent.timestamp; in addSensorEventInternal()
DEventGapVerificationTest.java98 for (long timestamp : timestamps) { in getVerification()
99 events.add(new TestSensorEvent(null, timestamp, 0, null)); in getVerification()
DFrequencyVerificationTest.java84 for (long timestamp : timestamps) { in getVerification()
85 events.add(new TestSensorEvent(null, timestamp, 0, null)); in getVerification()
DEventOrderingVerificationTest.java92 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/
DScanResultTest.java157 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/
DLocationVerifier.java85 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/
DStepCounterTestActivity.java237 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()
DSensorSynchronizationTestActivity.java81 accMovementTimestamp = event.timestamp; in analyzeData()
89 magMovementTimestamp = event.timestamp; in analyzeData()
97 gyrMovementTimestamp = event.timestamp; in analyzeData()
DRVCVXCheckAnalyzer.java883 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/
DDeletedContactUtil.java80 long timestamp) { in querySinceTimestamp() argument
82 String[] args = new String[] {timestamp + ""}; in querySinceTimestamp()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DTestSummaryXml.java48 public TestSummaryXml(int id, String timestamp) { in TestSummaryXml() argument
50 mTimestamp = timestamp; in TestSummaryXml()
/cts/tests/tests/media/src/android/media/cts/
DIvfWriter.java137 private static byte[] makeIvfFrameHeader(int size, long timestamp){ in makeIvfFrameHeader() argument
140 lay64bits(frameHeader, 4, timestamp); in makeIvfFrameHeader()
DMidiSoloTest.java55 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/
DGesturePointTest.java40 assertEquals(expected_timestamp, point.timestamp); in testGesturePointConstructor()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/
DCameraSessionUtils.java127 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/
DSurfaceViewPreviewTest.java316 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()
DBurstCaptureTest.java321 long timestamp = burstResult.get(CaptureResult.SENSOR_TIMESTAMP); in yuvBurstTestByCamera() local
323 long frameDuration = timestamp - prevTimestamp; in yuvBurstTestByCamera()
330 prevTimestamp = timestamp; in yuvBurstTestByCamera()

12