Searched defs:weak (Results 1 - 3 of 3) sorted by relevance

/frameworks/av/services/radio/
H A DRadioHalLegacy.cpp200 wp<RadioHalLegacy::Tuner> weak = wp<RadioHalLegacy::Tuner>((RadioHalLegacy::Tuner *)cookie); local
201 sp<RadioHalLegacy::Tuner> tuner = weak.promote();
/frameworks/base/tools/aapt2/
H A DResourceParser.cpp874 ParsedResource* out_resource, bool weak) {
1025 std::unique_ptr<Attribute> attr = util::make_unique<Attribute>(weak);
873 ParseAttrImpl(xml::XmlPullParser* parser, ParsedResource* out_resource, bool weak) argument
/frameworks/native/libs/binder/tests/
H A DbinderLibTest.cpp649 wp<IBinder> weak = strong; local
650 sp<IBinder> strong_from_weak = weak.promote();
655 strong_from_weak = weak.promote();
700 data.writeBool(false); /* request weak reference */
705 /* Add a weak ref to the freed binder so the driver does not
920 wp<IBinder> weak; local
926 weak = data.readWeakBinder();
927 if (weak == NULL) {
930 strong = weak.promote();

Completed in 133 milliseconds