Home
last modified time | relevance | path

Searched refs:phoneStateListener (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiDataStallTest.java199 PhoneStateListener phoneStateListener = mockPhoneStateListener(); in testCellularDataConnectionOnOff() local
200 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() local
500 phoneStateListener.onDataConnectionStateChanged(TelephonyManager.DATA_CONNECTED, in testIncrementConnectionDuration()
519 phoneStateListener.onDataConnectionStateChanged( in testIncrementConnectionDuration()
544 PhoneStateListener phoneStateListener = mockPhoneStateListener(); in testWifiStatsLogWrite() local
545 phoneStateListener.onDataConnectionStateChanged(TelephonyManager.DATA_CONNECTED, in testWifiStatsLogWrite()
/frameworks/base/core/java/android/telephony/
DPhoneStateListener.java1131 IPhoneStateListenerStub(PhoneStateListener phoneStateListener, Executor executor) { in IPhoneStateListenerStub() argument
1132 mPhoneStateListenerWeakRef = new WeakReference<PhoneStateListener>(phoneStateListener); in IPhoneStateListenerStub()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java3201 WifiPhoneStateListener phoneStateListener = new WifiPhoneStateListener(
3205 phoneStateListener, PhoneStateListener.LISTEN_ACTIVE_DATA_SUBSCRIPTION_ID_CHANGE);