Home
last modified time | relevance | path

Searched refs:timestamp (Results 1 – 25 of 484) sorted by relevance

12345678910>>...20

/frameworks/base/core/java/android/net/
DConnectivityMetricsEvent.java28 final public long timestamp; field in ConnectivityMetricsEvent
39 public ConnectivityMetricsEvent(long timestamp, int componentTag, in ConnectivityMetricsEvent() argument
41 this.timestamp = timestamp; in ConnectivityMetricsEvent()
51 final long timestamp = source.readLong();
55 return new ConnectivityMetricsEvent(timestamp, componentTag,
73 dest.writeLong(timestamp); in writeToParcel()
81 timestamp, timestamp, componentTag, eventTag, data); in toString()
/frameworks/av/camera/
DICameraRecordingProxyListener.cpp41 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) in dataCallbackTimestamp() argument
46 data.writeInt64(timestamp); in dataCallbackTimestamp()
52 void recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) { in recordingFrameHandleCallbackTimestamp() argument
56 data.writeInt64(timestamp); in recordingFrameHandleCallbackTimestamp()
78 nsecs_t timestamp = data.readInt64(); in onTransact() local
81 dataCallbackTimestamp(timestamp, msgType, imageData); in onTransact()
87 nsecs_t timestamp; in onTransact() local
88 status_t res = data.readInt64(&timestamp); in onTransact()
101 recordingFrameHandleCallbackTimestamp(timestamp, handle); in onTransact()
DICameraClient.cpp74 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) in dataCallbackTimestamp() argument
79 data.writeInt64(timestamp); in dataCallbackTimestamp()
85 void recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) { in recordingFrameHandleCallbackTimestamp() argument
89 data.writeInt64(timestamp); in recordingFrameHandleCallbackTimestamp()
132 nsecs_t timestamp = data.readInt64(); in onTransact() local
135 dataCallbackTimestamp(timestamp, msgType, imageData); in onTransact()
141 nsecs_t timestamp; in onTransact() local
142 status_t res = data.readInt64(&timestamp); in onTransact()
154 recordingFrameHandleCallbackTimestamp(timestamp, handle); in onTransact()
/frameworks/base/media/java/android/media/midi/
DMidiPortImpl.java65 public static int packData(byte[] message, int offset, int size, long timestamp, in packData() argument
79 dest[length++] = (byte)timestamp; in packData()
80 timestamp >>= 8; in packData()
126 long timestamp = 0; in getPacketTimestamp() local
130 timestamp = (timestamp << 8) | b; in getPacketTimestamp()
132 return timestamp; in getPacketTimestamp()
DMidiReceiver.java61 abstract public void onSend(byte[] msg, int offset, int count, long timestamp) in onSend() argument
123 public void send(byte[] msg, int offset, int count, long timestamp) in send() argument
128 onSend(msg, offset, length, timestamp); in send()
/frameworks/native/services/surfaceflinger/
DEventThread.cpp58 mVSyncEvent[i].header.timestamp = 0; in EventThread()
157 void EventThread::onVSyncEvent(nsecs_t timestamp) { in onVSyncEvent() argument
161 mVSyncEvent[0].header.timestamp = timestamp; in onVSyncEvent()
175 event.header.timestamp = systemTime(); in onHotplugReceived()
224 nsecs_t timestamp = 0; in waitForEvent() local
226 timestamp = mVSyncEvent[i].header.timestamp; in waitForEvent()
227 if (timestamp) { in waitForEvent()
230 mVSyncEvent[i].header.timestamp = 0; in waitForEvent()
236 if (!timestamp) { in waitForEvent()
256 if (timestamp) { in waitForEvent()
[all …]
/frameworks/base/core/java/com/android/internal/midi/
DMidiEventScheduler.java39 public void onSend(byte[] msg, int offset, int count, long timestamp) in onSend() argument
41 MidiEvent event = createScheduledEvent(msg, offset, count, timestamp); in onSend()
62 private MidiEvent(byte[] msg, int offset, int count, long timestamp) { in MidiEvent() argument
63 super(timestamp); in MidiEvent()
83 long timestamp) { in createScheduledEvent() argument
86 event = new MidiEvent(msg, offset, count, timestamp); in createScheduledEvent()
94 event.setTimestamp(timestamp); in createScheduledEvent()
DMidiFramer.java60 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument
81 offset - sysExStartOffset + 1, timestamp); in onSend()
95 offset - sysExStartOffset, timestamp); in onSend()
98 mReceiver.send(data, offset, 1, timestamp); in onSend()
107 mReceiver.send(mBuffer, 0, mCount, timestamp); in onSend()
119 offset - sysExStartOffset, timestamp); in onSend()
/frameworks/base/core/java/android/app/admin/
DNetworkEvent.java37 long timestamp; field in NetworkEvent
45 NetworkEvent(String packageName, long timestamp) { in NetworkEvent() argument
47 this.timestamp = timestamp; in NetworkEvent()
63 return timestamp; in getTimestamp()
DConnectEvent.java35 public ConnectEvent(String ipAddress, int port, String packageName, long timestamp) { in ConnectEvent() argument
36 super(packageName, timestamp); in ConnectEvent()
45 this.timestamp = in.readLong(); in ConnectEvent()
58 return String.format("ConnectEvent(%s, %d, %d, %s)", ipAddress, port, timestamp, in toString()
90 out.writeLong(timestamp); in writeToParcel()
DDnsEvent.java42 String packageName, long timestamp) { in DnsEvent() argument
43 super(packageName, timestamp); in DnsEvent()
54 this.timestamp = in.readLong(); in DnsEvent()
89 ipAddressesCount, timestamp, packageName); in toString()
121 out.writeLong(timestamp); in writeToParcel()
/frameworks/av/include/media/
DAudioTimestamp.h124 status_t getBestTimestamp(AudioTimestamp *timestamp, Location *location = nullptr) const {
125 if (timestamp == nullptr) {
130 timestamp->mPosition = position;
131 timestamp->mTime.tv_sec = time / 1000000000;
132 timestamp->mTime.tv_nsec = time - timestamp->mTime.tv_sec * 1000000000LL;
/frameworks/av/media/libmedia/
DIAudioTrack.cpp126 virtual status_t getTimestamp(AudioTimestamp& timestamp) { in getTimestamp() argument
133 timestamp.mPosition = reply.readInt32(); in getTimestamp()
134 timestamp.mTime.tv_sec = reply.readInt32(); in getTimestamp()
135 timestamp.mTime.tv_nsec = reply.readInt32(); in getTimestamp()
194 AudioTimestamp timestamp; in onTransact() local
195 status_t status = getTimestamp(timestamp); in onTransact()
198 reply->writeInt32(timestamp.mPosition); in onTransact()
199 reply->writeInt32(timestamp.mTime.tv_sec); in onTransact()
200 reply->writeInt32(timestamp.mTime.tv_nsec); in onTransact()
/frameworks/av/services/camera/libcameraservice/utils/
DTagMonitor.cpp93 void TagMonitor::monitorMetadata(eventSource source, int64_t frameNumber, nsecs_t timestamp, in monitorMetadata() argument
99 if (timestamp == 0) { in monitorMetadata()
100 timestamp = systemTime(SYSTEM_TIME_BOOTTIME); in monitorMetadata()
134 mMonitoringEvents.emplace(source, frameNumber, timestamp, entry); in monitorMetadata()
143 mMonitoringEvents.emplace(source, frameNumber, timestamp, entry); in monitorMetadata()
166 event.frameNumber, event.timestamp, in dumpMonitoredMetadata()
268 TagMonitor::MonitorEvent::MonitorEvent(eventSource src, uint32_t frameNumber, nsecs_t timestamp, in MonitorEvent() argument
272 timestamp(timestamp), in MonitorEvent()
/frameworks/av/media/libnbaio/
DNBLog.cpp343 String8 timestamp, body; in dump() local
349 dumpLine(timestamp, body); in dump()
357 timestamp.appendFormat("[%*s]", (int) width + 4, ""); in dump()
402 dumpLine(timestamp, body); in dump()
405 timestamp.clear(); in dump()
407 timestamp.appendFormat("[%d.%03d to .%.03d by .%.03d to .%.03d]", in dump()
415 timestamp.appendFormat("[%d.%03d]", (int) ts.tv_sec, in dump()
427 dumpLine(timestamp, body); in dump()
432 dumpLine(timestamp, body); in dump()
438 void NBLog::Reader::dumpLine(const String8& timestamp, String8& body) in dumpLine() argument
[all …]
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3ZslStream.cpp43 TimestampFinder(nsecs_t timestamp) : mTimestamp(timestamp) {} in TimestampFinder()
189 nsecs_t timestamp, in returnBufferCheckedLocked() argument
197 timestamp, in returnBufferCheckedLocked()
285 nsecs_t timestamp, in enqueueInputBufferByTimestamp() argument
290 TimestampFinder timestampFinder = TimestampFinder(timestamp); in enqueueInputBufferByTimestamp()
303 if (actual != timestamp) { in enqueueInputBufferByTimestamp()
307 __FUNCTION__, timestamp, actual); in enqueueInputBufferByTimestamp()
/frameworks/native/services/sensorservice/
DSensorFusion.cpp75 if ( event.timestamp - mGyroTime> 0 && in process()
76 event.timestamp - mGyroTime< (int64_t)(5e7) ) { //0.05sec in process()
78 dT = (event.timestamp - mGyroTime) / 1000000000.0f; in process()
94 mGyroTime = event.timestamp; in process()
104 if ( event.timestamp - mAccTime> 0 && in process()
105 event.timestamp - mAccTime< (int64_t)(1e8) ) { //0.1sec in process()
106 dT = (event.timestamp - mAccTime) / 1000000000.0f; in process()
116 mAccTime = event.timestamp; in process()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DCaptureCollector.java129 public void setJpegTimestamp(long timestamp) { in setJpegTimestamp() argument
145 mTimestamp = timestamp; in setJpegTimestamp()
188 public void setPreviewTimestamp(long timestamp) { in setPreviewTimestamp() argument
204 mTimestamp = timestamp; in setPreviewTimestamp()
431 MutableLong timestamp) in waitForRequestCompleted() argument
437 while (!removeRequestIfCompleted(holder, /*out*/timestamp)) { in waitForRequestCompleted()
449 private boolean removeRequestIfCompleted(RequestHolder holder, MutableLong timestamp) { in removeRequestIfCompleted() argument
453 timestamp.value = h.mTimestamp; in removeRequestIfCompleted()
469 public RequestHolder jpegCaptured(long timestamp) { in jpegCaptured() argument
478 h.setJpegTimestamp(timestamp); in jpegCaptured()
[all …]
/frameworks/base/core/jni/
Dandroid_view_DisplayEventReceiver.cpp68 virtual void dispatchVsync(nsecs_t timestamp, int32_t id, uint32_t count);
69 virtual void dispatchHotplug(nsecs_t timestamp, int32_t id, bool connected);
92 void NativeDisplayEventReceiver::dispatchVsync(nsecs_t timestamp, int32_t id, uint32_t count) { in dispatchVsync() argument
99 gDisplayEventReceiverClassInfo.dispatchVsync, timestamp, id, count); in dispatchVsync()
106 void NativeDisplayEventReceiver::dispatchHotplug(nsecs_t timestamp, int32_t id, bool connected) { in dispatchHotplug() argument
113 gDisplayEventReceiverClassInfo.dispatchHotplug, timestamp, id, connected); in dispatchHotplug()
/frameworks/base/core/java/android/gesture/
DGesturePoint.java30 public final long timestamp; field in GesturePoint
35 timestamp = t; in GesturePoint()
49 return new GesturePoint(x, y, timestamp); in clone()
/frameworks/native/services/sensorservice/tests/
Dsensorservicetest.cpp41 t = float(buffer[i].timestamp - oldTimeStamp) / s2ns(1); in receiver()
43 t = float(buffer[i].timestamp - sStartTime) / s2ns(1); in receiver()
45 oldTimeStamp = buffer[i].timestamp; in receiver()
49 buffer[i].timestamp, in receiver()
/frameworks/base/wifi/java/android/net/wifi/
DWifiActivityEnergyInfo.java71 public WifiActivityEnergyInfo(long timestamp, int stackState, in WifiActivityEnergyInfo() argument
74 mTimestamp = timestamp; in WifiActivityEnergyInfo()
99 long timestamp = in.readLong();
106 return new WifiActivityEnergyInfo(timestamp, stackState,
/frameworks/base/telephony/java/android/telephony/
DModemActivityInfo.java46 public ModemActivityInfo(long timestamp, int sleepTimeMs, int idleTimeMs, in ModemActivityInfo() argument
48 mTimestamp = timestamp; in ModemActivityInfo()
77 long timestamp = in.readLong();
86 return new ModemActivityInfo(timestamp, sleepTimeMs, idleTimeMs,
/frameworks/base/telecomm/java/android/telecom/
DVoicemail.java41 private Voicemail(Long timestamp, String number, PhoneAccountHandle phoneAccountHandle, Long id, in Voicemail() argument
44 mTimestamp = timestamp; in Voicemail()
62 public static Builder createForInsertion(long timestamp, String number) { in createForInsertion() argument
63 return new Builder().setNumber(number).setTimestamp(timestamp); in createForInsertion()
104 public Builder setTimestamp(long timestamp) { in setTimestamp() argument
105 mBuilderTimestamp = timestamp; in setTimestamp()
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java289 long timestamp) { in injectSensorDataImpl() argument
296 timestamp); in injectSensorDataImpl()
505 float[] values,int accuracy, long timestamp); in nativeInjectSensorData() argument
618 long timestamp) { in injectSensorDataBase() argument
619 return nativeInjectSensorData(nSensorEventQueue, handle, values, accuracy, timestamp); in injectSensorDataBase()
628 long timestamp); in dispatchSensorEvent() argument
670 long timestamp) { in dispatchSensorEvent() argument
689 t.timestamp = timestamp; in dispatchSensorEvent()
765 long timestamp) { in dispatchSensorEvent() argument
782 t.timestamp = timestamp; in dispatchSensorEvent()
[all …]

12345678910>>...20