/frameworks/base/core/java/android/view/textclassifier/ |
D | GenerateLinksLogger.java | 68 long latencyMs) { in logGenerateLinks() argument 92 writeStats(callId, callingPackageName, null, totalStats, text, latencyMs); in logGenerateLinks() 95 latencyMs); in logGenerateLinks() 114 LinkifyStats stats, CharSequence text, long latencyMs) { in writeStats() argument 121 .addTaggedData(MetricsEvent.FIELD_LINKIFY_LATENCY, latencyMs); in writeStats() 143 final int latencyMs = Integer.parseInt( in debugLog() local 148 numLinks, linkLength, textLength, latencyMs, log.getPackageName())); in debugLog()
|
/frameworks/base/core/java/android/net/metrics/ |
D | NetworkMetrics.java | 78 public void addDnsResult(int eventType, int returnCode, int latencyMs) { in addDnsResult() argument 82 boolean isSuccess = dnsMetrics.addResult((byte) eventType, (byte) returnCode, latencyMs); in addDnsResult() 83 pendingSummary.dnsLatencies.count(latencyMs); in addDnsResult() 88 public void addConnectResult(int error, int latencyMs, String ipAddr) { in addConnectResult() argument 92 boolean isSuccess = connectMetrics.addEvent(error, latencyMs, ipAddr); in addConnectResult() 95 pendingSummary.connectLatencies.count(latencyMs); in addConnectResult()
|
D | DnsEvent.java | 61 boolean addResult(byte eventType, byte returnCode, int latencyMs) { in addResult() argument 72 latenciesMs[eventCount] = latencyMs; in addResult()
|
D | ConnectStats.java | 63 boolean addEvent(int errno, int latencyMs, String ipAddr) { in addEvent() argument 67 countLatency(errno, latencyMs); in addEvent()
|
/frameworks/av/services/audioflinger/ |
D | TrackBase.h | 145 status_t getServerLatencyMs(double *latencyMs, bool *fromTrack = nullptr) const { 160 *latencyMs = serverLatencyMs; 182 status_t getTrackLatencyMs(double *latencyMs, bool *fromTrack = nullptr) const { 186 *latencyMs = serverLatencyMs + bufferLatencyMs();
|
D | PatchPanel.cpp | 87 status_t AudioFlinger::PatchPanel::SoftwarePatch::getLatencyMs_l(double *latencyMs) const in getLatencyMs_l() 91 return iter->second.getLatencyMs(latencyMs); in getLatencyMs_l() 588 status_t AudioFlinger::PatchPanel::Patch::getLatencyMs(double *latencyMs) const in getLatencyMs() 611 *latencyMs = recordServerLatencyMs + playbackTrackLatencyMs; in getLatencyMs() 638 *latencyMs = frameDiff * 1e3 / recordTrack->sampleRate() in getLatencyMs() 667 double latencyMs; in dump() local 668 if (getLatencyMs(&latencyMs) == OK) { in dump() 669 result.appendFormat(" latency: %.2lf ms", latencyMs); in dump()
|
D | PatchPanel.h | 37 status_t getLatencyMs_l(double *latencyMs) const; 202 status_t getLatencyMs(double *latencyMs) const;
|
D | FastMixer.cpp | 529 const double latencyMs = in onWork() local 531 dumpState->mLatencyMs = latencyMs; in onWork() 532 LOG_LATENCY(latencyMs); in onWork()
|
D | Tracks.cpp | 773 double latencyMs; in appendDump() local 775 if (getTrackLatencyMs(&latencyMs, &fromTrack) == OK) { in appendDump() 778 result.appendFormat(" %7.2lf %c", latencyMs, fromTrack ? 't' : 'k'); in appendDump() 872 const double latencyMs = timestamp.getOutputServerLatencyMs(sampleRate()); in onTimestamp() local 874 mServerLatencyMs.store(latencyMs); in onTimestamp() 1493 const double latencyMs = useTrackTimestamp in updateTrackFrameInfo() local 1498 mServerLatencyMs.store(latencyMs); in updateTrackFrameInfo() 2269 double latencyMs; in appendDump() local 2271 if (getTrackLatencyMs(&latencyMs, &fromTrack) == OK) { in appendDump() 2274 result.appendFormat(" %7.2lf %c", latencyMs, fromTrack ? 't' : 'k'); in appendDump() [all …]
|
D | Threads.cpp | 2170 uint32_t latencyMs = latency_l(); in createTrack_l() local 2171 if (latencyMs == 0) { in createTrack_l() 2177 minFrameCount = AudioSystem::calculateMinFrameCount(latencyMs, mNormalFrameCount, in createTrack_l() 3353 double latencyMs; in threadLoop() local 3358 status = swPatches[0].getLatencyMs_l(&latencyMs); in threadLoop() 3369 if (latencyMs >= minLatency && latencyMs <= maxLatency) { in threadLoop() 3370 ALOGVV("new downstream latency %lf ms", latencyMs); in threadLoop() 3372 ALOGD("out of range downstream latency %lf ms", latencyMs); in threadLoop() 3373 if (latencyMs < minLatency) latencyMs = minLatency; in threadLoop() 3374 else if (latencyMs > maxLatency) latencyMs = maxLatency; in threadLoop() [all …]
|
D | AudioFlinger.h | 183 uint32_t *latencyMs,
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetdEventListenerService.java | 201 public synchronized void onDnsEvent(int netId, int eventType, int returnCode, int latencyMs, in onDnsEvent() argument 205 getMetricsForNetwork(timestamp, netId).addDnsResult(eventType, returnCode, latencyMs); in onDnsEvent() 244 public synchronized void onConnectEvent(int netId, int error, int latencyMs, String ipAddr, in onConnectEvent() argument 247 getMetricsForNetwork(timestamp, netId).addConnectResult(error, latencyMs, ipAddr); in onConnectEvent()
|
D | IpConnectivityEventBuilder.java | 235 ipProvisioningEvent.latencyMs = (int) in.durationMs; in setIpManagerEvent() 250 networkEvent.latencyMs = (int) in.durationMs; in setNetworkEvent() 257 validationProbeEvent.latencyMs = (int) in.durationMs; in setValidationProbeEvent()
|
/frameworks/av/media/libeffects/visualizer/ |
D | EffectVisualizer.cpp | 649 int32_t latencyMs = pContext->mLatency; in Visualizer_command() local 650 latencyMs -= deltaMs; in Visualizer_command() 651 if (latencyMs < 0) { in Visualizer_command() 652 latencyMs = 0; in Visualizer_command() 655 + pContext->mConfig.inputCfg.samplingRate * latencyMs / 1000; in Visualizer_command()
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyClientImpl.cpp | 43 uint32_t *latencyMs, in openOutput() argument 51 return af->openOutput(module, output, config, device, latencyMs, flags); in openOutput()
|
D | AudioPolicyService.h | 639 uint32_t *latencyMs,
|
/frameworks/av/media/libnblog/ |
D | Merger.cpp | 157 const double latencyMs = it.payload<double>(); in processSnapshot() local 158 data.latencyHist.add(latencyMs); in processSnapshot()
|
D | Reader.cpp | 240 const double latencyMs = it.payload<double>(); in dump() local 241 body.appendFormat("EVENT_LATENCY,%.3f", latencyMs); in dump()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | IpConnectivityMetricsTest.java | 571 void connectEvent(int netid, int error, int latencyMs, String ipAddr) throws Exception { in connectEvent() argument 572 mNetdListener.onConnectEvent(netid, error, latencyMs, ipAddr, 80, 1); in connectEvent()
|
D | NetdEventListenerServiceTest.java | 473 Thread connectEventAction(int netId, int error, int latencyMs, String ipAddr) { in connectEventAction() argument 476 mService.onConnectEvent(netId, error, latencyMs, ipAddr, 80, 1); in connectEventAction()
|
/frameworks/av/media/libaudioclient/ |
D | IAudioFlinger.cpp | 398 uint32_t *latencyMs, in openOutput() argument 401 if (output == nullptr || config == nullptr || device == nullptr || latencyMs == nullptr) { in openOutput() 423 *latencyMs = reply.readInt32(); in openOutput() 1230 uint32_t latencyMs = 0; in onTransact() local 1232 status = openOutput(module, &output, &config, device, &latencyMs, flags); in onTransact() 1238 reply->writeInt32(latencyMs); in onTransact()
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterface.h | 314 uint32_t *latencyMs,
|
/frameworks/av/media/libaudioclient/include/media/ |
D | IAudioFlinger.h | 409 uint32_t *latencyMs,
|
/frameworks/av/media/libaudiohal/impl/ |
D | StreamHalHidl.cpp | 323 *latency = writeStatus.reply.latencyMs; in getLatency()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 1658 final int latencyMs = (int) (SystemClock.uptimeMillis() - mLastWakeTime); in finishWakefulnessChangeIfNeededLocked() local 1659 if (latencyMs >= SCREEN_ON_LATENCY_WARNING_MS) { in finishWakefulnessChangeIfNeededLocked() 1660 Slog.w(TAG, "Screen on took " + latencyMs + " ms"); in finishWakefulnessChangeIfNeededLocked()
|