Searched refs:BatteryDatabaseManager (Results 1 – 9 of 9) 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()
27 import com.android.settings.fuelgauge.batterytip.BatteryDatabaseManager;37 @VisibleForTesting BatteryDatabaseManager mBatteryDatabaseManager;44 mBatteryDatabaseManager = BatteryDatabaseManager.getInstance(mContext); in OpenRestrictAppFragmentAction()
29 import com.android.settings.fuelgauge.batterytip.BatteryDatabaseManager;37 @VisibleForTesting BatteryDatabaseManager mBatteryDatabaseManager;44 mBatteryDatabaseManager = BatteryDatabaseManager.getInstance(context); in RestrictAppAction()
22 import com.android.settings.fuelgauge.batterytip.BatteryDatabaseManager;50 ReflectionHelpers.setStaticField(BatteryDatabaseManager.class, "sSingleton", null); in clearAnomalyDbManager()
41 import com.android.settings.fuelgauge.batterytip.BatteryDatabaseManager;70 @VisibleForTesting BatteryDatabaseManager mBatteryDatabaseManager;98 mBatteryDatabaseManager = BatteryDatabaseManager.getInstance(context); in onCreate()
48 import com.android.settings.fuelgauge.batterytip.BatteryDatabaseManager;403 final BatteryDatabaseManager batteryDatabaseManager = in setForceAppStandby()404 BatteryDatabaseManager.getInstance(mContext); in setForceAppStandby()
29 import com.android.settings.fuelgauge.batterytip.BatteryDatabaseManager;57 @Mock private BatteryDatabaseManager mBatteryDatabaseManager;
44 import com.android.settings.fuelgauge.batterytip.BatteryDatabaseManager;79 @Mock private BatteryDatabaseManager mBatteryDatabaseManager;
53 import com.android.settings.fuelgauge.batterytip.BatteryDatabaseManager;117 @Mock private BatteryDatabaseManager mBatteryDatabaseManager;165 BatteryDatabaseManager.setUpForTest(mBatteryDatabaseManager); in setUp()