summaryrefslogtreecommitdiff
path: root/core/java/android/hardware/CameraStatus.java
Commit message (Collapse)AuthorAgeFilesLines
* Camera: Propogate onCameraOpened flag at listener registrationShuzhen Wang2021-09-071-0/+3
| | | | | | | | | | - If camera is opened before the lister is registered, the corresponding camera state needs to be propagated - Handle the case of binder death Test: testCameraManagerListenerCallbacks Bug: 193475498 Change-Id: I4948c37750340e5e8edaf8b3fe290b1346f8c25c
* CameraManager: Add physical camera availability callbackShuzhen Wang2020-01-221-0/+3
| | | | | | | | Add CameraManager callback for physical camera availability. Bug: 119325027 Test: Camera CTS Change-Id: Ibe0357f5034769511576cc71c04365a1009a2be1
* All Parcelable CREATOR fields are @NonNull.Jeff Sharkey2019-02-281-1/+1
| | | | | | | | | If they were null, then the Parcelable would fail to work. Bug: 126726802 Test: manual Change-Id: I7929ffa2f20e5de1c8e68e8263cca99496e9d014 Exempt-From-Owner-Approval: Trivial API annotations
* Camera: Updates in preparation for HIDLEino-Ville Talvala2016-12-131-0/+65
- For all camera2 paths, and anything shared between the legacy API and camera2, switch to using String for camera IDs. - Remove assumption that camera device IDs must be a dense set of small integers, and rewrite the camera ID query methods - Change operation of ICameraService.addListener: it now returns the list of available devices directly, instead of invoking callbacks. This is needed to ensure an up-to-date list of cameras is immediately available on connection to the camera service. - Add new CameraStatus object to use as the addListener return value - Update tests to work with new interface Test: cts-tradefed run cts -m Camera --skip-connectivity-check -d -o --abi armeabi-v7a --disable-reboot Bug: 32991422 Change-Id: I6ff4a5dd014c6aefe0750850eeece6f3267a3e5b