Home
last modified time | relevance | path

Searched refs:BBinder (Results 1 – 25 of 195) sorted by relevance

12345678

/aosp12/frameworks/native/libs/binder/
H A DBinder.cpp60 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 DIPCThreadState.cpp594 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 DBinderFuzzFunctions.h35 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 DBinderFuzz.cpp29 sp<BBinder> bbinder = new BBinder(); in LLVMFuzzerTestOneInput()
/aosp12/frameworks/native/services/inputflinger/tests/
H A DAnrTracker_test.cpp43 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 DFocusResolver_test.cpp49 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 DBinder.h30 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 DIBinder.h35 class BBinder; variable
257 virtual BBinder* localBinder();
/aosp12/frameworks/native/include/binder/
H A DBinder.h30 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 DIBinder.h35 class BBinder; variable
257 virtual BBinder* localBinder();
/aosp12/system/tools/aidl/tests/
H A Daidl_test_client_nullables.cpp26 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 DVsyncModulatorTest.cpp94 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 DCachingTest.cpp42 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 DSurfaceFlinger_DestroyDisplayTest.cpp68 sp<BBinder> displayToken = new BBinder(); in TEST_F()
H A DSurfaceFlinger_GetDisplayNativePrimariesTest.cpp98 sp<BBinder> notInternalDisplayToken = new BBinder(); in TEST_F()
/aosp12/frameworks/native/libs/gui/tests/
H A DWindowInfo_test.cpp46 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 Dstub_binder_wrapper.h75 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 Dbinder_wrapper.h29 class BBinder; variable
67 virtual sp<BBinder> CreateLocalBinder() = 0;
/aosp12/system/core/libbinderwrapper/
H A Dstub_binder_wrapper.cc59 sp<BBinder> StubBinderWrapper::CreateLocalBinder() { in CreateLocalBinder()
60 sp<BBinder> binder(new BBinder()); in CreateLocalBinder()
H A Dreal_binder_wrapper.cc82 sp<BBinder> RealBinderWrapper::CreateLocalBinder() { in CreateLocalBinder()
83 return sp<BBinder>(new BBinder()); in CreateLocalBinder()
/aosp12/frameworks/native/services/surfaceflinger/tests/
H A DLayerState_test.cpp36 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 DBinder_test.cpp39 class BinderService : public BBinder {
55 class BinderObject : public BBinder {
/aosp12/frameworks/native/libs/binder/tests/rpc_fuzzer/
H A Dmain.cpp46 class SomeBinder : public BBinder {
61 (void)reply->writeStrongBinder(sp<BBinder>::make()); in onTransact()
/aosp12/frameworks/native/libs/binder/tests/
H A DbinderClearBufTest.cpp49 class FooBar : public BBinder {
69 return BBinder::onTransact(code, data, reply, flags); in onTransact()
H A DbinderStabilityTest.cpp43 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()

12345678