Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c2b04f79 authored by Steven Moreland's avatar Steven Moreland
Browse files

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
parent ba9df0b0
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -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;