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.java70 public class PhoneStateListener { class
535 public PhoneStateListener() { in PhoneStateListener() method in PhoneStateListener
545 public PhoneStateListener(Looper looper) { in PhoneStateListener() method in PhoneStateListener
556 public PhoneStateListener(Integer subId) { in PhoneStateListener() method in PhoneStateListener
570 public PhoneStateListener(Integer subId, Looper looper) { in PhoneStateListener() method in PhoneStateListener
588 public PhoneStateListener(@NonNull Executor executor) { in PhoneStateListener() method in PhoneStateListener
592 private PhoneStateListener(Integer subId, Executor e) { in PhoneStateListener() method in PhoneStateListener
1321 private WeakReference<PhoneStateListener> mPhoneStateListenerWeakRef;
1324 IPhoneStateListenerStub(PhoneStateListener phoneStateListener, Executor executor) { in IPhoneStateListenerStub()
1325 mPhoneStateListenerWeakRef = new WeakReference<PhoneStateListener>(phoneStateListener); in IPhoneStateListenerStub()
[all …]
DTelephonyRegistryManager.java279 @NonNull String featureId, @NonNull PhoneStateListener listener, in listenFromListener()
1256 if ((eventMask & PhoneStateListener.LISTEN_SERVICE_STATE) != 0) { in getEventsFromBitmask()
1260 if ((eventMask & PhoneStateListener.LISTEN_SIGNAL_STRENGTH) != 0) { in getEventsFromBitmask()
1264 if ((eventMask & PhoneStateListener.LISTEN_MESSAGE_WAITING_INDICATOR) != 0) { in getEventsFromBitmask()
1268 if ((eventMask & PhoneStateListener.LISTEN_CALL_FORWARDING_INDICATOR) != 0) { in getEventsFromBitmask()
1272 if ((eventMask & PhoneStateListener.LISTEN_CELL_LOCATION) != 0) { in getEventsFromBitmask()
1278 if ((eventMask & PhoneStateListener.LISTEN_CALL_STATE) != 0) { in getEventsFromBitmask()
1282 if ((eventMask & PhoneStateListener.LISTEN_DATA_CONNECTION_STATE) != 0) { in getEventsFromBitmask()
1286 if ((eventMask & PhoneStateListener.LISTEN_DATA_ACTIVITY) != 0) { in getEventsFromBitmask()
1290 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;
44 private PhoneStateListener mPhoneStateListenerUT;
52 mPhoneStateListenerUT = new PhoneStateListener() { in setUp()
90 Field field = PhoneStateListener.class.getDeclaredField("callback"); in testTriggerServiceStateChanged()
106 Field field = PhoneStateListener.class.getDeclaredField("callback"); in testTriggerUserMobileDataStateChanged()
119 Field field = PhoneStateListener.class.getDeclaredField("callback"); in testTriggerOutgoingCallEmergencyNumberChanged()
142 Field field = PhoneStateListener.class.getDeclaredField("callback"); in testTriggerOutgoingSmsEmergencyNumberChanged()
DPhoneStateListenerExecutorTest.java22 import android.telephony.PhoneStateListener;
37 private PhoneStateListener mPhoneStateListenerUT;
45 mPhoneStateListenerUT = new PhoneStateListener(mSimpleExecutor) { in setUp()
70 Field field = PhoneStateListener.class.getDeclaredField("callback"); in testTriggerServiceStateChanged()
85 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()
159 private class PhoneStateListenerImpl extends 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/base/packages/SystemUI/src/com/android/systemui/telephony/
DTelephonyListenerManager.java19 import android.telephony.PhoneStateListener;
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssNetworkConnectivityHandler.java34 import android.telephony.PhoneStateListener;
228 private final class SubIdPhoneStateListener extends PhoneStateListener {
278 PhoneStateListener.LISTEN_PRECISE_CALL_STATE);
294 PhoneStateListener.LISTEN_NONE);
/frameworks/base/services/core/java/com/android/server/policy/
DLegacyGlobalActions.java45 import android.telephony.PhoneStateListener;
150 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in LegacyGlobalActions()
763 PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsExternalCallTracker.java46 public class ImsExternalCallTracker implements ImsPhoneCallTracker.PhoneStateListener {
DImsPhoneCallTracker.java211 public interface PhoneStateListener { interface in ImsPhoneCallTracker
826 private List<PhoneStateListener> mPhoneStateListeners = new ArrayList<>();
5546 public void registerPhoneStateListener(PhoneStateListener listener) { in registerPhoneStateListener()
5550 public void unregisterPhoneStateListener(PhoneStateListener listener) { in unregisterPhoneStateListener()
5563 for (PhoneStateListener listener : mPhoneStateListeners) { in notifyPhoneStateChanged()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierResolver.java36 import android.telephony.PhoneStateListener;
252 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
DCallManager.java28 import android.telephony.PhoneStateListener;
DPhone.java61 import android.telephony.PhoneStateListener;
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationAttentionHelper.java59 import android.telephony.PhoneStateListener;
273 mTelephonyManager.listen(new PhoneStateListener() { in registerBroadcastListeners()
280 }, PhoneStateListener.LISTEN_CALL_STATE); in registerBroadcastListeners()
/frameworks/base/core/api/
Dmodule-lib-lint-baseline.txt458 DeprecationMismatch: android.telephony.PhoneStateListener#PhoneStateListener(java.util.concurrent.E…
459 …Constructor android.telephony.PhoneStateListener.PhoneStateListener(java.util.concurrent.Executor)…
1146 RequiresPermission: android.telephony.PhoneStateListener#onActiveDataSubscriptionIdChanged(int):
1148 RequiresPermission: android.telephony.PhoneStateListener#onCallAttributesChanged(android.telephony.…
1150 RequiresPermission: android.telephony.PhoneStateListener#onCallStateChanged(int, String):
1152 RequiresPermission: android.telephony.PhoneStateListener#onDisplayInfoChanged(android.telephony.Tel…
1154 RequiresPermission: android.telephony.PhoneStateListener#onPreciseDataConnectionStateChanged(androi…
1156 RequiresPermission: android.telephony.PhoneStateListener#onRadioPowerStateChanged(int):
1158 RequiresPermission: android.telephony.PhoneStateListener#onServiceStateChanged(android.telephony.Se…
Dlint-baseline.txt352 DeprecationMismatch: android.telephony.PhoneStateListener#PhoneStateListener(java.util.concurrent.E…
353 …Constructor android.telephony.PhoneStateListener.PhoneStateListener(java.util.concurrent.Executor)…
814 RequiresPermission: android.telephony.PhoneStateListener#onActiveDataSubscriptionIdChanged(int):
816 RequiresPermission: android.telephony.PhoneStateListener#onCallStateChanged(int, String):
818 RequiresPermission: android.telephony.PhoneStateListener#onDisplayInfoChanged(android.telephony.Tel…
820 RequiresPermission: android.telephony.PhoneStateListener#onPreciseDataConnectionStateChanged(androi…
822 RequiresPermission: android.telephony.PhoneStateListener#onServiceStateChanged(android.telephony.Se…
Dtest-lint-baseline.txt472 DeprecationMismatch: android.telephony.PhoneStateListener#PhoneStateListener(java.util.concurrent.E…
473 …Constructor android.telephony.PhoneStateListener.PhoneStateListener(java.util.concurrent.Executor)…
1302 RequiresPermission: android.telephony.PhoneStateListener#onActiveDataSubscriptionIdChanged(int):
1304 RequiresPermission: android.telephony.PhoneStateListener#onCallAttributesChanged(android.telephony.…
1306 RequiresPermission: android.telephony.PhoneStateListener#onCallStateChanged(int, String):
1308 RequiresPermission: android.telephony.PhoneStateListener#onDisplayInfoChanged(android.telephony.Tel…
1310 RequiresPermission: android.telephony.PhoneStateListener#onPreciseDataConnectionStateChanged(androi…
1312 RequiresPermission: android.telephony.PhoneStateListener#onRadioPowerStateChanged(int):
1314 RequiresPermission: android.telephony.PhoneStateListener#onServiceStateChanged(android.telephony.Se…
Dsystem-lint-baseline.txt462 DeprecationMismatch: android.telephony.PhoneStateListener#PhoneStateListener(java.util.concurrent.E…
463 …Constructor android.telephony.PhoneStateListener.PhoneStateListener(java.util.concurrent.Executor)…
1222 RequiresPermission: android.telephony.PhoneStateListener#onActiveDataSubscriptionIdChanged(int):
1224 RequiresPermission: android.telephony.PhoneStateListener#onCallAttributesChanged(android.telephony.…
1226 RequiresPermission: android.telephony.PhoneStateListener#onCallStateChanged(int, String):
1228 RequiresPermission: android.telephony.PhoneStateListener#onDisplayInfoChanged(android.telephony.Tel…
1230 RequiresPermission: android.telephony.PhoneStateListener#onPreciseDataConnectionStateChanged(androi…
1232 RequiresPermission: android.telephony.PhoneStateListener#onRadioPowerStateChanged(int):
1234 RequiresPermission: android.telephony.PhoneStateListener#onServiceStateChanged(android.telephony.Se…
/frameworks/base/boot/
Dpreloaded-classes7531 android.telephony.PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda0
7532 android.telephony.PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda10
7533 android.telephony.PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda13
7534 android.telephony.PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda15
7535 android.telephony.PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda19
7536 android.telephony.PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda1
7537 android.telephony.PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda20
7538 android.telephony.PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda21
7539 android.telephony.PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda23
7540 android.telephony.PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda24
[all …]
Dboot-image-profile.txt14108 HSPLandroid/telephony/PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda10;->runOr…
14109 HSPLandroid/telephony/PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda19;->runOr…
14110 HSPLandroid/telephony/PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda27;->run()V
14111 HSPLandroid/telephony/PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda51;->run()V
14112 HSPLandroid/telephony/PhoneStateListener$IPhoneStateListenerStub;-><init>(Landroid/telephony/PhoneS…
14113 …android/telephony/PhoneStateListener$IPhoneStateListenerStub;->lambda$onActiveDataSubIdChanged$56(…
14114 HSPLandroid/telephony/PhoneStateListener$IPhoneStateListenerStub;->lambda$onDataActivity$16(Landroi…
14115 …droid/telephony/PhoneStateListener$IPhoneStateListenerStub;->lambda$onDataConnectionStateChanged$1…
14116 …PLandroid/telephony/PhoneStateListener$IPhoneStateListenerStub;->lambda$onDisplayInfoChanged$38(La…
14117 …PLandroid/telephony/PhoneStateListener$IPhoneStateListenerStub;->lambda$onDisplayInfoChanged$39(La…
[all …]
/frameworks/base/config/
Dpreloaded-classes7562 android.telephony.PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda0
7563 android.telephony.PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda10
7564 android.telephony.PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda13
7565 android.telephony.PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda15
7566 android.telephony.PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda19
7567 android.telephony.PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda1
7568 android.telephony.PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda20
7569 android.telephony.PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda21
7570 android.telephony.PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda23
7571 android.telephony.PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda24
[all …]
Dboot-image-profile.txt14172 HSPLandroid/telephony/PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda10;->runOr…
14173 HSPLandroid/telephony/PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda19;->runOr…
14174 HSPLandroid/telephony/PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda27;->run()V
14175 HSPLandroid/telephony/PhoneStateListener$IPhoneStateListenerStub$$ExternalSyntheticLambda51;->run()V
14176 HSPLandroid/telephony/PhoneStateListener$IPhoneStateListenerStub;-><init>(Landroid/telephony/PhoneS…
14177 …android/telephony/PhoneStateListener$IPhoneStateListenerStub;->lambda$onActiveDataSubIdChanged$56(…
14178 HSPLandroid/telephony/PhoneStateListener$IPhoneStateListenerStub;->lambda$onDataActivity$16(Landroi…
14179 …droid/telephony/PhoneStateListener$IPhoneStateListenerStub;->lambda$onDataConnectionStateChanged$1…
14180 …PLandroid/telephony/PhoneStateListener$IPhoneStateListenerStub;->lambda$onDisplayInfoChanged$38(La…
14181 …PLandroid/telephony/PhoneStateListener$IPhoneStateListenerStub;->lambda$onDisplayInfoChanged$39(La…
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DPhoneSwitcher.java56 import android.telephony.PhoneStateListener;

12