Home
last modified time | relevance | path

Searched refs:PhoneStateListener (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/core/java/android/telephony/
DPhoneStateListener.java68 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 …]
DTelephonyRegistryManager.java233 @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/
DPhoneStateListenerTest.java23 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()
DPhoneStateListenerExecutorTest.java22 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/
DDataConnectionStats.java30 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/
DNetworkStatsSubscriptionsMonitor.java27 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 {
DNetworkStatsService.java134 import android.telephony.PhoneStateListener;
/frameworks/base/services/core/java/com/android/server/location/countrydetector/
DComprehensiveCountryDetector.java25 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/
DTrackerService.java38 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/
DDataEnabledSettings.java20 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/
DGpsNetInitiatedHandler.java31 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/
DGnssNetworkConnectivityHandler.java30 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/
DTelephonyListenerManager.java19 import android.telephony.PhoneStateListener;
/frameworks/base/services/core/java/com/android/server/policy/
DLegacyGlobalActions.java45 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/
DSoundTriggerHelper.java49 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/
DImsExternalCallTracker.java44 public class ImsExternalCallTracker implements ImsPhoneCallTracker.PhoneStateListener {
DImsPhoneCallTracker.java165 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/
DCarrierResolver.java35 import android.telephony.PhoneStateListener;
247 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
DPhoneSwitcher.java57 import android.telephony.PhoneStateListener;
DCallManager.java28 import android.telephony.PhoneStateListener;
DPhone.java53 import android.telephony.PhoneStateListener;
/frameworks/base/boot/
Dboot-image-profile.txt14711PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda10;-><init>(Landroid/telephony/
14712 HSPLandroid/telephony/PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda10;->runOr…
14713PhoneStateListener$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(…
14719PhoneStateListener$IPhoneStateListenerStub;->lambda$onActiveDataSubIdChanged$57$PhoneStateListener
14720 HSPLandroid/telephony/PhoneStateListener$IPhoneStateListenerStub;->lambda$onDataActivity$16(Landroi…
[all …]
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java69 import android.telephony.PhoneStateListener;
/frameworks/base/config/
Dboot-image-profile.txt14760PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda10;-><init>(Landroid/telephony/
14761 HSPLandroid/telephony/PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda10;->runOr…
14762PhoneStateListener$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(…
14768PhoneStateListener$IPhoneStateListenerStub;->lambda$onActiveDataSubIdChanged$57$PhoneStateListener
14769 HSPLandroid/telephony/PhoneStateListener$IPhoneStateListenerStub;->lambda$onDataActivity$16(Landroi…
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java237 import android.telephony.PhoneStateListener;
2323 telephonyManager.listen(new PhoneStateListener() { in init()
2330 }, PhoneStateListener.LISTEN_CALL_STATE); in init()

12