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

Commit 8628dd02 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

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

parents 59234af3 8bd01353
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -622,11 +622,6 @@ bool Parcel::enforceInterface(const String16& interface,
    }
}

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

size_t Parcel::objectsCount() const
{
    return mObjectsSize;
@@ -2388,7 +2383,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;