Home
last modified time | relevance | path

Searched refs:mObjects (Results 1 – 5 of 5) sorted by relevance

/system/libhwbinder/
DBpHwBinder.cpp53 if (mObjects.indexOfKey(objectID) >= 0) { in attach()
59 mObjects.add(objectID, e); in attach()
64 const ssize_t i = mObjects.indexOfKey(objectID); in find()
66 return mObjects.valueAt(i).object; in find()
71 mObjects.removeItem(objectID); in detach()
76 const size_t N = mObjects.size(); in kill()
79 const entry_t& e = mObjects.valueAt(i); in kill()
81 e.func(mObjects.keyAt(i), e.object, e.cleanupCookie); in kill()
85 mObjects.clear(); in kill()
245 ALOGV("Attaching object %p to binder %p (manager=%p)", object, this, &mObjects); in attachObject()
[all …]
DParcel.cpp385 return mObjects; in objects()
641 mObjects[mObjectsSize++] = mDataPos; in writeObject()
653 mObjects[mObjectsSize++] = mDataPos; in writeObject()
657 mObjects[mObjectsSize++] = mDataPos; in writeObject()
663 mObjects[mObjectsSize++] = mDataPos; in writeObject()
684 binder_size_t* objects = (binder_size_t*)realloc(mObjects, newSize*sizeof(binder_size_t)); in writeObject()
686 mObjects = objects; in writeObject()
703 (mData + mObjects[child_buffer_handle]); in validateBufferChild()
719 (mData + mObjects[parent_buffer_handle]); in validateBufferParent()
779 binder_size_t dataPos = mObjects[i]; in updateCache()
[all …]
DBinder.cpp75 BpHwBinder::ObjectManager mObjects; member in android::hardware::BHwBinder::Extras
170 e->mObjects.attach(objectID, object, cleanupCookie, func); in attachObject()
179 return e->mObjects.find(objectID); in findObject()
188 e->mObjects.detach(objectID); in detachObject()
/system/libhwbinder/include/hwbinder/
DBpHwBinder.h95 KeyedVector<const void*, entry_t> mObjects; variable
120 ObjectManager mObjects; variable
DParcel.h295 binder_size_t* mObjects; variable