diff options
| author | 2023-04-20 23:43:02 +0000 | |
|---|---|---|
| committer | 2023-04-20 23:44:48 +0000 | |
| commit | c2b04f79531b050deef84e28489d7cf313b47d0f (patch) | |
| tree | 2da9218b418565a9006d3824f17ef5733d7dfa1c | |
| parent | ba9df0b0dee1bbce3d29d99203c4e835f255408a (diff) | |
libbinder: hide record/replay APIs from Binder.h
These are not used except by the implementation of
Binder, and 'Parcel data' is not a very clear API -
it is not intended to be used.
Bug: N/A
Test: N/A
Change-Id: Iae5134633b313bfa1caa21db0d6db0dabe92e0a0
| -rw-r--r-- | libs/binder/include/binder/Binder.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libs/binder/include/binder/Binder.h b/libs/binder/include/binder/Binder.h index d960a0b894..744da0f825 100644 --- a/libs/binder/include/binder/Binder.h +++ b/libs/binder/include/binder/Binder.h @@ -105,12 +105,6 @@ public: [[nodiscard]] status_t setRpcClientDebug(android::base::unique_fd clientFd, const sp<IBinder>& keepAliveBinder); - // Start recording transactions to the unique_fd in data. - // See RecordedTransaction.h for more details. - [[nodiscard]] status_t startRecordingTransactions(const Parcel& data); - // Stop the current recording. - [[nodiscard]] status_t stopRecordingTransactions(); - protected: virtual ~BBinder(); @@ -131,6 +125,8 @@ private: [[nodiscard]] status_t setRpcClientDebug(const Parcel& data); void removeRpcServerLink(const sp<RpcServerLink>& link); + [[nodiscard]] status_t startRecordingTransactions(const Parcel& data); + [[nodiscard]] status_t stopRecordingTransactions(); std::atomic<Extras*> mExtras; |