Searched refs:timestamp (Results 126 - 150 of 221) sorted by relevance

123456789

/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DLegacyCameraDevice.java190 public void onCaptureStarted(final RequestHolder holder, final long timestamp) {
201 mDeviceCallbacks.onCaptureStarted(extras, timestamp);
700 static void setNextTimestamp(Surface surface, long timestamp) argument
703 LegacyExceptionUtils.throwOnError(nativeSetNextTimestamp(surface, timestamp));
738 private static native int nativeSetNextTimestamp(Surface surface, long timestamp); argument
H A DSurfaceTextureRenderer.java590 private void addGlTimestamp(long timestamp) { argument
592 mPerfMeasurer.addTimestamp(timestamp);
693 long timestamp = mSurfaceTexture.getTimestamp();
695 Pair<RequestHolder, Long> captureHolder = targetCollector.previewCaptured(timestamp);
712 addGlTimestamp(timestamp);
H A DLegacyResultMapper.java58 * @param timestamp the timestamp to use for this result in nanoseconds.
63 LegacyRequest legacyRequest, long timestamp) {
87 // sensor.timestamp
88 result.set(SENSOR_TIMESTAMP, timestamp);
93 " timestamp = " + timestamp);
252 // sensor.timestamp varies every frame; mapping is done in #cachedConvertResultMetadata
62 cachedConvertResultMetadata( LegacyRequest legacyRequest, long timestamp) argument
/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/base/core/java/android/hardware/camera2/
H A DDngCreator.java99 Long timestamp = metadata.get(CaptureResult.SENSOR_TIMESTAMP);
101 if (timestamp != null) {
102 captureTime = timestamp / 1000000 + bootTimeMillis;
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
H A DMediaSource.java335 long timestamp = mSurfaceTexture.getTimestamp();
336 if (mLogVerbose) Log.v(TAG, "Timestamp: " + (timestamp / 1000000000.0) + " s");
337 output.setTimestamp(timestamp);
/frameworks/av/include/media/nbaio/
H A DNBLog.h195 void dumpLine(const String8& timestamp, String8& body);
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/include/
H A Dmp4enc_api.h123 ULong timestamp; /* modulo timestamp in millisecond*/ member in struct:tagvideoEncFrameIO
331 * @param nextModTime is the timestamp encoder expects from the next input
354 * @brief This function sets the input YUV frame and timestamp to be encoded by the slice-based encoding function PVEncodeSlice().
356 * The encoder library processes the timestamp and determine if this frame is to be encoded or not. If the current frame
361 * @param nextModTime is the timestamp encoder expects from the next input if this input is rejected and nLayer is set to -1.
373 * At the end-of-frame, the next video input address and the next video modulo timestamp will be set.
380 * @param nextModTime is the timestamp encoder expects from the next input
/frameworks/av/media/libstagefright/omx/
H A DOMX.cpp432 OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) {
434 buffer, range_offset, range_length, flags, timestamp, fenceFd);
480 msg.u.render_data.timestamp = renderData[i].nMediaTimeUs;
528 msg.u.extended_buffer_data.timestamp = pBuffer->nTimeStamp;
428 emptyBuffer( node_id node, buffer_id buffer, OMX_U32 range_offset, OMX_U32 range_length, OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) argument
/frameworks/av/services/camera/libcameraservice/api2/
H A DCameraDeviceClient.h142 virtual void notifyShutter(const CaptureResultExtras& resultExtras, nsecs_t timestamp);
/frameworks/av/services/camera/libcameraservice/common/
H A DCameraDeviceBase.h202 nsecs_t timestamp) = 0;
/frameworks/base/core/java/android/hardware/
H A DSensorManager.java1611 * @param timestamp Sensor timestamp associated with the event.
1624 long timestamp) {
1643 if (timestamp <= 0) {
1644 throw new IllegalArgumentException("Negative or zero sensor timestamp");
1646 return injectSensorDataImpl(sensor, values, accuracy, timestamp);
1653 long timestamp);
1623 injectSensorData(Sensor sensor, float[] values, int accuracy, long timestamp) argument
1652 injectSensorDataImpl(Sensor sensor, float[] values, int accuracy, long timestamp) argument
/frameworks/base/location/java/android/location/
H A DGpsStatus.java134 void onNmeaReceived(long timestamp, String nmea); argument
/frameworks/base/media/jni/
H A Dandroid_media_MediaSync.cpp273 JNIEnv *env, jobject thiz, jobject timestamp) {
291 env->SetLongField(timestamp, gFields.mediaTimestampMediaTimeUsID,
293 env->SetLongField(timestamp, gFields.mediaTimestampNanoTimeID,
295 env->SetFloatField(timestamp, gFields.mediaTimestampClockRateID,
272 android_media_MediaSync_native_getTimestamp( JNIEnv *env, jobject thiz, jobject timestamp) argument
/frameworks/native/libs/gui/
H A DIGraphicBufferProducer.cpp498 return sizeof(timestamp)
520 FlattenableUtils::write(buffer, size, timestamp);
539 sizeof(timestamp)
552 FlattenableUtils::read(buffer, size, timestamp);
/frameworks/base/services/core/java/com/android/server/location/
H A DGpsLocationProvider.java1353 float speed, float bearing, float accuracy, long timestamp) {
1355 " timestamp: " + timestamp);
1362 mLocation.setTime(timestamp);
1363 // It would be nice to push the elapsed real-time timestamp
1579 private void reportNmea(long timestamp) { argument
1582 mListenerHelper.onNmeaReceived(timestamp, nmea);
1635 long timestamp) {
1640 location.setTime(timestamp);
1686 long timestamp, in
1352 reportLocation(int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument
1627 buildLocation( int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument
1684 reportGeofenceTransition(int geofenceId, int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp, int transition, long transitionTimestamp) argument
1711 reportGeofenceStatus(int status, int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument
[all...]
H A DFlpHardwareProvider.java217 long timestamp,
225 timestamp,
213 onGeofenceTransition( int geofenceId, Location location, int transition, long timestamp, int sourcesUsed) argument
/frameworks/base/media/java/android/media/
H A DImageWriter.java237 * to ensure that the Image timestamp (in nanoseconds) is correctly set, as
610 // When this default timestamp is used, timestamp for the input Image
659 public void setTimestamp(long timestamp) { argument
662 mTimestamp = timestamp;
/frameworks/base/media/mca/filterfw/jni/
H A Djni_gl_environment.cpp373 jlong timestamp) {
375 int64_t timestamp_native = timestamp;
371 Java_android_filterfw_core_GLEnvironment_nativeSetSurfaceTimestamp(JNIEnv* env, jobject thiz, jlong timestamp) argument
/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_env.cpp245 bool GLEnv::SetSurfaceTimestamp(int64_t timestamp) { argument
252 native_window_set_buffers_timestamp(window, timestamp);
/frameworks/native/libs/gui/tests/
H A DCpuConsumer_test.cpp489 int64_t timestamp, uint32_t *stride) {
534 ALOGVV("Set timestamp to %p", anw.get());
535 err = native_window_set_buffers_timestamp(anw.get(), timestamp);
571 EXPECT_EQ(time, b.timestamp);
612 EXPECT_EQ(time[i], b.timestamp);
654 EXPECT_EQ(time, b[i].timestamp);
677 EXPECT_EQ(time, bTooMuch.timestamp);
487 produceOneFrame(const sp<ANativeWindow>& anw, const CpuConsumerTestParams& params, int64_t timestamp, uint32_t *stride) argument
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp264 int64_t timestamp) {
267 ctx->hwc->vsync(disp, timestamp);
281 void HWComposer::vsync(int disp, int64_t timestamp) { argument
287 // with the same timestamp when turning the display off and on. This
290 if (timestamp == mLastHwVSync[disp]) {
292 timestamp);
296 mLastHwVSync[disp] = timestamp;
303 mEventHandler.onVSyncReceived(disp, timestamp);
452 // this returns the last refresh timestamp.
454 // the refresh period and whatever closest timestamp w
263 hook_vsync(const struct hwc_procs* procs, int disp, int64_t timestamp) argument
[all...]
/frameworks/av/media/libstagefright/
H A DCameraSource.cpp54 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
92 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) {
96 source->dataCallbackTimestamp(timestamp/1000, msgType, dataPtr);
876 ALOGV("dataCallbackTimestamp: timestamp %lld us", (long long)timestampUs);
884 // May need to skip frame or modify timestamp. Currently implemented
893 ALOGW("Dropping frame with backward timestamp %lld (last %lld)",
938 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) {
939 mSource->dataCallbackTimestamp(timestamp / 1000, msgType, dataPtr);
91 postDataTimestamp( nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
937 dataCallbackTimestamp( nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
H A DOMXClient.cpp134 OMX_U32 flags, OMX_TICKS timestamp, int fenceFd);
396 OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) {
398 node, buffer, range_offset, range_length, flags, timestamp, fenceFd);
392 emptyBuffer( node_id node, buffer_id buffer, OMX_U32 range_offset, OMX_U32 range_length, OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) argument
/frameworks/base/core/jni/
H A Dandroid_media_AudioTrack.cpp869 AudioTimestamp timestamp; local
870 status_t status = lpTrack->getTimestamp(timestamp);
877 nTimestamp[0] = (jlong) timestamp.mPosition;
878 nTimestamp[1] = (jlong) ((timestamp.mTime.tv_sec * 1000000000LL) + timestamp.mTime.tv_nsec);

Completed in 2968 milliseconds

123456789