/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 | 116 return (lastEvent.timestamp - firstEvent.timestamp) / (collectionSize - 1); in getSamplingPeriodNs()
|
/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 | 56 long timestamp = 0; in testVerify() local 58 timestamps[i] = timestamp; in testVerify() 59 timestamp += (i % 10 == 0) ? 500000 : 1000000; in testVerify() 104 for (long timestamp : timestamps) { in getVerification() 105 events.add(new TestSensorEvent(null, timestamp, 0, null)); in getVerification()
|
D | EventGapVerification.java | 91 nanosToMillis(info.event.timestamp - info.previousEvent.timestamp))); in verify() 117 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()
|
D | TimestampClockSourceVerificationTest.java | 203 for (long timestamp : timestamps) { in getVerification() 206 events.add(new TestSensorEvent(null, timestamp, receiveTime, 0, null)); in getVerification()
|
/cts/tests/tests/midi/src/android/midi/cts/ |
D | MidiEchoTest.java | 71 public final long timestamp; field in MidiEchoTest.MidiMessage 74 MidiMessage(byte[] buffer, int offset, int length, long timestamp) { in MidiMessage() argument 78 this.timestamp = timestamp; in MidiMessage() 111 long timestamp) { in onSend() argument 112 messages.add(new MidiMessage(data, offset, count, timestamp)); in onSend() 343 long timestamp = 0x0123765489ABFEDCL; in testEchoSmallMessage() local 345 mc.echoInputPort.send(buffer, 0, 0, timestamp); // should be a NOOP in testEchoSmallMessage() 346 mc.echoInputPort.send(buffer, 0, buffer.length, timestamp); in testEchoSmallMessage() 347 mc.echoInputPort.send(buffer, 0, 0, timestamp); // should be a NOOP in testEchoSmallMessage() 360 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/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/tests/tests/media/src/android/media/cts/ |
D | AudioTrackSurroundTest.java | 215 static String timestampToString(AudioTimestamp timestamp) { in timestampToString() argument 216 if (timestamp == null) in timestampToString() 218 return "(pos = " + timestamp.framePosition + ", nanos = " + timestamp.nanoTime + ")"; in timestampToString() 223 AudioTimestamp timestamp = new AudioTimestamp(); in addTimestamp() local 224 boolean gotTimestamp = track.getTimestamp(timestamp); in addTimestamp() 228 if ((timestamp.framePosition > 0) in addTimestamp() 229 && (timestamp.nanoTime != mPreviousTimestamp.nanoTime)) { in addTimestamp() 230 mTimestamps.add(timestamp); in addTimestamp() 233 mPreviousTimestamp = timestamp; in addTimestamp() 248 for (AudioTimestamp timestamp : mTimestamps) { in estimateSampleRate() [all …]
|
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/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()
|
/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/camera/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/gesture/src/android/gesture/cts/ |
D | GesturePointTest.java | 40 assertEquals(expected_timestamp, point.timestamp); in testGesturePointConstructor()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | SurfaceViewPreviewTest.java | 437 long timestamp = result.get(CaptureResult.SENSOR_TIMESTAMP); in measureMeanFrameInterval() local 439 long interval = timestamp - prevTimestamp; in measureMeanFrameInterval() 443 prevTimestamp = timestamp; in measureMeanFrameInterval() 674 long timestamp = 0; in verifyCaptureResults() local 677 assertTrue("Captures are out of order", timestamp < nextTimestamp); in verifyCaptureResults() 678 timestamp = nextTimestamp; in verifyCaptureResults()
|