HomeSort by relevance Sort by last modified time
    Searched defs:referent (Results 1 - 25 of 224) sorted by null

1 2 3 4 5 6 7 8 9

  /art/runtime/native/
java_lang_ref_FinalizerReference.cc 40 ObjPtr<mirror::Object> const referent = local
42 return soa.AddLocalReference<jobject>(referent);
java_lang_ref_Reference.cc 34 ObjPtr<mirror::Object> const referent = local
36 return soa.AddLocalReference<jobject>(referent);
  /art/tools/ahat/src/test/com/android/ahat/
NativeAllocationTest.java 33 AhatInstance referent = dump.getDumpedAhatInstance("anObject"); local
34 assertEquals(50000, referent.getSize().getRegisteredNativeSize());
InstanceTest.java 199 AhatInstance referent = dump.getDumpedAhatInstance("anObject"); local
203 assertNotNull(referent);
204 assertEquals(referent, pref.getReferent());
205 assertEquals(referent, wref.getReferent());
207 assertNull(referent.getReferent());
214 // reference as having a non-null referent.
217 AhatInstance referent = ref.getReferent(); local
218 assertNotNull(referent);
219 assertTrue(referent.isWeaklyReachable());
285 AhatInstance strong2 = strong1.getField("referent").asAhatInstance()
    [all...]
  /packages/apps/TV/common/src/com/android/tv/common/
WeakHandler.java 39 * Constructs a new handler with a weak reference to the given referent using the provided
43 * @param ref the referent to track
51 * Constructs a new handler with a weak reference to the given referent.
53 * @param ref the referent to track
62 T referent = mRef.get(); local
63 if (referent == null) {
66 handleMessage(msg, referent);
75 * @param referent the referent. Guaranteed to be non null.
77 protected abstract void handleMessage(Message msg, @NonNull T referent);
    [all...]
  /art/runtime/mirror/
reference-inl.h 35 inline void Reference::SetReferent(ObjPtr<Object> referent) {
36 SetFieldObjectVolatile<kTransactionActive>(ReferentOffset(), referent); local
  /art/runtime/gc/
reference_processor.cc 70 ObjPtr<mirror::Object> const referent = reference->GetReferent(); local
71 // If the referent is null then it is already cleared, we can just return null since there is no
73 if (UNLIKELY(!SlowPathEnabled()) || referent == nullptr) {
74 return referent;
80 ObjPtr<mirror::Object> referent = reference->GetReferent<kWithoutReadBarrier>(); local
81 // If the referent became cleared, return it. Don't need barrier since thread roots can't get
83 if (referent == nullptr) {
86 // Try to see if the referent is already marked by using the is_marked_callback. We can return
89 // If it's null it means not marked, but it could become marked if the referent is reachable
95 // Use the cached referent instead of calling GetReferent since other threads could cal
215 mirror::HeapReference<mirror::Object>* referent = ref->GetReferentReferenceAddr(); local
    [all...]
reference_queue.cc 92 ObjPtr<mirror::Object> referent = ref->GetReferent<kWithoutReadBarrier>(); local
93 // The referent could be null if it's cleared by a mutator (Reference.clear()).
94 if (referent != nullptr) {
95 CHECK(concurrent_copying->IsInToSpace(referent.Ptr()))
97 << " referent=" << referent;
140 // Referent is white, clear it.
163 // Move the updated referent to the zombie field.
188 // do_atomic_update is false because mutators can't access the referent due to the weak ref
  /art/tools/ahat/src/main/com/android/ahat/
Summarizer.java 81 // Annotate Reference with its referent
82 AhatInstance referent = inst.getReferent(); local
83 if (referent != null) {
86 // It should not be possible for a referent to refer back to the
89 formatted.append(summarize(referent));
  /libcore/ojluni/src/main/java/java/lang/ref/
Reference.java 47 * If GC is not in progress (ie: not going through slow path), the referent
55 * Used by the reference processor to determine whether or not the referent
56 * can be immediately returned. Because the referent might get swept during
63 volatile T referent; field in class:Reference
92 /* -- Referent accessor and setters -- */
95 * Returns this reference object's referent. If this reference object has
120 // Direct access to the referent is prohibited, clearReferent blocks and set
121 // the referent to null when it is safe to do so.
162 Reference(T referent) {
163 this(referent, null)
    [all...]
  /art/runtime/
reference_table_test.cc 43 static mirror::Object* CreateWeakReference(mirror::Object* referent)
49 Handle<mirror::Object> h_referent(scope.NewHandle<mirror::Object>(referent));
153 // Add a reference and check that the type of the referent is dumped.
160 EXPECT_NE(oss.str().find("java.lang.ref.WeakReference (referent is null)"), std::string::npos)
172 EXPECT_NE(oss.str().find("java.lang.ref.WeakReference (referent is a java.lang.String)"),
215 jobject referent = soa.Env()->AddLocalReference<jobject>(h_with_trace.Get()); local
216 jobject result = soa.Env()->NewObject(weak_ref_class, init, referent);
231 R"( 2: 0x[0-9a-f]* java.lang.ref.WeakReference \(referent is a java.lang.String\)\n)" // NOLINT
234 R"( Referent allocated at:\n)"
reference_table.cc 203 ObjPtr<mirror::Object> referent = ref->AsReference()->GetReferent(); local
204 if (referent == nullptr) {
205 extras = " (referent is null)";
207 extras = StringPrintf(" (referent is a %s)", referent->PrettyTypeOf().c_str());
251 // If it's a reference, see if we have data about the referent.
253 ObjPtr<mirror::Object> referent = ref->AsReference()->GetReferent(); local
254 if (referent != nullptr) {
255 print_stack(referent, "Referent allocated at:")
    [all...]
  /external/smali/dexlib2/src/test/java/org/jf/dexlib2/builder/
PayloadAlignmentTest.java 110 Instruction31t referent = (Instruction31t)instructions.get(0); local
111 Assert.assertEquals(6, referent.getCodeOffset());
138 Instruction31t referent = (Instruction31t)instructions.get(0); local
139 Assert.assertEquals(8, referent.getCodeOffset());
197 OffsetInstruction referent = (OffsetInstruction)instructions.get(7); local
198 Assert.assertEquals(-14, referent.getCodeOffset());
248 OffsetInstruction referent = (OffsetInstruction)instructions.get(7); local
249 Assert.assertEquals(-18, referent.getCodeOffset());
  /art/tools/ahat/src/main/com/android/ahat/heapdump/
AhatClassInstance.java 151 return getRefField("referent");
291 Value referent = getField("referent"); local
292 if (referent == null || !referent.isAhatInstance()) {
297 rna.referent = referent.asAhatInstance();
393 * java.lang.ref.Reference, where the 'referent' field is considered weak.
405 boolean strong = !field.name.equals("referent");
AhatInstance.java 363 * Returns the <code>referent</code> associated with this instance.
365 * subclasses. Returns null if the instance has no referent associated with
368 * @return the referent associated with this instance
495 public AhatInstance referent; field in class:AhatInstance.RegisteredNativeAllocation
  /art/tools/ahat/src/test-dump/
DumpedStuff.java 120 public Object referent; field in class:DumpedStuff.Reference
122 public Reference(Object referent) {
123 this.referent = referent;
  /libcore/luni/src/test/java/libcore/libcore/util/
NativeAllocationRegistryTest.java 126 Object referent = new Object(); local
127 Runnable cleaner = registry.registerNativeAllocation(referent, nativePtr);
139 // There shouldn't be any problems when the referent object is GC'd.
140 referent = null;
148 final Object referent = new Object(); local
150 // referent should not be null
160 registry.registerNativeAllocation(referent, 0);
164 // referent should not be null
179 assertNull(registry.registerNativeAllocation(referent,
  /packages/apps/TV/src/com/android/tv/util/images/
ImageLoader.java 106 * Creates an callback keeping a weak reference to {@code referent}.
108 * <p>If the "referent" is no longer valid, it no longer makes sense to run the callback.
109 * The referent is the View, or Activity or whatever that actually needs to receive the
110 * Bitmap. If the referent has been GC, then no need to run the callback.
112 public ImageLoaderCallback(T referent) {
113 mWeakReference = new WeakReference<>(referent);
118 T referent = mWeakReference.get(); local
119 if (referent != null) {
120 onBitmapLoaded(referent, bitmap);
127 public abstract void onBitmapLoaded(T referent, @Nullable Bitmap bitmap)
    [all...]
  /art/patchoat/
patchoat.cc 1016 mirror::Object* referent = obj->GetFieldObject<mirror::Object, kVerifyNone>(off); local
1024 mirror::Object* referent = ref->GetReferent(); local
    [all...]
  /external/icu/tools/srcgen/currysrc/libs/
org.eclipse.equinox.common_3.7.0.v20150402-1709.jar 
  /prebuilts/devtools/tools/lib/
org-eclipse-equinox-common-3.6.0.jar 
  /prebuilts/tools/common/eclipse/
org.eclipse.equinox.common_3.4.0.v20080421-2006.jar 
org.eclipse.equinox.common_3.6.0.v20100503.jar 
  /prebuilts/tools/common/m2/repository/com/android/external/eclipse/org-eclipse-equinox-common/3.6.0/
org-eclipse-equinox-common-3.6.0.jar 
  /prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/
org.eclipse.equinox.common_3.6.200.v20130402-1505.jar 

Completed in 466 milliseconds

1 2 3 4 5 6 7 8 9