Home
last modified time | relevance | path

Searched refs:mBatteryDatabaseManager (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/actions/
DOpenRestrictAppFragmentActionTest.java57 @Mock private BatteryDatabaseManager mBatteryDatabaseManager; field in OpenRestrictAppFragmentActionTest
84 mAction.mBatteryDatabaseManager = mBatteryDatabaseManager; in setUp()
102 verify(mBatteryDatabaseManager) in testHandlePositiveAction()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/actions/
DOpenRestrictAppFragmentAction.java37 @VisibleForTesting BatteryDatabaseManager mBatteryDatabaseManager; field in OpenRestrictAppFragmentAction
44 mBatteryDatabaseManager = BatteryDatabaseManager.getInstance(mContext); in OpenRestrictAppFragmentAction()
58 mBatteryDatabaseManager.updateAnomalies( in handlePositiveAction()
DRestrictAppAction.java37 @VisibleForTesting BatteryDatabaseManager mBatteryDatabaseManager; field in RestrictAppAction
44 mBatteryDatabaseManager = BatteryDatabaseManager.getInstance(context); in RestrictAppAction()
77 mBatteryDatabaseManager.updateAnomalies(appInfos, AnomalyDatabaseHelper.State.HANDLED); in handlePositiveAction()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DRestrictedAppDetailsTest.java79 @Mock private BatteryDatabaseManager mBatteryDatabaseManager; field in RestrictedAppDetailsTest
106 mRestrictedAppDetails.mBatteryDatabaseManager = mBatteryDatabaseManager; in setUp()
127 .when(mBatteryDatabaseManager) in refreshUi_displayPreference()
DBatteryUtilsTest.java117 @Mock private BatteryDatabaseManager mBatteryDatabaseManager; field in BatteryUtilsTest
165 BatteryDatabaseManager.setUpForTest(mBatteryDatabaseManager); in setUp()
352 verify(mBatteryDatabaseManager) in testSetForceAppStandby_restrictApp_recordTime()
362 verify(mBatteryDatabaseManager) in testSetForceAppStandby_unrestrictApp_deleteTime()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DRestrictedAppDetails.java70 @VisibleForTesting BatteryDatabaseManager mBatteryDatabaseManager; field in RestrictedAppDetails
98 mBatteryDatabaseManager = BatteryDatabaseManager.getInstance(context); in onCreate()
139 mBatteryDatabaseManager.queryActionTime( in refreshUi()