The mirror mode gives the camera framework the ability to override the
default AUTO mode, where front facing camera's outputs are mirrored.
CTS-Coverage-Bug: 218869676
Test: Camera CTS
Bug: 200309079
Change-Id: I90d5826311c7f9088d13240085506d5b040565eb
- Add additional javadoc for vendor and product ids
- Enumerate full allowed key code set for VirtualKeyEvent
- On cloud devices, CTS fails with 'bad address' for VirtualTouchscreen.
Pass by address rather than by value to solve.
Bug: 216554655
Test: atest CtsHardwareTestCases:android.hardware.input.cts.tests
Change-Id: Ifb233d2b6c4eee1ffdcba218ed17312e67bac6f6
Call the updated native version of getDisplayDecorationSupport (added in
I961051c0a660b596039ac04b546040764ee20d34), and convert the NDK struct
into a Java class. Depend on the graphics AIDLs, which now have Java
backends. A future CL will update SysUI to call the new API.
Add a PixelFormat for R_8 to correspond to the native version. This will
allow SysUI to use COLOR_MODE_A8 when the HAL reports R_8.
If64fd6924960f592b7a211371bc2ca6536ae34f7 demonstrates using this.
Bug: 216644902
Test: manual
Change-Id: I0e34c6d6e369fda0a96231ab38c3bd5f3bfe3e06
Also change DataSpace from long to int (HAL & native are both ints)
Bug: 217776226
Fixes: 218320444
Test: make && SurfaceControlTest#testSurfaceTransaction_setDataSpace
Change-Id: Ic2b9ccb1d0ba3c1d049839310b4fef0881a3d2e2
Give applications the ability to select timestamp base for a particular
stream.
Test: atest ImageReaderTest
Bug: 200307880
Bug: 186700251
Change-Id: I61a3e4c16b0253b791e0c4252ef65d44f48b73e9
- Add SyncFence class that include FileDescriptor and related functions
- expose fence file descriptor setter/getter in the Image class
Bug: 210919185
Test: android.hardware.camera2.cts.ImageWriterTest
Change-Id: I7428db26e3e6ca84675d2ce2ef4def46ed0b1397
Allow camera clients to query for any orthogonal camera parameters that
can be applied during extension capture sessions.
Enable capture result callbacks in the same scenario.
Bug: 198447410
Test: Camera CTS
Change-Id: Ifb472cd051121d83d230bcc152c6942b8fb82a2d
This CL adds a new automotive metadata section with below fields:
- AUTOMOTIVE_LOCATION describes where the camera exists.
- AUTOMOTIVE_LENS_FACING tells where the camera's lens is facing toward.
Bug: 205156620
Test: m -j
Change-Id: Iea1483a5afea7e290da6303b1999f17fc4a7778d
This listens to app op events and turns on all lights of the type CAMERA
when the camera is in use.
Test: atest CameraPrivacyLightControllerTest
Bug: 216107392
Change-Id: I84629bbb8465b20a1298677a42b9214550f9d765
Stream use case indicates the purpose of a camera stream. By using
stream use case, the camera device doesn't need to use the stream's
format and immediate consumer surface type as heuristics to figure
out what the stream is for.
Bug: 200307880
Test: Camera CTS
Change-Id: I390c0e4fcc1272723784c358c6f0334e1dbbd848
Currently we are calculating the requestList size using a fixed preview
size of 30fps. Support 60fps along with 30fps preview. This change
also updates the requestList size to 1 for high speed recording preview.
Test: CTS RecordingTest on pixel 4 device.
Bug: 200310682
Change-Id: I8c417eefd0d2584e8a4a1c45c0f023a2dc405cb2
Includes changes for the following sensors:
- SENSOR_TYPE_ACCELEROMETER_LIMITED_AXES
- SENSOR_TYPE_GYROSCOPE_LIMITED_AXES
- SENSOR_TYPE_ACCELEROMETER_LIMITED_AXES_UNCALIBRATED
- SENSOR_TYPE_GYROSCOPE_LIMITED_AXES_UNCALIBRATED
These changes will enable support for automotive style IMUs that have
more limited axes for accelerometers (x-axis and y-axis) and gyroscopes
(z-axis).
Bug: 187342209
Test: Compiled
Change-Id: I7030501ddfba5ee51d9e3e51a8e25d7c6708cb68
This reverts commit 5f415e6190.
Reason for revert: Fixed the underlying issue
BUG: 217335654
Test: verified on forrest
Change-Id: I599ed7c6ed8f3483b68653cfb35ddb1effb01efb
Bug: 162194035
Test: manual: "adb shell am crash com.android.systemui" and observe its
gesture monitors are removed through dumpsys input
Change-Id: I02a480dd8e4b98a9911d976de2684d283c9e7d8b
This ports ro.hdmi.set_menu_language to HdmiCecConfig.
Bug: 190810909
Test: unit tests + manual build & run
Change-Id: Ia473f11816bd7d24256b9be1a510d15e70a2a3e2
Adding API and changes to incorporate boot-time resolution HAL APIs
Bug: 209598222
Test: atest CtsBootDisplayModeTestCases
Change-Id: I7081af903d8259cf7c0009238e7968d458ff3325
Remove SystemApi on resetUsbPort which only meant to be called by UsbPort
Bug: 216476071
Test: atest CtsSystemApiAnnotationTestCases:android.signature.cts.api.AnnotationTest#testAnnotation -- --abi x86_64
Change-Id: I2e71ef756814dd7fe2eb20e503dd5a12e729a9f7
* changes:
Rename cancelRequest API to cancelStateRequest and remove the request parameter
Updates OverrideRequestController to allow for one override request at max