Home
last modified time | relevance | path

Searched refs:latencyMs (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/av/services/camera/libcameraservice/utils/
DCameraServiceProxyWrapper.h54 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);
DCameraServiceProxyWrapper.cpp63 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 …]
DSessionStatsBuilder.cpp169 void StreamStats::updateLatencyHistogram(int32_t latencyMs) { in updateLatencyHistogram() argument
172 if (latencyMs < mCaptureLatencyBins[i]) { in updateLatencyHistogram()
DSessionStatsBuilder.h55 void updateLatencyHistogram(int32_t latencyMs);
/frameworks/base/core/java/android/net/metrics/
DNetworkMetrics.java76 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()
DDnsEvent.java58 boolean addResult(byte eventType, byte returnCode, int latencyMs) { in addResult() argument
69 latenciesMs[eventCount] = latencyMs; in addResult()
DConnectStats.java63 boolean addEvent(int errno, int latencyMs, String ipAddr) { in addEvent() argument
67 countLatency(errno, latencyMs); in addEvent()
/frameworks/av/media/libeffects/visualizer/aidl/
DVisualizer.cpp60 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()
DVisualizerContext.cpp194 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/
DThreadMetrics.h115 void logLatency(double latencyMs) { in logLatency() argument
117 .set(AMEDIAMETRICS_PROP_LATENCYMS, latencyMs) in logLatency()
120 mDeviceLatencyMs.add(latencyMs); in logLatency()
DTrackMetrics.h137 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/
Dcamera_SessionStats_fuzzer.cpp128 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/
DDisplaySwitchLatencyTrackerTest.kt158 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/
DTrackBase.h126 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();
DPatchPanel.cpp55 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()
DIAfPatchPanel.h48 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
DTracks.cpp1037 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/
DOpenOutputResponse.aidl28 int latencyMs;
/frameworks/av/media/libaudiohal/impl/effectsAidlConversion/
DAidlConversionVisualizer.cpp66 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/
DVibratorFrameworkStatsLogger.java174 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/
DDisplaySwitchLatencyLogger.kt31 latencyMs, in log()
/frameworks/av/camera/
DCameraSessionStats.cpp289 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/
DAudioPolicyClientImpl.cpp58 uint32_t *latencyMs, in openOutput() argument
83 *latencyMs = VALUE_OR_RETURN_STATUS(convertIntegral<uint32_t>(response.latencyMs)); in openOutput()
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp648 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/
DNetdEventListenerService.java214 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()

12