/frameworks/native/libs/binder/ |
D | BpBinder.cpp | 42 RpcMutex BpBinder::sTrackingLock; 43 std::unordered_map<int32_t, uint32_t> BpBinder::sTrackingMap; 44 std::unordered_map<int32_t, uint32_t> BpBinder::sLastLimitCallbackMap; 45 int BpBinder::sNumTrackedUids = 0; 46 std::atomic_bool BpBinder::sCountByUidEnabled(false); 47 binder_proxy_limit_callback BpBinder::sLimitCallback; 48 binder_proxy_warning_callback BpBinder::sWarningCallback; 49 bool BpBinder::sBinderProxyThrottleCreate = false; 54 uint32_t BpBinder::sBinderProxyCountHighWatermark = 2500; 56 uint32_t BpBinder::sBinderProxyCountLowWatermark = 2000; [all …]
|
D | Binder.cpp | 98 BpBinder* IBinder::remoteBinder() in remoteBinder() 135 BpBinder* proxy = this->remoteBinder(); in getExtension() 153 BpBinder* proxy = this->remoteBinder(); in getDebugPid() 187 BpBinder* proxy = this->remoteBinder(); in setRpcClientDebug() 209 BpBinder* proxy = this->remoteBinder(); in withLock() 220 BpBinder* proxy = this->remoteBinder(); in lookupOrCreateWeak() 275 BpBinder::ObjectManager mObjects;
|
D | ProcessState.cpp | 267 ssize_t ProcessState::getStrongRefCountForNode(const sp<BpBinder>& binder) { in getStrongRefCountForNode() 362 sp<BpBinder> b = BpBinder::PrivateAccessor::create(handle); in getStrongProxyForHandle()
|
D | IPCThreadState.cpp | 885 void IPCThreadState::incStrongHandle(int32_t handle, BpBinder *proxy) in incStrongHandle() 905 void IPCThreadState::incWeakHandle(int32_t handle, BpBinder *proxy) in incWeakHandle() 939 status_t IPCThreadState::requestDeathNotification(int32_t handle, BpBinder* proxy) in requestDeathNotification() 947 status_t IPCThreadState::clearDeathNotification(int32_t handle, BpBinder* proxy) in clearDeathNotification() 1477 BpBinder *proxy = (BpBinder*)mIn.readPointer(); in executeCommand() 1485 BpBinder *proxy = (BpBinder*)mIn.readPointer(); in executeCommand()
|
D | Android.bp | 226 "BpBinder.cpp",
|
D | RpcSession.cpp | 280 status_t RpcSession::sendDecStrong(const BpBinder* binder) { in sendDecStrong()
|
/frameworks/native/libs/binder/tests/unit_fuzzers/ |
D | BpBinderFuzzFunctions.h | 46 static const std::vector<std::function<void(FuzzedDataProvider*, const sp<BpBinder>&, 49 {[](FuzzedDataProvider* fdp, const sp<BpBinder>& bpbinder, 62 [](FuzzedDataProvider* fdp, const sp<BpBinder>& bpbinder, 70 [](FuzzedDataProvider*, const sp<BpBinder>& bpbinder, 72 [](FuzzedDataProvider*, const sp<BpBinder>& bpbinder, 76 [](FuzzedDataProvider* fdp, const sp<BpBinder>& bpbinder, 81 [](FuzzedDataProvider*, const sp<BpBinder>& bpbinder, 83 [](FuzzedDataProvider*, const sp<BpBinder>& bpbinder, 85 [](FuzzedDataProvider*, const sp<BpBinder>& bpbinder, 91 [](FuzzedDataProvider* fdp, const sp<BpBinder>& bpbinder, [all …]
|
D | BpBinderFuzz.cpp | 63 sp<BpBinder> bpBinder = session->getRootObject()->remoteBinder(); in LLVMFuzzerTestOneInput()
|
/frameworks/native/libs/binder/include/binder/ |
D | BpBinder.h | 42 class BpBinder : public IBinder { 79 LIBBINDER_EXPORTED virtual BpBinder* remoteBinder(); 130 friend class BpBinder; 135 explicit PrivateAccessor(const BpBinder* binder) : mBinder(binder) {} in PrivateAccessor() 137 static sp<BpBinder> create(int32_t handle) { return BpBinder::create(handle); } in create() 138 static sp<BpBinder> create(const sp<RpcSession>& session, uint64_t address) { in create() 139 return BpBinder::create(session, address); in create() 149 const BpBinder* mBinder; 157 friend class sp<BpBinder>; 159 static sp<BpBinder> create(int32_t handle); [all …]
|
D | IPCThreadState.h | 169 LIBBINDER_EXPORTED void incStrongHandle(int32_t handle, BpBinder* proxy); 171 LIBBINDER_EXPORTED void incWeakHandle(int32_t handle, BpBinder* proxy); 175 LIBBINDER_EXPORTED status_t requestDeathNotification(int32_t handle, BpBinder* proxy); 176 LIBBINDER_EXPORTED status_t clearDeathNotification(int32_t handle, BpBinder* proxy);
|
D | Stability.h | 25 class BpBinder; variable 124 friend ::android::BpBinder;
|
D | IBinder.h | 39 class BpBinder; variable 288 virtual BpBinder* remoteBinder();
|
D | ProcessState.h | 104 LIBBINDER_EXPORTED ssize_t getStrongRefCountForNode(const sp<BpBinder>& binder);
|
D | RpcSession.h | 205 [[nodiscard]] LIBBINDER_EXPORTED status_t sendDecStrong(const BpBinder* binder);
|
/frameworks/native/include/binder/ |
D | IPCThreadState.h | 169 LIBBINDER_EXPORTED void incStrongHandle(int32_t handle, BpBinder* proxy); 171 LIBBINDER_EXPORTED void incWeakHandle(int32_t handle, BpBinder* proxy); 175 LIBBINDER_EXPORTED status_t requestDeathNotification(int32_t handle, BpBinder* proxy); 176 LIBBINDER_EXPORTED status_t clearDeathNotification(int32_t handle, BpBinder* proxy);
|
D | Stability.h | 25 class BpBinder; variable 124 friend ::android::BpBinder;
|
D | IBinder.h | 39 class BpBinder; variable 288 virtual BpBinder* remoteBinder();
|
D | ProcessState.h | 104 LIBBINDER_EXPORTED ssize_t getStrongRefCountForNode(const sp<BpBinder>& binder);
|
/frameworks/native/libs/binderdebug/ |
D | stats.cpp | 41 BpBinder* remote = binder->remoteBinder(); in main()
|
/frameworks/native/libs/binder/trusty/kernel/ |
D | rules.mk | 30 $(LIBBINDER_DIR)/BpBinder.cpp \
|
/frameworks/native/libs/binder/trusty/ |
D | rules.mk | 33 $(LIBBINDER_DIR)/BpBinder.cpp \
|
/frameworks/native/libs/binder/tests/ |
D | binderRecordReplayTest.cpp | 123 void replayFuzzService(const sp<BpBinder>& binder, const RecordedTransaction& transaction) { in replayFuzzService() 141 void replayBinder(const sp<BpBinder>& binder, const RecordedTransaction& transaction) { in replayBinder() 240 sp<BpBinder> mBpBinder;
|
D | binderLibTest.cpp | 1488 uint32_t initialCount = BpBinder::getBinderProxyCount(); in TEST_F() 1499 EXPECT_EQ(BpBinder::getBinderProxyCount(), ++count); in TEST_F() 1506 EXPECT_EQ(BpBinder::getBinderProxyCount(), --count); in TEST_F() 1510 EXPECT_EQ(BpBinder::getBinderProxyCount(), initialCount); in TEST_F() 1523 BpBinder::enableCountByUid(); in TEST_F() 1528 uint32_t initialCount = BpBinder::getBinderProxyCount(); in TEST_F() 1531 BpBinder::setBinderProxyCountWatermarks(kBpCountHighWatermark, in TEST_F() 1536 BpBinder::setBinderProxyCountEventCallback([&](int uid) { limitCallbackUid = uid; }, in TEST_F() 1545 EXPECT_EQ(BpBinder::getBinderProxyCount(), ++count); in TEST_F() 1552 EXPECT_EQ(BpBinder::getBinderProxyCount(), --count); in TEST_F() [all …]
|
/frameworks/base/core/jni/ |
D | android_util_Binder.cpp | 1200 return BpBinder::getBinderProxyCount(); in android_os_Debug_getProxyObjectCount() 1275 BpBinder::setCountByUidEnabled((bool) enable); in android_os_BinderInternal_setBinderProxyCountEnabled() 1281 BpBinder::getCountByUid(uids, counts); in android_os_BinderInternal_getBinderProxyPerUidCounts() 1292 return static_cast<jint>(BpBinder::getBinderProxyCount(static_cast<uint32_t>(uid))); in android_os_BinderInternal_getBinderProxyCount() 1299 BpBinder::setBinderProxyCountWatermarks(high, low, warning); in android_os_BinderInternal_setBinderProxyCountWatermarks() 1336 BpBinder::setBinderProxyCountEventCallback(android_os_BinderInternal_proxyLimitCallback, in int_register_android_os_BinderInternal()
|
/frameworks/native/cmds/servicemanager/ |
D | ServiceManager.cpp | 836 sp<BpBinder> bpBinder = sp<BpBinder>::fromExisting(binder->remoteBinder()); in getNodeStrongRefCount()
|