/cts/tests/sensor/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()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/PoseProvider/ |
D | PoseData.java | 35 public double timestamp = 0; field in PoseData 59 public PoseData(float[] sixDoFSensorValues, long timestamp){ in PoseData() argument 60 this.timestamp = timestamp; in PoseData() 70 public PoseData(float[] translation, float[] rotation, long timestamp){ in PoseData() argument 71 this.timestamp = timestamp; in PoseData()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ClipDescriptionTest.java | 50 final long timestamp = clipboardManager.getPrimaryClipDescription().getTimestamp(); in testGetTimestamp() local 51 if (timestamp < timestampBeforeSet || timestamp > timestampAfterSet) { in testGetTimestamp() 55 + "actual timestamp: " + logTime(timestamp) + "\n" in testGetTimestamp()
|
/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/media/src/android/media/cts/ |
D | AudioTrackSurroundTest.java | 214 static String timestampToString(AudioTimestamp timestamp) { in timestampToString() argument 215 if (timestamp == null) in timestampToString() 217 return "(pos = " + timestamp.framePosition + ", nanos = " + timestamp.nanoTime + ")"; in timestampToString() 222 AudioTimestamp timestamp = new AudioTimestamp(); in addTimestamp() local 223 boolean gotTimestamp = track.getTimestamp(timestamp); in addTimestamp() 227 && timestamp.framePosition > 0 in addTimestamp() 228 && (timestamp.nanoTime != mPreviousTimestamp.nanoTime in addTimestamp() 229 || timestamp.framePosition != mPreviousTimestamp.framePosition)) { in addTimestamp() 230 mTimestamps.add(timestamp); in addTimestamp() 232 mPreviousTimestamp = timestamp; in addTimestamp() [all …]
|
D | IvfWriter.java | 144 private static byte[] makeIvfFrameHeader(int size, long timestamp){ in makeIvfFrameHeader() argument 147 lay64bits(frameHeader, 4, timestamp); in makeIvfFrameHeader()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/ |
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 | FrequencyVerification.java | 173 mMinTimestamp = event.timestamp; in addSensorEventInternal() 174 mMaxTimestamp = event.timestamp; in addSensorEventInternal() 176 if (mMinTimestamp > event.timestamp) { in addSensorEventInternal() 177 mMinTimestamp = event.timestamp; in addSensorEventInternal() 179 if (mMaxTimestamp < event.timestamp) { in addSensorEventInternal() 180 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()
|
/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/CameraITS/tests/scene3/ |
D | test_lens_movement_reporting.py | 85 timestamp = cap['metadata']['android.sensor.timestamp'] 87 timestamp_init = timestamp 88 timestamp -= timestamp_init 89 timestamp *= 1E-6 90 data['timestamp'] = timestamp
|
D | test_lens_position.py | 110 timestamp = cap['metadata']['android.sensor.timestamp'] * 1E-6 112 timestamp_init = timestamp 113 timestamp -= timestamp_init 114 data['timestamp'] = timestamp
|
/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/hostsidetests/security/securityPatch/CVE-2016-8434/ |
D | poc.c | 72 unsigned int timestamp; /* Timestamp to trigger event on */ member 139 g_event.timestamp = 0; in main()
|
/cts/tests/camera/utils/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/camera/src/android/hardware/camera2/cts/ |
D | FastBasicsTest.java | 95 Long timestamp = result.get(CaptureResult.SENSOR_TIMESTAMP); in camera2TestByCamera() local 96 assertNotNull("Can't read a capture result timestamp", timestamp); in camera2TestByCamera() 103 assertTrue("Bad timestamps", timestamp2 > timestamp); in camera2TestByCamera()
|