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

1234567891011

/frameworks/base/location/java/android/location/
H A DGnssNmeaListener.java30 void onNmeaReceived(long timestamp, String nmea); argument
H A DOnNmeaMessageListener.java31 * @param timestamp milliseconds since January 1, 1970.
33 void onNmeaMessage(String message, long timestamp); argument
H A DIGnssStatusListener.aidl31 void onNmeaReceived(long timestamp, String nmea);
/frameworks/base/media/java/android/media/midi/
H A DMidiPortImpl.java42 * size of message timestamp in bytes
47 * Data packet overhead is timestamp size plus packet type byte
61 * timestamp is message timestamp to pack
65 public static int packData(byte[] message, int offset, int size, long timestamp, argument
77 // followed by timestamp
79 dest[length++] = (byte)timestamp;
80 timestamp >>= 8;
115 // message length is total buffer length minus size of the timestamp
121 * unpacks timestamp fro
[all...]
H A DMidiReceiver.java58 * @param timestamp the timestamp of the message (based on {@link java.lang.System#nanoTime}
61 abstract public void onSend(byte[] msg, int offset, int count, long timestamp) argument
90 * Called to send MIDI data to the receiver without a timestamp.
109 * Called to send MIDI data to the receiver with a specified timestamp.
110 * Data will be processed by receiver in order first by timestamp, then in the order sent.
120 * @param timestamp the timestamp of the message, based on {@link java.lang.System#nanoTime}
123 public void send(byte[] msg, int offset, int count, long timestamp) argument
128 onSend(msg, offset, length, timestamp);
[all...]
/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;
577 * is as likely to be at the indicated timestamp as anywhere else.
599 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/net/
H A DConnectivityMetricsEvent.java28 final public long timestamp; field in class:ConnectivityMetricsEvent
39 public ConnectivityMetricsEvent(long timestamp, int componentTag, argument
41 this.timestamp = timestamp;
51 final long timestamp = source.readLong();
55 return new ConnectivityMetricsEvent(timestamp, componentTag,
73 dest.writeLong(timestamp);
81 timestamp, timestamp, componentTag, eventTag, data);
/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/core/java/com/android/internal/midi/
H A DMidiEventScheduler.java39 public void onSend(byte[] msg, int offset, int count, long timestamp) argument
41 MidiEvent event = createScheduledEvent(msg, offset, count, timestamp);
62 private MidiEvent(byte[] msg, int offset, int count, long timestamp) { argument
63 super(timestamp);
83 long timestamp) {
86 event = new MidiEvent(msg, offset, count, timestamp);
94 event.setTimestamp(timestamp);
82 createScheduledEvent(byte[] msg, int offset, int count, long timestamp) argument
H A DMidiFramer.java60 public void onSend(byte[] data, int offset, int count, long timestamp) argument
81 offset - sysExStartOffset + 1, timestamp);
95 offset - sysExStartOffset, timestamp);
98 mReceiver.send(data, offset, 1, timestamp);
107 mReceiver.send(mBuffer, 0, mCount, timestamp);
119 offset - sysExStartOffset, timestamp);
H A DMidiDispatcher.java68 public void onSend(byte[] msg, int offset, int count, long timestamp) throws IOException { argument
71 receiver.send(msg, offset, count, timestamp);
/frameworks/av/camera/
H A DICameraRecordingProxyListener.cpp41 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) argument
46 data.writeInt64(timestamp);
52 void recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) { argument
56 data.writeInt64(timestamp);
78 nsecs_t timestamp = data.readInt64(); local
81 dataCallbackTimestamp(timestamp, msgType, imageData);
87 nsecs_t timestamp; local
88 status_t res = data.readInt64(&timestamp);
90 ALOGE("%s: Failed to read timestamp: %s (%d)", __FUNCTION__, strerror(-res), res);
101 recordingFrameHandleCallbackTimestamp(timestamp, handl
[all...]
H A DICameraClient.cpp74 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) argument
79 data.writeInt64(timestamp);
85 void recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) { argument
89 data.writeInt64(timestamp);
132 nsecs_t timestamp = data.readInt64(); local
135 dataCallbackTimestamp(timestamp, msgType, imageData);
141 nsecs_t timestamp; local
142 status_t res = data.readInt64(&timestamp);
144 ALOGE("%s: Failed to read timestamp: %s (%d)", __FUNCTION__, strerror(-res), res);
154 recordingFrameHandleCallbackTimestamp(timestamp, handl
[all...]
/frameworks/av/include/media/
H A DAudioTimestamp.h41 LOCATION_CLIENT, // timestamp of last read frame from client-server track buffer.
42 LOCATION_SERVER, // timestamp of newest frame from client-server track buffer.
43 LOCATION_KERNEL, // timestamp of newest frame in the kernel (alsa) buffer.
45 // Historical data: info when the kernel timestamp was OK (prior to the newest frame).
46 // This may be useful when the newest frame kernel timestamp is unavailable.
48 LOCATION_SERVER_LASTKERNELOK, // timestamp of server the prior time kernel timestamp OK.
49 LOCATION_KERNEL_LASTKERNELOK, // timestamp of kernel the prior time kernel timestamp OK.
76 // timestamp wa
124 getBestTimestamp(AudioTimestamp *timestamp, Location *location = nullptr) const argument
[all...]
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 ExtendedTimestamp& timestamp) { } argument
/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/native/services/surfaceflinger/
H A DEventThread.cpp58 mVSyncEvent[i].header.timestamp = 0;
157 void EventThread::onVSyncEvent(nsecs_t timestamp) { argument
161 mVSyncEvent[0].header.timestamp = timestamp;
175 event.header.timestamp = systemTime();
224 nsecs_t timestamp = 0; local
226 timestamp = mVSyncEvent[i].header.timestamp;
227 if (timestamp) {
230 mVSyncEvent[i].header.timestamp
[all...]
/frameworks/av/include/camera/
H A DICameraRecordingProxyListener.h36 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType,
39 virtual void recordingFrameHandleCallbackTimestamp(nsecs_t timestamp,
/frameworks/av/include/camera/android/hardware/
H A DICameraClient.h38 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& data) = 0;
40 // Invoked to send a recording frame handle with a timestamp. Call
42 virtual void recordingFrameHandleCallbackTimestamp(nsecs_t timestamp,
/frameworks/base/include/androidfw/
H A DDisplayEventDispatcher.h39 virtual void dispatchVsync(nsecs_t timestamp, int32_t id, uint32_t count) = 0;
40 virtual void dispatchHotplug(nsecs_t timestamp, int32_t id, bool connected) = 0;
/frameworks/av/include/media/nbaio/
H A DMonoPipeReader.h52 virtual void onTimestamp(const ExtendedTimestamp &timestamp);
/frameworks/base/telephony/java/android/telephony/
H A DModemActivityInfo.java46 public ModemActivityInfo(long timestamp, int sleepTimeMs, int idleTimeMs, argument
48 mTimestamp = timestamp;
77 long timestamp = in.readLong();
86 return new ModemActivityInfo(timestamp, sleepTimeMs, idleTimeMs,
107 * @return timestamp of record creation
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiActivityEnergyInfo.java71 public WifiActivityEnergyInfo(long timestamp, int stackState, argument
74 mTimestamp = timestamp;
86 + " timestamp=" + mTimestamp
99 long timestamp = in.readLong();
106 return new WifiActivityEnergyInfo(timestamp, stackState,
174 * @return timestamp(wall clock) of record creation

Completed in 5018 milliseconds

1234567891011