573291c251d9e85f51f7c0fa1cb35baa2969ca17 |
10-Feb-2018 |
Emilian Peev <epeev@google.com> |
Camera: Add API level to service proxy notification The client API level should be part of the service proxy notifications. Bug: 68653614 Test: Manual using application Change-Id: Id8a9fb51a8ba91795283c846b55a9343cf8505df
CameraServiceProxy.aidl
|
5c22c15ed8c593189ed9bb8fcbccace2ca63b82a |
01-Jan-2018 |
Shuzhen Wang <shuzhenwang@google.com> |
Camera: Support physical camera metadata in capture result - Add physical camera metadata in capture result. - Adjust capture_result book-keeping for physical capture result. - Adapt to new version of ICameraDeviceCallback. - Batch physical metadata with logical metadata within one process_capture_result call. Test: testLogicalCameraTest CTS test Bug: 64691172 Change-Id: I63fd343770cbb6183b7c6e4566c698f69801a8e8
amera2/ICameraDeviceCallbacks.aidl
amera2/impl/PhysicalCaptureResultInfo.aidl
|
a453d0d278ee916bf68c98093fcfd9fa924ca454 |
12-Jan-2018 |
Svet Ganov <svetoslavganov@google.com> |
No camera for idle uids - av framework If a UID is idle (being in the background for more than cartain amount of time) it should not be able to use the camera. If the UID becomes idle we generate an eror and close the cameras for this UID. If an app in an idle UID tries to use the camera we immediately generate an error. Since apps already should handle these errors it is safe to apply this policy to all apps to protect user privacy. Test: Pass - cts-tradefed run cts -m CtsCameraTestCases Added - CameraTest#testCameraAccessForIdleUid Bug: 63938985 Change-Id: Ic0111d7c651b3d84c644b9f3d30e24133544f4fa
amera2/ICameraDeviceCallbacks.aidl
|
5fbe0ba24d88910e68610add74fd1e1b94d282b5 |
20-Oct-2017 |
Emilian Peev <epeev@google.com> |
Camera: Add support for session parameters The initial values of the session-wide capture parameters should be passed along the stream list during stream configuration. This could yield performance gains depending on the Hal implementation and support. Bug: 64450664 Test: Camera CTS Change-Id: I2b0ec8916f027e7f34f81dc414c3ca649807e925
amera2/ICameraDeviceUser.aidl
|
40ead60d7163c2d5577099d49f11da7afa6124d1 |
26-Sep-2017 |
Emilian Peev <epeev@google.com> |
Add support for dynamic shared output surfaces The Camera API needs to support the dynamic attach/detach of extra output surfaces to a given camera stream. Bug: 63912484 Change-Id: I18809aea31f78fb9e125bd18b58951ade4fad3c5
amera2/ICameraDeviceUser.aidl
|
8ca23dca1cd450b4d93e8da1c8bd6f6ee61e2f5f |
06-Sep-2017 |
Yin-Chia Yeh <yinchiayeh@google.com> |
Camera: fix race in onRepeatingRequestError callback Test: CTS Bug: 64180296 Change-Id: I620e238bf1f4e7ab72911b6e68c689580fba22f1
amera2/ICameraDeviceCallbacks.aidl
|
e8c96c765b95ec7dcd10732621a825fce05960c6 |
27-Jun-2017 |
Eino-Ville Talvala <etalvala@google.com> |
CameraService: Clean up ICameraServiceProxy; send it more info - Remove hand-written ICameraServiceProxy C++ impl; use the AIDL- generated version instead - Send client package name and camera facing with the camera state notices Test: Verify by logging that information sent to proxy is correct; no camera CTS regressions. Bug: 32449509 Change-Id: I7a305b76b4f1d5c08b7938108bd73c95986508e0
CameraServiceProxy.aidl
|
71c73a2985a7ac65ee597be3441ab300fa56e22e |
21-Mar-2017 |
Emilian Peev <epeev@google.com> |
Camera: Support vendor tags from multiple providers Different vendors could have different vendor tags. A global vendor tag cache will store all available vendor tag descriptors from different providers. The cache will then be shared with each camera client. Camera metadata will use specific vendor ids stored in the metadata buffer to identify the correct vendor tag provider. Bug: 34275821 Test: adb shell /data/nativetest/cameraservice_test/cameraservice_test --gtest_filter=CameraProviderManagerTest.MultipleVendorTagTest Complete Camera/Camera2 CTS tests Change-Id: I2262128f21a0167504f018230624e2a89786c467
CameraService.aidl
amera2/params/VendorTagDescriptorCache.aidl
|
bbbbe84b3a7296c9c3266bb16e0dc98b11cb5939 |
01-Mar-2017 |
Eino-Ville Talvala <etalvala@google.com> |
Camera: Allow direct selection of operating mode Instead of a true/false switch for high-speed mode, use an integer enum instead and define the two existing modes, plus the start of a vendor mode space. For all non-high-speed modes, use the normal configuration path, but pass the operating mode to the HAL. Test: New CTS test passes Bug: 34853980 Change-Id: I9dc2b2a2164e9779f079a30e936c4117bcf96efe
amera2/ICameraDeviceUser.aidl
|
758c215374dba397dabe17b8e96dd38593c09dd7 |
11-Jan-2017 |
Shuzhen Wang <shuzhenwang@google.com> |
Camera: Combine handling of deferred surface and shared surface - Refactor the OutputConfiguration to contain isDeferred and isShared flag, and not contain NULL surface. - Unify the handling of deferred surface and shared surface. Test: Camera CTS, and manual testing of GoogleCamera use cases Bug: 33777818 Change-Id: I5dd3472f0f2133699b0e9fbdd8ba456956222746
amera2/ICameraDeviceUser.aidl
|
f51fca277eb5b86bd0b2e3fc90ecb2b63089de29 |
13-Dec-2016 |
Eino-Ville Talvala <etalvala@google.com> |
Camera service: Updates in preparation for HIDL - For all camera2 paths, and anything shared between the legacy API and camera2, switch to using strings for camera IDs - Update ICameraService.addListener to return current set of known devices and their status, to allow for immediate return of camera devices when first connecting to camera service - Remove unused code path for getCameraCharacteristics with HALv1 - Add namespace qualifiers to Binder objects that are also used by hardware binder. - Switch to using new HIDL DeviceStatus and TorchStatus enumerations for better type safety in the service; map more clearly between the HAL, service-internal, and Binder enums. Test: cts-tradefed run cts -m Camera --skip-connectivity-check -d -o --abi armeabi-v7a --disable-reboot Bug: 32991422 Change-Id: I765951d9a21000a8432bed9aa0e3604709daa4b1
ameraStatus.aidl
CameraService.aidl
CameraServiceListener.aidl
|
9d06601e54848f076b7472a376c672215cd70c46 |
30-Sep-2016 |
Shuzhen Wang <shuzhenwang@google.com> |
Camera2: Add onCaptureQueueEmpty callback onCaptureQueueEmpty is called when the non-repeating request queue in cameraservice becomes empty. Application can use this callback as a trigger for a new request. Test: testMultipleCapture in PerformanceTest.java Bug: 29006447 Change-Id: Id21afd74381e0b70f924c6026025c91a8ffd5ee0
amera2/ICameraDeviceCallbacks.aidl
|
5d677d1f0879d5101e38df480a38228a64d63959 |
30-May-2016 |
Zhijun He <zhijunhe@google.com> |
Camera3: add deferred surface support Initial native implementation and aidl changes for surfaceless support. Bug: 28323863 Change-Id: Id6634c3ef2ecc84422a88f63de0a19a0cb496e96
amera2/ICameraDeviceUser.aidl
|
e8c535e833ed135895e99ca81aa3b85d80d7cf3c |
14-Apr-2016 |
Chien-Yu Chen <cychen@google.com> |
Camera: Stop repeating request if its output is abandoned Stop repeating request if any of its output stream is abandoned. Add a callback to notify the repeating request has been stopped with frame number of the last frame. Update NDK with the new callback and behavior. Bug: 21270879 Change-Id: I3553775c7807a77104aa1650609480ca3321310c
amera2/ICameraDeviceCallbacks.aidl
amera2/ICameraDeviceUser.aidl
|
d56db1d2bee182d1851097a9c712712fc094d117 |
18-Dec-2015 |
Eino-Ville Talvala <etalvala@google.com> |
Camera: Switch camera2 to auto-gen C++ binder interfaces - Move camera service AIDL files to frameworks/av - Build C++ interface stubs with AIDL tools - Add necessary native-side parcelables and update existing ones - Remove manually-written stubs, rearrange remaining manual stubs - Adjust implementations to work with auto-generated stubs - Adjust method signatures for auto-gen differences - Add rich error messages using binder::Status Bug: 25091611 Change-Id: I6f69f34b9d1a3f8d1fb7db87357363f8fa8483ff
ameraInfo.aidl
Camera.aidl
CameraClient.aidl
CameraService.aidl
CameraServiceListener.aidl
CameraServiceProxy.aidl
amera2/CaptureRequest.aidl
amera2/ICameraDeviceCallbacks.aidl
amera2/ICameraDeviceUser.aidl
amera2/impl/CameraMetadataNative.aidl
amera2/impl/CaptureResultExtras.aidl
amera2/params/OutputConfiguration.aidl
amera2/params/VendorTagDescriptor.aidl
amera2/utils/SubmitInfo.aidl
|