Home
last modified time | relevance | path

Searched refs:aiBinder (Results 1 – 6 of 6) sorted by relevance

/packages/services/Car/cpp/watchdog/server/tests/
DWatchdogProcessServiceTest.cpp230 void expectLinkToDeath(AIBinder* aiBinder, ScopedAStatus expectedStatus) { in expectLinkToDeath() argument
232 linkToDeath(Eq(aiBinder), _, static_cast<void*>(aiBinder))) in expectLinkToDeath()
236 void expectUnlinkToDeath(AIBinder* aiBinder, ScopedAStatus expectedStatus) { in expectUnlinkToDeath() argument
238 unlinkToDeath(Eq(aiBinder), _, static_cast<void*>(aiBinder))) in expectUnlinkToDeath()
242 void expectNoUnlinkToDeath(AIBinder* aiBinder) { in expectNoUnlinkToDeath() argument
244 unlinkToDeath(Eq(aiBinder), _, static_cast<void*>(aiBinder))) in expectNoUnlinkToDeath()
419 AIBinder* aiBinder = client->asBinder().get(); in TEST_F() local
420 expectLinkToDeath(aiBinder, std::move(ScopedAStatus::ok())); in TEST_F()
426 expectUnlinkToDeath(aiBinder, std::move(ScopedAStatus::ok())); in TEST_F()
447 AIBinder* aiBinder = client->asBinder().get(); in TEST_F() local
[all …]
DWatchdogServiceHelperTest.cpp138 void expectLinkToDeath(AIBinder* aiBinder, ndk::ScopedAStatus expectedStatus) { in expectLinkToDeath() argument
140 linkToDeath(Eq(aiBinder), _, static_cast<void*>(aiBinder))) in expectLinkToDeath()
144 void expectUnlinkToDeath(AIBinder* aiBinder, ndk::ScopedAStatus expectedStatus) { in expectUnlinkToDeath() argument
146 unlinkToDeath(Eq(aiBinder), _, static_cast<void*>(aiBinder))) in expectUnlinkToDeath()
150 void expectNoLinkToDeath(AIBinder* aiBinder) { in expectNoLinkToDeath() argument
152 linkToDeath(Eq(aiBinder), _, static_cast<void*>(aiBinder))) in expectNoLinkToDeath()
156 void expectNoUnlinkToDeath(AIBinder* aiBinder) { in expectNoUnlinkToDeath() argument
158 unlinkToDeath(Eq(aiBinder), _, static_cast<void*>(aiBinder))) in expectNoUnlinkToDeath()
DIoOveruseMonitorTest.cpp282 void expectLinkToDeath(AIBinder* aiBinder, ndk::ScopedAStatus expectedStatus) { in expectLinkToDeath() argument
284 linkToDeath(Eq(aiBinder), _, static_cast<void*>(aiBinder))) in expectLinkToDeath()
288 void expectUnlinkToDeath(AIBinder* aiBinder, ndk::ScopedAStatus expectedStatus) { in expectUnlinkToDeath() argument
290 unlinkToDeath(Eq(aiBinder), _, static_cast<void*>(aiBinder))) in expectUnlinkToDeath()
294 void expectNoUnlinkToDeath(AIBinder* aiBinder) { in expectNoUnlinkToDeath() argument
296 unlinkToDeath(Eq(aiBinder), _, static_cast<void*>(aiBinder))) in expectNoUnlinkToDeath()
/packages/services/Car/cpp/watchdog/server/src/
DWatchdogServiceHelper.cpp84 AIBinder* aiBinder = binder.get(); in registerService() local
106 mDeathRegistrationWrapper->linkToDeath(aiBinder, mWatchdogServiceDeathRecipient.get(), in registerService()
107 static_cast<void*>(aiBinder)); in registerService()
222 AIBinder* aiBinder = binder.get(); in unregisterServiceLocked() local
223 mDeathRegistrationWrapper->unlinkToDeath(aiBinder, mWatchdogServiceDeathRecipient.get(), in unregisterServiceLocked()
224 static_cast<void*>(aiBinder)); in unregisterServiceLocked()
DWatchdogProcessService.cpp360 AIBinder* aiBinder = mMonitor->asBinder().get(); in registerMonitor() local
361 mDeathRegistrationWrapper->unlinkToDeath(aiBinder, mClientBinderDeathRecipient.get(), in registerMonitor()
362 static_cast<void*>(aiBinder)); in registerMonitor()
367 AIBinder* aiBinder = binder.get(); in registerMonitor() local
369 mDeathRegistrationWrapper->linkToDeath(aiBinder, mClientBinderDeathRecipient.get(), in registerMonitor()
370 static_cast<void*>(aiBinder)); in registerMonitor()
401 AIBinder* aiBinder = binder.get(); in unregisterMonitor() local
402 mDeathRegistrationWrapper->unlinkToDeath(aiBinder, mClientBinderDeathRecipient.get(), in unregisterMonitor()
403 static_cast<void*>(aiBinder)); in unregisterMonitor()
725 AIBinder* aiBinder = mMonitor->asBinder().get(); in terminate() local
[all …]
DIoOveruseMonitor.cpp233 AIBinder* aiBinder = listener->asBinder().get(); in terminate() local
234 mDeathRegistrationWrapper->unlinkToDeath(aiBinder, mBinderDeathRecipient.get(), in terminate()
235 static_cast<void*>(aiBinder)); in terminate()
615 AIBinder* aiBinder = binder.get(); in addIoOveruseListener() local
616 auto status = mDeathRegistrationWrapper->linkToDeath(aiBinder, mBinderDeathRecipient.get(), in addIoOveruseListener()
617 static_cast<void*>(aiBinder)); in addIoOveruseListener()
644 AIBinder* aiBinder = it->second->asBinder().get(); in removeIoOveruseListener() local
645 mDeathRegistrationWrapper->unlinkToDeath(aiBinder, mBinderDeathRecipient.get(), in removeIoOveruseListener()
646 static_cast<void*>(aiBinder)); in removeIoOveruseListener()