diff options
| author | Jayant Chowdhary <jchowdhary@google.com> | 2019-09-16 12:48:05 -0700 |
|---|---|---|
| committer | Jayant Chowdhary <jchowdhary@google.com> | 2019-09-18 12:44:33 -0700 |
| commit | 556815d71c4c597d2c117e333525dd072d0093d8 (patch) | |
| tree | a950e6e6c82d1d5b30e2303a5766d41e51bc987a /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
| parent | e9eb25e1b41d556d7945c0913a2f73c4f81423e2 (diff) | |
CameraManager: Add @TestApi method getCameraIdListNoLazy().
Add getCameraIdListNoLazy() - a test method which necessarily makes a
call to cameraserver in order to get an updated list of camera ids. This
is needed since camera cts tests use SYSTEM_CAMERA permissions in a way
which are not permitted to happen in real world scenarios : processes
cannot gain and lose SYSTEM_CAMERA permissions for permission checking
purposes (through UiAutomation adopt(drop)ShellPermissionIdentity(). In
that case cameraserver doesn't send callback to the client app informing
it that system cameras aren't available.
Bug: 138130599
Test: camera CTS
Change-Id: Ic00951828ea289a1a04b1d655506ef6474336b91
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions
