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

1234567

/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.cpp70 status_t AudioStreamOutSink::getNextWriteTimestamp(int64_t *timestamp) { argument
71 ALOG_ASSERT(timestamp != NULL);
79 return mStream->get_next_write_timestamp(mStream, timestamp);
82 status_t AudioStreamOutSink::getTimestamp(AudioTimestamp& timestamp) argument
89 int ok = mStream->get_presentation_position(mStream, &position64, &timestamp.mTime);
93 timestamp.mPosition = position64;
H A DMonoPipe.cpp208 status_t MonoPipe::getNextWriteTimestamp(int64_t *timestamp) argument
212 ALOG_ASSERT(NULL != timestamp);
217 observeFrontAndNRPTS(&front, timestamp);
219 if (AudioBufferProvider::kInvalidPTS != *timestamp) {
220 // If we have a valid read-pointer and next read timestamp pair, then
222 // frames are in the buffer, and offset the timestamp by that amt. Then
224 // the next read timestamp plus the current amount of data in the
227 *timestamp = offsetTimestampByAudioFrames(*timestamp, pendingFrames);
316 status_t MonoPipe::getTimestamp(AudioTimestamp& timestamp) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/
H A DICameraDeviceCallbacks.aidl30 oneway void onCaptureStarted(int requestId, long timestamp);
/frameworks/base/core/java/android/hardware/location/
H A DIGeofenceHardwareCallback.aidl24 long timestamp, int monitoringType);
H A DGeofenceHardwareCallback.java33 * @param timestamp The timestamp (elapsed real time in milliseconds) when the transition was
38 long timestamp, int monitoringType) {
37 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/native/services/surfaceflinger/
H A DEventThread.cpp48 mVSyncEvent[i].header.timestamp = 0;
114 void EventThread::onVSyncEvent(nsecs_t timestamp) { argument
118 mVSyncEvent[0].header.timestamp = timestamp;
132 event.header.timestamp = systemTime();
181 nsecs_t timestamp = 0; local
183 timestamp = mVSyncEvent[i].header.timestamp;
184 if (timestamp) {
187 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/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/wifi/java/android/net/wifi/
H A DScanResult.java54 * Time Synchronization Function (tsf) timestamp in microseconds when
57 public long timestamp; field in class:ScanResult
87 this.timestamp = tsf;
101 this.timestamp = tsf;
115 timestamp = source.timestamp;
136 append(", timestamp: ").
137 append(timestamp);
164 dest.writeLong(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,
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3IOStreamBase.h54 // Last received output buffer's timestamp
62 nsecs_t timestamp,
67 nsecs_t timestamp,
H A DCamera3OutputStream.h74 nsecs_t timestamp,
91 nsecs_t timestamp);
H A DCamera3ZslStream.cpp41 TimestampFinder(nsecs_t timestamp) : mTimestamp(timestamp) {} argument
68 // Best result: timestamp is identical
84 // Order i1,i2 so that always i1.timestamp < i2.timestamp
90 // Second best: closest (lower) timestamp
97 // Worst: closest (higher) timestamp
184 nsecs_t timestamp,
192 timestamp,
258 status_t res = returnAnyBufferLocked(buffer, /*timestamp*/
182 returnBufferCheckedLocked( const camera3_stream_buffer &buffer, nsecs_t timestamp, bool output, sp<Fence> *releaseFenceOut) argument
279 enqueueInputBufferByTimestamp( nsecs_t timestamp, nsecs_t* actualTimestamp) argument
[all...]
H A DCamera3ZslStream.h51 * Locate a buffer matching this timestamp in the RingBufferConsumer,
57 status_t enqueueInputBufferByTimestamp(nsecs_t timestamp,
95 nsecs_t timestamp,
/frameworks/base/core/jni/
H A Dandroid_view_DisplayEventReceiver.cpp66 void dispatchVsync(nsecs_t timestamp, int32_t id, uint32_t count);
67 void dispatchHotplug(nsecs_t timestamp, int32_t id, bool connected);
145 ALOGV("receiver %p ~ Vsync pulse: timestamp=%lld, id=%d, count=%d",
168 *outTimestamp = ev.header.timestamp;
173 dispatchHotplug(ev.header.timestamp, ev.header.id, ev.hotplug.connected);
187 void NativeDisplayEventReceiver::dispatchVsync(nsecs_t timestamp, int32_t id, uint32_t count) { argument
192 gDisplayEventReceiverClassInfo.dispatchVsync, timestamp, id, count);
198 void NativeDisplayEventReceiver::dispatchHotplug(nsecs_t timestamp, int32_t id, bool connected) { argument
203 gDisplayEventReceiverClassInfo.dispatchHotplug, timestamp, id, connected);

Completed in 630 milliseconds

1234567