camera: Add logId to StreamConfiguration
For data analysis from HAL logs, it is helpful to get some higher level information of the camera usage (such as the client's package name). HALs are denied access to this higher level information at runtime. To help data with data analysis, cameraservice will now pass a session identifier when configuring streams. This identifier can be used to correlate HAL logs with cameraservice logs at the time of log consumption. However this correlation cannot be made at runtime. This identifier is randomly generated and has no functional purpose and can be safely disregarded by HAL implementations that don't want to correlate their logs to cameraservice logs. Bug: 271171714 Test: Manually verified that cameraservice sends correct logId to the HAL. Change-Id: Ib0823a9de8f573233a6e037c178a4398eb26e7ef
Loading
Please register or sign in to comment