/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 | 481 RefBase::weakref_type* refs = mPendingWeakDerefs[i]; in processPendingDerefs() local 482 refs->decWeak(mProcess.get()); in processPendingDerefs() 971 RefBase::weakref_type* refs; in executeCommand() local 983 refs = (RefBase::weakref_type*)mIn.readPointer(); in executeCommand() 985 ALOG_ASSERT(refs->refBase() == obj, in executeCommand() 987 refs, obj, refs->refBase()); in executeCommand() 994 mOut.writePointer((uintptr_t)refs); in executeCommand() 999 refs = (RefBase::weakref_type*)mIn.readPointer(); in executeCommand() 1001 ALOG_ASSERT(refs->refBase() == obj, in executeCommand() 1003 refs, obj, refs->refBase()); in executeCommand() [all …]
|
D | ProcessState.cpp | 172 e.refs = NULL; in lookupHandleLocked() 192 if (b == NULL || !e->refs->attemptIncWeak(this)) { in getStrongProxyForHandle() 222 if (b) e->refs = b->getWeakRefs(); in getStrongProxyForHandle() 229 e->refs->decWeak(this); in getStrongProxyForHandle() 253 if (b == NULL || !e->refs->attemptIncWeak(this)) { in getWeakProxyForHandle() 257 if (b) e->refs = b->getWeakRefs(); in getWeakProxyForHandle() 260 e->refs->decWeak(this); in getWeakProxyForHandle()
|
/frameworks/native/opengl/libs/EGL/ |
D | egl_display.cpp | 61 … magic('_dpy'), finishOnSwap(false), traceGpuCompletion(false), refs(0), eglIsInitialized(false) { in egl_display_t() 131 refs++; in initialize() 132 if (refs > 1) { in initialize() 238 if (refs == 0) { in terminate() 249 refs--; in terminate() 250 if (refs > 0) { 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 | 340 LinkedList<RemoteViewsFrameLayout> refs = mReferences.get(position); in add() local 343 if (refs == null) { in add() 344 refs = new LinkedList<RemoteViewsFrameLayout>(); in add() 345 mReferences.put(position, refs); in add() 347 mViewToLinkedList.put(layout, refs); in add() 350 refs.add(layout); in add() 360 final LinkedList<RemoteViewsFrameLayout> refs = mReferences.get(position); in notifyOnRemoteViewsLoaded() 361 if (refs != null) { in notifyOnRemoteViewsLoaded() 363 for (final RemoteViewsFrameLayout ref : refs) { in notifyOnRemoteViewsLoaded() 369 refs.clear(); in notifyOnRemoteViewsLoaded()
|
/frameworks/support/v7/preference/ |
D | NOTICES.md | 3 ## [23.1.0](https://android.googlesource.com/platform/frameworks/support/+/refs/heads/master/v14/pr…
|
/frameworks/support/v14/preference/ |
D | NOTICES.md | 3 ## [23.1.0](https://android.googlesource.com/platform/frameworks/support/+/refs/heads/master/v14/pr…
|
/frameworks/support/core-ui/ |
D | NOTICES.md | 3 ## [23.0.1](https://android.googlesource.com/platform/frameworks/support/+/refs/heads/master/v4/) (…
|
/frameworks/base/core/java/android/security/net/config/ |
D | NetworkSecurityConfig.java | 284 public Builder addCertificatesEntryRefs(Collection<? extends CertificatesEntryRef> refs) { in addCertificatesEntryRefs() argument 288 mCertificatesEntryRefs.addAll(refs); in addCertificatesEntryRefs()
|
/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 | 79 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/data-binding/developmentPlugins/localizeMavenPlugin/src/main/groovy/android/databinding/ |
D | ExportLicensesTask.groovy | 70 …t-wip-us.apache.org/repos/asf?p=commons-lang.git;a=blob_plain;f=LICENSE.txt;hb=refs/heads/master"], 71 …git-wip-us.apache.org/repos/asf?p=commons-lang.git;a=blob_plain;f=NOTICE.txt;hb=refs/heads/master"]
|
/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…
|