Searched defs:timestamp (Results 101 - 117 of 117) sorted by relevance

12345

/frameworks/av/media/libmedia/
H A DAudioTrack.cpp607 // the same configuration. A timestamp query for a paused track
1932 status_t AudioTrack::getTimestamp(AudioTimestamp& timestamp) argument
1964 status_t status = mAudioTrack->getTimestamp(timestamp);
1972 timestamp.mPosition = mPausedPosition;
1973 clock_gettime(CLOCK_MONOTONIC, &timestamp.mTime);
1986 const int64_t timestampTimeUs = convertTimespecToUs(timestamp.mTime);
1988 return WOULD_BLOCK; // stale timestamp time, occurs before start.
1991 const int64_t deltaPositionByUs = timestamp.mPosition * 1000000LL / mSampleRate;
2000 timestamp.mPosition);
2004 mStartUs = 0; // no need to check again, start timestamp ha
[all...]
/frameworks/av/media/libstagefright/omx/
H A DOMXNodeInstance.cpp979 OMX_U32 flags, OMX_TICKS timestamp) {
990 return emptyBuffer_l(header, flags, timestamp, (intptr_t)buffer);
1018 OMX_BUFFERHEADERTYPE *header, OMX_U32 flags, OMX_TICKS timestamp, intptr_t debugAddr) {
1020 header->nTimeStamp = timestamp;
1053 OMX_U32 flags, OMX_TICKS timestamp) {
1059 return emptyBuffer_l(header, flags, timestamp, (intptr_t)header->pBuffer);
1184 // fix up the buffer info (especially timestamp) if needed
1188 newMsg.u.extended_buffer_data.timestamp = buffer->nTimeStamp;
976 emptyBuffer( OMX::buffer_id buffer, OMX_U32 rangeOffset, OMX_U32 rangeLength, OMX_U32 flags, OMX_TICKS timestamp) argument
1017 emptyBuffer_l( OMX_BUFFERHEADERTYPE *header, OMX_U32 flags, OMX_TICKS timestamp, intptr_t debugAddr) argument
1050 emptyDirectBuffer( OMX_BUFFERHEADERTYPE *header, OMX_U32 rangeOffset, OMX_U32 rangeLength, OMX_U32 flags, OMX_TICKS timestamp) argument
/frameworks/av/services/audioflinger/
H A DTracks.cpp353 status_t AudioFlinger::TrackHandle::getTimestamp(AudioTimestamp& timestamp) argument
355 return mTrack->getTimestamp(timestamp);
879 status_t AudioFlinger::PlaybackThread::Track::getTimestamp(AudioTimestamp& timestamp) argument
933 timestamp.mPosition = position;
934 timestamp.mTime = time;
935 mPreviousTimestamp = timestamp;
940 return playbackThread->getTimestamp_l(timestamp);
H A DThreads.cpp2445 // and latch them atomically with the timestamp.
2706 status_t AudioFlinger::PlaybackThread::getTimestamp_l(AudioTimestamp& timestamp) argument
2709 return mNormalSink->getTimestamp(timestamp);
2715 mOutput->stream, &position64, &timestamp.mTime);
2717 timestamp.mPosition = (uint32_t)position64;
3106 // obtain the presentation timestamp of the next output buffer
/frameworks/av/services/camera/libcameraservice/device2/
H A DCamera2Device.cpp505 // nsecs_t timestamp = (nsecs_t)ext2 | ((nsecs_t)(ext3) << 32 );
506 // listener->notifyShutter(requestId, timestamp);
1266 result.appendFormat(" frame count: %d, last timestamp %" PRId64 "\n",
1309 int64_t timestamp,
1316 stream->mId, stream->mFrameCount, (void*)(*buffer), timestamp);
1325 err = native_window_set_buffers_timestamp(a, timestamp);
1327 ALOGE("%s: Error setting timestamp on native window: %s (%d)",
1340 stream->mLastTimestamp = timestamp;
1308 enqueue_buffer(const camera2_stream_ops_t* w, int64_t timestamp, buffer_handle_t* buffer) argument
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.cpp1885 nsecs_t timestamp) {
1889 status_t res = stream->returnBuffer(outputBuffers[i], timestamp);
1919 // Sanity check - if sensor timestamp matches shutter timestamp
1922 SET_ERR("sensor timestamp (%" PRId64
1923 ") for frame %d doesn't match shutter timestamp (%" PRId64 ")",
1986 // Check that there's a timestamp in the result metadata
1990 SET_ERR("No timestamp provided by HAL for frame %d!",
2041 // Get shutter timestamp and resultExtras from list of in-flight requests,
2043 // shutter timestamp is
1883 returnOutputBuffers( const camera3_stream_buffer_t *outputBuffers, size_t numBuffers, nsecs_t timestamp) argument
[all...]
/frameworks/base/media/java/android/media/
H A DAudioTrack.java863 * Poll for a timestamp on demand.
866 * you should request a new timestamp once per second until the reported timestamps
868 * Thereafter, query for a new timestamp approximately once every 10 seconds to once per minute.
871 * because the short-term differences between successive timestamp reports are not meaningful.
881 * @param timestamp a reference to a non-null AudioTimestamp instance allocated
883 * @return true if a timestamp is available, or false if no timestamp is available.
884 * If a timestamp if available,
888 * In the case that no timestamp is available, any supplied instance is left unaltered.
889 * A timestamp ma
894 getTimestamp(AudioTimestamp timestamp) argument
[all...]
H A DMediaCodec.java104 * Do not submit multiple input buffers with the same timestamp (unless
251 * @param newTimeUs the presentation timestamp in microseconds.
277 * The presentation timestamp in microseconds for the buffer.
278 * This is derived from the presentation timestamp passed in
810 * @param presentationTimeUs The presentation timestamp in microseconds for this
932 * @param presentationTimeUs The presentation timestamp in microseconds for this
1073 * If you are done with a buffer, use this call to update its surface timestamp
1078 * The timestamp may have special meaning depending on the destination surface.
1084 * you can use the timestamp to render the buffer at a specific time (at the
1085 * VSYNC at or after the buffer timestamp)
1773 MediaImage( ByteBuffer buffer, ByteBuffer info, boolean readOnly, long timestamp, int xOffset, int yOffset, Rect cropRect) argument
[all...]
H A DWebVttRenderer.java74 TextTrackCueSpan(String text, long timestamp) { argument
75 mTimestampMs = timestamp;
77 // spans with timestamp will be enabled by Cue.onTime
95 * Extract all text without style, but with timestamp spans.
279 // timestamp
284 Log.d(TAG, "invalid timestamp tag: <" + mName + ">");
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp472 int64_t timestamp = 0; local
473 if (!input && buffer->meta()->findInt64("timeUs", &timestamp)) {
474 timestamp *= 1000; // adjust to ns
517 (jlong)timestamp,
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_DngCreator.cpp1571 uint32_t timestamp[GPS_VALUE_LENGTH]; local
1578 reinterpret_cast<jint*>(&timestamp));
1621 BAIL_IF_INVALID(writer->addEntry(TAG_GPSTIMESTAMP, 3, timestamp,
/frameworks/base/services/core/jni/
H A Dcom_android_server_location_GpsLocationProvider.cpp94 (jfloat)location->accuracy, (jlong)location->timestamp);
113 static void nmea_callback(GpsUtcTime timestamp, const char* nmea, int length) argument
120 env->CallVoidMethod(mCallbacksObj, method_reportNmea, timestamp);
352 int32_t transition, GpsUtcTime timestamp)
360 (jfloat)location->accuracy, (jlong)location->timestamp,
361 transition, timestamp);
375 jlong timestamp = 0; local
384 timestamp = location->timestamp;
388 flags, latitude, longitude, altitude, speed, bearing, accuracy, timestamp);
351 gps_geofence_transition_callback(int32_t geofence_id, GpsLocation* location, int32_t transition, GpsUtcTime timestamp) argument
[all...]
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp784 void SurfaceFlinger::onVSyncReceived(int type, nsecs_t timestamp) { argument
790 needsHwVsync = mPrimaryDispSync.addResyncSample(timestamp);
967 // timestamp instead.
/frameworks/base/core/java/android/hardware/
H A DCamera.java2098 private static final String KEY_GPS_TIMESTAMP = "gps-timestamp";
3173 * Sets GPS timestamp. This will be stored in JPEG EXIF header.
3175 * @param timestamp GPS timestamp (UTC in seconds since January 1,
3178 public void setGpsTimestamp(long timestamp) { argument
3179 set(KEY_GPS_TIMESTAMP, Long.toString(timestamp));
3193 * Removes GPS latitude, longitude, altitude, and timestamp from the
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifInterface.java1960 * @param timestamp a timestamp to format.
1964 public boolean addDateTimeStampTag(int tagId, long timestamp, TimeZone timezone) { argument
1968 ExifTag t = buildTag(tagId, mDateTimeStampFormat.format(timestamp));
2006 * Creates and sets the GPS timestamp tag.
2008 * @param timestamp a GPS timestamp.
2011 public boolean addGpsDateTimeStampTag(long timestamp) { argument
2012 ExifTag t = buildTag(TAG_GPS_DATE_STAMP, mGPSDateStampFormat.format(timestamp));
2017 mGPSTimeStampCalendar.setTimeInMillis(timestamp);
[all...]
/frameworks/base/services/core/java/com/android/server/location/
H A DGpsLocationProvider.java1377 float speed, float bearing, float accuracy, long timestamp) {
1379 " timestamp: " + timestamp);
1386 mLocation.setTime(timestamp);
1387 // It would be nice to push the elapsed real-time timestamp
1605 private void reportNmea(long timestamp) { argument
1608 mListenerHelper.onNmeaReceived(timestamp, nmea);
1661 long timestamp) {
1666 location.setTime(timestamp);
1712 long timestamp, in
1376 reportLocation(int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument
1653 buildLocation( int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument
1710 reportGeofenceTransition(int geofenceId, int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp, int transition, long transitionTimestamp) argument
1737 reportGeofenceStatus(int status, int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DNotificationCompat.java280 * of a timestamp, as supplied to {@link Builder#setUsesChronometer(boolean)}.
926 * Control whether the timestamp set with {@link #setWhen(long) setWhen} is shown
937 * Instead of presenting <code>when</code> as a timestamp, the notification will show an
3112 * Gets the timestamp of the conversation.
3198 * Sets the timestamp of the most recent message in an unread conversation.
3202 * but without a newer timestamp may result in Android Auto not displaying a
3205 * @param timestamp The timestamp of the most recent message in the conversation.
3208 public Builder setLatestTimestamp(long timestamp) { argument
3209 mLatestTimestamp = timestamp;
[all...]

Completed in 416 milliseconds

12345