/frameworks/base/telephony/java/android/telephony/ |
D | PhoneStateListener.java | 59 public class PhoneStateListener { class 384 public PhoneStateListener() { in PhoneStateListener() method in PhoneStateListener 394 public PhoneStateListener(Looper looper) { in PhoneStateListener() method in PhoneStateListener 405 public PhoneStateListener(Integer subId) { in PhoneStateListener() method in PhoneStateListener 419 public PhoneStateListener(Integer subId, Looper looper) { in PhoneStateListener() method in PhoneStateListener 436 public PhoneStateListener(@NonNull Executor executor) { in PhoneStateListener() method in PhoneStateListener 440 private PhoneStateListener(Integer subId, Executor e) { in PhoneStateListener() method in PhoneStateListener 958 private WeakReference<PhoneStateListener> mPhoneStateListenerWeakRef; 961 IPhoneStateListenerStub(PhoneStateListener phoneStateListener, Executor executor) { in IPhoneStateListenerStub() 962 mPhoneStateListenerWeakRef = new WeakReference<PhoneStateListener>(phoneStateListener); in IPhoneStateListenerStub() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | TelephonyRegistry.java | 44 import android.telephony.PhoneStateListener; 258 PhoneStateListener.LISTEN_CELL_LOCATION 259 | PhoneStateListener.LISTEN_CELL_INFO; 262 PhoneStateListener.LISTEN_CALL_FORWARDING_INDICATOR 263 | PhoneStateListener.LISTEN_MESSAGE_WAITING_INDICATOR 264 | PhoneStateListener.LISTEN_EMERGENCY_NUMBER_LIST; 267 PhoneStateListener.LISTEN_PRECISE_CALL_STATE | 268 PhoneStateListener.LISTEN_PRECISE_DATA_CONNECTION_STATE; 634 if (events != PhoneStateListener.LISTEN_NONE) { in listen() 670 if ((events & PhoneStateListener.LISTEN_SERVICE_STATE) != 0) { in listen() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneStateListenerExecutorTest.java | 23 import android.telephony.PhoneStateListener; 46 private PhoneStateListener mPhoneStateListenerUT; 55 mPhoneStateListenerUT = new PhoneStateListener(mSimpleExecutor) { in setUp() 85 Field field = PhoneStateListener.class.getDeclaredField("callback"); in testTriggerServiceStateChanged() 100 Field field = PhoneStateListener.class.getDeclaredField("callback"); in testTriggerUserMobileDataStateChanged() 112 Field field = PhoneStateListener.class.getDeclaredField("callback"); in testTriggerPhysicalChannelConfigurationChanged()
|
D | PhoneStateListenerTest.java | 24 import android.telephony.PhoneStateListener; 39 private PhoneStateListener mPhoneStateListenerUT; 51 mPhoneStateListenerUT = new PhoneStateListener() { in onLooperPrepared() 95 Field field = PhoneStateListener.class.getDeclaredField("callback"); in testTriggerServiceStateChanged() 112 Field field = PhoneStateListener.class.getDeclaredField("callback"); in testTriggerUserMobileDataStateChanged() 126 Field field = PhoneStateListener.class.getDeclaredField("callback"); in testTriggerPhysicalChannelConfigurationChanged()
|
D | TelephonyRegistryTest.java | 18 import static android.telephony.PhoneStateListener.LISTEN_ACTIVE_DATA_SUBSCRIPTION_ID_CHANGE; 19 import static android.telephony.PhoneStateListener.LISTEN_PHONE_CAPABILITY_CHANGE; 20 import static android.telephony.PhoneStateListener.LISTEN_SRVCC_STATE_CHANGED; 31 import android.telephony.PhoneStateListener; 45 private PhoneStateListener mPhoneStateListener; 51 public class PhoneStateListenerWrapper extends PhoneStateListener {
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | DataConnectionStats.java | 25 import android.telephony.PhoneStateListener; 57 PhoneStateListener.LISTEN_SERVICE_STATE in startMonitoring() 58 | PhoneStateListener.LISTEN_SIGNAL_STRENGTHS in startMonitoring() 59 | PhoneStateListener.LISTEN_DATA_CONNECTION_STATE in startMonitoring() 60 | PhoneStateListener.LISTEN_DATA_ACTIVITY); in startMonitoring() 131 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
|
/frameworks/base/services/core/java/com/android/server/emergency/ |
D | EmergencyAffordanceService.java | 33 import android.telephony.PhoneStateListener; 75 private PhoneStateListener mPhoneStateListener = new PhoneStateListener() { 142 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in stopScanning() 179 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CELL_INFO in startScanning() 180 | PhoneStateListener.LISTEN_CELL_LOCATION); in startScanning()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | ComprehensiveCountryDetector.java | 25 import android.telephony.PhoneStateListener; 81 private PhoneStateListener mPhoneStateListener; 437 mPhoneStateListener = new PhoneStateListener() { in addPhoneStateListener() 451 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in addPhoneStateListener() 457 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in removePhoneStateListener()
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/ |
D | TrackerService.java | 38 import android.telephony.PhoneStateListener; 147 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CELL_LOCATION); in initLocationListeners() 162 PhoneStateListener.LISTEN_SIGNAL_STRENGTHS); in initLocationListeners() 344 PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataEnabledSettings.java | 20 import static android.telephony.PhoneStateListener.LISTEN_CALL_STATE; 21 import static android.telephony.PhoneStateListener.LISTEN_NONE; 31 import android.telephony.PhoneStateListener; 158 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
|
D | DcController.java | 32 import android.telephony.PhoneStateListener; 74 private PhoneStateListener mPhoneStateListener; 101 mPhoneStateListener = new PhoneStateListener(handler.getLooper()) { in DcController() 119 PhoneStateListener.LISTEN_CARRIER_NETWORK_CHANGE); in DcController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | MobileSignalController.java | 26 import android.telephony.PhoneStateListener; 63 final PhoneStateListener mPhoneStateListener; 161 PhoneStateListener.LISTEN_SERVICE_STATE in registerListener() 162 | PhoneStateListener.LISTEN_SIGNAL_STRENGTHS in registerListener() 163 | PhoneStateListener.LISTEN_CALL_STATE in registerListener() 164 | PhoneStateListener.LISTEN_DATA_CONNECTION_STATE in registerListener() 165 | PhoneStateListener.LISTEN_DATA_ACTIVITY in registerListener() 166 | PhoneStateListener.LISTEN_CARRIER_NETWORK_CHANGE); in registerListener() 572 class MobilePhoneStateListener extends PhoneStateListener {
|
D | UserSwitcherController.java | 40 import android.telephony.PhoneStateListener; 458 PhoneStateListener.LISTEN_CALL_STATE); in listenForCallState() 461 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
|
D | NetworkControllerImpl.java | 24 import static android.telephony.PhoneStateListener.LISTEN_ACTIVE_DATA_SUBSCRIPTION_ID_CHANGE; 46 import android.telephony.PhoneStateListener; 115 private PhoneStateListener mPhoneStateListener; 278 mPhoneStateListener = new PhoneStateListener(bgLooper) { in NetworkControllerImpl()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | SarManagerTest.java | 38 import android.telephony.PhoneStateListener; 84 private PhoneStateListener mPhoneStateListener; 203 ArgumentCaptor<PhoneStateListener> phoneStateListenerCaptor = in createSarManager() 204 ArgumentCaptor.forClass(PhoneStateListener.class); in createSarManager() 206 eq(PhoneStateListener.LISTEN_CALL_STATE)); in createSarManager() 258 ArgumentCaptor<PhoneStateListener> phoneStateListenerCaptor = in createSarManagerSensorNegTest() 259 ArgumentCaptor.forClass(PhoneStateListener.class); in createSarManagerSensorNegTest() 261 eq(PhoneStateListener.LISTEN_CALL_STATE)); in createSarManagerSensorNegTest() 294 verify(mTelephonyManager).listen(any(), eq(PhoneStateListener.LISTEN_CALL_STATE)); in testSarMgr_enabledTxPowerScenario_registerPhone()
|
/frameworks/base/location/java/com/android/internal/location/ |
D | GpsNetInitiatedHandler.java | 32 import android.telephony.PhoneStateListener; 97 private final PhoneStateListener mPhoneStateListener; 190 mPhoneStateListener = new PhoneStateListener() { in GpsNetInitiatedHandler() 203 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE); in GpsNetInitiatedHandler()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | CarrierTextController.java | 19 import static android.telephony.PhoneStateListener.LISTEN_ACTIVE_DATA_SUBSCRIPTION_ID_CHANGE; 20 import static android.telephony.PhoneStateListener.LISTEN_NONE; 32 import android.telephony.PhoneStateListener; 130 private PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | SarManager.java | 36 import android.telephony.PhoneStateListener; 311 mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE); in registerPhoneStateListener() 487 private class WifiPhoneStateListener extends PhoneStateListener {
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | LegacyGlobalActions.java | 60 import android.telephony.PhoneStateListener; 148 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in LegacyGlobalActions() 762 PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
D | SoundTriggerHelper.java | 42 import android.telephony.PhoneStateListener; 88 private final PhoneStateListener mPhoneStateListener; 868 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in internalClearGlobalStateLocked() 887 class MyCallStateListener extends PhoneStateListener { 930 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE); in initializeTelephonyAndPowerStateListeners()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | PhoneSwitcher.java | 50 import android.telephony.PhoneStateListener; 165 public final PhoneStateListener mPhoneStateListener; 309 mPhoneStateListener = new PhoneStateListener(looper) { in PhoneSwitcher() 348 mPhoneStateListener = new PhoneStateListener(looper) { in PhoneSwitcher()
|
D | CarrierResolver.java | 31 import android.telephony.PhoneStateListener; 182 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerBaseTest.java | 41 import android.telephony.PhoneStateListener; 86 protected PhoneStateListener mPhoneStateListener;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsExternalCallTracker.java | 44 public class ImsExternalCallTracker implements ImsPhoneCallTracker.PhoneStateListener {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialog.java | 55 import android.telephony.PhoneStateListener; 198 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in GlobalActionsDialog() 1418 PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
|