Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/metrics/
DNetworkEvent.java42 public final long durationMs; field in NetworkEvent
44 private NetworkEvent(int netId, int eventType, long durationMs) { in NetworkEvent() argument
47 this.durationMs = durationMs; in NetworkEvent()
53 durationMs = in.readLong(); in NetworkEvent()
59 out.writeLong(durationMs); in writeToParcel()
81 public static void logValidated(int netId, long durationMs) { in logValidated() argument
82 logEvent(new NetworkEvent(netId, NETWORK_VALIDATED, durationMs)); in logValidated()
85 public static void logCaptivePortalFound(int netId, long durationMs) { in logCaptivePortalFound() argument
86 logEvent(new NetworkEvent(netId, NETWORK_CAPTIVE_PORTAL_FOUND, durationMs)); in logCaptivePortalFound()
92 netId, Decoder.constants.get(eventType), durationMs); in toString()
DValidationProbeEvent.java41 public final long durationMs; field in ValidationProbeEvent
45 private ValidationProbeEvent(int netId, long durationMs, int probeType, int returnCode) { in ValidationProbeEvent() argument
47 this.durationMs = durationMs; in ValidationProbeEvent()
54 durationMs = in.readLong(); in ValidationProbeEvent()
61 out.writeLong(durationMs); in writeToParcel()
86 public static void logEvent(int netId, long durationMs, int probeType, int returnCode) { in logEvent() argument
87 logEvent(new ValidationProbeEvent(netId, durationMs, probeType, returnCode)); in logEvent()
93 netId, getProbeName(probeType), returnCode, durationMs); in toString()
DIpManagerEvent.java38 public final long durationMs; field in IpManagerEvent
43 this.durationMs = duration; in IpManagerEvent()
49 this.durationMs = in.readLong(); in IpManagerEvent()
55 out.writeLong(durationMs); in writeToParcel()
73 public static void logEvent(int eventType, String ifName, long durationMs) { in logEvent() argument
74 logEvent(new IpManagerEvent(ifName, eventType, durationMs)); in logEvent()
80 ifName, Decoder.constants.get(eventType), durationMs); in toString()
/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, flags);
198 public void grantTrust(CharSequence userMessage, long durationMs, int flags) {
199 if (DEBUG) Slog.v(TAG, "enableTrust(" + userMessage + ", durationMs = " + durationMs
204 msg.getData().putLong(DATA_DURATION, durationMs);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2RecordingTest.java254 int durationMs = (int) (resultListener.getTotalNumFrames() * 1000.0f / in constrainedHighSpeedRecording() local
258 validateRecording(size, durationMs); in constrainedHighSpeedRecording()
434 int durationMs = (int) (resultListener.getTotalNumFrames() * 1000.0f / in basicRecordingTestByCamera() local
443 validateRecording(videoSz, durationMs); in basicRecordingTestByCamera()
687 int durationMs = stopRecording(/* useMediaRecorder */true); in videoSnapshotTestByCamera() local
692 durationMs = (int) (resultListener.getTotalNumFrames() * 1000.0f / in videoSnapshotTestByCamera()
697 validateRecording(videoSz, durationMs); in videoSnapshotTestByCamera()
1009 double durationMs = (currentTS - prevTS) / 1000000.0;
1020 durationMs, expectedDurationMs
1022 durationMs <= (expectedDurationMs * MAX_NUM_FRAME_DROP_INTERVAL_ALLOWED)
[all …]
/frameworks/base/core/java/android/service/trust/
DTrustAgentService.java271 final CharSequence message, final long durationMs, final boolean initiatedByUser) { in grantTrust() argument
272 grantTrust(message, durationMs, initiatedByUser ? FLAG_GRANT_TRUST_INITIATED_BY_USER : 0); in grantTrust()
291 final CharSequence message, final long durationMs, @GrantTrustFlags final int flags) { in grantTrust() argument
299 mCallback.grantTrust(message.toString(), durationMs, flags); in grantTrust() local
309 grantTrust(message, durationMs, flags); in grantTrust()
DITrustAgentServiceCallback.aidl27 void grantTrust(CharSequence message, long durationMs, int flags); in grantTrust() argument
/frameworks/base/media/java/android/media/tv/
DITvInputSessionWrapper.java231 long durationMs = (System.nanoTime() - startTime) / (1000 * 1000); in executeMessage() local
232 if (durationMs > EXECUTE_MESSAGE_TIMEOUT_SHORT_MILLIS) { in executeMessage()
234 + durationMs + "ms)"); in executeMessage()
235 if (msg.what == DO_TUNE && durationMs > EXECUTE_MESSAGE_TUNE_TIMEOUT_MILLIS) { in executeMessage()
236 throw new RuntimeException("Too much time to handle tune request. (" + durationMs in executeMessage()
240 if (durationMs > EXECUTE_MESSAGE_TIMEOUT_LONG_MILLIS) { in executeMessage()
242 ", " + durationMs + "ms > " + EXECUTE_MESSAGE_TIMEOUT_LONG_MILLIS + "ms)."); in executeMessage()
/frameworks/support/design/src/android/support/design/widget/
DSnackbarManager.java222 int durationMs = LONG_DURATION_MS; in scheduleTimeoutLocked() local
224 durationMs = r.duration; in scheduleTimeoutLocked()
226 durationMs = SHORT_DURATION_MS; in scheduleTimeoutLocked()
229 mHandler.sendMessageDelayed(Message.obtain(mHandler, MSG_TIMEOUT, r), durationMs); in scheduleTimeoutLocked() local
/frameworks/av/media/libmedia/
Dmediaplayer.cpp484 int durationMs; in getDuration_l() local
485 status_t ret = mPlayer->getDuration(&durationMs); in getDuration_l()
489 durationMs = -1; in getDuration_l()
494 *msec = durationMs; in getDuration_l()
519 int durationMs; in seekTo_l() local
520 status_t err = mPlayer->getDuration(&durationMs); in seekTo_l()
527 if (msec > durationMs) { in seekTo_l()
531 durationMs); in seekTo_l()
533 msec = durationMs; in seekTo_l()
DToneGenerator.cpp897 bool ToneGenerator::startTone(tone_type toneType, int durationMs) { in startTone() argument
923 mDurationMs = durationMs; in startTone()
/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/core/java/android/app/job/
DJobInfo.java681 public Builder setTriggerContentUpdateDelay(long durationMs) { in setTriggerContentUpdateDelay() argument
682 mTriggerContentUpdateDelay = durationMs; in setTriggerContentUpdateDelay()
691 public Builder setTriggerContentMaxDelay(long durationMs) { in setTriggerContentMaxDelay() argument
692 mTriggerContentMaxDelay = durationMs; in setTriggerContentMaxDelay()
/frameworks/base/packages/Keyguard/test/SampleTrustAgent/src/com/android/trustagent/test/
DSampleTrustAgent.java166 String message, long durationMs, boolean initiatedByUser) { in sendGrantTrust() argument
169 intent.putExtra(EXTRA_DURATION, durationMs); in sendGrantTrust()
/frameworks/ex/framesequence/jni/
DFrameSequence_gif.cpp62 long durationMs = 0; in FrameSequence_gif() local
90 durationMs += getDelayMs(gcb); in FrameSequence_gif()
106 mGif->SWidth, mGif->SHeight, mGif->ImageCount, durationMs); in FrameSequence_gif()
/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/base/media/java/android/media/
DToneGenerator.java866 public native boolean startTone(int toneType, int durationMs); in startTone() argument
/frameworks/av/include/media/
DToneGenerator.h158 bool startTone(tone_type toneType, int durationMs = -1);
/frameworks/base/services/core/java/com/android/server/policy/
DSystemGesturesPointerEventListener.java268 void onFling(int durationMs);
/frameworks/base/api/
Dsystem-current.txt25989 field public final long durationMs;
26022 field public final long durationMs;
26038 field public final long durationMs;