summaryrefslogtreecommitdiff
path: root/native/android/sharedmem.cpp
diff options
context:
space:
mode:
author Avichal Rakesh <arakesh@google.com> 2024-02-26 14:09:05 -0800
committer Avichal Rakesh <arakesh@google.com> 2024-02-26 16:01:03 -0800
commite42da6e1ecfa3bb4c316a75927aaa54a64714229 (patch)
tree51dc3f32baecefcc6065fb1583f265d7c5e2c4c0 /native/android/sharedmem.cpp
parent381323ab586a2ec1b458f61fab7ac399a9ea0e2d (diff)
Camera2: Optimize CameraDeviceSetup query during openCamera
CameraManager#openCamera currently ended up calling public CameraManager methods to query for CameraDeviceSetup support. While this was functionally correct, it led to a few extra binder calls which could significantly increase the latency of openCamera. This CL moves those calls to private methods that don't do as much error checking to improve openCamera's performance. Bug: 326270391 Test: atest PerformanceTest#testCameraLaunch Change-Id: If78af62bbb78e6a0acd92eb445a884c17079e8ae
Diffstat (limited to 'native/android/sharedmem.cpp')
0 files changed, 0 insertions, 0 deletions