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.cpp5585 uint32_t maxLatency = 0; in checkOutputForAttributes() local
5607 maxLatency = desc->latency(); in checkOutputForAttributes()
5621 if (desc->isStrategyActive(psId) && maxLatency < desc->latency()) { in checkOutputForAttributes()
5622 maxLatency = desc->latency(); in checkOutputForAttributes()
5667 setStrategyMute(psId, false, desc, maxLatency * LATENCY_MUTE_FACTOR, in checkOutputForAttributes()
6039 uint32_t maxLatency = 0; in setBeaconMute() local
6045 if (desc->isActive(latency * 2) && latency > maxLatency) { in setBeaconMute()
6046 maxLatency = latency; in setBeaconMute()
6050 return maxLatency; in setBeaconMute()
/frameworks/av/services/audioflinger/
DThreads.cpp3570 const double minLatency = 0., maxLatency = 5000.; in threadLoop() local
3571 if (latencyMs >= minLatency && latencyMs <= maxLatency) { in threadLoop()
3576 else if (latencyMs > maxLatency) latencyMs = maxLatency; in threadLoop()