Pass full AttributionSourceState across Java/Cpp boundaries.
The VDM team added deviceId as a new dimension for camera identification. Since we are integrating AttributionSource into the Camera2 API, we will need a way of passing AttributionSource across the java/cpp boundary. This change replaces deviceId, clientPid, and clientUid with the full AttributionSourceState, which contains those fields. For now, the pid/uid fields are overwritten with USE_CALLING_PID/USE_CALLING_UID to avoid any behavioral change. Test: atest CtsCameraTestCases Test: atest CtsVirtualDevicesCameraTestCases Bug: 343965468 Bug: 190657833 Flag: EXEMPT Strict mechanical refactor Change-Id: Id93e9bd905b4ac11bbe1b794aeac7b36e625e64f
Loading
Please register or sign in to comment