Home
last modified time | relevance | path

Searched refs:maxLatency (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DCamera2SurfaceViewTestCase.java455 int maxLatency = mStaticInfo.getSyncMaxLatency(); in captureRequestsSynchronized() local
456 if (maxLatency == CameraMetadata.SYNC_MAX_LATENCY_UNKNOWN) { in captureRequestsSynchronized()
457 maxLatency = NUM_FRAMES_WAITED_FOR_UNKNOWN_LATENCY; in captureRequestsSynchronized()
460 assertTrue("maxLatency is non-negative", maxLatency >= 0); in captureRequestsSynchronized()
462 int numCaptures = maxLatency + count; in captureRequestsSynchronized()
503 int maxLatency = mStaticInfo.getSyncMaxLatency(); in waitForSettingsApplied() local
504 if (maxLatency == CameraMetadata.SYNC_MAX_LATENCY_UNKNOWN) { in waitForSettingsApplied()
505 maxLatency = numResultWaitForUnknownLatency; in waitForSettingsApplied()
508 waitForNumResults(resultListener, maxLatency); in waitForSettingsApplied()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp5139 uint32_t maxLatency = 0; in checkOutputForAttributes() local
5142 if (desc != 0 && maxLatency < desc->latency()) { in checkOutputForAttributes()
5143 maxLatency = desc->latency(); in checkOutputForAttributes()
5155 setStrategyMute(psId, false, desc, maxLatency * LATENCY_MUTE_FACTOR, in checkOutputForAttributes()
5447 uint32_t maxLatency = 0; in setBeaconMute() local
5453 if (latency > maxLatency) { in setBeaconMute()
5454 maxLatency = latency; in setBeaconMute()
5458 return maxLatency; in setBeaconMute()
/frameworks/av/services/audioflinger/
DThreads.cpp3368 const double minLatency = 0., maxLatency = 5000.; in threadLoop() local
3369 if (latencyMs >= minLatency && latencyMs <= maxLatency) { in threadLoop()
3374 else if (latencyMs > maxLatency) latencyMs = maxLatency; in threadLoop()