summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorTony Mak <tonymak@google.com>2021-04-09 15:59:50 +0100
committerTony Mak <tonymak@google.com>2021-04-14 20:41:56 +0100
commitccb567856977ddd30251f39d2da931b32bf8c5ca (patch)
treedc8b9a5802a71aad2621ceea66192097541b9aa6 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent8017f4ed5e5806491b4a6e14422193ea2f588f21 (diff)
Add some TestAPIs for replacing some @hide API usages in ExtServices's test
Added a builder class for UsageStats and StorageVolume. This allows us to create these data classes for testing. Currently, a test in ExtServices creates these objects by using some hidden APIs. Those tests are part of the mainline test suite, we should not use hiden APIs there. Otherwise, the test APK cannot be installed on older platforms. Test: atest ExtservicesUnitTest Bug: 182546925 Change-Id: I32939dedfa55233dfb27337cee8818a9dc25d786
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions