Searched refs:BatteryDatabaseManager (Results 1 – 17 of 17) sorted by relevance
53 public class BatteryDatabaseManager { class54 private static BatteryDatabaseManager sSingleton;58 private BatteryDatabaseManager(Context context) { in BatteryDatabaseManager() method in BatteryDatabaseManager62 public static synchronized BatteryDatabaseManager getInstance(Context context) { in getInstance()64 sSingleton = new BatteryDatabaseManager(context); in getInstance()70 public static void setUpForTest(BatteryDatabaseManager batteryDatabaseManager) { in setUpForTest()
63 final BatteryDatabaseManager batteryDatabaseManager = BatteryDatabaseManager in onStartJob()
93 final BatteryDatabaseManager batteryDatabaseManager = in onStartJob()94 BatteryDatabaseManager.getInstance(this); in onStartJob()129 BatteryDatabaseManager databaseManager, BatteryUtils batteryUtils, in saveAnomalyToDatabase()
134 final List<AppInfo> highUsageApps = BatteryDatabaseManager.getInstance(context) in detectAnomalies()
27 import com.android.settings.fuelgauge.batterytip.BatteryDatabaseManager;40 BatteryDatabaseManager mBatteryDatabaseManager;47 mBatteryDatabaseManager = BatteryDatabaseManager.getInstance(mContext); in OpenRestrictAppFragmentAction()
29 import com.android.settings.fuelgauge.batterytip.BatteryDatabaseManager;40 BatteryDatabaseManager mBatteryDatabaseManager;48 mBatteryDatabaseManager = BatteryDatabaseManager.getInstance(context); in RestrictAppAction()
27 import com.android.settings.fuelgauge.batterytip.BatteryDatabaseManager;48 BatteryDatabaseManager mBatteryDatabaseManager;57 mBatteryDatabaseManager = BatteryDatabaseManager.getInstance(context); in RestrictAppDetector()
22 import com.android.settings.fuelgauge.batterytip.BatteryDatabaseManager;50 ReflectionHelpers.setStaticField(BatteryDatabaseManager.class, "sSingleton", null); in clearAnomalyDbManager()
29 import com.android.settings.fuelgauge.batterytip.BatteryDatabaseManager;56 private BatteryDatabaseManager mBatteryDatabaseManager;66 mBatteryDatabaseManager = spy(BatteryDatabaseManager.getInstance(mContext)); in setUp()
44 import com.android.settings.fuelgauge.batterytip.BatteryDatabaseManager;85 private BatteryDatabaseManager mBatteryDatabaseManager;
57 import com.android.settings.fuelgauge.batterytip.BatteryDatabaseManager;134 private BatteryDatabaseManager mBatteryDatabaseManager;177 BatteryDatabaseManager.setUpForTest(mBatteryDatabaseManager); in setUp()
41 import com.android.settings.fuelgauge.batterytip.BatteryDatabaseManager;79 BatteryDatabaseManager mBatteryDatabaseManager;106 mBatteryDatabaseManager = BatteryDatabaseManager.getInstance(context); in onCreate()
46 import com.android.settings.fuelgauge.batterytip.BatteryDatabaseManager;340 final BatteryDatabaseManager batteryDatabaseManager = BatteryDatabaseManager in setForceAppStandby()
36 import com.android.settings.fuelgauge.batterytip.BatteryDatabaseManager;73 private BatteryDatabaseManager mBatteryDatabaseManager;100 BatteryDatabaseManager.setUpForTest(mBatteryDatabaseManager); in setUp()
28 import com.android.settings.fuelgauge.batterytip.BatteryDatabaseManager;58 private BatteryDatabaseManager mBatteryDatabaseManager;
107 final BatteryDatabaseManager databaseManager = BatteryDatabaseManager.getInstance(mContext); in onStartJob_cleanUpDataBefore30days()
92 private BatteryDatabaseManager mBatteryDatabaseManager;