Searched defs:timestamp (Results 176 - 200 of 205) sorted by relevance

123456789

/frameworks/base/core/jni/
H A Dandroid_media_AudioTrack.cpp996 AudioTimestamp timestamp; local
997 status_t status = lpTrack->getTimestamp(timestamp);
1004 nTimestamp[0] = (jlong) timestamp.mPosition;
1005 nTimestamp[1] = (jlong) ((timestamp.mTime.tv_sec * 1000000000LL) + timestamp.mTime.tv_nsec);
/frameworks/base/media/java/android/media/
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 + ">");
H A DAudioTrack.java1554 * Poll for a timestamp on demand.
1557 * you should request a new timestamp periodically until the reported timestamps
1562 * query for a new timestamp approximately once every 10 seconds to once per minute.
1565 * because the short-term differences between successive timestamp reports are not meaningful.
1575 * @param timestamp a reference to a non-null AudioTimestamp instance allocated
1577 * @return true if a timestamp is available, or false if no timestamp is available.
1578 * If a timestamp if available,
1582 * In the case that no timestamp is available, any supplied instance is left unaltered.
1583 * A timestamp ma
1593 getTimestamp(AudioTimestamp timestamp) argument
1635 getTimestampWithStatus(AudioTimestamp timestamp) argument
2493 write(@onNull ByteBuffer audioData, int sizeInBytes, @WriteMode int writeMode, long timestamp) argument
[all...]
H A DMediaCodec.java395 timestamp (unless it is <a href="#CSD">codec-specific data</a> marked as such).
581 empty input buffer with the end-of-stream flag set. If using an empty buffer, the timestamp will
588 after the last valid output buffer. The timestamp of such empty buffer should be ignored.
606 <li><strong>Render the buffer with the default timestamp:</strong> Call {@link
608 <li><strong>Render the buffer with a specific timestamp:</strong> Call {@link
609 #releaseOutputBuffer(int, long) releaseOutputBuffer(bufferId, timestamp)}.</li>
612 Since {@link android.os.Build.VERSION_CODES#M}, the default timestamp is the {@linkplain
613 BufferInfo#presentationTimeUs presentation timestamp} of the buffer (converted to nanoseconds).
1485 * @param newTimeUs the presentation timestamp in microseconds.
1511 * The presentation timestamp i
3557 MediaImage( @onNull ByteBuffer buffer, @NonNull ByteBuffer info, boolean readOnly, long timestamp, int xOffset, int yOffset, @Nullable Rect cropRect) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp544 int64_t timestamp = 0; local
545 if (!input && buffer->meta()->findInt64("timeUs", &timestamp)) {
546 timestamp *= 1000; // adjust to ns
589 (jlong)timestamp,
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCameraTestUtils.java384 // Pair<CaptureRequest, Long> is a pair of capture request and timestamp.
392 long timestamp, long frameNumber) {
394 mCaptureStartQueue.put(new Pair(request, timestamp));
437 public TotalCaptureResult getCaptureResult(long timeout, long timestamp) { argument
448 if (currentTs == timestamp) {
597 * Wait until the capture start of a request and expected timestamp arrives or it times
601 * @param timestamp The timestamp for the capture start to wait for.
605 public void waitForCaptureStart(CaptureRequest request, Long timestamp, argument
607 Pair<CaptureRequest, Long> expectedShutter = new Pair<>(request, timestamp);
391 onCaptureStarted(CameraCaptureSession session, CaptureRequest request, long timestamp, long frameNumber) argument
[all...]
/frameworks/base/packages/Shell/src/com/android/shell/
H A DBugreportProgressService.java1205 private static void addEntry(ZipOutputStream zos, String entryName, long timestamp, argument
1208 entry.setTime(timestamp);
/frameworks/base/services/core/java/com/android/server/
H A DBluetoothManagerService.java166 private CharSequence timeToLog(long timestamp) { argument
167 return android.text.format.DateFormat.format("MM-dd HH:mm:ss", timestamp);
178 public ActiveLog(String packageName, boolean enable, long timestamp) { argument
181 mTimestamp = timestamp;
/frameworks/native/libs/gui/
H A DSurface.cpp630 int64_t timestamp; local
634 timestamp = systemTime(SYSTEM_TIME_MONOTONIC);
636 ALOGV("Surface::queueBuffer making up timestamp: %.2f ms",
637 timestamp / 1000000.0);
639 timestamp = mTimestamp;
662 IGraphicBufferProducer::QueueBufferInput input(timestamp, isAutoTimestamp,
1041 int64_t timestamp = va_arg(args, int64_t); local
1042 return setBuffersTimestamp(timestamp);
1472 int Surface::setBuffersTimestamp(int64_t timestamp) argument
1476 mTimestamp = timestamp;
[all...]
/frameworks/native/libs/nativewindow/include/system/
H A Dwindow.h314 * Special timestamp value to indicate that timestamps should be auto-generated
322 * Special timestamp value to indicate the timestamps aren't yet known or
792 * native_window_set_buffers_timestamp(..., int64_t timestamp)
793 * All buffers queued after this call will be associated with the timestamp
794 * parameter specified. If the timestamp is set to NATIVE_WINDOW_TIMESTAMP_AUTO
796 * called. The timestamp is measured in nanoseconds, and is normally monotonically
797 * increasing. The timestamp should be unaffected by time-of-day adjustments,
803 int64_t timestamp)
806 timestamp);
801 native_window_set_buffers_timestamp( struct ANativeWindow* window, int64_t timestamp) argument
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp2173 EGLDisplay dpy, EGLSurface surface, EGLint timestamp)
2194 switch (timestamp) {
2172 eglGetFrameTimestampSupportedANDROID( EGLDisplay dpy, EGLSurface surface, EGLint timestamp) argument
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWC2.cpp63 hwc2_display_t displayId, int64_t timestamp) {
67 device->callVsync(std::move(display), timestamp); local
199 auto timestamp = pending.second; local
200 mVsync(std::move(display), timestamp); local
237 void Device::callVsync(std::shared_ptr<Display> display, nsecs_t timestamp) argument
240 mVsync(std::move(display), timestamp); local
243 mPendingVsyncs.emplace_back(std::move(display), timestamp); local
298 Return<void> onVsync(Hwc2::Display display, int64_t timestamp) override
300 vsync_hook(mDevice, display, timestamp);
62 vsync_hook(hwc2_callback_data_t callbackData, hwc2_display_t displayId, int64_t timestamp) argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiConfigManager.java1510 * 1. Set the |lastConnected| timestamp.
1540 * 1. Set the |lastDisConnected| timestamp.
1690 * @param timestamp timestamp at which the choice was made.
1694 int networkId, String connectChoiceConfigKey, long timestamp) {
1703 config.getNetworkSelectionStatus().setConnectChoiceTimestamp(timestamp);
1812 * @return timestamp in milliseconds from boot when this was set.
2149 * @param nowInMillis current timestamp to be used for age comparison.
1693 setNetworkConnectChoice( int networkId, String connectChoiceConfigKey, long timestamp) argument
/frameworks/base/services/core/jni/
H A Dcom_android_server_location_GnssLocationProvider.cpp335 SET(Time, location.timestamp);
348 Return<void> gnssNmeaCb(int64_t timestamp, const android::hardware::hidl_string& nmea) override;
414 int64_t timestamp, const ::android::hardware::hidl_string& nmea) {
423 env->CallVoidMethod(mCallbacksObj, method_reportNmea, timestamp);
489 hardware::gnss::V1_0::GnssUtcTime timestamp) override;
507 hardware::gnss::V1_0::GnssUtcTime timestamp) {
517 timestamp);
413 gnssNmeaCb( int64_t timestamp, const ::android::hardware::hidl_string& nmea) argument
503 gnssGeofenceTransitionCb( int32_t geofenceId, const android::hardware::gnss::V1_0::GnssLocation& location, GeofenceTransition transition, hardware::gnss::V1_0::GnssUtcTime timestamp) argument
/frameworks/native/libs/hwc2on1adapter/
H A DHWC2On1Adapter.cpp71 int64_t timestamp) {
73 callbacks->mAdapter.hwc1Vsync(display, timestamp);
453 auto timestamp = pending.second; local
454 pendingVsyncs.emplace_back(displayId, timestamp);
2538 void HWC2On1Adapter::hwc1Vsync(int hwc1DisplayId, int64_t timestamp) { argument
2539 ALOGV("Received hwc1Vsync(%d, %" PRId64 ")", hwc1DisplayId, timestamp);
2546 mPendingVsyncs.emplace_back(hwc1DisplayId, timestamp);
2562 vsync(callbackInfo.data, displayId, timestamp);
70 vsyncHook(const hwc_procs_t* procs, int display, int64_t timestamp) argument
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp1983 auto timestamp = mQueueItems[0].mTimestamp; local
1988 bool isPlausible = timestamp < (expectedPresent + s2ns(1));
1990 "relative to expectedPresent %" PRId64, mName.string(), timestamp,
1993 bool isDue = timestamp < expectedPresent;
2043 // timestamp instead.
H A DSurfaceFlinger.cpp577 // Inform native graphics APIs whether the present timestamp is supported:
1135 nsecs_t timestamp) {
1147 needsHwVsync = mPrimaryDispSync.addResyncSample(timestamp);
1601 // timestamp instead.
1134 onVSyncReceived(HWComposer* composer, int32_t type, nsecs_t timestamp) argument
H A DSurfaceFlinger_hwc1.cpp547 // Inform native graphics APIs that the present timestamp is NOT supported:
1038 nsecs_t timestamp) {
1044 needsHwVsync = mPrimaryDispSync.addResyncSample(timestamp);
1320 // timestamp instead.
1037 onVSyncReceived(HWComposer* , int type, nsecs_t timestamp) argument
/frameworks/native/services/surfaceflinger/tests/hwc2/
H A DHwc2Test.cpp40 hwc2_display_t display, int64_t timestamp);
319 void vsyncCallback(hwc2_display_t display, int64_t timestamp) argument
323 mVsyncTimestamp = timestamp;
1814 hwc2_display_t display, int64_t timestamp)
1818 timestamp);
2710 EXPECT_GE(receivedTimestamp, 0) << "failed to get valid timestamp";
1813 hwc2TestVsyncCallback(hwc2_callback_data_t callbackData, hwc2_display_t display, int64_t timestamp) argument
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.cpp1011 m.message.shutter.timestamp = msg.msg.shutter.timestamp;
2337 nsecs_t timestamp) {
2341 status_t res = stream->returnBuffer(outputBuffers[i], timestamp);
2379 // Sanity check - if sensor timestamp matches shutter timestamp in the
2383 SET_ERR("sensor timestamp (%" PRId64
2384 ") for frame %d doesn't match shutter timestamp (%" PRId64 ")",
2495 // Check that there's a timestamp in the result metadata
2496 camera_metadata_entry timestamp local
2335 returnOutputBuffers( const camera3_stream_buffer_t *outputBuffers, size_t numBuffers, nsecs_t timestamp) argument
2860 monitorMetadata(TagMonitor::eventSource source, int64_t frameNumber, nsecs_t timestamp, const CameraMetadata& metadata) argument
[all...]
/frameworks/base/core/java/android/hardware/
H A DCamera.java2120 private static final String KEY_GPS_TIMESTAMP = "gps-timestamp";
3195 * Sets GPS timestamp. This will be stored in JPEG EXIF header.
3197 * @param timestamp GPS timestamp (UTC in seconds since January 1,
3200 public void setGpsTimestamp(long timestamp) { argument
3201 set(KEY_GPS_TIMESTAMP, Long.toString(timestamp));
3215 * 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/am/
H A DActivityRecord.java1931 public void onStartingWindowDrawn(long timestamp) { argument
1934 getStackId(), timestamp);
1939 public void onWindowsDrawn(long timestamp) { argument
1941 mStackSupervisor.mActivityMetricsLogger.notifyWindowsDrawn(getStackId(), timestamp);
1943 reportLaunchTimeLocked(timestamp);
/frameworks/base/services/core/java/com/android/server/location/
H A DGnssLocationProvider.java1518 // It would be nice to push the elapsed real-time timestamp
1698 private void reportNmea(long timestamp) { argument
1702 mListenerHelper.onNmeaReceived(timestamp, nmea);
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DBaseShortcutManagerTest.java1370 * Make a shortcut with an ID and timestamp.
1372 protected ShortcutInfo makeShortcutWithTimestamp(String id, long timestamp) { argument
1376 s.setTimestamp(timestamp);
1381 * Make a shortcut with an ID, a timestamp and an activity component
1383 protected ShortcutInfo makeShortcutWithTimestampWithActivity(String id, long timestamp, argument
1388 s.setTimestamp(timestamp);

Completed in 606 milliseconds

123456789