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/shade/carrier/
DShadeCarrierGroupControllerTest.java113 mOnSingleCarrierChangedListener; field in ShadeCarrierGroupControllerTest
385 .setOnSingleCarrierChangedListener(mOnSingleCarrierChangedListener); in testListenerNotCalledOnRegistreation()
387 verify(mOnSingleCarrierChangedListener, never()).onSingleCarrierChanged(anyBoolean()); in testListenerNotCalledOnRegistreation()
446 .setOnSingleCarrierChangedListener(mOnSingleCarrierChangedListener); in testSingleMultiCarrierSwitch()
447 reset(mOnSingleCarrierChangedListener); in testSingleMultiCarrierSwitch()
451 verify(mOnSingleCarrierChangedListener).onSingleCarrierChanged(false); in testSingleMultiCarrierSwitch()
455 verify(mOnSingleCarrierChangedListener).onSingleCarrierChanged(true); in testSingleMultiCarrierSwitch()
471 .setOnSingleCarrierChangedListener(mOnSingleCarrierChangedListener); in testNoCallbackIfSingleCarrierDoesntChange()
476 verify(mOnSingleCarrierChangedListener, never()).onSingleCarrierChanged(anyBoolean()); in testNoCallbackIfSingleCarrierDoesntChange()
492 .setOnSingleCarrierChangedListener(mOnSingleCarrierChangedListener); in testNoCallbackIfMultiCarrierDoesntChange()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/carrier/
DShadeCarrierGroupController.java96 private OnSingleCarrierChangedListener mOnSingleCarrierChangedListener; field in ShadeCarrierGroupController
294 mOnSingleCarrierChangedListener = listener; in setOnSingleCarrierChangedListener()
368 if (mOnSingleCarrierChangedListener != null) { in handleUpdateState()
369 mOnSingleCarrierChangedListener.onSingleCarrierChanged(singleCarrier); in handleUpdateState()