Home
last modified time | relevance | path

Searched refs:TelephonyCallback (Results 1 – 25 of 61) sorted by relevance

123

/frameworks/base/core/java/android/telephony/
DTelephonyRegistryManager.java316 @NonNull TelephonyCallback telephonyCallback, @NonNull int[] events, in listenFromCallback()
1100 @NonNull TelephonyCallback telephonyCallback) { in getEventsFromCallback()
1103 if (telephonyCallback instanceof TelephonyCallback.ServiceStateListener) { in getEventsFromCallback()
1104 eventList.add(TelephonyCallback.EVENT_SERVICE_STATE_CHANGED); in getEventsFromCallback()
1107 if (telephonyCallback instanceof TelephonyCallback.MessageWaitingIndicatorListener) { in getEventsFromCallback()
1108 eventList.add(TelephonyCallback.EVENT_MESSAGE_WAITING_INDICATOR_CHANGED); in getEventsFromCallback()
1111 if (telephonyCallback instanceof TelephonyCallback.CallForwardingIndicatorListener) { in getEventsFromCallback()
1112 eventList.add(TelephonyCallback.EVENT_CALL_FORWARDING_INDICATOR_CHANGED); in getEventsFromCallback()
1115 if (telephonyCallback instanceof TelephonyCallback.CellLocationListener) { in getEventsFromCallback()
1116 eventList.add(TelephonyCallback.EVENT_CELL_LOCATION_CHANGED); in getEventsFromCallback()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyRegistryTest.java65 import android.telephony.TelephonyCallback;
126 READ_PHONE_STATE_EVENTS.add(TelephonyCallback.EVENT_CALL_FORWARDING_INDICATOR_CHANGED);
127 READ_PHONE_STATE_EVENTS.add(TelephonyCallback.EVENT_MESSAGE_WAITING_INDICATOR_CHANGED);
128 READ_PHONE_STATE_EVENTS.add(TelephonyCallback.EVENT_EMERGENCY_NUMBER_LIST_CHANGED);
136 TelephonyCallback.EVENT_PRECISE_CALL_STATE_CHANGED);
138 TelephonyCallback.EVENT_PRECISE_DATA_CONNECTION_STATE_CHANGED);
140 TelephonyCallback.EVENT_CALL_DISCONNECT_CAUSE_CHANGED);
142 TelephonyCallback.EVENT_CALL_ATTRIBUTES_CHANGED);
144 TelephonyCallback.EVENT_IMS_CALL_DISCONNECT_CAUSE_CHANGED);
145 READ_PRECISE_PHONE_STATE_EVENTS.add(TelephonyCallback.EVENT_REGISTRATION_FAILURE);
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/telephony/
DTelephonyCallback.java20 import android.telephony.TelephonyCallback.ActiveDataSubscriptionIdListener;
21 import android.telephony.TelephonyCallback.CallStateListener;
22 import android.telephony.TelephonyCallback.ServiceStateListener;
37 class TelephonyCallback extends android.telephony.TelephonyCallback class
46 TelephonyCallback() { in TelephonyCallback() method in TelephonyCallback
DTelephonyListenerManager.java20 import android.telephony.TelephonyCallback.ActiveDataSubscriptionIdListener;
21 import android.telephony.TelephonyCallback.CallStateListener;
22 import android.telephony.TelephonyCallback.ServiceStateListener;
45 private final TelephonyCallback mTelephonyCallback;
53 TelephonyCallback telephonyCallback) { in TelephonyListenerManager()
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java81 import android.telephony.TelephonyCallback;
231 TelephonyCallback.FLAG_PER_PID_REGISTRATION_LIMIT, in getRegistrationLimit()
232 TelephonyCallback.DEFAULT_PER_PID_REGISTRATION_LIMIT)); in getRegistrationLimit()
243 TelephonyCallback.PHONE_STATE_LISTENER_LIMIT_CHANGE_ID, uid)); in isRegistrationLimitEnabledInPlatformCompat()
482 TelephonyCallback.EVENT_PRECISE_DATA_CONNECTION_STATE_CHANGED);
484 TelephonyCallback.EVENT_DATA_CONNECTION_REAL_TIME_INFO_CHANGED);
486 TelephonyCallback.EVENT_PRECISE_CALL_STATE_CHANGED);
488 TelephonyCallback.EVENT_CALL_DISCONNECT_CAUSE_CHANGED);
490 TelephonyCallback.EVENT_CALL_ATTRIBUTES_CHANGED);
492 TelephonyCallback.EVENT_IMS_CALL_DISCONNECT_CAUSE_CHANGED);
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/
DMobileStatusTracker.java24 import android.telephony.TelephonyCallback;
119 public class MobileTelephonyCallback extends TelephonyCallback implements
120 TelephonyCallback.ServiceStateListener,
121 TelephonyCallback.SignalStrengthsListener,
122 TelephonyCallback.DataConnectionStateListener,
123 TelephonyCallback.DataActivityListener,
124 TelephonyCallback.CarrierNetworkListener,
125 TelephonyCallback.ActiveDataSubscriptionIdListener,
126 TelephonyCallback.DisplayInfoListener{
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/telephony/
DTelephonyCallbackTest.java21 import android.telephony.TelephonyCallback.ActiveDataSubscriptionIdListener;
22 import android.telephony.TelephonyCallback.CallStateListener;
23 import android.telephony.TelephonyCallback.ServiceStateListener;
37 private TelephonyCallback mTelephonyCallback = new TelephonyCallback();
DTelephonyListenerManagerTest.java25 import android.telephony.TelephonyCallback.ActiveDataSubscriptionIdListener;
26 import android.telephony.TelephonyCallback.CallStateListener;
27 import android.telephony.TelephonyCallback.ServiceStateListener;
51 private TelephonyCallback mTelephonyCallback;
/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java25 import android.telephony.TelephonyCallback;
67 private class EmergencyCallListener extends TelephonyCallback implements
68 TelephonyCallback.OutgoingEmergencyCallListener,
69 TelephonyCallback.CallStateListener {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DMobileConnectionTelephonySmokeTests.kt21 import android.telephony.TelephonyCallback in <lambda>()
22 import android.telephony.TelephonyCallback.CarrierNetworkListener in <lambda>()
23 import android.telephony.TelephonyCallback.DataActivityListener in <lambda>()
24 import android.telephony.TelephonyCallback.DataConnectionStateListener in <lambda>()
25 import android.telephony.TelephonyCallback.DataEnabledListener in <lambda>()
26 import android.telephony.TelephonyCallback.DisplayInfoListener in <lambda>()
27 import android.telephony.TelephonyCallback.ServiceStateListener in <lambda>()
319 val callback = getTelephonyCallbackForType<TelephonyCallback.SignalStrengthsListener>() in <lambda>()
DMobileTelephonyHelpers.kt21 import android.telephony.TelephonyCallback
33 fun getTelephonyCallbacks(mockTelephonyManager: TelephonyManager): List<TelephonyCallback> { in getTelephonyCallbacks()
34 val callbackCaptor = argumentCaptor<TelephonyCallback>() in getTelephonyCallbacks()
DMobileConnectionRepositoryTest.kt38 import android.telephony.TelephonyCallback
39 import android.telephony.TelephonyCallback.CarrierRoamingNtnModeListener
40 import android.telephony.TelephonyCallback.DataActivityListener
41 import android.telephony.TelephonyCallback.DisplayInfoListener
42 import android.telephony.TelephonyCallback.ServiceStateListener
215 val callback = getTelephonyCallbackForType<TelephonyCallback.SignalStrengthsListener>() in cdmaLevelUpdates()
236 val callback = getTelephonyCallbackForType<TelephonyCallback.SignalStrengthsListener>() in gsmLevelUpdates()
256 val callback = getTelephonyCallbackForType<TelephonyCallback.SignalStrengthsListener>() in isGsm()
277 getTelephonyCallbackForType<TelephonyCallback.DataConnectionStateListener>() in dataConnectionState_connected()
292 getTelephonyCallbackForType<TelephonyCallback.DataConnectionStateListener>() in dataConnectionState_connecting()
[all …]
DFullMobileConnectionRepositoryTest.kt24 import android.telephony.TelephonyCallback
475 getTelephonyCallbackForType<TelephonyCallback.ServiceStateListener>(telephonyManager) in connectionInfo_logging_notCarrierMerged_getsUpdates()
486 getTelephonyCallbackForType<TelephonyCallback.ServiceStateListener>(telephonyManager) in connectionInfo_logging_notCarrierMerged_getsUpdates()
558 getTelephonyCallbackForType<TelephonyCallback.SignalStrengthsListener>(telephonyManager) in connectionInfo_logging_updatesWhenCarrierMergedUpdates()
628 getTelephonyCallbackForType<TelephonyCallback.SignalStrengthsListener>(telephonyManager) in connectionInfo_logging_doesNotLogUpdatesForNotActiveRepo()
656 getTelephonyCallbackForType<TelephonyCallback.SignalStrengthsListener>(telephonyManager) in connectionInfo_logging_doesNotLogUpdatesForNotActiveRepo()
661 getTelephonyCallbackForType<TelephonyCallback.SignalStrengthsListener>(telephonyManager) in connectionInfo_logging_doesNotLogUpdatesForNotActiveRepo()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DDataConnectionStateTracker.java27 import android.telephony.TelephonyCallback;
198 private class TelephonyListenerImpl extends TelephonyCallback
199 implements TelephonyCallback.PreciseDataConnectionStateListener,
200 TelephonyCallback.ActiveDataSubscriptionIdListener,
201 TelephonyCallback.PhysicalChannelConfigListener {
/frameworks/base/services/core/java/com/android/server/location/injector/
DSystemEmergencyHelper.java27 import android.telephony.TelephonyCallback;
131 private class EmergencyCallTelephonyCallback extends TelephonyCallback implements
132 TelephonyCallback.CallStateListener{
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DMobileConnectionRepositoryImpl.kt35 import android.telephony.TelephonyCallback in <lambda>()
144 TelephonyCallback(), in <lambda>()
145 TelephonyCallback.CarrierNetworkListener, in <lambda>()
146 TelephonyCallback.CarrierRoamingNtnModeListener, in <lambda>()
147 TelephonyCallback.DataActivityListener, in <lambda>()
148 TelephonyCallback.DataConnectionStateListener, in <lambda>()
149 TelephonyCallback.DataEnabledListener, in <lambda>()
150 TelephonyCallback.DisplayInfoListener, in <lambda>()
151 TelephonyCallback.ServiceStateListener, in <lambda>()
152 TelephonyCallback.SignalStrengthsListener { in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/telephony/data/repository/
DTelephonyRepositoryImplTest.kt21 import android.telephony.TelephonyCallback
76 val listenerCaptor = kotlinArgumentCaptor<TelephonyCallback.CallStateListener>() in callState()
96 val listenerCaptor = kotlinArgumentCaptor<TelephonyCallback.CallStateListener>() in isInCall()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DPhoneCallStateHandler.java22 import android.telephony.TelephonyCallback;
86 private final class MyCallStateListener extends TelephonyCallback
87 implements TelephonyCallback.CallStateListener {
/frameworks/base/packages/SystemUI/src/com/android/systemui/telephony/data/repository/
DTelephonyRepository.kt25 import android.telephony.TelephonyCallback
78 val listener = TelephonyCallback.CallStateListener(::trySend) in <lambda>()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/connectivity/
DConnectivitySubsystemsRecoveryManager.java29 import android.telephony.TelephonyCallback;
79 private class MobileTelephonyCallback extends TelephonyCallback implements
80 TelephonyCallback.RadioPowerStateListener {
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DInternetDialogController.java53 import android.telephony.TelephonyCallback;
164 final Map<Integer, TelephonyCallback> mSubIdTelephonyCallbackMap = new HashMap<>();
329 TelephonyCallback callback = mSubIdTelephonyCallbackMap.get(tm.getSubscriptionId()); in onStop()
1171 private class InternetTelephonyCallback extends TelephonyCallback implements
1172 TelephonyCallback.DataConnectionStateListener,
1173 TelephonyCallback.DisplayInfoListener,
1174 TelephonyCallback.ServiceStateListener,
1175 TelephonyCallback.SignalStrengthsListener,
1176 TelephonyCallback.UserMobileDataStateListener,
1177 TelephonyCallback.CarrierNetworkListener{
[all …]
/frameworks/base/services/core/java/com/android/server/vcn/routeselection/
DUnderlyingNetworkController.java22 import static android.telephony.TelephonyCallback.ActiveDataSubscriptionIdListener;
45 import android.telephony.TelephonyCallback;
86 @NonNull private final TelephonyCallback mActiveDataSubIdListener =
732 private class VcnActiveDataSubscriptionIdListener extends TelephonyCallback
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/satellite/data/prod/
DDeviceBasedSatelliteRepositoryImpl.kt20 import android.telephony.TelephonyCallback in <lambda>()
181 object : TelephonyCallback(), TelephonyCallback.RadioPowerStateListener { in <lambda>()
/frameworks/base/tests/vcn/java/com/android/server/vcn/
DTelephonySubscriptionTrackerTest.java24 import static android.telephony.TelephonyCallback.ActiveDataSubscriptionIdListener;
67 import android.telephony.TelephonyCallback;
244 final ArgumentCaptor<TelephonyCallback> captor = in getActiveDataSubscriptionIdListener()
245 ArgumentCaptor.forClass(TelephonyCallback.class); in getActiveDataSubscriptionIdListener()
/frameworks/base/services/core/java/com/android/server/vcn/
DTelephonySubscriptionTracker.java38 import android.telephony.TelephonyCallback;
564 private class ActiveDataSubscriptionIdListener extends TelephonyCallback
565 implements TelephonyCallback.ActiveDataSubscriptionIdListener {

123