libtimeinstate: test handling of sdk sandbox uids

Add a test to verify that cpu times for an SDK sandbox uid are
attributed to the corresponding app UID and to the combined total
across all SDK sandbox UIDs.

Also update the TotalAndAllUidTimeInStateConsistent test to exclude
AID_SDK_SANDBOX in order to avoid double counting.

Bug: 219080829
Test: new case passes only with updated time_in_state eBPF program
Signed-off-by: Connor O'Brien <connoro@google.com>
Change-Id: Id4a249fba5f76b52d93562f342a4292bc055e583
1 file changed