Home
last modified time | relevance | path

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

/frameworks/native/libs/binder/
DParcel.cpp96 const flat_binder_object& obj, const void* who, size_t* outAshmemSize) in acquire_object() argument
114 if ((obj.cookie != 0) && (outAshmemSize != nullptr) && ashmem_valid(obj.handle)) { in acquire_object()
118 *outAshmemSize += size; in acquire_object()
129 const flat_binder_object& obj, const void* who, size_t* outAshmemSize) in release_object() argument
148 if ((outAshmemSize != nullptr) && ashmem_valid(obj.handle)) { in release_object()
154 *outAshmemSize -= std::min(*outAshmemSize, static_cast<size_t>(size)); in release_object()