summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorPavel Grafov <pgrafov@google.com>2017-04-27 14:22:26 +0100
committerPavel Grafov <pgrafov@google.com>2017-04-27 18:53:11 +0100
commita6ea92097cf85b78958f25fb53e312be0399df35 (patch)
tree555cd6b35adb3882a01601a14fb463f08197bb94 /tools/aapt2/java/JavaClassGenerator.cpp
parent424dd39e256b880b0a18d8570daf399885a7567b (diff)
Use InetAddress instead of String in network events.
This is a conservative change that converts strings to InetAddress on the fly just before givint it to the client. Also renamed getIpAddressesCount to getTotalResolvedAddressCount to make it 1) harder to misuse it as getInetAddresses().length 2) more descriptive. Bug: 37625453 Test: runtest --path frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/NetworkEventTest.java Test: cts-tradefed run cts -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.DeviceOwnerTest#testNetworkLoggingWithSingleUser Change-Id: I2a31dddd6874f1a629895e4dff105cf41984a775
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions