/frameworks/base/location/lib/java/com/android/location/provider/ |
H A D | ActivityRecognitionEvent.java | 27 public ActivityRecognitionEvent(String activity, int eventType, long timestampNs) { argument 30 mTimestampNs = timestampNs;
|
/frameworks/base/core/java/android/hardware/location/ |
H A D | ActivityRecognitionEvent.java | 32 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 D | MediaEncoderFilter.java | 338 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/ndk/include/media/ |
H A D | NdkImage.h | 610 * @param timestampNs the timestamp of the image will be filled here if the method call succeeeds. 614 * <li>{@link AMEDIA_ERROR_INVALID_PARAMETER} if image or timestampNs is NULL.</li> 618 media_status_t AImage_getTimestamp(const AImage* image, /*out*/int64_t* timestampNs);
|
H A D | NdkMediaCodec.h | 209 AMediaCodec *mData, size_t idx, int64_t timestampNs);
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | NetdEventListenerService.java | 160 public synchronized void onWakeupEvent(String prefix, int uid, int gid, long timestampNs) { argument 161 maybeVerboseLog("onWakeupEvent(%s, %d, %d, %sns)", prefix, uid, gid, timestampNs); 167 if (timestampNs > 0) { 168 timestampMs = timestampNs / NANOS_PER_MS;
|
/frameworks/av/media/libstagefright/include/ |
H A D | ACodecBufferChannel.h | 80 const sp<MediaCodecBuffer> &buffer, int64_t timestampNs) override;
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | IBatteryStats.aidl | 95 void noteMobileRadioPowerState(int powerState, long timestampNs, int uid); 123 void noteWifiRadioPowerState(int powerState, long timestampNs, int uid);
|
/frameworks/av/include/media/stagefright/ |
H A D | CodecBase.h | 293 * @param timestampNs nanosecond timestamp for rendering time. 298 const sp<MediaCodecBuffer> &buffer, int64_t timestampNs) = 0;
|
H A D | MediaCodec.h | 160 status_t renderOutputBufferAndRelease(size_t index, int64_t timestampNs);
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
H A D | CodecBase.h | 293 * @param timestampNs nanosecond timestamp for rendering time. 298 const sp<MediaCodecBuffer> &buffer, int64_t timestampNs) = 0;
|
H A D | MediaCodec.h | 160 status_t renderOutputBufferAndRelease(size_t index, int64_t timestampNs);
|
/frameworks/av/media/ndk/ |
H A D | NdkImage.cpp | 694 media_status_t AImage_getTimestamp(const AImage* image, /*out*/int64_t* timestampNs) { argument 696 if (image == nullptr || timestampNs == nullptr) { 697 ALOGE("%s: bad argument. image %p timestampNs %p", 698 __FUNCTION__, image, timestampNs); 701 return image->getTimestamp(timestampNs);
|
H A D | NdkMediaCodec.cpp | 380 AMediaCodec *mData, size_t idx, int64_t timestampNs) { 381 ALOGV("render @ %" PRId64, timestampNs); 382 return translate_error(mData->mCodec->renderOutputBufferAndRelease(idx, timestampNs)); 379 AMediaCodec_releaseOutputBufferAtTime( AMediaCodec *mData, size_t idx, int64_t timestampNs) argument
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaCodec.h | 104 size_t index, bool render, bool updatePTS, int64_t timestampNs);
|
H A D | android_media_ImageWriter.cpp | 424 jlong timestampNs, jint left, jint top, jint right, jint bottom) { 449 ALOGV("timestamp to be queued: %" PRId64, timestampNs); 450 res = native_window_set_buffers_timestamp(anw.get(), timestampNs); 489 jlong nativeBuffer, jint imageFormat, jlong timestampNs, jint left, jint top, 535 ALOGV("timestamp to be queued: %" PRId64, timestampNs); 536 res = native_window_set_buffers_timestamp(anw.get(), timestampNs); 423 ImageWriter_queueImage(JNIEnv* env, jobject thiz, jlong nativeCtx, jobject image, jlong timestampNs, jint left, jint top, jint right, jint bottom) argument 488 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 D | android_media_MediaCodec.cpp | 382 size_t index, bool render, bool updatePTS, int64_t timestampNs) { 384 return mCodec->renderOutputBufferAndRelease(index, timestampNs); 1491 jint index, jboolean render, jboolean updatePTS, jlong timestampNs) { 1501 status_t err = codec->releaseOutputBuffer(index, render, updatePTS, timestampNs); 381 releaseOutputBuffer( size_t index, bool render, bool updatePTS, int64_t timestampNs) argument 1489 android_media_MediaCodec_releaseOutputBuffer( JNIEnv *env, jobject thiz, jint index, jboolean render, jboolean updatePTS, jlong timestampNs) argument
|
/frameworks/base/media/java/android/media/ |
H A D | ImageWriter.java | 859 long timestampNs, int left, int top, int right, int bottom); 862 long imageNativeBuffer, int imageFormat, long timestampNs, int left, 858 nativeQueueInputImage(long nativeCtx, Image image, long timestampNs, int left, int top, int right, int bottom) argument 861 nativeAttachAndQueueImage(long nativeCtx, long imageNativeBuffer, int imageFormat, long timestampNs, int left, int top, int right, int bottom) argument
|
H A D | ImageReader.java | 880 public void setTimestamp(long timestampNs) { argument 882 mTimestamp = timestampNs;
|
/frameworks/av/media/libstagefright/ |
H A D | ACodecBufferChannel.cpp | 236 const sp<MediaCodecBuffer> &buffer, int64_t timestampNs) { 249 msg->setInt64("timestampNs", timestampNs);
|
H A D | ACodec.cpp | 6152 int64_t timestampNs = 0; local 6153 if (!msg->findInt64("timestampNs", ×tampNs)) { 6155 if (buffer->meta()->findInt64("timeUs", ×tampNs)) { 6156 ALOGV("using buffer PTS of %lld", (long long)timestampNs); 6157 timestampNs *= 1000; 6162 err = native_window_set_buffers_timestamp(mCodec->mNativeWindow.get(), timestampNs);
|
H A D | MediaCodec.cpp | 1131 status_t MediaCodec::renderOutputBufferAndRelease(size_t index, int64_t timestampNs) { argument 1135 msg->setInt64("timestampNs", timestampNs); 2937 if (!msg->findInt64("timestampNs", &renderTimeNs)) {
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDecoder.cpp | 1134 int64_t timestampNs; local 1135 CHECK(msg->findInt64("timestampNs", ×tampNs)); 1136 err = mCodec->renderOutputBufferAndRelease(bufferIx, timestampNs);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | CameraErrorCollector.java | 1059 long timestampNs) { 1063 expectEquals(msg + "Image timestamp is wrong.", image.getTimestamp(), timestampNs); 1058 expectImageProperties(String msg, Image image, int format, Size size, long timestampNs) argument
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | BatteryStatsService.java | 576 public void noteMobileRadioPowerState(int powerState, long timestampNs, int uid) { argument 580 update = mStats.noteMobileRadioPowerStateLocked(powerState, timestampNs, uid);
|