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

Commit bfafdc2e authored by Steven Moreland's avatar Steven Moreland Committed by android-build-merger
Browse files

Merge "libbinder: remove unneeded Parcel::objects."

am: 8628dd02

Change-Id: I4e5ff8bd5c03f7e04f8790c9a03460b76a253306
parents d55a4272 8628dd02
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -666,11 +666,6 @@ bool Parcel::enforceInterface(const String16& interface,
    }
}

const binder_size_t* Parcel::objects() const
{
    return mObjects;
}

size_t Parcel::objectsCount() const
{
    return mObjectsSize;
@@ -2459,7 +2454,7 @@ void Parcel::print(TextOutput& to, uint32_t /*flags*/) const
    } else if (dataSize() > 0) {
        const uint8_t* DATA = data();
        to << indent << HexDump(DATA, dataSize()) << dedent;
        const binder_size_t* OBJS = objects();
        const binder_size_t* OBJS = mObjects;
        const size_t N = objectsCount();
        for (size_t i=0; i<N; i++) {
            const flat_binder_object* flat
+0 −4
Original line number Diff line number Diff line
@@ -97,10 +97,6 @@ public:

    void                freeData();

private:
    const binder_size_t* objects() const;

public:
    size_t              objectsCount() const;
    
    status_t            errorCheck() const;