/frameworks/base/tests/CoreTests/android/core/ |
D | HeapTest.java | 49 private static void makeRefs(Object objects[], SoftReference<Object> refs[]) { in makeRefs() argument 52 refs[i] = new SoftReference<Object>(objects[i]); in makeRefs() 56 private static <T> int checkRefs(SoftReference<T> refs[], int last) { in checkRefs() argument 59 for (i = 0; i < refs.length; i++) { in checkRefs() 60 Object o = refs[i].get(); in checkRefs() 81 private static <T> void checkRefs(T objects[], SoftReference<T> refs[]) { in checkRefs() argument 85 if (refs[i].get() != objects[i]) { in checkRefs() 99 SoftReference<Object> refs[] = new SoftReference[objects.length]; in testGcSoftRefs() local 104 makeRefs(objects, refs); in testGcSoftRefs() 119 checkRefs(objects, refs); in testGcSoftRefs() [all …]
|
/frameworks/native/libs/binder/ |
D | IPCThreadState.cpp | 458 RefBase::weakref_type* refs = mPendingWeakDerefs[i]; in processPendingDerefs() local 459 refs->decWeak(mProcess.get()); in processPendingDerefs() 941 RefBase::weakref_type* refs; in executeCommand() local 953 refs = (RefBase::weakref_type*)mIn.readInt32(); in executeCommand() 955 ALOG_ASSERT(refs->refBase() == obj, in executeCommand() 957 refs, obj, refs->refBase()); in executeCommand() 964 mOut.writeInt32((int32_t)refs); in executeCommand() 969 refs = (RefBase::weakref_type*)mIn.readInt32(); in executeCommand() 971 ALOG_ASSERT(refs->refBase() == obj, in executeCommand() 973 refs, obj, refs->refBase()); in executeCommand() [all …]
|
D | ProcessState.cpp | 176 e.refs = NULL; in lookupHandleLocked() 196 if (b == NULL || !e->refs->attemptIncWeak(this)) { in getStrongProxyForHandle() 226 if (b) e->refs = b->getWeakRefs(); in getStrongProxyForHandle() 233 e->refs->decWeak(this); in getStrongProxyForHandle() 257 if (b == NULL || !e->refs->attemptIncWeak(this)) { in getWeakProxyForHandle() 261 if (b) e->refs = b->getWeakRefs(); in getWeakProxyForHandle() 264 e->refs->decWeak(this); in getWeakProxyForHandle()
|
/frameworks/native/opengl/libs/EGL/ |
D | egl_display.cpp | 60 magic('_dpy'), finishOnSwap(false), traceGpuCompletion(false), refs(0) { in egl_display_t() 125 if (refs > 0) { in initialize() 130 refs++; in initialize() 217 refs++; in initialize() 232 if (refs == 0) { in terminate() 243 if (refs > 1) { in terminate() 244 refs--; in terminate() 279 refs--; in terminate()
|
D | egl_display.h | 93 inline bool isReady() const { return (refs > 0); } in isReady() 104 inline uint32_t getRefsCount() const { return refs; } in getRefsCount() 133 uint32_t refs; variable
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/ |
D | GraphReader.java | 61 public void addReferencesByMap(KeyValueMap refs) { in addReferencesByMap() argument 62 mReferences.putAll(refs); in addReferencesByMap()
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViewsAdapter.java | 339 LinkedList<RemoteViewsFrameLayout> refs; in add() local 343 refs = mReferences.get(pos); in add() 345 refs = new LinkedList<RemoteViewsFrameLayout>(); in add() 346 mReferences.put(pos, refs); in add() 348 mViewToLinkedList.put(layout, refs); in add() 351 refs.add(layout); in add() 364 final LinkedList<RemoteViewsFrameLayout> refs = mReferences.get(pos); in notifyOnRemoteViewsLoaded() local 365 for (final RemoteViewsFrameLayout ref : refs) { in notifyOnRemoteViewsLoaded() 371 refs.clear(); in notifyOnRemoteViewsLoaded()
|
/frameworks/rs/cpp/util/ |
D | RefBase.h | 224 void set_object_and_refs(T* other, weakref_type* refs); 421 void wp<T>::set_object_and_refs(T* other, weakref_type* refs) in set_object_and_refs() argument 423 if (other) refs->incWeak(this); in set_object_and_refs() 426 m_refs = refs; in set_object_and_refs()
|
/frameworks/rs/server/ |
D | RefBase.h | 223 void set_object_and_refs(T* other, weakref_type* refs); 420 void wp<T>::set_object_and_refs(T* other, weakref_type* refs) in set_object_and_refs() argument 422 if (other) refs->incWeak(this); in set_object_and_refs() 425 m_refs = refs; in set_object_and_refs()
|
/frameworks/native/include/binder/ |
D | ProcessState.h | 88 RefBase::weakref_type* refs; member
|
/frameworks/native/opengl/libagl/ |
D | TextureObjectManager.cpp | 288 const uint32_t refs = old->getStrongCount(); in replaceTexture() local 289 if (ggl_likely(refs == 1)) { in replaceTexture()
|
/frameworks/base/docs/html/guide/topics/ui/ |
D | themes.jd | 416 …<li><a href="https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/core/re… 417 …<li><a href="https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/core/re…
|