Home
last modified time | relevance | path

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

/frameworks/native/libs/binder/ndk/include_platform/android/
Dbinder_ibinder_platform.h42 __attribute__((weak)) void AIBinder_setRequestingSid(AIBinder* binder, bool requestingSid)
56 __attribute__((weak, warn_unused_result)) const char* AIBinder_getCallingSid() __INTRODUCED_IN(31);
Dbinder_process.h58 __attribute__((weak)) binder_status_t ABinderProcess_setupPolling(int* fd) __INTRODUCED_IN(31);
66 __attribute__((weak)) binder_status_t ABinderProcess_handlePolledCommands() __INTRODUCED_IN(31);
Dbinder_shell.h51 __attribute__((weak)) void AIBinder_Class_setHandleShellCommand(
Dbinder_stability.h69 __attribute__((weak)) void AIBinder_markSystemStability(AIBinder* binder);
/frameworks/libs/native_bridge_support/libc/
D__cxa_thread_atexit_impl.cpp19 extern "C" void __loader_add_thread_local_dtor(void* dso_handle) __attribute__((weak));
20 extern "C" void __loader_remove_thread_local_dtor(void* dso_handle) __attribute__((weak));
/frameworks/native/libs/binder/rust/tests/
Dintegration.rs524 let weak = Strong::downgrade(&service); in weak_binder_upgrade() localVariable
526 let upgraded = weak.upgrade().expect("Could not upgrade weak binder"); in weak_binder_upgrade()
534 let weak = { in weak_binder_upgrade_dead() localVariable
545 assert_eq!(weak.upgrade(), Err(StatusCode::DEAD_OBJECT)); in weak_binder_upgrade_dead()
558 let weak = Strong::downgrade(&service); in weak_binder_clone() localVariable
559 let cloned = weak.clone(); in weak_binder_clone()
560 assert_eq!(weak, cloned); in weak_binder_clone()
562 let upgraded = weak.upgrade().expect("Could not upgrade weak binder"); in weak_binder_clone()
/frameworks/base/core/java/android/os/
DFileObserver.java154 WeakReference weak = mRealObservers.get(wfd); in onEvent() local
155 if (weak != null) { // can happen with lots of events from a dead wfd in onEvent()
156 observer = (FileObserver) weak.get(); in onEvent()
/frameworks/native/libs/binder/tests/
DbinderRpcTest.cpp512 wp<IBinder> weak = inBinder; in TEST_P() local
521 EXPECT_EQ(nullptr, weak.promote()); in TEST_P()
537 wp<IBinder> weak = inBinder; in TEST_P() local
547 EXPECT_EQ(nullptr, weak.promote()); in TEST_P()
636 wp<IBinder> weak = nastyNester; in TEST_P() local
638 EXPECT_EQ(nullptr, weak.promote()); in TEST_P()
658 wp<IBinder> weak = a; in TEST_P() local
667 EXPECT_EQ(nullptr, weak.promote()); in TEST_P()
675 EXPECT_EQ(b, weak.promote()); in TEST_P()
DbinderLibTest.cpp810 wp<IBinder> weak = strong; in TEST_F() local
811 sp<IBinder> strong_from_weak = weak.promote(); in TEST_F()
816 strong_from_weak = weak.promote(); in TEST_F()
/frameworks/av/media/utils/
DLimitProcessMemory.cpp28 extern "C" void __scudo_set_rss_limit(size_t, int) __attribute__((weak));
/frameworks/native/libs/adbd_auth/include/
Dadbd_auth.h138 __attribute__((weak)) uint64_t adbd_auth_prompt_user_with_id(AdbdAuthContext* ctx,
/frameworks/native/libs/binder/ndk/include_ndk/android/
Dbinder_ibinder.h695 AIBinder_Weak* AIBinder_Weak_clone(const AIBinder_Weak* weak) __INTRODUCED_IN(31);
/frameworks/base/tools/aapt2/
DResourceParser.h124 bool ParseAttrImpl(xml::XmlPullParser* parser, ParsedResource* out_resource, bool weak);
DResourceParser.cpp1292 ParsedResource* out_resource, bool weak) { in ParseAttrImpl() argument
1444 attr->SetWeak(weak); in ParseAttrImpl()
DResources.proto251 bool weak = 3; field
/frameworks/native/libs/binder/ndk/
Dibinder.cpp304 AIBinder_Weak* AIBinder_Weak_clone(const AIBinder_Weak* weak) { in AIBinder_Weak_clone() argument
305 if (weak == nullptr) { in AIBinder_Weak_clone()
309 return new AIBinder_Weak{weak->binder}; in AIBinder_Weak_clone()
/frameworks/base/tools/aapt2/test/
DBuilders.cpp185 AttributeBuilder& AttributeBuilder::SetWeak(bool weak) { in SetWeak() argument
186 attr_->SetWeak(weak); in SetWeak()
DBuilders.h124 AttributeBuilder& SetWeak(bool weak);
/frameworks/rs/cpu_ref/
DrsCpuScriptGroup2.cpp348 extern __attribute__((noinline)) __attribute__((weak))
/frameworks/av/media/libstagefright/foundation/tests/
DAData_test.cpp96 std::weak_ptr<EventCounter> weak(copy); in TEST_F() local
103 EXPECT_TRUE(weak.expired()); in TEST_F()
/frameworks/compile/mclinker/tools/mcld/
DOptions.td281 "a non-weak undefined symbol reference from">;
/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.cpp866 value->SetWeak(pb_value.weak()); in DeserializeValueFromPb()
/frameworks/proto_logging/stats/
Datoms.proto4983 // Whether a Class 2 (weak) biometric was previously enrolled on this device.