Lines Matching defs:binder

26 #include <binder/Binder.h>
27 #include <binder/IBinder.h>
28 #include <binder/IPCThreadState.h>
29 #include <binder/IServiceManager.h>
190 sp<IBinder> binder;
195 EXPECT_FALSE(binder != NULL);
196 binder = reply.readStrongBinder();
197 EXPECT_TRUE(binder != NULL);
202 return binder;
559 sp<IBinder> binder = addServer();
560 ASSERT_TRUE(binder != NULL);
561 ret = binder->linkToDeath(testDeathRecipient);
568 ret = binder->unlinkToDeath(testDeathRecipient);
581 sp<IBinder> binder = addServer();
582 ASSERT_TRUE(binder != NULL);
583 ret = binder->linkToDeath(testDeathRecipient);
585 wbinder = binder;
591 ret = binder->unlinkToDeath(testDeathRecipient);
604 sp<IBinder> binder = addServer();
605 ASSERT_TRUE(binder != NULL);
606 ret = binder->linkToDeath(testDeathRecipient);
608 sbinder = binder;
707 * the binder driver would only push death notifications to the thread if
806 EXPECT_EQ((uint64_t)0, (uint64_t)fb->binder >> 32);
824 /* Add a weak ref to the freed binder so the driver does not
833 /* Replace original handle with handle to the freed binder */
943 sp<IBinder> binder;
945 binder = data.readStrongBinder();
946 if (binder == NULL) {
956 m_serverStarted = binder;
1046 sp<IBinder> binder;
1047 binder = data.readStrongBinder();
1048 if (binder == NULL) {
1052 binder->transact(BINDER_LIB_TEST_CALL_BACK, data2, &reply2);
1064 sp<IBinder> binder;
1070 binder = data.readStrongBinder();
1071 if (binder == NULL) {
1080 binder->transact(indirect_code, data2, &reply2);
1173 sp<IBinder> binder = new BBinder();
1175 reply->writeStrongBinder(binder);
1177 reply->writeWeakBinder(binder);
1252 * We simulate a single-threaded process using the binder poll
1253 * interface; besides handling binder commands, it can also