Searched refs:timestamp (Results 1 - 25 of 197) sorted by relevance

12345678

/frameworks/base/core/java/android/hardware/
H A DSensorEvent.java173 * private float timestamp;
178 * if (timestamp != 0) {
179 * final float dT = (event.timestamp - timestamp) * NS2S;
207 * timestamp = event.timestamp;
502 public long timestamp; field in class:SensorEvent
H A DTriggerEvent.java28 * when the trigger happened, the timestamp along with detailed
57 public long timestamp; field in class:TriggerEvent
/frameworks/base/core/java/android/gesture/
H A DGesturePoint.java30 public final long timestamp; field in class:GesturePoint
35 timestamp = t;
42 // Read timestamp
49 return new GesturePoint(x, y, timestamp);
/frameworks/av/media/libnbaio/
H A DAudioStreamOutSink.cpp69 status_t AudioStreamOutSink::getNextWriteTimestamp(int64_t *timestamp) { argument
70 ALOG_ASSERT(timestamp != NULL);
78 return mStream->get_next_write_timestamp(mStream, timestamp);
81 status_t AudioStreamOutSink::getTimestamp(AudioTimestamp& timestamp) argument
88 int ok = mStream->get_presentation_position(mStream, &position64, &timestamp.mTime);
92 timestamp.mPosition = position64;
H A DMonoPipe.cpp226 status_t MonoPipe::getNextWriteTimestamp(int64_t *timestamp) argument
230 ALOG_ASSERT(NULL != timestamp);
235 observeFrontAndNRPTS(&front, timestamp);
237 if (AudioBufferProvider::kInvalidPTS != *timestamp) {
238 // If we have a valid read-pointer and next read timestamp pair, then
240 // frames are in the buffer, and offset the timestamp by that amt. Then
242 // the next read timestamp plus the current amount of data in the
245 *timestamp = offsetTimestampByAudioFrames(*timestamp, pendingFrames);
334 status_t MonoPipe::getTimestamp(AudioTimestamp& timestamp) argument
[all...]
/frameworks/base/core/java/android/hardware/location/
H A DIGeofenceHardwareCallback.aidl24 long timestamp, int monitoringType);
H A DGeofenceHardwareCallback.java37 * @param timestamp The timestamp (elapsed real time in milliseconds) when the transition was
42 long timestamp, int monitoringType) {
41 onGeofenceTransition(int geofenceId, int transition, Location location, long timestamp, int monitoringType) argument
/frameworks/base/location/java/android/location/
H A DIGpsStatusListener.aidl32 void onNmeaReceived(long timestamp, String nmea);
/frameworks/av/camera/
H A DICameraRecordingProxyListener.cpp38 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) argument
43 data.writeInt64(timestamp);
61 nsecs_t timestamp = data.readInt64(); local
64 dataCallbackTimestamp(timestamp, msgType, imageData);
/frameworks/av/include/media/
H A DExtendedAudioBufferProvider.h32 // Invoked by buffer consumer when a new timestamp is available.
33 // Default implementation ignores the timestamp.
34 virtual void onTimestamp(const AudioTimestamp& timestamp) { } argument
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothActivityEnergyInfo.java34 private final long timestamp; field in class:BluetoothActivityEnergyInfo
48 timestamp = System.currentTimeMillis();
54 + " timestamp=" + timestamp
127 * @return timestamp(wall clock) of record creation
130 return timestamp;
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiActivityEnergyInfo.java34 private final long timestamp; field in class:WifiActivityEnergyInfo
48 timestamp = System.currentTimeMillis();
54 + " timestamp=" + timestamp
127 * @return timestamp(wall clock) of record creation
130 return timestamp;
/frameworks/native/services/surfaceflinger/
H A DEventThread.cpp57 mVSyncEvent[i].header.timestamp = 0;
148 void EventThread::onVSyncEvent(nsecs_t timestamp) { argument
152 mVSyncEvent[0].header.timestamp = timestamp;
166 event.header.timestamp = systemTime();
215 nsecs_t timestamp = 0; local
217 timestamp = mVSyncEvent[i].header.timestamp;
218 if (timestamp) {
221 mVSyncEvent[i].header.timestamp
[all...]
/frameworks/av/include/media/nbaio/
H A DAudioStreamOutSink.h53 virtual status_t getNextWriteTimestamp(int64_t *timestamp);
55 virtual status_t getTimestamp(AudioTimestamp& timestamp);
H A DMonoPipeReader.h52 virtual void onTimestamp(const AudioTimestamp& timestamp);
H A DSourceAudioBufferProvider.h40 virtual void onTimestamp(const AudioTimestamp& timestamp);
H A DMonoPipe.h75 virtual status_t getNextWriteTimestamp(int64_t *timestamp);
94 // Return NO_ERROR if there is a timestamp available
95 status_t getTimestamp(AudioTimestamp& timestamp);
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3DummyStream.h64 nsecs_t timestamp,
86 nsecs_t timestamp);
H A DCamera3DummyStream.cpp47 nsecs_t timestamp) {
55 nsecs_t timestamp,
45 returnBufferLocked( const camera3_stream_buffer &buffer, nsecs_t timestamp) argument
53 returnBufferCheckedLocked( const camera3_stream_buffer &buffer, nsecs_t timestamp, bool output, sp<Fence> *releaseFenceOut) argument
H A DCamera3IOStreamBase.h57 // Last received output buffer's timestamp
65 nsecs_t timestamp,
70 nsecs_t timestamp,
/frameworks/base/core/java/android/hardware/camera2/
H A DICameraDeviceCallbacks.aidl31 oneway void onCaptureStarted(in CaptureResultExtras resultExtras, long timestamp);
H A DCameraCaptureSession.java480 * with the actual timestamp for the start of exposure. This timestamp
481 * matches the timestamp that will be included in
482 * {@link CaptureResult#SENSOR_TIMESTAMP the result timestamp field},
498 * @param timestamp the timestamp at start of capture, in nanoseconds.
504 CaptureRequest request, long timestamp, long frameNumber) {
506 onCaptureStarted(session, request, timestamp);
514 CaptureRequest request, long timestamp) {
503 onCaptureStarted(CameraCaptureSession session, CaptureRequest request, long timestamp, long frameNumber) argument
513 onCaptureStarted(CameraCaptureSession session, CaptureRequest request, long timestamp) argument
/frameworks/native/services/sensorservice/tests/
H A Dsensorservicetest.cpp40 t = float(buffer[i].timestamp - oldTimeStamp) / s2ns(1);
42 t = float(buffer[i].timestamp - sStartTime) / s2ns(1);
44 oldTimeStamp = buffer[i].timestamp;
48 buffer[i].timestamp,
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DGLEnvironment.java141 public void setSurfaceTimestamp(long timestamp) { argument
142 if (!nativeSetSurfaceTimestamp(timestamp)) {
143 throw new RuntimeException("Could not set timestamp for current surface!");
183 private native boolean nativeSetSurfaceTimestamp(long timestamp); argument
/frameworks/av/include/camera/
H A DICameraRecordingProxyListener.h35 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType,

Completed in 352 milliseconds

12345678