Searched refs:mPowerNotificationWarnings (Results 1 – 1 of 1) sorted by relevance
80 private PowerNotificationWarnings mPowerNotificationWarnings; field in PowerNotificationWarningsTest122 mPowerNotificationWarnings = new PowerNotificationWarnings( in setUp()133 mPowerNotificationWarnings.updateSnapshot(snapshot); in setUp()138 assertFalse(mPowerNotificationWarnings.isInvalidChargerWarningShowing()); in testIsInvalidChargerWarningShowing_DefaultsToFalse()143 mPowerNotificationWarnings.showInvalidChargerWarning(); in testIsInvalidChargerWarningShowing_TrueAfterShow()144 assertTrue(mPowerNotificationWarnings.isInvalidChargerWarningShowing()); in testIsInvalidChargerWarningShowing_TrueAfterShow()149 mPowerNotificationWarnings.showInvalidChargerWarning(); in testIsInvalidChargerWarningShowing_FalseAfterDismiss()150 mPowerNotificationWarnings.dismissInvalidChargerWarning(); in testIsInvalidChargerWarningShowing_FalseAfterDismiss()151 assertFalse(mPowerNotificationWarnings.isInvalidChargerWarningShowing()); in testIsInvalidChargerWarningShowing_FalseAfterDismiss()156 mPowerNotificationWarnings.showInvalidChargerWarning(); in testShowInvalidChargerNotification_NotifyAsUser()[all …]