Home
last modified time | relevance | path

Searched refs:statsService (Results 1 – 4 of 4) sorted by relevance

/packages/modules/StatsD/lib/libstatspull/
Dstats_subscription.cpp94 const std::shared_ptr<IStatsd> statsService = statsProvider->getStatsService(); in onStatsBinderRestart() local
95 if (statsService == nullptr) { in onStatsBinderRestart()
107 statsService->addSubscription(subscription->getSubscriptionParamsBytes(), subscription); in onStatsBinderRestart()
142 const std::shared_ptr<IStatsd> statsService = statsProvider->getStatsService(); in AStatsManager_addSubscription() local
143 if (statsService != nullptr) { in AStatsManager_addSubscription()
144 statsService->addSubscription(subscriptionConfig, subscription); in AStatsManager_addSubscription()
157 const std::shared_ptr<IStatsd> statsService = statsProvider->getStatsService(); in AStatsManager_removeSubscription() local
158 if (statsService == nullptr) { in AStatsManager_removeSubscription()
164 statsService->removeSubscription(subscription); in AStatsManager_removeSubscription()
174 const std::shared_ptr<IStatsd> statsService = statsProvider->getStatsService(); in AStatsManager_flushSubscription() local
[all …]
Dstats_pull_atom_callback.cpp206 std::shared_ptr<IStatsd> statsService = statsProvider->getStatsService(); in binderDied() local
207 if (statsService == nullptr) { in binderDied()
219 statsService->registerNativePullAtomCallback(it.first, it.second->getCoolDownMillis(), in binderDied()
244 const std::shared_ptr<IStatsd> statsService = statsProvider->getStatsService(); in registerStatsPullAtomCallbackBlocking() local
245 if (statsService == nullptr) { in registerStatsPullAtomCallbackBlocking()
250 statsService->registerNativePullAtomCallback( in registerStatsPullAtomCallbackBlocking()
256 const std::shared_ptr<IStatsd> statsService = statsProvider->getStatsService(); in unregisterStatsPullAtomCallbackBlocking() local
257 if (statsService == nullptr) { in unregisterStatsPullAtomCallbackBlocking()
262 statsService->unregisterNativePullAtomCallback(atomTag); in unregisterStatsPullAtomCallbackBlocking()
337 const std::shared_ptr<IStatsd> statsService = statsProvider->getStatsService(); in processCommands() local
[all …]
/packages/services/Car/service/src/com/android/car/vms/
DVmsBrokerService.java92 public VmsBrokerService(Context context, CarStatsService statsService) { in VmsBrokerService() argument
93 this(context, statsService, Binder::getCallingUid); in VmsBrokerService()
99 CarStatsService statsService, in VmsBrokerService() argument
103 mStatsService = statsService; in VmsBrokerService()
/packages/modules/Connectivity/framework-t/src/android/app/usage/
DNetworkStats.java108 long endTimestamp, INetworkStatsService statsService) in NetworkStats() argument
111 mSession = statsService.openSessionForUsageStats(flags, context.getOpPackageName()); in NetworkStats()