Home
last modified time | relevance | path

Searched refs:refs (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/tests/CoreTests/android/core/
DHeapTest.java49 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/
DIPCThreadState.cpp481 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 …]
DProcessState.cpp172 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/
Degl_display.cpp61 … 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()
Degl_display.h93 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/
DGraphReader.java61 public void addReferencesByMap(KeyValueMap refs) { in addReferencesByMap() argument
62 mReferences.putAll(refs); in addReferencesByMap()
/frameworks/base/core/java/android/widget/
DRemoteViewsAdapter.java340 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/
DNOTICES.md3 ## [23.1.0](https://android.googlesource.com/platform/frameworks/support/+/refs/heads/master/v14/pr…
/frameworks/support/v14/preference/
DNOTICES.md3 ## [23.1.0](https://android.googlesource.com/platform/frameworks/support/+/refs/heads/master/v14/pr…
/frameworks/support/core-ui/
DNOTICES.md3 ## [23.0.1](https://android.googlesource.com/platform/frameworks/support/+/refs/heads/master/v4/) (…
/frameworks/base/core/java/android/security/net/config/
DNetworkSecurityConfig.java284 public Builder addCertificatesEntryRefs(Collection<? extends CertificatesEntryRef> refs) { in addCertificatesEntryRefs() argument
288 mCertificatesEntryRefs.addAll(refs); in addCertificatesEntryRefs()
/frameworks/rs/cpp/util/
DRefBase.h224 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/
DRefBase.h223 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/
DProcessState.h79 RefBase::weakref_type* refs; member
/frameworks/native/opengl/libagl/
DTextureObjectManager.cpp288 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/
DExportLicensesTask.groovy70 …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/
Dthemes.jd416 …<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…