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

123456789

/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;
504 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/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/media/libnbaio/
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/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/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);
/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/bluetooth/
H A DBluetoothActivityEnergyInfo.java41 public BluetoothActivityEnergyInfo(long timestamp, int stackState, argument
43 mTimestamp = timestamp;
66 long timestamp = in.readLong();
72 return new BluetoothActivityEnergyInfo(timestamp, stackState,
130 * @return timestamp(real time elapsed in milliseconds since boot) of record creation.
/frameworks/native/services/surfaceflinger/
H A DEventThread.cpp57 mVSyncEvent[i].header.timestamp = 0;
153 void EventThread::onVSyncEvent(nsecs_t timestamp) { argument
157 mVSyncEvent[0].header.timestamp = timestamp;
171 event.header.timestamp = systemTime();
220 nsecs_t timestamp = 0; local
222 timestamp = mVSyncEvent[i].header.timestamp;
223 if (timestamp) {
226 mVSyncEvent[i].header.timestamp
[all...]
/frameworks/av/include/media/nbaio/
H A DAudioStreamOutSink.h53 virtual status_t getNextWriteTimestamp(int64_t *timestamp);
55 virtual status_t getTimestamp(AudioTimestamp& timestamp);
H A DMonoPipeReader.h52 virtual void onTimestamp(const AudioTimestamp& timestamp);
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3DummyStream.h64 nsecs_t timestamp,
88 nsecs_t timestamp);
/frameworks/base/core/java/android/hardware/camera2/
H A DICameraDeviceCallbacks.aidl31 oneway void onCaptureStarted(in CaptureResultExtras resultExtras, long timestamp);
/frameworks/base/telephony/java/android/telephony/
H A DModemActivityInfo.java46 public ModemActivityInfo(long timestamp, int sleepTimeMs, int idleTimeMs, argument
48 mTimestamp = timestamp;
74 long timestamp = in.readLong();
83 return new ModemActivityInfo(timestamp, sleepTimeMs, idleTimeMs,
104 * @return timestamp of record creation
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiActivityEnergyInfo.java64 public WifiActivityEnergyInfo(long timestamp, int stackState, argument
66 mTimestamp = timestamp;
77 + " timestamp=" + mTimestamp
89 long timestamp = in.readLong();
95 return new WifiActivityEnergyInfo(timestamp, stackState,
152 * @return timestamp(wall clock) of record creation
/frameworks/native/services/sensorservice/tests/
H A Dsensorservicetest.cpp41 t = float(buffer[i].timestamp - oldTimeStamp) / s2ns(1);
43 t = float(buffer[i].timestamp - sStartTime) / s2ns(1);
45 oldTimeStamp = buffer[i].timestamp;
49 buffer[i].timestamp,
/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;
/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

Completed in 497 milliseconds

123456789