/aosp12/frameworks/native/libs/binder/ |
H A D | Binder.cpp | 60 BBinder* IBinder::localBinder() in localBinder() 141 class BBinder::Extras 158 BBinder::BBinder() : mExtras(nullptr), mStability(0) in BBinder() function in android::BBinder 167 status_t BBinder::pingBinder() in pingBinder() 182 status_t BBinder::transact( in transact() 236 void BBinder::attachObject( in attachObject() 265 BBinder* BBinder::localBinder() in localBinder() 341 bool BBinder::isInheritRt() { in isInheritRt() 371 BBinder::~BBinder() in ~BBinder() 379 status_t BBinder::onTransact( in onTransact() [all …]
|
H A D | IPCThreadState.cpp | 594 BBinder* obj = mPendingStrongDerefs[0]; in processPendingDerefs() 1118 sp<BBinder> the_context_object; 1120 void IPCThreadState::setTheContextObject(const sp<BBinder>& obj) in setTheContextObject() 1127 BBinder* obj; in executeCommand() 1141 obj = (BBinder*)mIn.readPointer(); in executeCommand() 1157 obj = (BBinder*)mIn.readPointer(); in executeCommand() 1170 obj = (BBinder*)mIn.readPointer(); in executeCommand() 1179 obj = (BBinder*)mIn.readPointer(); in executeCommand() 1191 obj = (BBinder*)mIn.readPointer(); in executeCommand() 1270 error = reinterpret_cast<BBinder*>(tr.cookie)->transact(tr.code, buffer, in executeCommand() [all …]
|
/aosp12/frameworks/native/libs/binder/tests/unit_fuzzers/ |
H A D | BinderFuzzFunctions.h | 35 static const std::vector<std::function<void(FuzzedDataProvider*, const sp<BBinder>&)>> 36 gBBinderOperations = {[](FuzzedDataProvider*, const sp<BBinder>& bbinder) -> void { 39 [](FuzzedDataProvider* fdp, const sp<BBinder>& bbinder) -> void { 43 [](FuzzedDataProvider*, const sp<BBinder>& bbinder) -> void { 46 [](FuzzedDataProvider*, const sp<BBinder>& bbinder) -> void { 50 [](FuzzedDataProvider* fdp, const sp<BBinder>& bbinder) -> void { 60 [](FuzzedDataProvider*, const sp<BBinder>& bbinder) -> void { 63 [](FuzzedDataProvider*, const sp<BBinder>& bbinder) -> void { 66 [](FuzzedDataProvider* fdp, const sp<BBinder>& bbinder) -> void { 70 [](FuzzedDataProvider*, const sp<BBinder>& bbinder) -> void { [all …]
|
H A D | BinderFuzz.cpp | 29 sp<BBinder> bbinder = new BBinder(); in LLVMFuzzerTestOneInput()
|
/aosp12/frameworks/native/services/inputflinger/tests/ |
H A D | AnrTracker_test.cpp | 43 sp<IBinder> token1 = new BBinder(); in TEST() 44 sp<IBinder> token2 = new BBinder(); in TEST() 93 sp<IBinder> token1 = new BBinder(); in TEST() 94 sp<IBinder> token2 = new BBinder(); in TEST() 107 sp<IBinder> token1 = new BBinder(); in TEST() 108 sp<IBinder> token2 = new BBinder(); in TEST() 122 sp<IBinder> token1 = new BBinder(); in TEST() 123 sp<IBinder> token2 = new BBinder(); in TEST() 155 tracker.erase(1, new BBinder()); in TEST() 160 tracker.erase(2, new BBinder()); in TEST()
|
H A D | FocusResolver_test.cpp | 49 sp<IBinder> focusableWindowToken = new BBinder(); in TEST() 50 sp<IBinder> invisibleWindowToken = new BBinder(); in TEST() 51 sp<IBinder> unfocusableWindowToken = new BBinder(); in TEST() 84 sp<IBinder> focusableWindowToken = new BBinder(); in TEST() 85 sp<IBinder> invisibleWindowToken = new BBinder(); in TEST() 124 sp<IBinder> focusableWindowToken = new BBinder(); in TEST() 146 sp<IBinder> invisibleWindowToken = new BBinder(); in TEST() 170 sp<IBinder> windowToken = new BBinder(); in TEST() 211 sp<IBinder> hostWindowToken = new BBinder(); in TEST() 218 sp<IBinder> embeddedWindowToken = new BBinder(); in TEST() [all …]
|
/aosp12/frameworks/native/libs/binder/include/binder/ |
H A D | Binder.h | 30 class BBinder : public IBinder 33 BBinder(); 64 virtual BBinder* localBinder(); 98 virtual ~BBinder(); 107 BBinder(const BBinder& o); 108 BBinder& operator=(const BBinder& o);
|
H A D | IBinder.h | 35 class BBinder; variable 257 virtual BBinder* localBinder();
|
/aosp12/frameworks/native/include/binder/ |
H A D | Binder.h | 30 class BBinder : public IBinder 33 BBinder(); 64 virtual BBinder* localBinder(); 98 virtual ~BBinder(); 107 BBinder(const BBinder& o); 108 BBinder& operator=(const BBinder& o);
|
H A D | IBinder.h | 35 class BBinder; variable 257 virtual BBinder* localBinder();
|
/aosp12/system/tools/aidl/tests/ |
H A D | aidl_test_client_nullables.cpp | 26 using android::BBinder; 126 std::vector<sp<IBinder>> input{new BBinder(), nullptr}; in TEST_F() 137 sp<IBinder> input = new BBinder(); in TEST_F() 145 std::vector<sp<IBinder>> input{new BBinder(), new BBinder()}; in TEST_F() 158 std::vector<sp<IBinder>> input{new BBinder(), nullptr}; in TEST_F() 164 sp<IBinder> input = new BBinder(); in TEST_F() 172 std::vector<sp<IBinder>> input{new BBinder(), new BBinder()}; in TEST_F()
|
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/ |
H A D | VsyncModulatorTest.cpp | 94 const auto token = sp<BBinder>::make(); in TEST_F() 103 const auto token = sp<BBinder>::make(); in TEST_F() 117 const auto token = sp<BBinder>::make(); in TEST_F() 135 const auto token = sp<BBinder>::make(); in TEST_F() 155 const auto token = sp<BBinder>::make(); in TEST_F() 179 const auto token1 = sp<BBinder>::make(); in TEST_F() 180 const auto token2 = sp<BBinder>::make(); in TEST_F() 204 const auto token = sp<BBinder>::make(); in TEST_F()
|
H A D | CachingTest.cpp | 42 sp<IBinder> binder = new BBinder(); in TEST_F() 50 sp<IBinder> binder = new BBinder(); in TEST_F() 71 sp<IBinder> binder = new BBinder(); in TEST_F()
|
H A D | SurfaceFlinger_DestroyDisplayTest.cpp | 68 sp<BBinder> displayToken = new BBinder(); in TEST_F()
|
H A D | SurfaceFlinger_GetDisplayNativePrimariesTest.cpp | 98 sp<BBinder> notInternalDisplayToken = new BBinder(); in TEST_F()
|
/aosp12/frameworks/native/libs/gui/tests/ |
H A D | WindowInfo_test.cpp | 46 sp<IBinder> touchableRegionCropHandle = new BBinder(); in TEST() 48 i.token = new BBinder(); in TEST() 49 i.windowToken = new BBinder(); in TEST() 80 i.applicationInfo.token = new BBinder(); in TEST() 123 i.token = new BBinder(); in TEST()
|
/aosp12/system/core/libbinderwrapper/include/binderwrapper/ |
H A D | stub_binder_wrapper.h | 75 const std::vector<sp<BBinder>>& local_binders() const { in local_binders() 99 sp<BBinder> CreateLocalBinder() override; 118 std::vector<sp<BBinder>> local_binders_;
|
H A D | binder_wrapper.h | 29 class BBinder; variable 67 virtual sp<BBinder> CreateLocalBinder() = 0;
|
/aosp12/system/core/libbinderwrapper/ |
H A D | stub_binder_wrapper.cc | 59 sp<BBinder> StubBinderWrapper::CreateLocalBinder() { in CreateLocalBinder() 60 sp<BBinder> binder(new BBinder()); in CreateLocalBinder()
|
H A D | real_binder_wrapper.cc | 82 sp<BBinder> RealBinderWrapper::CreateLocalBinder() { in CreateLocalBinder() 83 return sp<BBinder>(new BBinder()); in CreateLocalBinder()
|
/aosp12/frameworks/native/services/surfaceflinger/tests/ |
H A D | LayerState_test.cpp | 36 args.displayToken = new BBinder(); in TEST() 68 args.layerHandle = new BBinder(); in TEST() 69 args.excludeHandles = {new BBinder(), new BBinder()}; in TEST()
|
/aosp12/system/memory/libmemunreachable/tests/ |
H A D | Binder_test.cpp | 39 class BinderService : public BBinder { 55 class BinderObject : public BBinder {
|
/aosp12/frameworks/native/libs/binder/tests/rpc_fuzzer/ |
H A D | main.cpp | 46 class SomeBinder : public BBinder { 61 (void)reply->writeStrongBinder(sp<BBinder>::make()); in onTransact()
|
/aosp12/frameworks/native/libs/binder/tests/ |
H A D | binderClearBufTest.cpp | 49 class FooBar : public BBinder { 69 return BBinder::onTransact(code, data, reply, flags); in onTransact()
|
H A D | binderStabilityTest.cpp | 43 class BadStableBinder : public BBinder { 68 return BBinder::onTransact(code, data, reply, flags); in onTransact() 325 class MarksStabilityInConstructor : public BBinder { 355 sp<IBinder> binder = new BBinder(); in TEST()
|