/frameworks/base/core/java/android/net/metrics/ |
D | NetworkEvent.java | 72 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()
|
D | DhcpClientEvent.java | 38 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()
|
D | ValidationProbeEvent.java | 56 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()
|
D | ApfStats.java | 30 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()
|
D | IpManagerEvent.java | 55 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/ |
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, 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/ |
D | TrustAgentService.java | 271 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()
|
D | ITrustAgentServiceCallback.aidl | 27 void grantTrust(CharSequence message, long durationMs, int flags); in grantTrust() argument
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | Camera2RecordingTest.java | 254 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/ |
D | IpConnectivityEventBuilder.java | 148 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()
|
D | NetworkMonitor.java | 1045 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/ |
D | ITvInputSessionWrapper.java | 231 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/ |
D | SnackbarManager.java | 222 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/ |
D | mediaplayer.cpp | 486 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()
|
D | ToneGenerator.cpp | 931 bool ToneGenerator::startTone(tone_type toneType, int durationMs) { in startTone() argument 957 mDurationMs = durationMs; in startTone()
|
/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/core/java/android/app/job/ |
D | JobInfo.java | 684 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/ |
D | SampleTrustAgent.java | 166 String message, long durationMs, boolean initiatedByUser) { in sendGrantTrust() argument 169 intent.putExtra(EXTRA_DURATION, durationMs); in sendGrantTrust()
|
/frameworks/ex/framesequence/jni/ |
D | FrameSequence_gif.cpp | 62 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/ |
D | LocationRequestStatisticsTest.java | 169 long durationMs = stats.getDurationMs(); in verifyStatisticsTimes() local 172 assertTrue("Duration is too large", durationMs <= maxDeltaMs); in verifyStatisticsTimes()
|
/frameworks/base/media/java/android/media/ |
D | ToneGenerator.java | 866 public native boolean startTone(int toneType, int durationMs); in startTone() argument
|
/frameworks/base/services/net/java/android/net/dhcp/ |
D | DhcpClient.java | 509 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/ |
D | ToneGenerator.h | 158 bool startTone(tone_type toneType, int durationMs = -1);
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | SystemGesturesPointerEventListener.java | 278 void onFling(int durationMs);
|
/frameworks/base/services/net/java/android/net/apf/ |
D | ApfFilter.java | 162 long durationMs = SystemClock.elapsedRealtime() - mStart; in logStats() local 164 mMetricsLog.log(new ApfStats(durationMs, mReceivedRas, mMatchingRas, mDroppedRas, in logStats()
|