Lines Matching refs:mMonitor
397 if (mMonitor != nullptr) { in registerMonitor()
398 if (mMonitor->asBinder() == binder) { in registerMonitor()
401 AIBinder* aiBinder = mMonitor->asBinder().get(); in registerMonitor()
405 mMonitor = monitor; in registerMonitor()
415 if (mMonitor != nullptr && mMonitor->asBinder() == binder) { in registerMonitor()
416 mMonitor.reset(); in registerMonitor()
437 if (mMonitor == nullptr || mMonitor->asBinder() != binder) { in unregisterMonitor()
445 mMonitor.reset(); in unregisterMonitor()
491 if (mMonitor == nullptr || monitor == nullptr || mMonitor->asBinder() != monitor->asBinder()) { in tellDumpFinished()
563 mMonitor == nullptr ? "false" : "true"), in onDump()
625 outProto.write(HealthCheckServiceDump::IS_MONITOR_REGISTERED, mMonitor != nullptr); in onDumpProto()
773 if (mMonitor != nullptr) { in terminate()
774 AIBinder* aiBinder = mMonitor->asBinder().get(); in terminate()
777 mMonitor.reset(); in terminate()
983 if (mMonitor == nullptr) { in dumpAndKillAllProcesses()
990 monitor = mMonitor; in dumpAndKillAllProcesses()
1022 if (mMonitor != nullptr) { in handleBinderDeath()
1023 if (AIBinder* aiBinder = mMonitor->asBinder().get(); in handleBinderDeath()
1025 mMonitor.reset(); in handleBinderDeath()