/frameworks/base/services/core/java/com/android/server/trust/ |
D | TrustAgentWrapper.java | 121 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/ |
D | TrustAgentService.java | 214 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()
|
D | ITrustAgentServiceCallback.aidl | 27 void grantTrust(CharSequence message, long durationMs, boolean initiatedByUser); in grantTrust() argument
|
/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/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/base/packages/Keyguard/test/SampleTrustAgent/src/com/android/trustagent/test/ |
D | SampleTrustAgent.java | 130 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/ |
D | BackgroundManager.java | 211 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/ |
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);
|