Searched defs:timestampNs (Results 1 - 13 of 13) sorted by relevance

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

Completed in 275 milliseconds