Searched refs:mBatteryDatabaseManager (Results 1 – 6 of 6) sorted by relevance
57 @Mock private BatteryDatabaseManager mBatteryDatabaseManager; field in OpenRestrictAppFragmentActionTest84 mAction.mBatteryDatabaseManager = mBatteryDatabaseManager; in setUp()102 verify(mBatteryDatabaseManager) in testHandlePositiveAction()
37 @VisibleForTesting BatteryDatabaseManager mBatteryDatabaseManager; field in OpenRestrictAppFragmentAction44 mBatteryDatabaseManager = BatteryDatabaseManager.getInstance(mContext); in OpenRestrictAppFragmentAction()58 mBatteryDatabaseManager.updateAnomalies( in handlePositiveAction()
37 @VisibleForTesting BatteryDatabaseManager mBatteryDatabaseManager; field in RestrictAppAction44 mBatteryDatabaseManager = BatteryDatabaseManager.getInstance(context); in RestrictAppAction()77 mBatteryDatabaseManager.updateAnomalies(appInfos, AnomalyDatabaseHelper.State.HANDLED); in handlePositiveAction()
79 @Mock private BatteryDatabaseManager mBatteryDatabaseManager; field in RestrictedAppDetailsTest106 mRestrictedAppDetails.mBatteryDatabaseManager = mBatteryDatabaseManager; in setUp()127 .when(mBatteryDatabaseManager) in refreshUi_displayPreference()
117 @Mock private BatteryDatabaseManager mBatteryDatabaseManager; field in BatteryUtilsTest165 BatteryDatabaseManager.setUpForTest(mBatteryDatabaseManager); in setUp()352 verify(mBatteryDatabaseManager) in testSetForceAppStandby_restrictApp_recordTime()362 verify(mBatteryDatabaseManager) in testSetForceAppStandby_unrestrictApp_deleteTime()
70 @VisibleForTesting BatteryDatabaseManager mBatteryDatabaseManager; field in RestrictedAppDetails98 mBatteryDatabaseManager = BatteryDatabaseManager.getInstance(context); in onCreate()139 mBatteryDatabaseManager.queryActionTime( in refreshUi()