/frameworks/av/services/camera/libcameraservice/utils/ |
D | CameraServiceProxyWrapper.h | 54 int32_t latencyMs, int64_t logId) in CameraSessionStatsWrapper() argument 56 latencyMs, logId) {} in CameraSessionStatsWrapper() 59 void onClose(sp<hardware::ICameraServiceProxy>& proxyBinder, int32_t latencyMs, 61 void onStreamConfigured(int operatingMode, bool internalReconfig, int32_t latencyMs); 105 int32_t latencyMs); 108 void logClose(const std::string& id, int32_t latencyMs, bool deviceError); 112 int32_t latencyMs);
|
D | CameraServiceProxyWrapper.cpp | 63 sp<hardware::ICameraServiceProxy>& proxyBinder, int32_t latencyMs, in onClose() argument 68 mSessionStats.mLatencyMs = latencyMs; in onClose() 75 int operatingMode, bool internalReconfig, int32_t latencyMs) { in onStreamConfigured() argument 81 mSessionStats.mLatencyMs = latencyMs; in onStreamConfigured() 360 int operatingMode, bool internalConfig, int32_t latencyMs) { in logStreamConfigured() argument 373 __FUNCTION__, id.c_str(), operatingMode, internalConfig, latencyMs); in logStreamConfigured() 374 sessionStats->onStreamConfigured(operatingMode, internalConfig, latencyMs); in logStreamConfigured() 430 int32_t latencyMs) { in logOpen() argument 450 apiLevel, isNdk, latencyMs, logId); in logOpen() 456 __FUNCTION__, id.c_str(), facing, effectiveApiLevel, isNdk, latencyMs); in logOpen() [all …]
|
D | SessionStatsBuilder.cpp | 169 void StreamStats::updateLatencyHistogram(int32_t latencyMs) { in updateLatencyHistogram() argument 172 if (latencyMs < mCaptureLatencyBins[i]) { in updateLatencyHistogram()
|
D | SessionStatsBuilder.h | 55 void updateLatencyHistogram(int32_t latencyMs);
|
/frameworks/base/core/java/android/net/metrics/ |
D | NetworkMetrics.java | 76 public void addDnsResult(int eventType, int returnCode, int latencyMs) { in addDnsResult() argument 80 boolean isSuccess = dnsMetrics.addResult((byte) eventType, (byte) returnCode, latencyMs); in addDnsResult() 81 pendingSummary.dnsLatencies.count(latencyMs); in addDnsResult() 86 public void addConnectResult(int error, int latencyMs, String ipAddr) { in addConnectResult() argument 90 boolean isSuccess = connectMetrics.addEvent(error, latencyMs, ipAddr); in addConnectResult() 93 pendingSummary.connectLatencies.count(latencyMs); in addConnectResult()
|
D | DnsEvent.java | 58 boolean addResult(byte eventType, byte returnCode, int latencyMs) { in addResult() argument 69 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/media/libeffects/visualizer/aidl/ |
D | Visualizer.cpp | 60 MAKE_RANGE(Visualizer, latencyMs, 0, VisualizerContext::kMaxLatencyMs), 136 case Visualizer::latencyMs: { in setParameterSpecific() 137 RETURN_IF(mContext->setDownstreamLatency(param.get<Visualizer::latencyMs>()) != in setParameterSpecific() 196 case Visualizer::latencyMs: { in getParameterVisualizer() 197 param.set<Visualizer::latencyMs>(mContext->getDownstreamLatency()); in getParameterVisualizer()
|
D | VisualizerContext.cpp | 194 int32_t latencyMs = mDownstreamLatency; in capture() local 195 latencyMs -= deltaMs; in capture() 196 if (latencyMs < 0) { in capture() 197 latencyMs = 0; in capture() 199 uint32_t deltaSamples = captureSamples + mCommon.input.base.sampleRate * latencyMs / 1000; in capture()
|
/frameworks/av/services/audioflinger/datapath/ |
D | ThreadMetrics.h | 115 void logLatency(double latencyMs) { in logLatency() argument 117 .set(AMEDIAMETRICS_PROP_LATENCYMS, latencyMs) in logLatency() 120 mDeviceLatencyMs.add(latencyMs); in logLatency()
|
D | TrackMetrics.h | 137 void logLatencyAndStartup(double latencyMs, double startupMs) { in logLatencyAndStartup() argument 139 .set(AMEDIAMETRICS_PROP_LATENCYMS, latencyMs) in logLatencyAndStartup() 143 mDeviceLatencyMs.add(latencyMs); in logLatencyAndStartup()
|
/frameworks/av/camera/tests/fuzzer/ |
D | camera_SessionStats_fuzzer.cpp | 128 int32_t latencyMs = fdp.ConsumeIntegral<int32_t>(); in LLVMFuzzerTestOneInput() local 130 parcelCamSessionStats.writeInt32(latencyMs); in LLVMFuzzerTestOneInput() 139 apiLevel, isNdk, latencyMs, logId); in LLVMFuzzerTestOneInput()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/ |
D | DisplaySwitchLatencyTrackerTest.kt | 158 latencyMs = 250, in unfold_logsLatencyTillTransitionStarted() 209 latencyMs = 50, in unfold_progressUnavailable_logsLatencyTillScreenTurnedOn() 242 latencyMs = 50, in unfold_animationDisabled_logsLatencyTillScreenTurnedOn() 272 latencyMs = 200, in foldWhileStayingAwake_logsLatency() 308 latencyMs = 200, in foldToAod_capturesToStateAsAod() 365 latencyMs = 0, in foldToScreenOff_capturesToStateAsScreenOff()
|
/frameworks/av/services/audioflinger/ |
D | TrackBase.h | 126 status_t getServerLatencyMs(double* latencyMs, bool* fromTrack = nullptr) const final { 141 *latencyMs = serverLatencyMs; 163 status_t getTrackLatencyMs(double* latencyMs, bool* fromTrack = nullptr) const { 167 *latencyMs = serverLatencyMs + bufferLatencyMs();
|
D | PatchPanel.cpp | 55 status_t SoftwarePatch::getLatencyMs_l(double* latencyMs) const { in getLatencyMs_l() 56 return mPatchPanel->getLatencyMs_l(mPatchHandle, latencyMs); in getLatencyMs_l() 60 audio_patch_handle_t patchHandle, double* latencyMs) const in getLatencyMs_l() 64 return iter->second.getLatencyMs(latencyMs); in getLatencyMs_l() 684 status_t PatchPanel::Patch::getLatencyMs(double* latencyMs) const in getLatencyMs() 707 *latencyMs = recordServerLatencyMs + playbackTrackLatencyMs; in getLatencyMs() 734 *latencyMs = frameDiff * 1e3 / recordTrack->sampleRate() in getLatencyMs() 763 double latencyMs; in dump() local 764 if (getLatencyMs(&latencyMs) == OK) { in dump() 765 result.appendFormat(" latency: %.2lf ms", latencyMs); in dump()
|
D | IAfPatchPanel.h | 48 status_t getLatencyMs_l(double* latencyMs) const REQUIRES(audio_utils::AudioFlinger_Mutex); 240 status_t getLatencyMs(double* latencyMs) const; 300 virtual status_t getLatencyMs_l(audio_patch_handle_t patchHandle, double* latencyMs) const
|
D | Tracks.cpp | 1037 double latencyMs; in appendDump() local 1039 if (getTrackLatencyMs(&latencyMs, &fromTrack) == OK) { in appendDump() 1042 result.appendFormat(" %7.2lf %c", latencyMs, fromTrack ? 't' : 'k'); in appendDump() 1142 const double latencyMs = timestamp.getOutputServerLatencyMs(sampleRate()); in onTimestamp() local 1144 mServerLatencyMs.store(latencyMs); in onTimestamp() 1778 bool Track::presentationComplete(uint32_t latencyMs) in presentationComplete() argument 1791 mPresentationCompleteTimeNs = systemTime() + latencyMs * 1e6 / fmax(mSpeed, MIN_SPEED); in presentationComplete() 1793 __func__, mId, latencyMs, (long long) mPresentationCompleteTimeNs); in presentationComplete() 2087 const double latencyMs = useTrackTimestamp in updateTrackFrameInfo() local 2092 mServerLatencyMs.store(latencyMs); in updateTrackFrameInfo() [all …]
|
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | OpenOutputResponse.aidl | 28 int latencyMs;
|
/frameworks/av/media/libaudiohal/impl/effectsAidlConversion/ |
D | AidlConversionVisualizer.cpp | 66 aidlParam = MAKE_SPECIFIC_PARAMETER(Visualizer, visualizer, latencyMs, value); in setParameter() 118 Visualizer::latencyMs); in getParameter() 121 aidlParam, Visualizer, visualizer, Visualizer::latencyMs, int32_t)); in getParameter()
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | VibratorFrameworkStatsLogger.java | 174 public void logVibrationParamRequestLatency(int uid, long latencyMs) { in logVibrationParamRequestLatency() argument 175 sVibrationParamRequestLatencyHistogram.logSampleWithUid(uid, (float) latencyMs); in logVibrationParamRequestLatency()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/ |
D | DisplaySwitchLatencyLogger.kt | 31 latencyMs, in log()
|
/frameworks/av/camera/ |
D | CameraSessionStats.cpp | 289 int apiLevel, bool isNdk, int32_t latencyMs, int64_t logId) : in CameraSessionStats() argument 296 mLatencyMs(latencyMs), in CameraSessionStats() 352 int32_t latencyMs; in readFromParcel() local 353 if ((err = parcel->readInt32(&latencyMs)) != OK) { in readFromParcel() 458 mLatencyMs = latencyMs; in readFromParcel()
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyClientImpl.cpp | 58 uint32_t *latencyMs, in openOutput() argument 83 *latencyMs = VALUE_OR_RETURN_STATUS(convertIntegral<uint32_t>(response.latencyMs)); in openOutput()
|
/frameworks/av/media/libeffects/visualizer/ |
D | EffectVisualizer.cpp | 648 int32_t latencyMs = pContext->mLatency; in Visualizer_command() local 649 latencyMs -= deltaMs; in Visualizer_command() 650 if (latencyMs < 0) { in Visualizer_command() 651 latencyMs = 0; in Visualizer_command() 654 + pContext->mConfig.inputCfg.samplingRate * latencyMs / 1000; in Visualizer_command()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetdEventListenerService.java | 214 public synchronized void onDnsEvent(int netId, int eventType, int returnCode, int latencyMs, in onDnsEvent() argument 217 getMetricsForNetwork(timestamp, netId).addDnsResult(eventType, returnCode, latencyMs); in onDnsEvent() 266 public synchronized void onConnectEvent(int netId, int error, int latencyMs, String ipAddr, in onConnectEvent() argument 269 getMetricsForNetwork(timestamp, netId).addConnectResult(error, latencyMs, ipAddr); in onConnectEvent()
|