diff options
| author | 2023-10-16 21:32:35 +0000 | |
|---|---|---|
| committer | 2023-10-16 21:32:35 +0000 | |
| commit | d6ffcf212e60d4d6767eface096ac4a704ebbdea (patch) | |
| tree | ce87023b347dadc5e05f6bbeeccc1f857ceaae48 /libs/binder/RpcSession.cpp | |
| parent | 1673ccf29a4dedfd8b5cd1822624616263a2da3a (diff) | |
| parent | 80fff99925a50d1277438bf743b117ab7fc55103 (diff) | |
Merge "Copy HexString to libbinder" into main am: 80fff99925
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2784069
Change-Id: I106a9254b131ab980a57b631d93c0be3fd86f777
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'libs/binder/RpcSession.cpp')
| -rw-r--r-- | libs/binder/RpcSession.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libs/binder/RpcSession.cpp b/libs/binder/RpcSession.cpp index c3dee1650e..edac56ba3b 100644 --- a/libs/binder/RpcSession.cpp +++ b/libs/binder/RpcSession.cpp @@ -26,7 +26,6 @@ #include <string_view> -#include <android-base/hex.h> #include <android-base/macros.h> #include <android-base/scopeguard.h> #include <binder/BpBinder.h> @@ -310,8 +309,7 @@ status_t RpcSession::readId() { status = state()->getSessionId(connection.get(), sp<RpcSession>::fromExisting(this), &mId); if (status != OK) return status; - LOG_RPC_DETAIL("RpcSession %p has id %s", this, - base::HexString(mId.data(), mId.size()).c_str()); + LOG_RPC_DETAIL("RpcSession %p has id %s", this, HexString(mId.data(), mId.size()).c_str()); return OK; } @@ -709,7 +707,7 @@ status_t RpcSession::initAndAddConnection(RpcTransportFd fd, const std::vector<u std::nullopt, nullptr); if (sendSessionIdStatus != OK) { ALOGE("Could not write session ID ('%s') to socket: %s", - base::HexString(sessionId.data(), sessionId.size()).c_str(), + HexString(sessionId.data(), sessionId.size()).c_str(), statusToString(sendSessionIdStatus).c_str()); return sendSessionIdStatus; } |