Home
last modified time | relevance | path

Searched refs:maxLatency (Results 1 – 2 of 2) 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.cpp4467 uint32_t maxLatency = 0; in AudioPolicyManager() local
4474 if (latency > maxLatency) { in AudioPolicyManager()
4475 maxLatency = latency; in AudioPolicyManager()
4479 return maxLatency; in AudioPolicyManager()