Searched refs:refs (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/tests/CoreTests/android/core/
H A DHeapTest.java49 private static void makeRefs(Object objects[], SoftReference<Object> refs[]) { argument
52 refs[i] = new SoftReference<Object>(objects[i]);
56 private static <T> int checkRefs(SoftReference<T> refs[], int last) { argument
59 for (i = 0; i < refs.length; i++) {
60 Object o = refs[i].get();
81 private static <T> void checkRefs(T objects[], SoftReference<T> refs[]) { argument
85 if (refs[i].get() != objects[i]) {
90 throw new RuntimeException("Test failed: soft refs not cleared");
99 SoftReference<Object> refs[] = new SoftReference[objects.length];
104 makeRefs(objects, refs);
177 makeRefs(Object objects[], WeakReference<Object> refs[]) argument
184 checkRefs(T objects[], WeakReference<T> refs[]) argument
229 makeRefs(Object objects[], PhantomReference<Object> refs[], ReferenceQueue<Object> queue) argument
237 checkRefs(T objects[], PhantomReference<T> refs[], ReferenceQueue<T> queue) argument
359 makeRefs(FinalizableObject objects[], WeakReference<FinalizableObject> refs[]) argument
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/
H A DGraphReader.java61 public void addReferencesByMap(KeyValueMap refs) { argument
62 mReferences.putAll(refs);
/frameworks/native/libs/binder/
H A DIPCThreadState.cpp481 RefBase::weakref_type* refs = mPendingWeakDerefs[i]; local
482 refs->decWeak(mProcess.get());
971 RefBase::weakref_type* refs; local
983 refs = (RefBase::weakref_type*)mIn.readPointer();
985 ALOG_ASSERT(refs->refBase() == obj,
987 refs, obj, refs->refBase());
994 mOut.writePointer((uintptr_t)refs);
999 refs = (RefBase::weakref_type*)mIn.readPointer();
1001 ALOG_ASSERT(refs
[all...]
H A DProcessState.cpp172 e.refs = NULL;
192 if (b == NULL || !e->refs->attemptIncWeak(this)) {
222 if (b) e->refs = b->getWeakRefs();
229 e->refs->decWeak(this);
253 if (b == NULL || !e->refs->attemptIncWeak(this)) {
257 if (b) e->refs = b->getWeakRefs();
260 e->refs->decWeak(this);
/frameworks/native/opengl/libs/EGL/
H A Degl_display.h93 inline bool isReady() const { return (refs > 0); }
104 inline uint32_t getRefsCount() const { return refs; }
133 uint32_t refs; member in class:android::egl_display_t
149 // STRONG refs cancel (inc) or initiate (dec) a hibernation attempt
150 // the next time the wakecount reaches zero. WEAK refs don't affect
151 // whether a hibernation attempt will be made. Use STRONG refs only
H A Degl_display.cpp59 magic('_dpy'), finishOnSwap(false), traceGpuCompletion(false), refs(0), eglIsInitialized(false) {
128 refs++;
129 if (refs > 1) {
235 if (refs == 0) {
246 refs--;
247 if (refs > 0) {
/frameworks/native/include/binder/
H A DProcessState.h79 RefBase::weakref_type* refs; member in struct:android::ProcessState::handle_entry
/frameworks/base/core/java/android/widget/
H A DRemoteViewsAdapter.java340 LinkedList<RemoteViewsFrameLayout> refs = mReferences.get(position);
343 if (refs == null) {
344 refs = new LinkedList<RemoteViewsFrameLayout>();
345 mReferences.put(position, refs);
347 mViewToLinkedList.put(layout, refs);
350 refs.add(layout);
360 final LinkedList<RemoteViewsFrameLayout> refs = mReferences.get(position);
361 if (refs != null) {
363 for (final RemoteViewsFrameLayout ref : refs) {
369 refs
[all...]
/frameworks/base/core/java/android/security/net/config/
H A DNetworkSecurityConfig.java57 // Sort the certificates entry refs so that all entries that override pins come before
59 // multiple entry refs by returning the certificate from the first entry ref.
284 public Builder addCertificatesEntryRefs(Collection<? extends CertificatesEntryRef> refs) { argument
288 mCertificatesEntryRefs.addAll(refs);
/frameworks/native/opengl/libagl/
H A DTextureObjectManager.cpp288 const uint32_t refs = old->getStrongCount(); local
289 if (ggl_likely(refs == 1)) {
/frameworks/rs/cpp/util/
H A 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)
423 if (other) refs->incWeak(this);
426 m_refs = refs;
/frameworks/rs/server/
H A 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)
422 if (other) refs->incWeak(this);
425 m_refs = refs;
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 2026 milliseconds