Lines Matching refs:mMonitor
356 if (mMonitor != nullptr) { in registerMonitor()
357 if (mMonitor->asBinder() == binder) { in registerMonitor()
360 AIBinder* aiBinder = mMonitor->asBinder().get(); in registerMonitor()
364 mMonitor = monitor; in registerMonitor()
374 if (mMonitor != nullptr && mMonitor->asBinder() == binder) { in registerMonitor()
375 mMonitor.reset(); in registerMonitor()
396 if (mMonitor == nullptr || mMonitor->asBinder() != binder) { in unregisterMonitor()
404 mMonitor.reset(); in unregisterMonitor()
450 if (mMonitor == nullptr || monitor == nullptr || mMonitor->asBinder() != monitor->asBinder()) { in tellDumpFinished()
513 mMonitor == nullptr ? "false" : "true"), in onDump()
575 outProto.write(HealthCheckServiceDump::IS_MONITOR_REGISTERED, mMonitor != nullptr); in onDumpProto()
724 if (mMonitor != nullptr) { in terminate()
725 AIBinder* aiBinder = mMonitor->asBinder().get(); in terminate()
728 mMonitor.reset(); in terminate()
939 if (mMonitor == nullptr) { in dumpAndKillAllProcesses()
946 monitor = mMonitor; in dumpAndKillAllProcesses()
970 if (mMonitor != nullptr) { in handleBinderDeath()
971 if (AIBinder* aiBinder = mMonitor->asBinder().get(); in handleBinderDeath()
973 mMonitor.reset(); in handleBinderDeath()