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

123456

/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/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;
504 public long timestamp; field in class:SensorEvent
/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/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/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/media/libnbaio/
H A DMonoPipeReader.cpp89 void MonoPipeReader::onTimestamp(const AudioTimestamp& timestamp) argument
91 mPipe->mTimestampMutator.push(timestamp);
H A DSourceAudioBufferProvider.cpp110 void SourceAudioBufferProvider::onTimestamp(const AudioTimestamp& timestamp) argument
112 mSource->onTimestamp(timestamp);
H A DAudioStreamOutSink.cpp69 status_t AudioStreamOutSink::getNextWriteTimestamp(int64_t *timestamp) { argument
70 ALOG_ASSERT(timestamp != NULL);
78 return mStream->get_next_write_timestamp(mStream, timestamp);
81 status_t AudioStreamOutSink::getTimestamp(AudioTimestamp& timestamp) argument
88 int ok = mStream->get_presentation_position(mStream, &position64, &timestamp.mTime);
92 timestamp.mPosition = position64;
/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/av/camera/camera2/
H A DICameraDeviceCallbacks.cpp72 void onCaptureStarted(const CaptureResultExtras& result, int64_t timestamp) argument
79 data.writeInt64(timestamp);
150 int64_t timestamp = data.readInt64(); local
151 onCaptureStarted(result, timestamp);
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3DummyStream.cpp47 nsecs_t timestamp) {
55 nsecs_t timestamp,
45 returnBufferLocked( const camera3_stream_buffer &buffer, nsecs_t timestamp) argument
53 returnBufferCheckedLocked( const camera3_stream_buffer &buffer, nsecs_t timestamp, bool output, sp<Fence> *releaseFenceOut) argument
/frameworks/base/location/java/android/location/
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/media/java/android/media/
H A DImage.java163 * Get the timestamp associated with this frame.
165 * The timestamp is measured in nanoseconds, and is normally monotonically
168 * timebase of the timestamp depend on the source providing images. See
177 * Set the timestamp associated with this frame.
179 * The timestamp is measured in nanoseconds, and is normally monotonically
182 * timebase of the timestamp depend on the source providing images. See
191 * {@link ImageWriter}, or the timestamp will be generated automatically when
195 * @param timestamp The timestamp to be set for this image.
197 public void setTimestamp(long timestamp) { argument
[all...]
/frameworks/base/services/core/java/com/android/server/location/
H A DGpsStatusListenerHelper.java101 public void onNmeaReceived(final long timestamp, final String nmea) { argument
105 listener.onNmeaReceived(timestamp, nmea);
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/
H A DCamera2CaptureCallbackForwarder.java92 final long timestamp, final long frameNumber) {
96 mListener.onCaptureStarted(session, request, timestamp, frameNumber);
91 onCaptureStarted(final CameraCaptureSession session, final CaptureRequest request, final long timestamp, final long frameNumber) argument

Completed in 1063 milliseconds

123456