Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 13c4422e authored by Eric Miao's avatar Eric Miao
Browse files

Track HardwareBuffer native allocations

Bug: b/363028387
Flag: com.android.libcore.native_metrics

This CL will make use of the new API to create NativeAllocationRegistry
that associates with HardwareBuffer.class if libcore.native_metrics is
enabled (otherwise falls back to the legacy API). This allows tracking
of native allocations that are HardwareBuffer specific.

Change-Id: I848cf66dacf1cf82baf1ff8d2012866ee548973f
parent ad216bac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment