/packages/services/Car/cpp/watchdog/server/tests/ |
D | WatchdogProcessServiceTest.cpp | 230 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 …]
|
D | WatchdogServiceHelperTest.cpp | 138 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()
|
D | IoOveruseMonitorTest.cpp | 282 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/ |
D | WatchdogServiceHelper.cpp | 84 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()
|
D | WatchdogProcessService.cpp | 360 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 …]
|
D | IoOveruseMonitor.cpp | 233 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()
|