Home
last modified time | relevance | path

Searched refs:statsCompanion (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/cmds/statsd/src/
Dstatscompanion_util.cpp27 sp<IStatsCompanionService> statsCompanion = nullptr; in getStatsCompanionService() local
30 if (statsCompanion == nullptr) { in getStatsCompanionService()
33 statsCompanion = interface_cast<IStatsCompanionService>(sm->checkService(name)); in getStatsCompanionService()
34 if (statsCompanion == nullptr) { in getStatsCompanionService()
40 return statsCompanion; in getStatsCompanionService()
DStatsService.cpp852 sp<IStatsCompanionService> statsCompanion = getStatsCompanionService(); in sayHiToStatsCompanion() local
853 if (statsCompanion != nullptr) { in sayHiToStatsCompanion()
855 statsCompanion->statsdReady(); in sayHiToStatsCompanion()
865 sp<IStatsCompanionService> statsCompanion = getStatsCompanionService(); in statsCompanionReady() local
866 if (statsCompanion == nullptr) { in statsCompanionReady()
872 IInterface::asBinder(statsCompanion)->linkToDeath(this); in statsCompanionReady()
873 mStatsPullerManager.SetStatsCompanionService(statsCompanion); in statsCompanionReady()
874 mAnomalyAlarmMonitor->setStatsCompanionService(statsCompanion); in statsCompanionReady()
875 mPeriodicAlarmMonitor->setStatsCompanionService(statsCompanion); in statsCompanionReady()
876 SubscriberReporter::getInstance().setStatsCompanionService(statsCompanion); in statsCompanionReady()