/system/memory/libmemunreachable/ |
D | Binder.cpp | 37 static bool BinderReferencesToVector(allocator::vector<uintptr_t>& refs, in BinderReferencesToVector() argument 43 size_t size = refs.size(); in BinderReferencesToVector() 46 refs.resize(size); in BinderReferencesToVector() 48 ssize_t ret = fn(refs.size(), refs.data()); in BinderReferencesToVector() 54 } while (size > refs.size()); in BinderReferencesToVector() 56 refs.resize(size); in BinderReferencesToVector() 60 bool BinderReferences(allocator::vector<uintptr_t>& refs) { in BinderReferences() argument 61 refs.clear(); in BinderReferences() 63 allocator::vector<uintptr_t> binder_refs{refs.get_allocator()}; in BinderReferences() 64 if (BinderReferencesToVector(refs, getBinderKernelReferences)) { in BinderReferences() [all …]
|
D | Binder.h | 24 bool BinderReferences(allocator::vector<uintptr_t>& refs);
|
D | MemUnreachable.cpp | 59 const allocator::vector<uintptr_t>& refs); 89 const allocator::vector<uintptr_t>& refs) { in CollectAllocations() argument 130 heap_walker_.Root(refs); in CollectAllocations() 309 allocator::vector<uintptr_t> refs(heap); in GetUnreachableMemory() local 329 if (!BinderReferences(refs)) { in GetUnreachableMemory() 359 if (!unreachable.CollectAllocations(thread_info, mappings, refs)) { in GetUnreachableMemory()
|
/system/core/libutils/ |
D | RefBase.cpp | 195 ref_entry* refs = mStrongRefs; in ~weakref_impl() local 196 while (refs) { in ~weakref_impl() 197 char inc = refs->ref >= 0 ? '+' : '-'; in ~weakref_impl() 198 ALOGD("\t%c ID %p (ref %d):", inc, refs->id, refs->ref); in ~weakref_impl() 200 CallStack::logStack(LOG_TAG, refs->stack.get()); in ~weakref_impl() 202 refs = refs->next; in ~weakref_impl() 209 ref_entry* refs = mWeakRefs; in ~weakref_impl() local 210 while (refs) { in ~weakref_impl() 211 char inc = refs->ref >= 0 ? '+' : '-'; in ~weakref_impl() 212 ALOGD("\t%c ID %p (ref %d):", inc, refs->id, refs->ref); in ~weakref_impl() [all …]
|
/system/tools/hidl/lint/lints/ |
D | methodDocComment.cpp | 57 static bool isNameInList(const std::string& name, const std::vector<NamedReference<Type>*>& refs) { in isNameInList() argument 58 return std::any_of(refs.begin(), refs.end(), [&](const NamedReference<Type>* namedRef) -> bool { in isNameInList() 63 static bool isSubsequence(const std::vector<NamedReference<Type>*>& refs, in isSubsequence() argument 69 for (const NamedReference<Type>* namedRef : refs) { in isSubsequence()
|
/system/libhwbinder/ |
D | IPCThreadState.cpp | 509 RefBase::weakref_type* refs = mPendingWeakDerefs[0]; in processPendingDerefs() local 511 refs->decWeak(mProcess.get()); in processPendingDerefs() 536 RefBase::weakref_type* refs = mPostWriteWeakDerefs[0]; in processPostWriteDerefs() local 538 refs->decWeak(mProcess.get()); in processPostWriteDerefs() 1056 RefBase::weakref_type* refs; in executeCommand() local 1067 refs = (RefBase::weakref_type*)mIn.readPointer(); in executeCommand() 1069 ALOG_ASSERT(refs->refBase() == obj, in executeCommand() 1071 refs, obj, refs->refBase()); in executeCommand() 1078 mOut.writePointer((uintptr_t)refs); in executeCommand() 1083 refs = (RefBase::weakref_type*)mIn.readPointer(); in executeCommand() [all …]
|
D | ProcessState.cpp | 272 e.refs = nullptr; in lookupHandleLocked() 292 if (b == nullptr || !e->refs->attemptIncWeak(this)) { in getStrongProxyForHandle() 295 if (b) e->refs = b->getWeakRefs(); in getStrongProxyForHandle() 302 e->refs->decWeak(this); in getStrongProxyForHandle() 326 if (b == nullptr || !e->refs->attemptIncWeak(this)) { in getWeakProxyForHandle() 330 if (b) e->refs = b->getWeakRefs(); in getWeakProxyForHandle() 333 e->refs->decWeak(this); in getWeakProxyForHandle()
|
/system/memory/libmemunreachable/tests/ |
D | Binder_test.cpp | 154 allocator::vector<uintptr_t> refs{heap}; in TEST_F() local 156 ASSERT_TRUE(BinderReferences(refs)); in TEST_F() 159 for (auto ref : refs) { in TEST_F()
|
/system/core/libutils/include/utils/ |
D | RefBase.h | 387 void set_object_and_refs(T* other, weakref_type* refs); 608 void wp<T>::set_object_and_refs(T* other, weakref_type* refs) in set_object_and_refs() argument 610 if (other) refs->incWeak(this); in set_object_and_refs() 613 m_refs = refs; in set_object_and_refs()
|
/system/libhwbinder/include/hwbinder/ |
D | ProcessState.h | 107 RefBase::weakref_type* refs; member
|
/system/bt/gd/docs/architecture/ |
D | style_guide.md | 31 [.style.yapf](https://android.googlesource.com/platform/system/bt/+/refs/heads/master/.style.yapf) … 80 [**system/bt/gd/**](https://android.googlesource.com/platform/system/bt/+/refs/heads/master/gd/)
|
D | architecture.md | 26 …d/bluetooth`](https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/core/j… 36 …[IBluetoothHci](https://android.googlesource.com/platform/hardware/interfaces/+/refs/heads/master/… 38 …[IBluetoothAudioProvider](https://android.googlesource.com/platform/hardware/interfaces/+/refs/hea…
|
/system/bt/gd/docs/testing/ |
D | cert_test.md | 41 … ACTS](https://android.googlesource.com/platform/tools/test/connectivity/+/refs/heads/master/acts/)
|