Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/carrier/
DQSCarrierGroupControllerTest.java83 private QSCarrierGroupController.OnSingleCarrierChangedListener mOnSingleCarrierChangedListener; field in QSCarrierGroupControllerTest
256 .setOnSingleCarrierChangedListener(mOnSingleCarrierChangedListener); in testListenerNotCalledOnRegistreation()
258 verify(mOnSingleCarrierChangedListener, never()).onSingleCarrierChanged(anyBoolean()); in testListenerNotCalledOnRegistreation()
321 .setOnSingleCarrierChangedListener(mOnSingleCarrierChangedListener); in testSingleMultiCarrierSwitch()
322 reset(mOnSingleCarrierChangedListener); in testSingleMultiCarrierSwitch()
326 verify(mOnSingleCarrierChangedListener).onSingleCarrierChanged(false); in testSingleMultiCarrierSwitch()
330 verify(mOnSingleCarrierChangedListener).onSingleCarrierChanged(true); in testSingleMultiCarrierSwitch()
347 .setOnSingleCarrierChangedListener(mOnSingleCarrierChangedListener); in testNoCallbackIfSingleCarrierDoesntChange()
352 verify(mOnSingleCarrierChangedListener, never()).onSingleCarrierChanged(anyBoolean()); in testNoCallbackIfSingleCarrierDoesntChange()
369 .setOnSingleCarrierChangedListener(mOnSingleCarrierChangedListener); in testNoCallbackIfMultiCarrierDoesntChange()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/carrier/
DQSCarrierGroupController.java80 private OnSingleCarrierChangedListener mOnSingleCarrierChangedListener; field in QSCarrierGroupController
295 mOnSingleCarrierChangedListener = listener; in setOnSingleCarrierChangedListener()
368 if (mOnSingleCarrierChangedListener != null) { in handleUpdateState()
369 mOnSingleCarrierChangedListener.onSingleCarrierChanged(singleCarrier); in handleUpdateState()