/frameworks/base/core/java/android/telephony/ |
D | PhoneStateListener.java | 68 public class PhoneStateListener { class 547 public PhoneStateListener() { in PhoneStateListener() method in PhoneStateListener 557 public PhoneStateListener(Looper looper) { in PhoneStateListener() method in PhoneStateListener 568 public PhoneStateListener(Integer subId) { in PhoneStateListener() method in PhoneStateListener 582 public PhoneStateListener(Integer subId, Looper looper) { in PhoneStateListener() method in PhoneStateListener 600 public PhoneStateListener(@NonNull Executor executor) { in PhoneStateListener() method in PhoneStateListener 604 private PhoneStateListener(Integer subId, Executor e) { in PhoneStateListener() method in PhoneStateListener 1334 private WeakReference<PhoneStateListener> mPhoneStateListenerWeakRef; 1337 IPhoneStateListenerStub(PhoneStateListener phoneStateListener, Executor executor) { in IPhoneStateListenerStub() 1338 mPhoneStateListenerWeakRef = new WeakReference<PhoneStateListener>(phoneStateListener); in IPhoneStateListenerStub() [all …]
|
D | TelephonyRegistryManager.java | 233 @NonNull PhoneStateListener listener, @NonNull int events, boolean notifyNow) { in listenFromListener() 1006 if ((eventMask & PhoneStateListener.LISTEN_SERVICE_STATE) != 0) { in getEventsFromBitmask() 1010 if ((eventMask & PhoneStateListener.LISTEN_SIGNAL_STRENGTH) != 0) { in getEventsFromBitmask() 1014 if ((eventMask & PhoneStateListener.LISTEN_MESSAGE_WAITING_INDICATOR) != 0) { in getEventsFromBitmask() 1018 if ((eventMask & PhoneStateListener.LISTEN_CALL_FORWARDING_INDICATOR) != 0) { in getEventsFromBitmask() 1022 if ((eventMask & PhoneStateListener.LISTEN_CELL_LOCATION) != 0) { in getEventsFromBitmask() 1028 if ((eventMask & PhoneStateListener.LISTEN_CALL_STATE) != 0) { in getEventsFromBitmask() 1032 if ((eventMask & PhoneStateListener.LISTEN_DATA_CONNECTION_STATE) != 0) { in getEventsFromBitmask() 1036 if ((eventMask & PhoneStateListener.LISTEN_DATA_ACTIVITY) != 0) { in getEventsFromBitmask() 1040 if ((eventMask & PhoneStateListener.LISTEN_SIGNAL_STRENGTHS) != 0) { in getEventsFromBitmask() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneStateListenerTest.java | 23 import android.telephony.PhoneStateListener; 43 private PhoneStateListener mPhoneStateListenerUT; 51 mPhoneStateListenerUT = new PhoneStateListener() { in setUp() 86 Field field = PhoneStateListener.class.getDeclaredField("callback"); in testTriggerServiceStateChanged() 102 Field field = PhoneStateListener.class.getDeclaredField("callback"); in testTriggerUserMobileDataStateChanged() 115 Field field = PhoneStateListener.class.getDeclaredField("callback"); in testTriggerOutgoingCallEmergencyNumberChanged() 138 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/am/ |
D | DataConnectionStats.java | 30 import android.telephony.PhoneStateListener; 49 private final PhoneStateListener mPhoneStateListener; 69 PhoneStateListener.LISTEN_SERVICE_STATE in startMonitoring() 70 | PhoneStateListener.LISTEN_SIGNAL_STRENGTHS in startMonitoring() 71 | PhoneStateListener.LISTEN_DATA_CONNECTION_STATE in startMonitoring() 72 | PhoneStateListener.LISTEN_DATA_ACTIVITY); in startMonitoring() 164 private class PhoneStateListenerImpl extends PhoneStateListener {
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsSubscriptionsMonitor.java | 27 import android.telephony.PhoneStateListener; 123 .listen(listener, PhoneStateListener.LISTEN_SERVICE_STATE); in onSubscriptionsChanged() 176 .listen(listener, PhoneStateListener.LISTEN_NONE); in handleRemoveRatTypeListener() 186 static class RatTypeListener extends PhoneStateListener {
|
D | NetworkStatsService.java | 134 import android.telephony.PhoneStateListener;
|
/frameworks/base/services/core/java/com/android/server/location/countrydetector/ |
D | ComprehensiveCountryDetector.java | 25 import android.telephony.PhoneStateListener; 81 private PhoneStateListener mPhoneStateListener; 444 mPhoneStateListener = new PhoneStateListener() { in addPhoneStateListener() 458 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in addPhoneStateListener() 464 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; 33 import android.telephony.PhoneStateListener; 172 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
|
/frameworks/base/location/java/com/android/internal/location/ |
D | GpsNetInitiatedHandler.java | 31 import android.telephony.PhoneStateListener; 93 private final PhoneStateListener mPhoneStateListener; 194 mPhoneStateListener = new PhoneStateListener() { in GpsNetInitiatedHandler() 207 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE); in GpsNetInitiatedHandler()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssNetworkConnectivityHandler.java | 30 import android.telephony.PhoneStateListener; 211 private final class SubIdPhoneStateListener extends PhoneStateListener { 258 PhoneStateListener.LISTEN_PRECISE_CALL_STATE); 274 PhoneStateListener.LISTEN_NONE);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/telephony/ |
D | TelephonyListenerManager.java | 19 import android.telephony.PhoneStateListener;
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | LegacyGlobalActions.java | 45 import android.telephony.PhoneStateListener; 149 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in LegacyGlobalActions() 761 PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
D | SoundTriggerHelper.java | 49 import android.telephony.PhoneStateListener; 96 private final PhoneStateListener mPhoneStateListener; 1052 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in internalClearGlobalStateLocked() 1072 class MyCallStateListener extends PhoneStateListener { 1132 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE); in initializeDeviceStateListeners()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsExternalCallTracker.java | 44 public class ImsExternalCallTracker implements ImsPhoneCallTracker.PhoneStateListener {
|
D | ImsPhoneCallTracker.java | 165 public interface PhoneStateListener { interface in ImsPhoneCallTracker 556 private List<PhoneStateListener> mPhoneStateListeners = new ArrayList<>(); 4730 public void registerPhoneStateListener(PhoneStateListener listener) { in registerPhoneStateListener() 4734 public void unregisterPhoneStateListener(PhoneStateListener listener) { in unregisterPhoneStateListener() 4747 for (PhoneStateListener listener : mPhoneStateListeners) { in notifyPhoneStateChanged()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierResolver.java | 35 import android.telephony.PhoneStateListener; 247 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
|
D | PhoneSwitcher.java | 57 import android.telephony.PhoneStateListener;
|
D | CallManager.java | 28 import android.telephony.PhoneStateListener;
|
D | Phone.java | 53 import android.telephony.PhoneStateListener;
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 14711 …PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda10;-><init>(Landroid/telephony/… 14712 HSPLandroid/telephony/PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda10;->runOr… 14713 …PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda19;->runOrThrow()V+]Landroid/te… 14714 …android/telephony/PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda42;-><init>(L… 14715 HSPLandroid/telephony/PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda42;->run()V 14716 HSPLandroid/telephony/PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda51;->run()V 14717 HSPLandroid/telephony/PhoneStateListener$IPhoneStateListenerStub;-><init>(Landroid/telephony/PhoneS… 14718 …android/telephony/PhoneStateListener$IPhoneStateListenerStub;->lambda$onActiveDataSubIdChanged$56(… 14719 …PhoneStateListener$IPhoneStateListenerStub;->lambda$onActiveDataSubIdChanged$57$PhoneStateListener… 14720 HSPLandroid/telephony/PhoneStateListener$IPhoneStateListenerStub;->lambda$onDataActivity$16(Landroi… [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | TelephonyRegistry.java | 69 import android.telephony.PhoneStateListener;
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 14760 …PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda10;-><init>(Landroid/telephony/… 14761 HSPLandroid/telephony/PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda10;->runOr… 14762 …PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda19;->runOrThrow()V+]Landroid/te… 14763 …android/telephony/PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda42;-><init>(L… 14764 HSPLandroid/telephony/PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda42;->run()V 14765 HSPLandroid/telephony/PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda51;->run()V 14766 HSPLandroid/telephony/PhoneStateListener$IPhoneStateListenerStub;-><init>(Landroid/telephony/PhoneS… 14767 …android/telephony/PhoneStateListener$IPhoneStateListenerStub;->lambda$onActiveDataSubIdChanged$56(… 14768 …PhoneStateListener$IPhoneStateListenerStub;->lambda$onActiveDataSubIdChanged$57$PhoneStateListener… 14769 HSPLandroid/telephony/PhoneStateListener$IPhoneStateListenerStub;->lambda$onDataActivity$16(Landroi… [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 237 import android.telephony.PhoneStateListener; 2323 telephonyManager.listen(new PhoneStateListener() { in init() 2330 }, PhoneStateListener.LISTEN_CALL_STATE); in init()
|