summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2017-10-31 17:32:15 -0700
committerYifan Hong <elsk@google.com>2017-11-01 18:30:04 -0700
commit73b6c27a6b89fcbaf1895542222d5b50b66c6b7a (patch)
tree257dec71241004d140d187175efdae76119beb61 /tools/aapt2/java/JavaClassGenerator.cpp
parent65944e79b293d5903ac519005175505f2e312d31 (diff)
Allow equality checking and hash for HIDL interface proxies.
IFoo.Proxy.equals() -> HidlSupport.equals() -> IHwInterface.asBinder().equals() -> HwRemoteBinder.equals(). IFoo.Stub.equals() -> default Object.equals() Notice that IHwInterface.asBinder() returns mRemote(of type HwRemoteBinder) for proxies and itself (of type HwBinder) for stubs. If IFoo.Stub.asBinder() had not return "this", its equals() should also be overridden. Bug: 68727931 Test: hidl_test_java Change-Id: I916983d7bc739747145e2ebb6830226310fd4980
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions