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

1234

/frameworks/base/core/java/android/hardware/
H A DSensorEvent.java187 * private float timestamp;
192 * if (timestamp != 0) {
193 * final float dT = (event.timestamp - timestamp) * NS2S;
221 * timestamp = event.timestamp;
452 public long timestamp; field in class:SensorEvent
H A DSystemSensorManager.java107 final long timestamp[] = new long[1];
122 final int sensor = sensors_data_poll(sQueue, values, status, timestamp);
150 values, timestamp, accuracy);
231 void onSensorChangedLocked(Sensor sensor, float[] values, long[] timestamp, int accuracy) { argument
237 t.timestamp = timestamp[0];
397 static native int sensors_data_poll(int queue, float[] values, int[] status, long[] timestamp); argument
/frameworks/native/libs/utils/
H A DSystemClock.cpp122 static inline void checkTimeStamps(int64_t timestamp, argument
136 if (timestamp < prevTimestamp) {
139 timestamp, gettime_method_names[curMethod],
144 *prevTimestampPtr = timestamp;
157 int64_t timestamp; local
169 timestamp = seconds_to_nanoseconds(ts.tv_sec) + ts.tv_nsec;
170 checkTimeStamps(timestamp, &prevTimestamp, &prevMethod,
172 return timestamp;
190 timestamp = seconds_to_nanoseconds(ts.tv_sec) + ts.tv_nsec;
191 checkTimeStamps(timestamp,
[all...]
/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/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);
H A DICameraClient.cpp70 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) argument
75 data.writeInt64(timestamp);
118 nsecs_t timestamp = data.readInt64(); local
121 dataCallbackTimestamp(timestamp, msgType, imageData);
/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
68 this.timestamp = tsf;
81 timestamp = source.timestamp;
100 append(", timestamp: ").
101 append(timestamp);
123 dest.writeLong(timestamp);
/frameworks/native/services/surfaceflinger/
H A DEventThread.cpp47 mVSyncEvent[i].header.timestamp = 0;
114 void EventThread::onVSyncReceived(int type, nsecs_t timestamp) { argument
122 mVSyncEvent[type].header.timestamp = timestamp;
137 event.header.timestamp = systemTime();
186 nsecs_t timestamp = 0; local
188 timestamp = mVSyncEvent[i].header.timestamp;
189 if (timestamp) {
192 mVSyncEvent[i].header.timestamp
[all...]
/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/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);
H A DMonoPipe.cpp205 status_t MonoPipe::getNextWriteTimestamp(int64_t *timestamp) argument
209 ALOG_ASSERT(NULL != timestamp);
214 observeFrontAndNRPTS(&front, timestamp);
216 if (AudioBufferProvider::kInvalidPTS != *timestamp) {
217 // If we have a valid read-pointer and next read timestamp pair, then
219 // frames are in the buffer, and offset the timestamp by that amt. Then
221 // the next read timestamp plus the current amount of data in the
224 *timestamp = offsetTimestampByAudioFrames(*timestamp, pendingFrames);
/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,
H A DICameraClient.h37 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& data) = 0;
/frameworks/av/include/media/nbaio/
H A DAudioStreamOutSink.h53 virtual status_t getNextWriteTimestamp(int64_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);
149 ALOGV("receiver %p ~ Vsync pulse: timestamp=%lld, id=%d, count=%d",
166 *outTimestamp = ev.header.timestamp;
173 dispatchHotplug(ev.header.timestamp, ev.header.id, ev.hotplug.connected);
183 void NativeDisplayEventReceiver::dispatchVsync(nsecs_t timestamp, int32_t id, uint32_t count) { argument
188 gDisplayEventReceiverClassInfo.dispatchVsync, timestamp, id, count);
194 void NativeDisplayEventReceiver::dispatchHotplug(nsecs_t timestamp, int32_t id, bool connected) { argument
199 gDisplayEventReceiverClassInfo.dispatchHotplug, timestamp, id, connected);
/frameworks/native/services/surfaceflinger/tests/vsync/
H A Dvsync.cpp37 float t = float(buffer[i].header.timestamp - oldTimeStamp) / s2ns(1);
40 oldTimeStamp = buffer[i].header.timestamp;
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/include/
H A Dmp4dec_api.h109 uint32 timestamp; member in struct:tagVopHeaderInfo
155 Bool PVDecSetReference(VideoDecControls *decCtrl, uint8 *refYUV, uint32 timestamp);
156 Bool PVDecSetEnhReference(VideoDecControls *decCtrl, uint8 *refYUV, uint32 timestamp);
157 OSCL_IMPORT_REF Bool PVDecodeVideoFrame(VideoDecControls *decCtrl, uint8 *bitstream[], uint32 *timestamp, int32 *buffer_size, uint use_ext_timestamp[], uint8* currYUV);
158 Bool PVDecodeVopHeader(VideoDecControls *decCtrl, uint8 *buffer[], uint32 timestamp[], int32 buffer_size[], VopHeaderInfo *header_info, uint use_ext_timestamp[], uint8 *currYUV);
/frameworks/native/include/gui/
H A DISurfaceTexture.h80 // via requestBuffer. In addition, a timestamp must be provided by the
81 // client for this buffer. The timestamp is measured in nanoseconds, and
91 inline QueueBufferInput(int64_t timestamp, argument
94 : timestamp(timestamp), crop(crop), scalingMode(scalingMode),
99 *outTimestamp = timestamp;
115 int64_t timestamp; member in struct:android::ISurfaceTexture::QueueBufferInput
H A DCpuConsumer.h54 int64_t timestamp; member in struct:android::CpuConsumer::LockedBuffer
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
H A DBandwidthTestUtil.java78 * @param timestamp
82 String timestamp) {
84 "&timestamp=" + timestamp;
119 * Post a given file for a given device and timestamp to the server.
122 * @param timestamp {@link String} timestamp
126 public static boolean postFileToServer(String server, String deviceId, String timestamp, argument
140 new StringPart("timestamp", timestamp),
81 buildDownloadUrl(String server, int size, String deviceId, String timestamp) argument
[all...]
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DShaderParam.java128 mData.timestamp ++;
129 mData.timestamp %= sMaxTimeStamp;
130 mField.set_timestamp(0, mData.timestamp, true);
152 mData.timestamp = 1;
/frameworks/base/cmds/am/
H A DAndroid.mk27 $(TARGET_OUT_NOTICE_FILES)/hash-timestamp: $(TARGET_OUT_NOTICE_FILES)/src/$(1).txt
/frameworks/base/cmds/content/
H A DAndroid.mk29 $(TARGET_OUT_NOTICE_FILES)/hash-timestamp: $(TARGET_OUT_NOTICE_FILES)/src/$(1).txt

Completed in 654 milliseconds

1234