/aosp12/system/core/libutils/ |
H A D | RefBase.cpp | 209 ALOGD("\t%c ID %p (ref %d):", inc, refs->id, refs->ref); in ~weakref_impl() 213 refs = refs->next; in ~weakref_impl() 223 ALOGD("\t%c ID %p (ref %d):", inc, refs->id, refs->ref); in ~weakref_impl() 227 refs = refs->next; in ~weakref_impl() 397 while (refs) { in printRefsLocked() 400 inc, refs->id, refs->ref); in printRefsLocked() 407 refs = refs->next; in printRefsLocked() 428 refs->incWeak(id); in incStrong() 448 refs->incWeak(id); in incStrongRequireStrong() 469 refs); in decStrong() [all …]
|
/aosp12/system/memory/libmemunreachable/ |
H A D | Binder.cpp | 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() 65 refs.insert(refs.end(), binder_refs.begin(), binder_refs.end()); in BinderReferences() [all …]
|
/aosp12/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
H A D | AhatArrayInstance.java | 229 List<Reference> refs = Collections.emptyList(); in getReferences() local 233 refs = new AbstractList<Reference>() { in getReferences() 255 return new SkipNullsIterator(refs); in getReferences() 332 List<AhatInstance> refs = getReverseReferences(); in getAssociatedBitmapInstance() local 333 if (refs.size() == 1) { in getAssociatedBitmapInstance() 334 AhatInstance ref = refs.get(0); in getAssociatedBitmapInstance() 343 List<AhatInstance> refs = getHardReverseReferences(); in getAssociatedClassForOverhead() local 344 if (refs.size() == 1) { in getAssociatedClassForOverhead() 345 AhatClassObj ref = refs.get(0).asClassObj(); in getAssociatedClassForOverhead()
|
H A D | AhatInstance.java | 427 List<AhatInstance> refs = new ArrayList<AhatInstance>(); in getHardReverseReferences() local 430 refs.add(ref); in getHardReverseReferences() 433 return refs; in getHardReverseReferences() 445 List<AhatInstance> refs = new ArrayList<AhatInstance>(); in getSoftReverseReferences() local 448 refs.add(ref); in getSoftReverseReferences() 451 return refs; in getSoftReverseReferences()
|
H A D | AhatPlaceHolderInstance.java | 73 List<Reference> refs = Collections.emptyList(); in getReferences() local 74 return refs; in getReferences()
|
H A D | AhatClassObj.java | 123 List<Reference> refs = new AbstractList<Reference>() { in getReferences() local 142 return new SkipNullsIterator(refs); in getReferences()
|
/aosp12/system/libhwbinder/ |
H A D | IPCThreadState.cpp | 527 refs->decWeak(mProcess.get()); in processPostWriteDerefs() 1050 RefBase::weakref_type* refs; in executeCommand() local 1063 ALOG_ASSERT(refs->refBase() == obj, in executeCommand() 1065 refs, obj, refs->refBase()); in executeCommand() 1072 mOut.writePointer((uintptr_t)refs); in executeCommand() 1079 ALOG_ASSERT(refs->refBase() == obj, in executeCommand() 1081 refs, obj, refs->refBase()); in executeCommand() 1092 refs->incWeak(mProcess.get()); in executeCommand() 1094 mOut.writePointer((uintptr_t)refs); in executeCommand() 1107 mPendingWeakDerefs.push(refs); in executeCommand() [all …]
|
H A 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()
|
/aosp12/frameworks/native/libs/binder/ |
H A D | IPCThreadState.cpp | 606 refs->decWeak(mProcess.get()); in processPostWriteDerefs() 1128 RefBase::weakref_type* refs; in executeCommand() local 1142 ALOG_ASSERT(refs->refBase() == obj, in executeCommand() 1144 refs, obj, refs->refBase()); in executeCommand() 1151 mOut.writePointer((uintptr_t)refs); in executeCommand() 1158 ALOG_ASSERT(refs->refBase() == obj, in executeCommand() 1160 refs, obj, refs->refBase()); in executeCommand() 1171 refs->incWeak(mProcess.get()); in executeCommand() 1173 mOut.writePointer((uintptr_t)refs); in executeCommand() 1186 mPendingWeakDerefs.push(refs); in executeCommand() [all …]
|
H A D | ProcessState.cpp | 243 e.refs = nullptr; in lookupHandleLocked() 267 if (b == nullptr || !e->refs->attemptIncWeak(this)) { in getStrongProxyForHandle() 305 if (b) e->refs = b->getWeakRefs(); in getStrongProxyForHandle() 312 e->refs->decWeak(this); in getStrongProxyForHandle()
|
/aosp12/system/tools/hidl/lint/lints/ |
H A 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()
|
/aosp12/bionic/libc/kernel/uapi/xen/ |
H A D | gntdev.h | 31 struct ioctl_gntdev_grant_ref refs[1]; member 84 __u32 refs[1]; member 97 __u32 refs[1]; member
|
/aosp12/system/memory/libmemunreachable/tests/ |
H A 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()
|
/aosp12/packages/apps/Camera2/tests/src/com/android/camera/functional/ |
H A D | CameraTest.java | 62 ArrayList<WeakReference<Activity>> refs = in checkActivityLeak() local 66 refs.add(new WeakReference<Activity>(activity)); in checkActivityLeak() 75 for (WeakReference<Activity> c: refs) { in checkActivityLeak()
|
/aosp12/art/test/2009-structural-local-ref/ |
H A D | info.txt | 1 Tests structural redefinition with local-refs 3 Tests that using the structural redefinition updates JNI local-refs.
|
/aosp12/packages/modules/Virtualization/docs/getting_started/ |
H A D | yukawa.md | 5 [AOSP](https://android.googlesource.com/device/amlogic/yukawa/+/refs/heads/master). 8 The [prebuilt kernel](https://android.googlesource.com/device/amlogic/yukawa-kernel/+/refs/heads/ma… 14 …* [AOSP instructions](https://android.googlesource.com/device/amlogic/yukawa/+/refs/heads/master/s…
|
/aosp12/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/ |
H A D | CameraTest.java | 67 ArrayList<WeakReference<Activity>> refs = in checkActivityLeak() local 71 refs.add(new WeakReference<Activity>(activity)); in checkActivityLeak() 80 for (WeakReference<Activity> c: refs) { in checkActivityLeak()
|
/aosp12/frameworks/native/opengl/libs/EGL/ |
H A D | egl_display.h | 80 inline bool isReady() const { return (refs > 0); } in isReady() 91 inline uint32_t getRefsCount() const { return refs; } in getRefsCount() 117 uint32_t refs;
|
H A D | egl_display.cpp | 84 refs(0), in egl_display_t() 239 refs++; in initialize() 240 if (refs > 1) { in initialize() 398 if (refs == 0) { in terminate() 409 refs--; in terminate() 410 if (refs > 0) { in terminate()
|
/aosp12/frameworks/base/core/java/android/widget/ |
H A D | RemoteViewsAdapter.java | 433 LinkedList<RemoteViewsFrameLayout> refs = get(position); in add() local 436 if (refs == null) { in add() 437 refs = new LinkedList<>(); in add() 438 put(position, refs); in add() 443 refs.add(layout); in add() 454 final LinkedList<RemoteViewsFrameLayout> refs = removeReturnOld(position); in notifyOnRemoteViewsLoaded() 455 if (refs != null) { in notifyOnRemoteViewsLoaded() 457 for (final RemoteViewsFrameLayout ref : refs) { in notifyOnRemoteViewsLoaded() 470 final LinkedList<RemoteViewsFrameLayout> refs = get(rvfl.cacheIndex); in removeView() local 471 if (refs != null) { in removeView() [all …]
|
/aosp12/system/core/libutils/include/utils/ |
H A 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()
|
/aosp12/art/test/1963-add-to-dex-classloader-in-memory/ |
H A D | expected-stdout.txt | 7 -- call TestClass again, now with NewClass refs 16 -- call TestClass again, now with NewClass refs
|
/aosp12/frameworks/base/media/mca/filterfw/java/android/filterfw/io/ |
H A D | GraphReader.java | 61 public void addReferencesByMap(KeyValueMap refs) { in addReferencesByMap() argument 62 mReferences.putAll(refs); in addReferencesByMap()
|
/aosp12/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
H A D | cpp_bindings.h | 280 int refs = __sync_add_and_fetch(&mRefs, 1); in addRef() local 281 ALOGV("addRef: WifiCommand %p has %d references", this, refs); in addRef() 285 int refs = __sync_sub_and_fetch(&mRefs, 1); in releaseRef() local 286 if (refs == 0) { in releaseRef()
|
/aosp12/art/test/1964-add-to-dex-classloader-file/ |
H A D | expected-stdout.txt | 7 -- call TestClass again, now with NewClass refs 20 -- call TestClass again, now with NewClass refs
|