Home
last modified time | relevance | path

Searched refs:durationMs (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/core/java/com/android/server/trust/
DTrustAgentWrapper.java121 long durationMs = msg.getData().getLong(DATA_DURATION);
122 if (durationMs > 0) {
129 duration = Math.min(durationMs, mMaximumTimeToLock);
132 + durationMs + " to " + duration);
135 duration = durationMs;
145 durationMs, initiatedByUser);
198 public void grantTrust(CharSequence userMessage, long durationMs, boolean initiatedByUser) {
199 if (DEBUG) Slog.v(TAG, "enableTrust(" + userMessage + ", durationMs = " + durationMs
204 msg.getData().putLong(DATA_DURATION, durationMs);
/frameworks/base/core/java/android/service/trust/
DTrustAgentService.java214 final CharSequence message, final long durationMs, final boolean initiatedByUser) { in grantTrust() argument
222 mCallback.grantTrust(message.toString(), durationMs, initiatedByUser); in grantTrust() local
232 grantTrust(message, durationMs, initiatedByUser); in grantTrust()
DITrustAgentServiceCallback.aidl27 void grantTrust(CharSequence message, long durationMs, boolean initiatedByUser); in grantTrust() argument
/frameworks/av/media/libmedia/
Dmediaplayer.cpp419 int durationMs; in getDuration_l() local
420 status_t ret = mPlayer->getDuration(&durationMs); in getDuration_l()
424 durationMs = -1; in getDuration_l()
429 *msec = durationMs; in getDuration_l()
452 int durationMs; in seekTo_l() local
453 status_t err = mPlayer->getDuration(&durationMs); in seekTo_l()
460 if (msec > durationMs) { in seekTo_l()
464 durationMs); in seekTo_l()
466 msec = durationMs; in seekTo_l()
DToneGenerator.cpp876 bool ToneGenerator::startTone(tone_type toneType, int durationMs) { in startTone() argument
902 mDurationMs = durationMs; in startTone()
987 long durationMs; in stopTone() local
/frameworks/base/core/jni/
Dandroid_media_ToneGenerator.cpp41 … android_media_ToneGenerator_startTone(JNIEnv *env, jobject thiz, jint toneType, jint durationMs) { in android_media_ToneGenerator_startTone() argument
51 return lpToneGen->startTone((ToneGenerator::tone_type) toneType, durationMs); in android_media_ToneGenerator_startTone()
/frameworks/base/packages/Keyguard/test/SampleTrustAgent/src/com/android/trustagent/test/
DSampleTrustAgent.java130 String message, long durationMs, boolean initiatedByUser) { in sendGrantTrust() argument
133 intent.putExtra(EXTRA_DURATION, durationMs); in sendGrantTrust()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DBackgroundManager.java211 public void fadeIn(int durationMs, int delayMs) { in fadeIn() argument
212 fade(durationMs, delayMs, FULL_ALPHA); in fadeIn()
214 public void fadeOut(int durationMs) { in fadeOut() argument
215 fade(durationMs, 0, 0); in fadeOut()
217 public void fade(int durationMs, int delayMs, int alpha) { in fade() argument
224 mAnimator.setDuration(durationMs); in fade()
/frameworks/ex/framesequence/jni/
DFrameSequence_gif.cpp71 long durationMs = 0; in FrameSequence_gif() local
99 durationMs += getDelayMs(gcb); in FrameSequence_gif()
115 mGif->SWidth, mGif->SHeight, mGif->ImageCount, durationMs); in FrameSequence_gif()
/frameworks/base/media/java/android/media/
DToneGenerator.java866 public native boolean startTone(int toneType, int durationMs); in startTone() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/location/
DLocationRequestStatisticsTest.java169 long durationMs = stats.getDurationMs(); in verifyStatisticsTimes() local
172 assertTrue("Duration is too large", durationMs <= maxDeltaMs); in verifyStatisticsTimes()
/frameworks/av/include/media/
DToneGenerator.h157 bool startTone(tone_type toneType, int durationMs = -1);