/frameworks/av/media/libaudioclient/ |
H A D | AudioRecord.cpp | 306 mProxy->clearTimestamp(); // timestamp is invalid until next server push 458 status_t AudioRecord::getTimestamp(ExtendedTimestamp *timestamp) argument 460 if (timestamp == nullptr) { 464 status_t status = mProxy->getTimestamp(timestamp); 466 timestamp->mPosition[ExtendedTimestamp::LOCATION_CLIENT] = mFramesRead; 467 timestamp->mTimeNs[ExtendedTimestamp::LOCATION_CLIENT] = 0; 471 if (timestamp->mTimeNs[i] >= 0) { 472 timestamp->mPosition[i] += mFramesReadServerOffset;
|
H A D | AudioTrack.cpp | 583 // save start timestamp 614 mProxy->clearTimestamp(); // need new server push for valid timestamp 766 // the same configuration. A timestamp query for a paused track 2377 status_t AudioTrack::getTimestamp(ExtendedTimestamp *timestamp) argument 2379 if (timestamp == nullptr) { 2383 return getTimestamp_l(timestamp); 2386 status_t AudioTrack::getTimestamp_l(ExtendedTimestamp *timestamp) argument 2400 status_t status = mProxy->getTimestamp(timestamp); 2403 timestamp->mPosition[ExtendedTimestamp::LOCATION_CLIENT] = mFramesWritten; 2404 timestamp 2418 getTimestamp(AudioTimestamp& timestamp) argument 2424 getTimestamp_l(AudioTimestamp& timestamp) argument [all...] |
/frameworks/av/media/libnbaio/ |
H A D | NBLog.cpp | 73 // skip timestamp 82 timespec NBLog::FormatEntry::timestamp() const { function in class:android::NBLog::FormatEntry 93 // skip timestamp 107 // copy timestamp 397 case 't': // timestamp 714 String8 timestamp, body; local 718 // TODO timestamp empty here, only other choice to wait for the first timestamp event in the 719 // log to push it out. Consider keeping the timestamp/body between calls to readAt(). 720 dumpLine(timestamp, bod 832 dumpLine(const String8 ×tamp, String8 &body) argument 871 handleFormat(const FormatEntry &fmtEntry, String8 *timestamp, String8 *body) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | CameraSource.cpp | 57 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr); 59 virtual void postRecordingFrameHandleTimestamp(nsecs_t timestamp, native_handle_t* handle); 101 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) { 105 source->dataCallbackTimestamp(timestamp/1000, msgType, dataPtr); 109 void CameraSourceListener::postRecordingFrameHandleTimestamp(nsecs_t timestamp, argument 113 source->recordingFrameHandleCallbackTimestamp(timestamp/1000, handle); 1104 // May need to skip frame or modify timestamp. Currently implemented 1112 ALOGW("Dropping frame with backward timestamp %lld (last %lld)", 1140 ALOGV("dataCallbackTimestamp: timestamp %lld us", (long long)timestampUs); 1189 ALOGV("%s: timestamp 100 postDataTimestamp( nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument 1386 dataCallbackTimestamp( nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument 1391 recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) argument [all...] |
/frameworks/av/services/camera/libcameraservice/api1/ |
H A D | Camera2Client.cpp | 190 result.appendFormat(" GPS timestamp: %" PRId64 "\n", 1883 nsecs_t timestamp) { 1885 (void)timestamp; 1888 __FUNCTION__, resultExtras.requestId, timestamp); 1889 mCaptureSequencer->notifyShutter(resultExtras, timestamp); 1891 Camera2ClientBase::notifyShutter(resultExtras, timestamp); 1882 notifyShutter(const CaptureResultExtras& resultExtras, nsecs_t timestamp) argument
|
H A D | CameraClient.cpp | 885 void CameraClient::dataCallbackTimestamp(nsecs_t timestamp, argument 895 ALOGE("Null data returned in data with timestamp callback"); 900 client->handleGenericDataTimestamp(timestamp, msgType, dataPtr); 939 timestamps.push_back(msg.timestamp); 1071 void CameraClient::handleGenericDataTimestamp(nsecs_t timestamp, argument 1093 c->recordingFrameHandleCallbackTimestamp(timestamp, handle); 1095 c->dataCallbackTimestamp(timestamp, msgType, dataPtr);
|
/frameworks/av/services/camera/libcameraservice/api2/ |
H A D | CameraDeviceClient.cpp | 1374 nsecs_t timestamp) { 1378 remoteCb->onCaptureStarted(resultExtras, timestamp); 1380 Camera2ClientBase::notifyShutter(resultExtras, timestamp); 1373 notifyShutter(const CaptureResultExtras& resultExtras, nsecs_t timestamp) argument
|
/frameworks/av/services/camera/libcameraservice/device1/ |
H A D | CameraHardwareInterface.cpp | 142 uint32_t bufferIndex, int64_t timestamp) { 147 sDataCbTimestamp(timestamp, (int32_t) msgType, mHidlMemPoolMap.at(data), bufferIndex, this); 153 uint32_t bufferIndex, int64_t timestamp) { 162 sDataCbTimestamp(timestamp, (int32_t) msgType, mHidlMemPoolMap.at(data), bufferIndex, this); 189 msgs.push_back({hidl_msg.timestamp, mem->mBuffers[hidl_msg.bufferIndex]}); 418 CameraHardwareInterface::setTimestamp(int64_t timestamp) { argument 425 int rc = native_window_set_buffers_timestamp(a, timestamp); 828 void CameraHardwareInterface::sDataCbTimestamp(nsecs_t timestamp, int32_t msg_type, argument 844 object->mDataCbTimestamp(timestamp, msg_type, mem->mBuffers[index], object->mCbUser); 998 int64_t timestamp) { 140 dataCallbackTimestamp( DataCallbackMsg msgType, uint32_t data, uint32_t bufferIndex, int64_t timestamp) argument 151 handleCallbackTimestamp( DataCallbackMsg msgType, const hidl_handle& frameData, uint32_t data, uint32_t bufferIndex, int64_t timestamp) argument 997 sSetTimestamp(struct preview_stream_ops *w, int64_t timestamp) argument [all...] |
/frameworks/base/core/java/android/hardware/ |
H A D | SensorManager.java | 1823 * @param timestamp Sensor timestamp associated with the event. 1836 long timestamp) { 1855 if (timestamp <= 0) { 1856 throw new IllegalArgumentException("Negative or zero sensor timestamp"); 1858 return injectSensorDataImpl(sensor, values, accuracy, timestamp); 1865 long timestamp); 1835 injectSensorData(Sensor sensor, float[] values, int accuracy, long timestamp) argument 1864 injectSensorDataImpl(Sensor sensor, float[] values, int accuracy, long timestamp) argument
|
H A D | SystemSensorManager.java | 318 long timestamp) { 325 timestamp); 636 float[] values,int accuracy, long timestamp); 749 long timestamp) { 750 return nativeInjectSensorData(nSensorEventQueue, handle, values, accuracy, timestamp); 759 long timestamp); 801 long timestamp) { 820 t.timestamp = timestamp; 896 long timestamp) { 317 injectSensorDataImpl(Sensor sensor, float[] values, int accuracy, long timestamp) argument 635 nativeInjectSensorData(long eventQ, int handle, float[] values,int accuracy, long timestamp) argument 748 injectSensorDataBase(int handle, float[] values, int accuracy, long timestamp) argument 758 dispatchSensorEvent(int handle, float[] values, int accuracy, long timestamp) argument 800 dispatchSensorEvent(int handle, float[] values, int inAccuracy, long timestamp) argument 895 dispatchSensorEvent(int handle, float[] values, int accuracy, long timestamp) argument 933 injectSensorData(int handle, float[] values,int accuracy, long timestamp) argument 938 dispatchSensorEvent(int handle, float[] values, int accuracy, long timestamp) argument [all...] |
/frameworks/base/core/java/android/hardware/location/ |
H A D | GeofenceHardwareImpl.java | 809 long timestamp, 815 mTimestamp = timestamp; 806 GeofenceTransition( int geofenceId, int transition, long timestamp, Location location, int monitoringType, int sourcesUsed) argument
|
/frameworks/base/core/jni/ |
H A D | android_hardware_Camera.cpp | 79 virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr); 80 virtual void postRecordingFrameHandleTimestamp(nsecs_t timestamp, native_handle_t* handle); 350 void JNICameraContext::postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument 352 // TODO: plumb up to Java. For now, just drop the timestamp
|
H A D | android_hardware_SensorManager.cpp | 379 buffer[i].timestamp); 405 buffer[i].timestamp); 470 jfloatArray values, jint accuracy, jlong timestamp) { 476 sensor_event.timestamp = timestamp; 469 nativeInjectSensorData(JNIEnv *env, jclass clazz, jlong eventQ, jint handle, jfloatArray values, jint accuracy, jlong timestamp) argument
|
H A D | android_media_AudioRecord.cpp | 726 jobject timestamp, jint timebase) { 745 timestamp, javaAudioTimestampFields.fieldFramePosition, position); 747 timestamp, javaAudioTimestampFields.fieldNanoTime, time); 725 android_media_AudioRecord_get_timestamp(JNIEnv *env, jobject thiz, jobject timestamp, jint timebase) argument
|
/frameworks/base/location/java/android/location/ |
H A D | LocationManager.java | 1279 "Incomplete location object, missing timestamp or accuracy? " + loc); 1449 Nmea(long timestamp, String nmea) { argument 1450 mTimestamp = timestamp; 1501 public void onNmeaMessage(String nmea, long timestamp) { 1502 mGpsNmeaListener.onNmeaReceived(timestamp, nmea); 1577 public void onNmeaReceived(long timestamp, String nmea) { argument 1580 mNmeaBuffer.add(new Nmea(timestamp, nmea));
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsState.java | 816 public HistoricalOperation(long timestamp, argument 818 mTimestamp = timestamp;
|
/frameworks/base/services/core/java/com/android/server/vr/ |
H A D | VrManagerService.java | 254 final long timestamp; field in class:VrManagerService.VrState 264 this.timestamp = System.currentTimeMillis(); 274 this.timestamp = System.currentTimeMillis(); 1018 pw.print(d.format(new Date(state.timestamp)));
|
/frameworks/base/telecomm/java/android/telecom/ |
H A D | ParcelableCallAnalytics.java | 155 public AnalyticsEvent(int eventName, long timestamp) { argument 157 mTimeSinceLastEvent = timestamp;
|
/frameworks/native/libs/gui/tests/ |
H A D | Surface_test.cpp | 876 // that don't need the timestamp information. 1003 nsecs_t timestamp = 3500; local 1005 timestamp, phase, interval)); 1008 timestamp = 4500; 1010 timestamp, phase, interval)); 1013 timestamp = 2500; 1015 timestamp, phase, interval)); 1018 timestamp = 6500; 1020 timestamp, phase, interval)); 1023 timestamp [all...] |
/frameworks/native/libs/vr/libdvr/include/dvr/ |
H A D | dvr_api.h | 271 int64_t timestamp; member in struct:DvrNativeBufferMetadata 273 // Whether the buffer is using auto timestamp.
|
/frameworks/native/services/sensorservice/ |
H A D | SensorService.cpp | 782 return l->timestamp - r->timestamp; 1069 int64_t timestamp = elapsedRealtimeNano(); local 1075 .timestamp = timestamp++,
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
H A D | TelephonyMetrics.java | 517 * @param timestamp timestamp in milliseconds 518 * @return Precision reduced timestamp in minutes 520 static int roundSessionStart(long timestamp) { argument 521 return (int) ((timestamp) / (MINUTE_IN_MILLIS * SESSION_START_PRECISION_MINUTES) 528 * @param previousTimestamp Previous timestamp in milliseconds 529 * @param currentTimestamp Current timestamp in milliseconds 625 * @param timestamp Event timestamp 629 private synchronized void annotateInProgressCallSession(long timestamp, in argument 644 annotateInProgressSmsSession(long timestamp, int phoneId, SmsSessionEventBuilder eventBuilder) argument 1691 writeNITZEvent(int phoneId, long timestamp) argument [all...] |
/frameworks/av/media/libstagefright/omx/ |
H A D | OMXNodeInstance.cpp | 1592 OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) { 1599 flags, timestamp, fenceFd); 1603 buffer, omxBuffer.mGraphicBuffer, flags, timestamp, fenceFd); 1607 buffer, omxBuffer.mNativeHandle, flags, timestamp, fenceFd); 1619 OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) { 1657 return emptyBuffer_l(header, flags, timestamp, (intptr_t)buffer, fenceFd); 1728 OMX_BUFFERHEADERTYPE *header, OMX_U32 flags, OMX_TICKS timestamp, 1731 header->nTimeStamp = timestamp; 1770 OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) { 1785 int64_t codecTimeUs = getCodecTimestamp(timestamp); 1590 emptyBuffer( buffer_id buffer, const OMXBuffer &omxBuffer, OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) argument 1616 emptyBuffer_l( IOMX::buffer_id buffer, OMX_U32 rangeOffset, OMX_U32 rangeLength, OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) argument 1727 emptyBuffer_l( OMX_BUFFERHEADERTYPE *header, OMX_U32 flags, OMX_TICKS timestamp, intptr_t debugAddr, int fenceFd) argument 1768 emptyGraphicBuffer_l( IOMX::buffer_id buffer, const sp<GraphicBuffer> &graphicBuffer, OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) argument 1809 getCodecTimestamp(OMX_TICKS timestamp) argument 1840 emptyNativeHandleBuffer_l( IOMX::buffer_id buffer, const sp<NativeHandle> &nativeHandle, OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) argument 1871 OMX_TICKS ×tamp = msg.u.extended_buffer_data.timestamp; local [all...] |
/frameworks/av/services/audioflinger/ |
H A D | Tracks.cpp | 342 status_t AudioFlinger::TrackHandle::getTimestamp(AudioTimestamp& timestamp) argument 344 return mTrack->getTimestamp(timestamp); 648 void AudioFlinger::PlaybackThread::Track::onTimestamp(const ExtendedTimestamp ×tamp) argument 652 mAudioTrackServerProxy->setTimestamp(timestamp); 654 // We do not set drained here, as FastTrack timestamp may not go to very last frame. 967 status_t AudioFlinger::PlaybackThread::Track::getTimestamp(AudioTimestamp& timestamp) argument 979 return playbackThread->getTimestamp_l(timestamp); 1046 // This assists in proper timestamp computation as well as wakelock management. 1747 uint32_t halSampleRate, const ExtendedTimestamp ×tamp) 1749 ExtendedTimestamp local = timestamp; 1745 updateTrackFrameInfo( int64_t trackFramesReleased, int64_t sourceFramesRead, uint32_t halSampleRate, const ExtendedTimestamp ×tamp) argument [all...] |
/frameworks/base/core/java/android/hardware/camera2/impl/ |
H A D | CameraDeviceImpl.java | 1136 CaptureRequest request, long timestamp, long frameNumber); 1805 public void onCaptureStarted(final CaptureResultExtras resultExtras, final long timestamp) { argument 1843 timestamp - (subsequenceId - i) * 1851 timestamp, frameNumber); 1135 onCaptureStarted(CameraDevice camera, CaptureRequest request, long timestamp, long frameNumber) argument
|