Lines Matching refs:binder
33 using ::android::binder::Status;
77 sp<MockBinder> binder = client->getBinder(); in createMockCarWatchdogClient() local
78 EXPECT_CALL(*binder, linkToDeath(_, nullptr, 0)).WillRepeatedly(Return(linkToDeathResult)); in createMockCarWatchdogClient()
79 EXPECT_CALL(*binder, unlinkToDeath(_, nullptr, 0, nullptr)).WillRepeatedly(Return(OK)); in createMockCarWatchdogClient()
80 EXPECT_CALL(*client, onAsBinder()).WillRepeatedly(Return(binder.get())); in createMockCarWatchdogClient()
86 sp<MockBinder> binder = monitor->getBinder(); in createMockCarWatchdogMonitor() local
87 EXPECT_CALL(*binder, linkToDeath(_, nullptr, 0)).WillRepeatedly(Return(linkToDeathResult)); in createMockCarWatchdogMonitor()
88 EXPECT_CALL(*binder, unlinkToDeath(_, nullptr, 0, nullptr)).WillRepeatedly(Return(OK)); in createMockCarWatchdogMonitor()
89 EXPECT_CALL(*monitor, onAsBinder()).WillRepeatedly(Return(binder.get())); in createMockCarWatchdogMonitor()
139 sp<IBinder> binder = mockService->getBinder(); in TEST_F() local
141 Status status = mWatchdogProcessService->registerCarWatchdogService(binder); in TEST_F()
144 status = mWatchdogProcessService->registerCarWatchdogService(binder); in TEST_F()
151 sp<IBinder> binder = mockService->getBinder(); in TEST_F() local
153 ASSERT_FALSE(mWatchdogProcessService->registerCarWatchdogService(binder).isOk()) in TEST_F()