Home
last modified time | relevance | path

Searched refs:mEventsToAlarmListener (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DAutoDataSwitchControllerTest.java98 private Map<Integer, AlarmManager.OnAlarmListener> mEventsToAlarmListener; field in AutoDataSwitchControllerTest
189 mEventsToAlarmListener = getPrivateField(mAutoDataSwitchControllerUT, in setUp()
409 verify(mMockedAlarmManager, atLeastOnce()).cancel(mEventsToAlarmListener.get( in testCancelSwitch_onPrimary_rat_signalStrength()
421 verify(mMockedAlarmManager, atLeastOnce()).cancel(mEventsToAlarmListener.get( in testCancelSwitch_onPrimary_rat_signalStrength()
433 verify(mMockedAlarmManager, atLeastOnce()).cancel(mEventsToAlarmListener.get( in testCancelSwitch_onPrimary_rat_signalStrength()
588 eq(mEventsToAlarmListener.get( in testStabilityCheckOverride_uses_rat_signalStrength()
803 mEventsToAlarmListener.get(EVENT_STABILITY_CHECK_PASSED).onAlarm(); in processAllFutureMessages()
806 mEventsToAlarmListener.get(EVENT_EVALUATE_AUTO_SWITCH).onAlarm(); in processAllFutureMessages()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DAutoDataSwitchController.java159 private final Map<Integer, AlarmManager.OnAlarmListener> mEventsToAlarmListener; field in AutoDataSwitchController
355 mEventsToAlarmListener = new HashMap<>();
993 mEventsToAlarmListener.putIfAbsent(event, () -> sendEmptyMessage(event));
994 AlarmManager.OnAlarmListener listener = mEventsToAlarmListener.get(event);
1071 if (mEventsToAlarmListener.containsKey(EVENT_STABILITY_CHECK_PASSED)) {
1072 mAlarmManager.cancel(mEventsToAlarmListener.get(EVENT_STABILITY_CHECK_PASSED));