/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 | 206 ref_entry* refs = mStrongRefs; in ~weakref_impl() local 207 while (refs) { in ~weakref_impl() 208 char inc = refs->ref >= 0 ? '+' : '-'; in ~weakref_impl() 209 ALOGD("\t%c ID %p (ref %d):", inc, refs->id, refs->ref); in ~weakref_impl() 211 CallStack::logStack(LOG_TAG, refs->stack.get()); in ~weakref_impl() 213 refs = refs->next; in ~weakref_impl() 220 ref_entry* refs = mWeakRefs; in ~weakref_impl() local 221 while (refs) { in ~weakref_impl() 222 char inc = refs->ref >= 0 ? '+' : '-'; in ~weakref_impl() 223 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 | 498 RefBase::weakref_type* refs = mPendingWeakDerefs[0]; in processPendingDerefs() local 500 refs->decWeak(mProcess.get()); in processPendingDerefs() 525 RefBase::weakref_type* refs = mPostWriteWeakDerefs[0]; in processPostWriteDerefs() local 527 refs->decWeak(mProcess.get()); in processPostWriteDerefs() 1050 RefBase::weakref_type* refs; in executeCommand() local 1061 refs = (RefBase::weakref_type*)mIn.readPointer(); in executeCommand() 1063 ALOG_ASSERT(refs->refBase() == obj, in executeCommand() 1065 refs, obj, refs->refBase()); in executeCommand() 1072 mOut.writePointer((uintptr_t)refs); in executeCommand() 1077 refs = (RefBase::weakref_type*)mIn.readPointer(); in executeCommand() [all …]
|
D | ProcessState.cpp | 212 e.refs = nullptr; in lookupHandleLocked() 232 if (b == nullptr || !e->refs->attemptIncWeak(this)) { in getStrongProxyForHandle() 235 if (b) e->refs = b->getWeakRefs(); in getStrongProxyForHandle() 242 e->refs->decWeak(this); in getStrongProxyForHandle() 266 if (b == nullptr || !e->refs->attemptIncWeak(this)) { in getWeakProxyForHandle() 270 if (b) e->refs = b->getWeakRefs(); in getWeakProxyForHandle() 273 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 | 442 void set_object_and_refs(T* other, weakref_type* refs); 543 auto refs = other->getWeakRefs(); in fromExisting() local 544 refs->incWeakRequireWeak(other); in fromExisting() 548 ret.m_refs = refs; in fromExisting() 674 void wp<T>::set_object_and_refs(T* other, weakref_type* refs) in set_object_and_refs() argument 676 if (other) refs->incWeak(this); in set_object_and_refs() 679 m_refs = refs; in set_object_and_refs()
|
/system/libhwbinder/include/hwbinder/ |
D | ProcessState.h | 99 RefBase::weakref_type* refs; member
|
/system/chre/test/ |
D | README.md | 63 [PW_UT_URL]: https://pigweed.googlesource.com/pigweed/pigweed/+/refs/heads/master/pw_unit_test
|
/system/apex/docs/ |
D | howto.md | 11 [public doc](https://android.googlesource.com/platform/system/apex/+/refs/heads/master/docs/README.… 70 [script](https://android.googlesource.com/platform/system/apex/+/refs/heads/master/tools/create_ape… 209 [script](https://android.googlesource.com/platform/system/apex/+/refs/heads/master/tools/create_ape… 245 [script](https://android.googlesource.com/platform/system/apex/+/refs/heads/master/tools/create_ape… 541 [definition](https://android.googlesource.com/platform/system/apex/+/refs/heads/master/proto/apex_b… 554 [here](https://android.googlesource.com/platform/system/apex/+/refs/heads/master/apexer/apexer_test… 556 [here](https://android.googlesource.com/platform/system/apex/+/refs/heads/master/tests/testdata/sha…
|
/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/extras/simpleperf/scripts/purgatorio/ |
D | README.md | 39 …building a symbols cache](https://chromium.googlesource.com/android_ndk/+/refs/heads/master/simple…
|
/system/bt/gd/docs/testing/ |
D | cert_test.md | 41 … ACTS](https://android.googlesource.com/platform/tools/test/connectivity/+/refs/heads/master/acts/)
|