GpuStats: send a hint of activity launch to GraphicsEnvironment
USAP preloads the driver in usap pool, and those processes in the pool are not bound with any applications. Previously we send GpuStats based on the completion of driver loading. So with usap enabled, we won't be able to receive stats for system built-in driver. If we send the stats when all the existing stats fields are filled, there will be tons of selinux violations, because those non app processes are trying to send the stats as well. So we end up sending the stats based on the hint of activity launch. Bug: 131866357 Test: dumpsys gpu with enable/disable usap and check the selinux Change-Id: I32fcc15aeba2f2e89ba6dd9deae2c27187d2071e
Loading
Please register or sign in to comment