Home
last modified time | relevance | path

Searched refs:statsManager (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DAnomalyConfigJobService.java73 final StatsManager statsManager = getSystemService(StatsManager.class); in onStartJob() local
74 checkAnomalyConfig(statsManager); in onStartJob()
76 BatteryTipUtils.uploadAnomalyPendingIntent(this, statsManager); in onStartJob()
92 synchronized void checkAnomalyConfig(StatsManager statsManager) { in checkAnomalyConfig() argument
105 statsManager.removeConfig(StatsManagerConfig.ANOMALY_CONFIG_KEY); in checkAnomalyConfig()
113 statsManager.addConfig(StatsManagerConfig.ANOMALY_CONFIG_KEY, config); in checkAnomalyConfig()
DAnomalyConfigReceiver.java36 final StatsManager statsManager = context.getSystemService(StatsManager.class); in onReceive() local
42 BatteryTipUtils.uploadAnomalyPendingIntent(context, statsManager); in onReceive()
DBatteryTipUtils.java123 public static void uploadAnomalyPendingIntent(Context context, StatsManager statsManager) in uploadAnomalyPendingIntent() argument
128 statsManager.setBroadcastSubscriber(pendingIntent, in uploadAnomalyPendingIntent()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/
DAnomalyConfigJobService.java73 final StatsManager statsManager = getSystemService(StatsManager.class); in onStartJob() local
74 checkAnomalyConfig(statsManager); in onStartJob()
76 BatteryTipUtils.uploadAnomalyPendingIntent(this, statsManager); in onStartJob()
92 synchronized void checkAnomalyConfig(StatsManager statsManager) { in checkAnomalyConfig() argument
105 statsManager.removeConfig(StatsManagerConfig.ANOMALY_CONFIG_KEY); in checkAnomalyConfig()
113 statsManager.addConfig(StatsManagerConfig.ANOMALY_CONFIG_KEY, config); in checkAnomalyConfig()
DAnomalyConfigReceiver.java36 final StatsManager statsManager = context.getSystemService(StatsManager.class); in onReceive() local
42 BatteryTipUtils.uploadAnomalyPendingIntent(context, statsManager); in onReceive()
DBatteryTipUtils.java123 public static void uploadAnomalyPendingIntent(Context context, StatsManager statsManager) in uploadAnomalyPendingIntent() argument
128 statsManager.setBroadcastSubscriber(pendingIntent, in uploadAnomalyPendingIntent()
/packages/apps/Settings/src/com/android/settings/
DSettingsDumpService.java89 ProcStatsData statsManager = new ProcStatsData(this, false); in dumpMemory() local
90 statsManager.refreshStats(true); in dumpMemory()
91 ProcStatsData.MemInfo memInfo = statsManager.getMemInfo(); in dumpMemory()
96 obj.put("state", statsManager.getMemState()); in dumpMemory()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DSettingsDumpService.java89 ProcStatsData statsManager = new ProcStatsData(this, false); in dumpMemory() local
90 statsManager.refreshStats(true); in dumpMemory()
91 ProcStatsData.MemInfo memInfo = statsManager.getMemInfo(); in dumpMemory()
96 obj.put("state", statsManager.getMemState()); in dumpMemory()
/packages/apps/Settings/src/com/android/settings/applications/
DProcessStatsSummary.java144 ProcStatsData statsManager = new ProcStatsData(mContext, false); in setListening() local
145 statsManager.setDuration(sDurations[0]); in setListening()
146 MemInfo memInfo = statsManager.getMemInfo(); in setListening()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DProcessStatsSummary.java144 ProcStatsData statsManager = new ProcStatsData(mContext, false); in setListening() local
145 statsManager.setDuration(sDurations[0]); in setListening()
146 MemInfo memInfo = statsManager.getMemInfo(); in setListening()