Home
last modified time | relevance | path

Searched refs:timestampBase (Results 1 – 2 of 2) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DReadoutTimestampTest.java87 for (int timestampBase : timestampBases) { in testReadoutTimestamp()
88 testReadoutTimestamp(cameraId, timestampBase); in testReadoutTimestamp()
96 private void testReadoutTimestamp(String cameraId, int timestampBase) throws Exception { in testReadoutTimestamp() argument
98 " with timestampBase " + timestampBase); in testReadoutTimestamp()
126 configuration.setTimestampBase(timestampBase); in testReadoutTimestamp()
157 assertTrue("Camera " + cameraId + " timestampBase " + timestampBase in testReadoutTimestamp()
164 + "be from onCaptureStarted", cameraId, timestampBase, i * 2), in testReadoutTimestamp()
167 + "be from onReadoutStarted", cameraId, timestampBase, i * 2 + 1), in testReadoutTimestamp()
171 if (timestampBase == OutputConfiguration.TIMESTAMP_BASE_DEFAULT || in testReadoutTimestamp()
172 timestampBase == OutputConfiguration.TIMESTAMP_BASE_SENSOR || in testReadoutTimestamp()
[all …]
DImageReaderTest.java1729 int timestampBase = params.mTimestampBase; in bufferFormatTestByCamera() local
1750 boolean validateTimestampBase = (timestampBase in bufferFormatTestByCamera()
1816 validateTimestamps(deviceTimestampSource, timestampBase, numFrameVerified, in bufferFormatTestByCamera()
1839 if (timestampBase != OutputConfiguration.TIMESTAMP_BASE_DEFAULT) break; in bufferFormatTestByCamera()
2074 private void validateTimestamps(Integer deviceTimestampSource, int timestampBase, in validateTimestamps() argument
2107 + ", timestampBase: " + timestampBase + ", captureStartTimestamps: " in validateTimestamps()
2110 if (timestampBase == OutputConfiguration.TIMESTAMP_BASE_SENSOR in validateTimestamps()
2111 || (timestampBase == OutputConfiguration.TIMESTAMP_BASE_MONOTONIC in validateTimestamps()
2113 || (timestampBase == OutputConfiguration.TIMESTAMP_BASE_REALTIME in validateTimestamps()
2122 } else if (timestampBase == OutputConfiguration.TIMESTAMP_BASE_CHOREOGRAPHER_SYNCED) { in validateTimestamps()