summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRafal Slawik <rslawik@google.com>2020-02-28 13:20:13 +0000
committerRafal Slawik <rslawik@google.com>2020-02-28 14:17:01 +0000
commitded8305cb712b1b65b4c8b247886681f519395f2 (patch)
tree51602abdc6a9f5b258be4719cd0035f7a7f48416 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent2523db7c3faab5323b3e687d0fe83ae2274b47ce (diff)
Register IonHeapSize puller only if supported
IonHeapSize atom can be created only if kernel exposes a sysfs node with the information, otherwise 0 is returned. Register the puller conditionally only if the sysfs node is present. This avoids the overhead of creating the atom and simplifies the server-side configuration. Bug: 15044292 Test: atest UidAtomTests#testIonHeapSize_enabled Test: atest UidAtomTests#testIonHeapSize_disabled Change-Id: Idcbd2564d5fa087dd0a936ab55f02271741c1462
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions