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

/frameworks/av/media/libmedia/
H A DMediaUtils.h22 extern "C" void __asan_init(void) __attribute__((weak));
/frameworks/base/core/java/android/os/
H A DFileObserver.java111 WeakReference weak = m_observers.get(wfd);
112 if (weak != null) { // can happen with lots of events from a dead wfd
113 observer = (FileObserver) weak.get();
/frameworks/base/tools/aapt2/
H A DResourceParser.h97 bool ParseAttrImpl(xml::XmlPullParser* parser, ParsedResource* out_resource, bool weak);
H A DResources.proto194 bool weak = 3;
H A DResourceParser.cpp1099 ParsedResource* out_resource, bool weak) {
1248 attr->SetWeak(weak);
1098 ParseAttrImpl(xml::XmlPullParser* parser, ParsedResource* out_resource, bool weak) argument
/frameworks/native/libs/binder/tests/
H A DbinderLibTest.cpp768 wp<IBinder> weak = strong; local
769 sp<IBinder> strong_from_weak = weak.promote();
774 strong_from_weak = weak.promote();
819 data.writeBool(false); /* request weak reference */
824 /* Add a weak ref to the freed binder so the driver does not
1143 wp<IBinder> weak; local
1149 weak = data.readWeakBinder();
1150 if (weak == NULL) {
1153 strong = weak.promote();
/frameworks/base/tools/aapt2/test/
H A DBuilders.cpp168 AttributeBuilder& AttributeBuilder::SetWeak(bool weak) { argument
169 attr_->SetWeak(weak);
H A DBuilders.h118 AttributeBuilder& SetWeak(bool weak);
/frameworks/rs/cpu_ref/
H A DrsCpuScriptGroup2.cpp340 // "__attribute__((weak))" is used to prevent callers from recognizing
346 // entry point as a weak definition wouldn't solve the problem.
348 extern __attribute__((noinline)) __attribute__((weak))
/frameworks/av/media/libstagefright/foundation/tests/
H A DAData_test.cpp96 std::weak_ptr<EventCounter> weak(copy);
103 EXPECT_TRUE(weak.expired());
406 // test that weak pointer can be copied in (support for moving is from C++14 only)
421 // we can remove a weak pointer multiple times
636 // test that weak pointer can be copied in (support for moving is from C++14 only)
653 // we can remove a weak pointer multiple times
667 // test that weak pointer can be set and removed as base type (but removed as derived only
799 // we can remove a weak pointer multiple times
943 // we can remove a weak pointer multiple times
954 // test that weak pointe
[all...]
/frameworks/base/tools/aapt2/format/proto/
H A DProtoDeserialize.cpp745 value->SetWeak(pb_value.weak());

Completed in 160 milliseconds