Searched refs:timestamp (Results 51 - 75 of 221) sorted by relevance

123456789

/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/
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/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DShaderParam.java128 mData.timestamp ++;
129 mData.timestamp %= sMaxTimeStamp;
130 mField.set_timestamp(0, mData.timestamp, true);
152 mData.timestamp = 1;
/frameworks/native/libs/ui/
H A DFence.cpp121 uint64_t timestamp = 0; local
123 if (pinfo->timestamp_ns > timestamp) {
124 timestamp = pinfo->timestamp_ns;
129 return nsecs_t(timestamp);
/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);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DOutputPort.java94 long timestamp = frame.getTimestamp();
95 if (timestamp == Frame.TIMESTAMP_NOT_SET)
H A DFrame.java55 /** Special timestamp value indicating that no time-stamp was set. */
80 * Set the frame's timestamp in nanoseconds.
82 * @param timestamp the timestamp of this frame in nanoseconds.
84 public final void setTimestamp(long timestamp) { argument
85 mBackingStore.setTimestamp(timestamp);
89 * @return the frame's timestamp in nanoseconds.
96 * @return the frame's timestamp in milliseconds.
/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
H A DCamera2CaptureCallbackSplitter.java90 long timestamp, long frameNumber) {
92 target.onCaptureStarted(session, request, timestamp, frameNumber);
89 onCaptureStarted(CameraCaptureSession session, CaptureRequest request, long timestamp, long frameNumber) argument
/frameworks/base/telecomm/java/android/telecom/
H A DVoicemail.java41 private Voicemail(Long timestamp, String number, PhoneAccountHandle phoneAccountHandle, Long id, argument
44 mTimestamp = timestamp;
60 * The number and the timestamp are mandatory for insertion.
62 public static Builder createForInsertion(long timestamp, String number) { argument
63 return new Builder().setNumber(number).setTimestamp(timestamp);
104 public Builder setTimestamp(long timestamp) { argument
105 mBuilderTimestamp = timestamp;
186 /** The timestamp the voicemail was received, in millis since the epoch, zero if not set. */
/frameworks/base/core/java/android/hardware/
H A DSystemSensorManager.java260 long timestamp) {
267 timestamp);
295 float[] values,int accuracy, long timestamp);
410 long timestamp) {
411 return nativeInjectSensorData(nSensorEventQueue, handle, values, accuracy, timestamp);
420 long timestamp);
457 long timestamp) {
471 t.timestamp = timestamp;
524 long timestamp) {
259 injectSensorDataImpl(Sensor sensor, float[] values, int accuracy, long timestamp) argument
294 nativeInjectSensorData(long eventQ, int handle, float[] values,int accuracy, long timestamp) argument
409 injectSensorDataBase(int handle, float[] values, int accuracy, long timestamp) argument
419 dispatchSensorEvent(int handle, float[] values, int accuracy, long timestamp) argument
456 dispatchSensorEvent(int handle, float[] values, int inAccuracy, long timestamp) argument
523 dispatchSensorEvent(int handle, float[] values, int accuracy, long timestamp) argument
557 injectSensorData(int handle, float[] values,int accuracy, long timestamp) argument
562 dispatchSensorEvent(int handle, float[] values, int accuracy, long timestamp) argument
[all...]
/frameworks/native/include/gui/
H A DIGraphicBufferProducer.h268 // timestamp - a monotonically increasing value in nanoseconds
269 // isAutoTimestamp - if the timestamp was synthesized at queue time
279 inline QueueBufferInput(int64_t timestamp, bool isAutoTimestamp, argument
283 : timestamp(timestamp), isAutoTimestamp(isAutoTimestamp),
292 *outTimestamp = timestamp;
315 int64_t timestamp; member in struct:android::IGraphicBufferProducer::QueueBufferInput
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3IOStreamBase.cpp82 lines.appendFormat(" Frames produced: %d, last timestamp: %" PRId64 " ns\n",
215 nsecs_t timestamp,
232 res = returnBufferCheckedLocked(buffer, timestamp, output,
265 mLastTimestamp = timestamp;
213 returnAnyBufferLocked( const camera3_stream_buffer &buffer, nsecs_t timestamp, bool output) argument
H A DCamera3InputStream.h60 nsecs_t timestamp,
H A DCamera3StreamInterface.h186 nsecs_t timestamp) = 0;
/frameworks/av/include/media/nbaio/
H A DNBAIO.h228 // Returns NO_ERROR if a timestamp is available. The timestamp includes the total number
230 // as of this presentation count. The timestamp parameter is undefined if error is returned.
231 virtual status_t getTimestamp(AudioTimestamp& timestamp) { return INVALID_OPERATION; } argument
321 // Invoked asynchronously by corresponding sink when a new timestamp is available.
322 // Default implementation ignores the timestamp.
323 virtual void onTimestamp(const AudioTimestamp& timestamp) { } argument
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DPerfMeasurement.java125 * timestamp gpu_duration cpu_duration
135 dump.write("timestamp gpu_duration cpu_duration\n");
193 // Discard timestamp and CPU measurement since GPU measurement failed
204 * Add a timestamp to a timing measurement. These are queued up and matched to completed
207 public void addTimestamp(long timestamp) { argument
208 mTimestampQueue.add(timestamp);
/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/midi/
H A DMidiInputPort.java76 public void onSend(byte[] msg, int offset, int count, long timestamp) throws IOException { argument
88 int length = MidiPortImpl.packData(msg, offset, count, timestamp, mBuffer);
H A DMidiOutputPort.java70 long timestamp = MidiPortImpl.getPacketTimestamp(buffer, count);
73 mDispatcher.send(buffer, offset, size, timestamp);
/frameworks/base/wifi/java/android/net/wifi/
H A DScanResult.java110 * timestamp in microseconds (since boot) when
113 public long timestamp; field in class:ScanResult
338 this.timestamp = tsf;
356 this.timestamp = tsf;
374 this.timestamp = tsf;
408 timestamp = source.timestamp;
446 append(", timestamp: ").
447 append(timestamp);
485 dest.writeLong(timestamp);
[all...]
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
H A DBlockingCaptureCallback.java126 long timestamp, long frameNumber) {
127 if (mProxy != null) mProxy.onCaptureStarted(session, request, timestamp, frameNumber);
125 onCaptureStarted(CameraCaptureSession session, CaptureRequest request, long timestamp, long frameNumber) argument
/frameworks/av/include/camera/camera2/
H A DICameraDeviceCallbacks.h63 int64_t timestamp) = 0;
/frameworks/av/include/media/
H A DIAudioTrack.h77 timestamp */
91 /* Return NO_ERROR if timestamp is valid. timestamp is undefined otherwise. */
92 virtual status_t getTimestamp(AudioTimestamp& timestamp) = 0;
/frameworks/av/services/audioflinger/
H A DAudioStreamOut.h61 virtual status_t getPresentationPosition(uint64_t *frames, struct timespec *timestamp);

Completed in 661 milliseconds

123456789