/aosp12/frameworks/base/graphics/java/android/graphics/ |
H A D | Interpolator.java | 73 public void setKeyFrame(int index, int msec, float[] values) { in setKeyFrame() argument 74 setKeyFrame(index, msec, values, null); in setKeyFrame() 87 public void setKeyFrame(int index, int msec, float[] values, float[] blend) { in setKeyFrame() argument 97 nativeSetKeyFrame(native_instance, index, msec, values, blend); in setKeyFrame() 136 public Result timeToValues(int msec, float[] values) { in timeToValues() argument 140 switch (nativeTimeToValues(native_instance, msec, values)) { in timeToValues() 160 …private static native void nativeSetKeyFrame(long native_instance, int index, int msec, float[] va… in nativeSetKeyFrame() argument 162 private static native int nativeTimeToValues(long native_instance, int msec, float[] values); in nativeTimeToValues() argument
|
/aosp12/frameworks/av/media/libmedia/ |
H A D | mediaplayer.cpp | 510 *msec = mCurrentPosition; in getCurrentPosition() 533 if (msec) { in getDuration_l() 534 *msec = durationMs; in getDuration_l() 546 return getDuration_l(msec); in getDuration() 554 if ( msec < 0 ) { in seekTo_l() 556 msec = 0; in seekTo_l() 567 if (msec > durationMs) { in seekTo_l() 570 msec, in seekTo_l() 573 msec = durationMs; in seekTo_l() 577 mCurrentPosition = msec; in seekTo_l() [all …]
|
H A D | IMediaPlayer.cpp | 292 data.writeInt32(msec); in seekTo() 298 status_t getCurrentPosition(int* msec) in getCurrentPosition() argument 303 *msec = reply.readInt32(); in getCurrentPosition() 307 status_t getDuration(int* msec) in getDuration() argument 312 *msec = reply.readInt32(); in getDuration() 786 int msec = data.readInt32(); in onTransact() local 793 int msec = 0; in onTransact() local 795 reply->writeInt32(msec); in onTransact() 801 int msec = 0; in onTransact() local 802 status_t ret = getDuration(&msec); in onTransact() [all …]
|
/aosp12/frameworks/base/libs/hwui/jni/ |
H A D | Interpolator.cpp | 21 …KeyFrame(JNIEnv* env, jobject clazz, jlong interpHandle, jint index, jint msec, jfloatArray valueA… in Interpolator_setKeyFrame() argument 34 interp->setKeyFrame(index, msec, scalars, blend); in Interpolator_setKeyFrame() 47 static jint Interpolator_timeToValues(JNIEnv* env, jobject clazz, jlong interpHandle, jint msec, jf… in Interpolator_timeToValues() argument 53 result = interp->timeToValues(msec, (SkScalar*)values); in Interpolator_timeToValues()
|
/aosp12/frameworks/av/media/libmedia/include/media/ |
H A D | mediaplayer.h | 249 int msec, 252 status_t getCurrentPosition(int *msec); 253 status_t getDuration(int *msec); 287 status_t seekTo_l(int msec, MediaPlayerSeekMode mode); 289 status_t getDuration_l(int *msec);
|
H A D | IMediaPlayer.h | 79 int msec, 81 virtual status_t getCurrentPosition(int* msec) = 0; 82 virtual status_t getDuration(int* msec) = 0;
|
/aosp12/frameworks/wilhelm/tests/examples/ |
H A D | slesTestDecodeToBuffQueue.cpp | 152 SLmillisecond msec; in DecProgressCallback() local 153 result = (*caller)->GetPosition(caller, &msec); in DecProgressCallback() 157 fprintf(stdout, "SL_PLAYEVENT_HEADATEND current position=%u ms\n", msec); in DecProgressCallback() 162 fprintf(stdout, "SL_PLAYEVENT_HEADATNEWPOS current position=%u ms\n", msec); in DecProgressCallback() 166 fprintf(stdout, "SL_PLAYEVENT_HEADATMARKER current position=%u ms\n", msec); in DecProgressCallback() 181 SLmillisecond msec; in DecPlayCallback() local 182 SLresult result = (*pCntxt->playItf)->GetPosition(pCntxt->playItf, &msec); in DecPlayCallback() 184 printf("DecPlayCallback called (iteration %d): current position=%u ms\n", counter, msec); in DecPlayCallback()
|
/aosp12/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDriver.cpp | 495 status_t NuPlayerDriver::seekTo(int msec, MediaPlayerSeekMode mode) { in seekTo() argument 496 ALOGV("seekTo(%p) (%d ms, %d) at state %d", this, msec, mode, mState); in seekTo() 499 int64_t seekTimeUs = msec * 1000LL; in seekTo() 523 status_t NuPlayerDriver::getCurrentPosition(int *msec) { in getCurrentPosition() argument 529 *msec = (int)divRound(tempUs, (int64_t)(1000)); in getCurrentPosition() 545 *msec = (int)divRound(tempUs, (int64_t)(1000)); in getCurrentPosition() 549 status_t NuPlayerDriver::getDuration(int *msec) { in getDuration() argument 556 *msec = (mDurationUs + 500LL) / 1000; in getDuration() 789 int msec = 0; in invoke() local 791 getCurrentPosition(&msec); in invoke() [all …]
|
H A D | NuPlayerDriver.h | 66 int msec, MediaPlayerSeekMode mode = MediaPlayerSeekMode::SEEK_PREVIOUS_SYNC); 67 virtual status_t getCurrentPosition(int *msec); 68 virtual status_t getDuration(int *msec);
|
/aosp12/frameworks/wilhelm/src/android/ |
H A D | android_GenericMediaPlayer.cpp | 291 void GenericMediaPlayer::getPositionMsec(int* msec) { in getPositionMsec() argument 296 if (player == 0 || player->getCurrentPosition(msec) != NO_ERROR) { in getPositionMsec() 297 *msec = ANDROID_UNKNOWN_TIME; in getPositionMsec() 567 int msec = 0; in afterMediaPlayerPreparedSuccessfully() local 568 if (OK == mPlayer->getDuration(&msec)) { in afterMediaPlayerPreparedSuccessfully() 570 mDurationMsec = msec; in afterMediaPlayerPreparedSuccessfully()
|
H A D | android_GenericPlayer.h | 78 void getDurationMsec(int* msec); //msec != NULL, ANDROID_UNKNOWN_TIME if unknown 79 virtual void getPositionMsec(int* msec) = 0; //msec != NULL, ANDROID_UNKNOWN_TIME if unknown
|
/aosp12/hardware/qcom/gps/msm8960/utils/ |
H A D | loc_timer.c | 115 int loc_timer_start(unsigned int msec, loc_timer_callback cb_func, in loc_timer_start() argument 123 if(cb_func == NULL || msec == 0) { in loc_timer_start() 138 t->time_msec = msec; in loc_timer_start()
|
/aosp12/hardware/qcom/sdm845/gps/msm8960/utils/ |
H A D | loc_timer.c | 115 int loc_timer_start(unsigned int msec, loc_timer_callback cb_func, in loc_timer_start() argument 123 if(cb_func == NULL || msec == 0) { in loc_timer_start() 138 t->time_msec = msec; in loc_timer_start()
|
/aosp12/hardware/qcom/gps/msm8994/utils/ |
H A D | loc_timer.c | 131 void* loc_timer_start(unsigned int msec, loc_timer_callback cb_func, in loc_timer_start() argument 138 if(cb_func == NULL || msec == 0) { in loc_timer_start() 160 t->time_msec = msec; in loc_timer_start()
|
/aosp12/hardware/qcom/gps/utils/ |
H A D | loc_timer.c | 131 void* loc_timer_start(unsigned int msec, loc_timer_callback cb_func, in loc_timer_start() argument 138 if(cb_func == NULL || msec == 0) { in loc_timer_start() 160 t->time_msec = msec; in loc_timer_start()
|
/aosp12/hardware/qcom/gps/msm8084/utils/ |
H A D | loc_timer.c | 115 void* loc_timer_start(unsigned int msec, loc_timer_callback cb_func, in loc_timer_start() argument 122 if(cb_func == NULL || msec == 0) { in loc_timer_start() 144 t->time_msec = msec; in loc_timer_start()
|
/aosp12/hardware/qcom/sdm845/gps/msm8084/utils/ |
H A D | loc_timer.c | 115 void* loc_timer_start(unsigned int msec, loc_timer_callback cb_func, in loc_timer_start() argument 122 if(cb_func == NULL || msec == 0) { in loc_timer_start() 144 t->time_msec = msec; in loc_timer_start()
|
/aosp12/hardware/qcom/sdm845/gps/msm8994/utils/ |
H A D | loc_timer.c | 131 void* loc_timer_start(unsigned int msec, loc_timer_callback cb_func, in loc_timer_start() argument 138 if(cb_func == NULL || msec == 0) { in loc_timer_start() 160 t->time_msec = msec; in loc_timer_start()
|
/aosp12/hardware/qcom/sdm845/gps/utils/ |
H A D | loc_timer.c | 131 void* loc_timer_start(unsigned int msec, loc_timer_callback cb_func, in loc_timer_start() argument 138 if(cb_func == NULL || msec == 0) { in loc_timer_start() 160 t->time_msec = msec; in loc_timer_start()
|
/aosp12/hardware/ril/reference-ril/ |
H A D | atchannel.c | 90 static void setTimespecRelative(struct timespec *p_ts, long long msec) in setTimespecRelative() argument 96 p_ts->tv_sec = tv.tv_sec + (msec / 1000); in setTimespecRelative() 97 p_ts->tv_nsec = (tv.tv_usec + (msec % 1000) * 1000L ) * 1000L; in setTimespecRelative() 105 static void sleepMsec(long long msec) in sleepMsec() argument 110 ts.tv_sec = (msec / 1000); in sleepMsec() 111 ts.tv_nsec = (msec % 1000) * 1000 * 1000; in sleepMsec()
|
/aosp12/system/extras/tests/workloads/ |
H A D | defs.sh | 190 ((msec=$1*1000000+msecfield)) 191 ((msec=msec/1000)) 192 echo $msec
|
/aosp12/frameworks/av/media/libmediaplayerservice/ |
H A D | TestPlayerStub.h | 91 int msec, 93 return mPlayer->seekTo(msec, mode);
|
/aosp12/frameworks/wilhelm/src/itf/ |
H A D | IRecord.cpp | 69 static SLresult IRecord_SetDurationLimit(SLRecordItf self, SLmillisecond msec) in IRecord_SetDurationLimit() argument 75 if (thiz->mDurationLimit != msec) { in IRecord_SetDurationLimit() 76 thiz->mDurationLimit = msec; in IRecord_SetDurationLimit()
|
/aosp12/art/test/084-class-init/src/ |
H A D | Main.java | 43 public static void sleep(int msec) { in sleep() argument 45 Thread.sleep(msec); in sleep()
|
/aosp12/bionic/libc/dns/resolv/ |
H A D | res_send.c | 729 int msec; in get_timeout() local 732 msec = params->base_timeout_msec; in get_timeout() 737 msec = (statp->retrans * 1000) << ns; in get_timeout() 739 msec /= statp->nscount; in get_timeout() 741 if (msec < 1000) { in get_timeout() 742 msec = 1000; // Use at least 100ms in get_timeout() 746 async_safe_format_log(ANDROID_LOG_DEBUG, "libc", "using timeout of %d msec\n", msec); in get_timeout() 750 result.tv_sec = msec / 1000; in get_timeout() 751 result.tv_nsec = (msec % 1000) * 1000000; in get_timeout()
|