/frameworks/base/core/java/android/telephony/ |
D | PhoneStateListener.java | 64 public class PhoneStateListener { class 495 public PhoneStateListener() { in PhoneStateListener() method in PhoneStateListener 505 public PhoneStateListener(Looper looper) { in PhoneStateListener() method in PhoneStateListener 516 public PhoneStateListener(Integer subId) { in PhoneStateListener() method in PhoneStateListener 530 public PhoneStateListener(Integer subId, Looper looper) { in PhoneStateListener() method in PhoneStateListener 547 public PhoneStateListener(@NonNull Executor executor) { in PhoneStateListener() method in PhoneStateListener 551 private PhoneStateListener(Integer subId, Executor e) { in PhoneStateListener() method in PhoneStateListener 1111 private WeakReference<PhoneStateListener> mPhoneStateListenerWeakRef; 1114 IPhoneStateListenerStub(PhoneStateListener phoneStateListener, Executor executor) { in IPhoneStateListenerStub() 1115 mPhoneStateListenerWeakRef = new WeakReference<PhoneStateListener>(phoneStateListener); in IPhoneStateListenerStub() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
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_RADIO_POWER_STATE_CHANGED; 21 import static android.telephony.PhoneStateListener.LISTEN_SRVCC_STATE_CHANGED; 41 import android.telephony.PhoneStateListener; 77 PhoneStateListener.LISTEN_CALL_FORWARDING_INDICATOR, 79 PhoneStateListener.LISTEN_MESSAGE_WAITING_INDICATOR, 81 PhoneStateListener.LISTEN_EMERGENCY_NUMBER_LIST, 83 PhoneStateListener.LISTEN_REGISTRATION_FAILURE, 88 PhoneStateListener.LISTEN_PRECISE_CALL_STATE, [all …]
|
D | PhoneStateListenerTest.java | 23 import android.telephony.PhoneStateListener; 42 private PhoneStateListener mPhoneStateListenerUT; 50 mPhoneStateListenerUT = new PhoneStateListener() { in setUp() 84 Field field = PhoneStateListener.class.getDeclaredField("callback"); in testTriggerServiceStateChanged() 100 Field field = PhoneStateListener.class.getDeclaredField("callback"); in testTriggerUserMobileDataStateChanged() 113 Field field = PhoneStateListener.class.getDeclaredField("callback"); in testTriggerOutgoingCallEmergencyNumberChanged() 136 Field field = PhoneStateListener.class.getDeclaredField("callback"); in testTriggerOutgoingSmsEmergencyNumberChanged()
|
D | PhoneStateListenerExecutorTest.java | 22 import android.telephony.PhoneStateListener; 42 private PhoneStateListener mPhoneStateListenerUT; 50 mPhoneStateListenerUT = new PhoneStateListener(mSimpleExecutor) { in setUp() 73 Field field = PhoneStateListener.class.getDeclaredField("callback"); in testTriggerServiceStateChanged() 88 Field field = PhoneStateListener.class.getDeclaredField("callback"); in testTriggerUserMobileDataStateChanged()
|
/frameworks/base/services/core/java/com/android/server/ |
D | TelephonyRegistry.java | 68 import android.telephony.PhoneStateListener; 196 PhoneStateListener.FLAG_PER_PID_REGISTRATION_LIMIT, in getRegistrationLimit() 197 PhoneStateListener.DEFAULT_PER_PID_REGISTRATION_LIMIT)); in getRegistrationLimit() 208 PhoneStateListener.PHONE_STATE_LISTENER_LIMIT_CHANGE_ID, uid)); in isRegistrationLimitEnabledInPlatformCompat() 317 PhoneStateListener.LISTEN_CELL_LOCATION 318 | PhoneStateListener.LISTEN_CELL_INFO; 321 PhoneStateListener.LISTEN_CALL_FORWARDING_INDICATOR 322 | PhoneStateListener.LISTEN_MESSAGE_WAITING_INDICATOR 323 | PhoneStateListener.LISTEN_EMERGENCY_NUMBER_LIST 324 | PhoneStateListener.LISTEN_REGISTRATION_FAILURE [all …]
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | DataConnectionStats.java | 31 import android.telephony.PhoneStateListener; 47 private final PhoneStateListener mPhoneStateListener; 65 PhoneStateListener.LISTEN_SERVICE_STATE in startMonitoring() 66 | PhoneStateListener.LISTEN_SIGNAL_STRENGTHS in startMonitoring() 67 | PhoneStateListener.LISTEN_DATA_CONNECTION_STATE in startMonitoring() 68 | PhoneStateListener.LISTEN_DATA_ACTIVITY); in startMonitoring() 143 private class PhoneStateListenerImpl extends PhoneStateListener {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/dataconnection/ |
D | VendorDataResetEventTracker.java | 36 import android.telephony.PhoneStateListener; 58 private PhoneStateListener mPhoneStateListener = null; 138 mPhoneStateListener = new PhoneStateListener() { in startResetEventTracker() 164 listen(mPhoneStateListener, PhoneStateListener.LISTEN_CELL_LOCATION); in startResetEventTracker() 177 PhoneStateListener.LISTEN_NONE); in stopResetEventTracker()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsSubscriptionsMonitor.java | 27 import android.telephony.PhoneStateListener; 115 .listen(listener, PhoneStateListener.LISTEN_SERVICE_STATE); in onSubscriptionsChanged() 167 .listen(listener, PhoneStateListener.LISTEN_NONE); in handleRemoveRatTypeListener() 176 static class RatTypeListener extends PhoneStateListener {
|
/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/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | MobileSignalController.java | 28 import android.telephony.PhoneStateListener; 67 final PhoneStateListener mPhoneStateListener; 162 PhoneStateListener.LISTEN_SERVICE_STATE in registerListener() 163 | PhoneStateListener.LISTEN_SIGNAL_STRENGTHS in registerListener() 164 | PhoneStateListener.LISTEN_CALL_STATE in registerListener() 165 | PhoneStateListener.LISTEN_DATA_CONNECTION_STATE in registerListener() 166 | PhoneStateListener.LISTEN_DATA_ACTIVITY in registerListener() 167 | PhoneStateListener.LISTEN_CARRIER_NETWORK_CHANGE in registerListener() 168 | PhoneStateListener.LISTEN_ACTIVE_DATA_SUBSCRIPTION_ID_CHANGE in registerListener() 169 | PhoneStateListener.LISTEN_DISPLAY_INFO_CHANGED); in registerListener() [all …]
|
D | UserSwitcherController.java | 40 import android.telephony.PhoneStateListener; 459 PhoneStateListener.LISTEN_CALL_STATE); in listenForCallState() 462 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
|
D | NetworkControllerImpl.java | 25 import static android.telephony.PhoneStateListener.LISTEN_ACTIVE_DATA_SUBSCRIPTION_ID_CHANGE; 46 import android.telephony.PhoneStateListener; 109 private PhoneStateListener mPhoneStateListener; 282 mPhoneStateListener = new PhoneStateListener(bgLooper) { in NetworkControllerImpl()
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsSubscriptionsMonitorTest.java | 37 import android.telephony.PhoneStateListener; 177 eq(PhoneStateListener.LISTEN_SERVICE_STATE)); in testSubChangedAndRatTypeChanged() 203 verify(mTelephonyManager).listen(any(), eq(PhoneStateListener.LISTEN_NONE)); in testSubChangedAndRatTypeChanged() 217 verify(mTelephonyManager, times(2)).listen(any(), eq(PhoneStateListener.LISTEN_NONE)); in testSubChangedAndRatTypeChanged() 232 eq(PhoneStateListener.LISTEN_SERVICE_STATE)); in test5g()
|
/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; 33 import android.telephony.PhoneStateListener; 160 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
|
D | DcController.java | 32 import android.telephony.PhoneStateListener; 95 private PhoneStateListener mPhoneStateListener; 132 mPhoneStateListener = new PhoneStateListener(new HandlerExecutor(handler)) { in DcController() 148 PhoneStateListener.LISTEN_CARRIER_NETWORK_CHANGE); in DcController()
|
/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/base/core/java/android/net/util/ |
D | MultinetworkPolicyTracker.java | 34 import android.telephony.PhoneStateListener; 98 new PhoneStateListener(handler.getLooper()) { in MultinetworkPolicyTracker() 104 }, PhoneStateListener.LISTEN_ACTIVE_DATA_SUBSCRIPTION_ID_CHANGE); in MultinetworkPolicyTracker()
|
/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/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; 28 import android.telephony.PhoneStateListener; 123 private PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
|
/frameworks/base/location/java/com/android/internal/location/ |
D | GpsNetInitiatedHandler.java | 33 import android.telephony.PhoneStateListener; 98 private final PhoneStateListener mPhoneStateListener; 199 mPhoneStateListener = new PhoneStateListener() { in GpsNetInitiatedHandler() 212 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE); in GpsNetInitiatedHandler()
|
/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 | 43 import android.telephony.PhoneStateListener; 146 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in LegacyGlobalActions() 758 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; 876 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in internalClearGlobalStateLocked() 896 class MyCallStateListener extends PhoneStateListener { 942 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE); in initializeTelephonyAndPowerStateListeners()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerBaseTest.java | 46 import android.telephony.PhoneStateListener; 94 protected PhoneStateListener mPhoneStateListener;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierResolver.java | 32 import android.telephony.PhoneStateListener; 183 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
|