Home
last modified time | relevance | path

Searched refs:timestampNs (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/java/android/hardware/location/
DActivityRecognitionEvent.java32 public ActivityRecognitionEvent(String activity, int eventType, long timestampNs) { in ActivityRecognitionEvent() argument
35 mTimestampNs = timestampNs; in ActivityRecognitionEvent()
56 long timestampNs = source.readLong();
58 return new ActivityRecognitionEvent(activity, eventType, timestampNs);
/frameworks/base/location/lib/java/com/android/location/provider/
DActivityRecognitionEvent.java27 public ActivityRecognitionEvent(String activity, int eventType, long timestampNs) { in ActivityRecognitionEvent() argument
30 mTimestampNs = timestampNs; in ActivityRecognitionEvent()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosink/
DMediaEncoderFilter.java338 public boolean skipFrameAndModifyTimestamp(long timestampNs) { in skipFrameAndModifyTimestamp() argument
341 mLastTimeLapseFrameRealTimestampNs = timestampNs; in skipFrameAndModifyTimestamp()
342 mTimestampNs = timestampNs; in skipFrameAndModifyTimestamp()
352 if (mNumFramesEncoded >= 2 && timestampNs < in skipFrameAndModifyTimestamp()
364 if (mLogVerbose) Log.v(TAG, "timelapse: encoding frame, Timestamp t = " + timestampNs + in skipFrameAndModifyTimestamp()
367 mLastTimeLapseFrameRealTimestampNs = timestampNs; in skipFrameAndModifyTimestamp()
/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl89 void noteMobileRadioPowerState(int powerState, long timestampNs); in noteMobileRadioPowerState() argument
117 void noteWifiRadioPowerState(int powerState, long timestampNs); in noteWifiRadioPowerState() argument
/frameworks/av/media/ndk/
DNdkMediaCodec.cpp357 AMediaCodec *mData, size_t idx, int64_t timestampNs) { in AMediaCodec_releaseOutputBufferAtTime() argument
358 ALOGV("render @ %" PRId64, timestampNs); in AMediaCodec_releaseOutputBufferAtTime()
359 return translate_error(mData->mCodec->renderOutputBufferAndRelease(idx, timestampNs)); in AMediaCodec_releaseOutputBufferAtTime()
/frameworks/base/media/jni/
Dandroid_media_ImageWriter.cpp431 jlong timestampNs, jint left, jint top, jint right, jint bottom) { in ImageWriter_queueImage() argument
456 ALOGV("timestamp to be queued: %" PRId64, timestampNs); in ImageWriter_queueImage()
457 res = native_window_set_buffers_timestamp(anw.get(), timestampNs); in ImageWriter_queueImage()
496 jlong nativeBuffer, jint imageFormat, jlong timestampNs, jint left, jint top, in ImageWriter_attachAndQueueImage() argument
549 ALOGV("timestamp to be queued: %" PRId64, timestampNs); in ImageWriter_attachAndQueueImage()
550 res = native_window_set_buffers_timestamp(anw.get(), timestampNs); in ImageWriter_attachAndQueueImage()
Dandroid_media_MediaCodec.h94 size_t index, bool render, bool updatePTS, int64_t timestampNs);
Dandroid_media_MediaCodec.cpp362 size_t index, bool render, bool updatePTS, int64_t timestampNs) { in releaseOutputBuffer() argument
364 return mCodec->renderOutputBufferAndRelease(index, timestampNs); in releaseOutputBuffer()
1418 jint index, jboolean render, jboolean updatePTS, jlong timestampNs) { in android_media_MediaCodec_releaseOutputBuffer() argument
1428 status_t err = codec->releaseOutputBuffer(index, render, updatePTS, timestampNs); in android_media_MediaCodec_releaseOutputBuffer()
/frameworks/av/include/ndk/
DNdkMediaCodec.h165 AMediaCodec *mData, size_t idx, int64_t timestampNs);
/frameworks/base/media/java/android/media/
DImageWriter.java796 long timestampNs, int left, int top, int right, int bottom); in nativeQueueInputImage() argument
799 long imageNativeBuffer, int imageFormat, long timestampNs, int left, in nativeAttachAndQueueImage() argument
DImageReader.java716 public void setTimestamp(long timestampNs) { in setTimestamp() argument
718 mTimestamp = timestampNs; in setTimestamp()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.cpp910 int64_t timestampNs; in onRenderBuffer() local
911 CHECK(msg->findInt64("timestampNs", &timestampNs)); in onRenderBuffer()
912 err = mCodec->renderOutputBufferAndRelease(bufferIx, timestampNs); in onRenderBuffer()
/frameworks/av/include/media/stagefright/
DMediaCodec.h136 status_t renderOutputBufferAndRelease(size_t index, int64_t timestampNs);
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java522 public void noteMobileRadioPowerState(int powerState, long timestampNs) { in noteMobileRadioPowerState() argument
525 mStats.noteMobileRadioPowerState(powerState, timestampNs); in noteMobileRadioPowerState()
/frameworks/av/media/libstagefright/
DACodec.cpp5261 int64_t timestampNs = 0; in onOutputBufferDrained() local
5262 if (!msg->findInt64("timestampNs", &timestampNs)) { in onOutputBufferDrained()
5264 if (info->mData->meta()->findInt64("timeUs", &timestampNs)) { in onOutputBufferDrained()
5265 ALOGV("using buffer PTS of %lld", (long long)timestampNs); in onOutputBufferDrained()
5266 timestampNs *= 1000; in onOutputBufferDrained()
5271 err = native_window_set_buffers_timestamp(mCodec->mNativeWindow.get(), timestampNs); in onOutputBufferDrained()
DMediaCodec.cpp729 status_t MediaCodec::renderOutputBufferAndRelease(size_t index, int64_t timestampNs) { in renderOutputBufferAndRelease() argument
733 msg->setInt64("timestampNs", timestampNs); in renderOutputBufferAndRelease()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java3162 public void noteMobileRadioPowerState(int powerState, long timestampNs) { in noteMobileRadioPowerState() argument
3174 realElapsedRealtimeMs = timestampNs / (1000*1000); in noteMobileRadioPowerState()
3759 public void noteWifiRadioPowerState(int powerState, long timestampNs) { in noteWifiRadioPowerState() argument