/frameworks/base/services/core/java/com/android/server/trust/ |
D | TrustAgentWrapper.java | 119 long durationMs = msg.getData().getLong(DATA_DURATION); 120 if (durationMs > 0) { 127 duration = Math.min(durationMs, mMaximumTimeToLock); 130 + durationMs + " to " + duration); 133 duration = durationMs; 143 durationMs, initiatedByUser); 196 public void grantTrust(CharSequence userMessage, long durationMs, boolean initiatedByUser) { 197 if (DEBUG) Slog.v(TAG, "enableTrust(" + userMessage + ", durationMs = " + durationMs 202 msg.getData().putLong(DATA_DURATION, durationMs);
|
/frameworks/av/media/libmedia/ |
D | mediaplayer.cpp | 419 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()
|
D | ToneGenerator.cpp | 876 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/java/android/service/trust/ |
D | TrustAgentService.java | 236 final CharSequence message, final long durationMs, final boolean initiatedByUser) { in grantTrust() argument 244 mCallback.grantTrust(message.toString(), durationMs, initiatedByUser); in grantTrust() local 254 grantTrust(message, durationMs, initiatedByUser); in grantTrust()
|
D | ITrustAgentServiceCallback.aidl | 27 void grantTrust(CharSequence message, long durationMs, boolean initiatedByUser); in grantTrust() argument
|
/frameworks/base/core/jni/ |
D | android_media_ToneGenerator.cpp | 41 … 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/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | BackgroundManager.java | 212 public void fadeIn(int durationMs, int delayMs) { in fadeIn() argument 213 fade(durationMs, delayMs, FULL_ALPHA); in fadeIn() 215 public void fadeOut(int durationMs) { in fadeOut() argument 216 fade(durationMs, 0, 0); in fadeOut() 218 public void fade(int durationMs, int delayMs, int alpha) { in fade() argument 225 mAnimator.setDuration(durationMs); in fade()
|
/frameworks/base/packages/Keyguard/test/SampleTrustAgent/src/com/android/trustagent/test/ |
D | SampleTrustAgent.java | 158 String message, long durationMs, boolean initiatedByUser) { in sendGrantTrust() argument 161 intent.putExtra(EXTRA_DURATION, durationMs); in sendGrantTrust()
|
/frameworks/ex/framesequence/jni/ |
D | FrameSequence_gif.cpp | 71 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/ |
D | ToneGenerator.java | 866 public native boolean startTone(int toneType, int durationMs); in startTone() argument
|
/frameworks/base/services/tests/servicestests/src/com/android/server/location/ |
D | LocationRequestStatisticsTest.java | 169 long durationMs = stats.getDurationMs(); in verifyStatisticsTimes() local 172 assertTrue("Duration is too large", durationMs <= maxDeltaMs); in verifyStatisticsTimes()
|
/frameworks/av/include/media/ |
D | ToneGenerator.h | 157 bool startTone(tone_type toneType, int durationMs = -1);
|