Searched defs:timestamp (Results 1 - 25 of 165) sorted by relevance

1234567

/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 ExtendedTimestamp& timestamp) { } argument
/frameworks/base/core/java/android/hardware/
H A DTriggerEvent.java28 * when the trigger happened, the timestamp along with detailed
57 public long timestamp; field in class:TriggerEvent
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
/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 DCountry.java91 private Country(final String countryIso, final int source, long timestamp) { argument
98 mTimestamp = timestamp;
158 * the timestamp value and just checks for equivalence of countryIso and source values.
168 // No need to check the equivalence of the timestamp
188 * and timestamp fields, return true if the countryIso fields are equal
/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/android/hardware/location/
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/core/java/com/android/internal/midi/
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);
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 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
/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/media/java/android/media/midi/
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...]
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...]
/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/media/libnbaio/
H A DMonoPipeReader.cpp75 void MonoPipeReader::onTimestamp(const ExtendedTimestamp &timestamp) argument
77 mPipe->mTimestampMutator.push(timestamp);
H A DSourceAudioBufferProvider.cpp120 void SourceAudioBufferProvider::onTimestamp(const ExtendedTimestamp &timestamp) argument
122 mSource->onTimestamp(timestamp);
H A DAudioStreamOutSink.cpp69 status_t AudioStreamOutSink::getTimestamp(ExtendedTimestamp &timestamp) argument
80 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = position64;
81 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] =
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/
H A DMidiBtleTimeTracker.java38 private long mPreviousResult; // To prevent retrograde timestamp
47 * @param timestamp
51 * @return nanoseconds corresponding to the timestamp
53 public long convertTimestampToNanotime(int timestamp, long now) { argument
54 long deltaMillis = timestamp - mPreviousTimestamp;
55 // will be negative when timestamp wraps
91 // prevent retrograde timestamp
96 mPreviousTimestamp = timestamp;
H A DBluetoothPacketEncoder.java44 // timestamp for first message in current packet
56 public void onSend(byte[] msg, int offset, int count, long timestamp)
60 int milliTimestamp = (int)(timestamp / MILLISECOND_NANOS) & MILLISECOND_MASK;
75 // SysEx start byte must be preceded by a timestamp
78 // SysEx continuation packets must not have timestamp byte
81 if (needsTimestamp) bytesNeeded++; // add one for timestamp byte
95 // write new timestamp byte if necessary
97 // timestamp byte with bits 0 - 6 of timestamp
126 // SysEx End command must be preceeded by a timestamp byt
183 onSend(byte[] msg, int offset, int count, long timestamp) argument
[all...]
/frameworks/native/include/gui/
H A DDisplayEventReceiver.h52 nsecs_t timestamp __attribute__((aligned(8))); member in struct:android::DisplayEventReceiver::Event::Header
/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);
H A DConnectivityMetricsLogger.java58 public void logEvent(long timestamp, int componentTag, int eventTag, Parcelable data) { argument
86 ConnectivityMetricsEvent event = new ConnectivityMetricsEvent(timestamp, componentTag,
/frameworks/base/media/java/android/media/
H A DImage.java173 * Get the timestamp associated with this frame.
175 * The timestamp is measured in nanoseconds, and is normally monotonically
178 * timebase of the timestamp depend on the source providing images. See
187 * Set the timestamp associated with this frame.
189 * The timestamp is measured in nanoseconds, and is normally monotonically
192 * timebase of the timestamp depend on the source providing images. See
201 * {@link ImageWriter}, or the timestamp will be generated automatically when
205 * @param timestamp The timestamp to be set for this image.
207 public void setTimestamp(long timestamp) { argument
[all...]

Completed in 587 milliseconds

1234567