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: I1241c1e766ed25f57339a8dc00d1f1d0920ef705
Loading
Please register or sign in to comment