Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/net/metrics/
DNetworkEvent.java72 public final long durationMs; field in NetworkEvent
75 public NetworkEvent(int netId, @EventType int eventType, long durationMs) { in NetworkEvent() argument
78 this.durationMs = durationMs; in NetworkEvent()
89 durationMs = in.readLong(); in NetworkEvent()
96 out.writeLong(durationMs); in writeToParcel()
118 public static void logValidated(int netId, long durationMs) { in logValidated() argument
121 public static void logCaptivePortalFound(int netId, long durationMs) { in logCaptivePortalFound() argument
127 netId, Decoder.constants.get(eventType), durationMs); in toString()
DDhcpClientEvent.java38 public final int durationMs; field in DhcpClientEvent
41 public DhcpClientEvent(String ifName, String msg, int durationMs) { in DhcpClientEvent() argument
44 this.durationMs = durationMs; in DhcpClientEvent()
50 this.durationMs = in.readInt(); in DhcpClientEvent()
57 out.writeInt(durationMs); in writeToParcel()
67 return String.format("DhcpClientEvent(%s, %s, %dms)", ifName, msg, durationMs); in toString()
DValidationProbeEvent.java56 public final long durationMs; field in ValidationProbeEvent
67 int netId, long durationMs, int probeType, @ReturnCode int returnCode) { in ValidationProbeEvent() argument
69 this.durationMs = durationMs; in ValidationProbeEvent()
76 durationMs = in.readLong(); in ValidationProbeEvent()
84 out.writeLong(durationMs); in writeToParcel()
120 public static void logEvent(int netId, long durationMs, int probeType, int returnCode) { in logEvent() argument
126 getProbeName(probeType), returnCode, getValidationStage(probeType), durationMs); in toString()
DApfStats.java30 public final long durationMs; // time interval in milliseconds these stastistics covers field in ApfStats
40 public ApfStats(long durationMs, int receivedRas, int matchingRas, int droppedRas, in ApfStats() argument
42 this.durationMs = durationMs; in ApfStats()
53 this.durationMs = in.readLong(); in ApfStats()
65 out.writeLong(durationMs); in writeToParcel()
83 .append(String.format("%dms ", durationMs)) in toString()
DIpManagerEvent.java55 public final long durationMs; field in IpManagerEvent
61 this.durationMs = duration; in IpManagerEvent()
67 this.durationMs = in.readLong(); in IpManagerEvent()
74 out.writeLong(durationMs); in writeToParcel()
93 public static void logEvent(int eventType, String ifName, long durationMs) { in logEvent() argument
99 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/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/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/services/core/java/com/android/server/connectivity/
DIpConnectivityEventBuilder.java148 out.dhcpEvent.durationMs = in.durationMs; in setDhcpClientEvent()
163 out.ipProvisioningEvent.latencyMs = (int) in.durationMs; in setIpManagerEvent()
184 out.networkEvent.latencyMs = (int) in.durationMs; in setNetworkEvent()
190 out.validationProbeEvent.latencyMs = (int) in.durationMs; in setValidationProbeEvent()
211 out.apfStatistics.durationMs = in.durationMs; in setApfStats()
DNetworkMonitor.java1045 private void logValidationProbe(long durationMs, int probeType, int probeResult) { in logValidationProbe() argument
1048 mMetricsLog.log(new ValidationProbeEvent(mNetId, durationMs, probeType, probeResult)); in logValidationProbe()
/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.cpp486 int durationMs; in getDuration_l() local
487 status_t ret = mPlayer->getDuration(&durationMs); in getDuration_l()
491 durationMs = -1; in getDuration_l()
496 *msec = durationMs; in getDuration_l()
521 int durationMs; in seekTo_l() local
522 status_t err = mPlayer->getDuration(&durationMs); in seekTo_l()
529 if (msec > durationMs) { in seekTo_l()
533 durationMs); in seekTo_l()
535 msec = durationMs; in seekTo_l()
DToneGenerator.cpp931 bool ToneGenerator::startTone(tone_type toneType, int durationMs) { in startTone() argument
957 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.java684 public Builder setTriggerContentUpdateDelay(long durationMs) { in setTriggerContentUpdateDelay() argument
685 mTriggerContentUpdateDelay = durationMs; in setTriggerContentUpdateDelay()
694 public Builder setTriggerContentMaxDelay(long durationMs) { in setTriggerContentMaxDelay() argument
695 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/base/services/net/java/android/net/dhcp/
DDhcpClient.java509 long durationMs = SystemClock.elapsedRealtime() - mEnterTimeMs; in exit() local
510 logState(getName(), (int) durationMs); in exit()
1017 private void logState(String name, int durationMs) { in logState() argument
1018 mMetricsLog.log(new DhcpClientEvent(mIfaceName, name, durationMs)); in logState()
/frameworks/av/include/media/
DToneGenerator.h158 bool startTone(tone_type toneType, int durationMs = -1);
/frameworks/base/services/core/java/com/android/server/policy/
DSystemGesturesPointerEventListener.java278 void onFling(int durationMs);
/frameworks/base/services/net/java/android/net/apf/
DApfFilter.java162 long durationMs = SystemClock.elapsedRealtime() - mStart; in logStats() local
164 mMetricsLog.log(new ApfStats(durationMs, mReceivedRas, mMatchingRas, mDroppedRas, in logStats()

12