Searched refs:phoneStateListener (Results 1 – 3 of 3) sorted by relevance
199 PhoneStateListener phoneStateListener = mockPhoneStateListener(); in testCellularDataConnectionOnOff() local200 phoneStateListener.onDataConnectionStateChanged(TelephonyManager.DATA_CONNECTED, in testCellularDataConnectionOnOff()203 phoneStateListener.onDataConnectionStateChanged( in testCellularDataConnectionOnOff()207 verify(mTelephonyManager, times(1)).listen(phoneStateListener, in testCellularDataConnectionOnOff()210 verify(mTelephonyManager, times(1)).listen(phoneStateListener, in testCellularDataConnectionOnOff()499 PhoneStateListener phoneStateListener = mockPhoneStateListener(); in testIncrementConnectionDuration() local500 phoneStateListener.onDataConnectionStateChanged(TelephonyManager.DATA_CONNECTED, in testIncrementConnectionDuration()519 phoneStateListener.onDataConnectionStateChanged( in testIncrementConnectionDuration()544 PhoneStateListener phoneStateListener = mockPhoneStateListener(); in testWifiStatsLogWrite() local545 phoneStateListener.onDataConnectionStateChanged(TelephonyManager.DATA_CONNECTED, in testWifiStatsLogWrite()
1131 IPhoneStateListenerStub(PhoneStateListener phoneStateListener, Executor executor) { in IPhoneStateListenerStub() argument1132 mPhoneStateListenerWeakRef = new WeakReference<PhoneStateListener>(phoneStateListener); in IPhoneStateListenerStub()
3201 WifiPhoneStateListener phoneStateListener = new WifiPhoneStateListener(3205 phoneStateListener, PhoneStateListener.LISTEN_ACTIVE_DATA_SUBSCRIPTION_ID_CHANGE);