Create SessionManager in ADPF PowerAdvisor
Adds the "SessionManager" class, which tracks data associating
layers with specific sessions to create updates for the Power HAL
when frame composition occurs.
It also keeps track of which layers are currently "relevant" and
associated with at least one active session to streamline data
collection.
Flag: com.android.graphics.surfaceflinger.flags.adpf_native_session_manager
Bug: 360908317
Bug: 367803904
Test: atest libsurfaceflinger_unittest
Change-Id: Ic3a4df9b13a2acd9077c6ba2bc9bbe02088e214d
12 files changed