diff options
author | 2021-07-29 12:14:44 -0700 | |
---|---|---|
committer | 2021-08-03 17:41:40 -0700 | |
commit | 6212901557bf8309c9b7168c2089e1834400fe41 (patch) | |
tree | e50951a611bd8cca47076c0354773a437dc8181b /libs/binder/RpcAddress.cpp | |
parent | a588da3ea77900adff9992ff4a231b965e931fdb (diff) |
libbinder: use libbase HexString
Bug: N/A
Test: boot, binder_parcel_fuzzer, binderClearBuf test
Merged-In: I5c7d40334057cf8f91b64e2fea7809933565820d
Change-Id: I5c7d40334057cf8f91b64e2fea7809933565820d
Diffstat (limited to 'libs/binder/RpcAddress.cpp')
-rw-r--r-- | libs/binder/RpcAddress.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/binder/RpcAddress.cpp b/libs/binder/RpcAddress.cpp index 98dee9a039..ffc94b94b3 100644 --- a/libs/binder/RpcAddress.cpp +++ b/libs/binder/RpcAddress.cpp @@ -16,6 +16,7 @@ #include <binder/RpcAddress.h> +#include <android-base/hex.h> #include <binder/Parcel.h> #include "Debug.h" @@ -94,7 +95,7 @@ bool RpcAddress::operator<(const RpcAddress& rhs) const { } std::string RpcAddress::toString() const { - return hexString(mRawAddr.get(), sizeof(RpcWireAddress)); + return base::HexString(mRawAddr.get(), sizeof(RpcWireAddress)); } status_t RpcAddress::writeToParcel(Parcel* parcel) const { |