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

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

Merge "libbinder: remove unneeded Parcel::objects." am: 8628dd02

am: bfafdc2e

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


    void                freeData();
    void                freeData();


private:
    const binder_size_t* objects() const;

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