Home
last modified time | relevance | path

Searched refs:TelecomManager (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/telecom/
DTelecomLoaderService.java32 import android.telecom.TelecomManager;
73 TelecomManager telecomManager = in onServiceConnected()
74 (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); in onServiceConnected()
207 TelecomManager telecomManager = in registerDefaultAppProviders()
208 (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); in registerDefaultAppProviders()
245 TelecomManager telecomManager = in updateSimCallManagerPermissions()
246 (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); in updateSimCallManagerPermissions()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DMissedIncomingCallSmsFilterTest.java28 import android.telecom.TelecomManager;
83 TelecomManager telecomManager = (TelecomManager) mContext.getSystemService( in testMissedIncomingCallwithCallerId()
90 Uri uri = bundle.getParcelable(TelecomManager.EXTRA_INCOMING_CALL_ADDRESS); in testMissedIncomingCallwithCallerId()
DContextFixture.java71 import android.telecom.TelecomManager;
275 } else if (serviceClass == TelecomManager.class) { in getSystemServiceName()
599 private final TelecomManager mTelecomManager = mock(TelecomManager.class);
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationComparator.java26 import android.telecom.TelecomManager;
46 new IntentFilter(TelecomManager.ACTION_DEFAULT_DIALER_CHANGED)); in NotificationComparator()
185 final TelecomManager telecomm = in isDefaultPhoneApp()
186 (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); in isDefaultPhoneApp()
196 intent.getStringExtra(TelecomManager.EXTRA_CHANGE_DEFAULT_DIALER_PACKAGE_NAME);
DZenModeFiltering.java30 import android.telecom.TelecomManager;
266 final TelecomManager telecomm = in isDefaultPhoneApp()
267 (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); in isDefaultPhoneApp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMissedIncomingCallSmsFilter.java27 import android.telecom.TelecomManager;
241 TelecomManager tm = (TelecomManager) mPhone.getContext() in createMissedIncomingCallEvent()
250 bundle.putParcelable(TelecomManager.EXTRA_INCOMING_CALL_ADDRESS, phoneUri); in createMissedIncomingCallEvent()
255 bundle.putLong(TelecomManager.EXTRA_CALL_CREATED_EPOCH_TIME_MILLIS, missedCallTime); in createMissedIncomingCallEvent()
DGsmCdmaPhone.java63 import android.telecom.TelecomManager;
327 } else if (TelecomManager.ACTION_CURRENT_TTY_MODE_CHANGED.equals(action)) {
329 TelecomManager.EXTRA_CURRENT_TTY_MODE, TelecomManager.TTY_MODE_OFF);
331 } else if (TelecomManager.ACTION_TTY_PREFERRED_MODE_CHANGED.equals(action)) {
333 TelecomManager.EXTRA_TTY_PREFERRED_MODE, TelecomManager.TTY_MODE_OFF);
390 filter.addAction(TelecomManager.ACTION_CURRENT_TTY_MODE_CHANGED); in initOnce()
391 filter.addAction(TelecomManager.ACTION_TTY_PREFERRED_MODE_CHANGED); in initOnce()
2183 extras.putParcelable(TelecomManager.EXTRA_PHONE_ACCOUNT_HANDLE, phoneAccountHandle); in setCallForwardingOption()
2185 final TelecomManager telecomManager = TelecomManager.from(mContext); in setCallForwardingOption()
2348 extras.putParcelable(TelecomManager.EXTRA_PHONE_ACCOUNT_HANDLE, phoneAccountHandle); in setCallWaiting()
[all …]
DGsmCdmaCallTracker.java32 import android.telecom.TelecomManager;
326 TelecomManager.EXTRA_IS_USER_INTENT_EMERGENCY_CALL)); in dialGsm()
328 TelecomManager.EXTRA_IS_USER_INTENT_EMERGENCY_CALL)); in dialGsm()
443 TelecomManager.EXTRA_IS_USER_INTENT_EMERGENCY_CALL)); in dialCdma()
445 TelecomManager.EXTRA_IS_USER_INTENT_EMERGENCY_CALL)); in dialCdma()
500 TelecomManager.EXTRA_IS_USER_INTENT_EMERGENCY_CALL)); in dialThreeWay()
502 TelecomManager.EXTRA_IS_USER_INTENT_EMERGENCY_CALL)); in dialThreeWay()
/frameworks/base/telephony/java/android/telephony/
DVisualVoicemailService.java33 import android.telecom.TelecomManager;
291 TelecomManager telecomManager = context.getSystemService(TelecomManager.class); in getSubId()
/frameworks/base/telecomm/java/android/telecom/
DDefaultDialerManager.java196 final TelecomManager tm = getTelecomManager(context); in isDefaultOrSystemDialer()
232 private static TelecomManager getTelecomManager(Context context) { in getTelecomManager()
233 return (TelecomManager) context.getSystemService(Context.TELECOM_SERVICE); in getTelecomManager()
DParcelableConference.java49 private int mAddressPresentation = TelecomManager.PRESENTATION_UNKNOWN;
51 private int mCallerDisplayNamePresentation = TelecomManager.PRESENTATION_UNKNOWN;;
74 @TelecomManager.Presentation int callerDisplayNamePresentation) { in setCallerDisplayName()
81 @TelecomManager.Presentation int addressPresentation) { in setAddress()
DTelecomManager.java68 public class TelecomManager { class
924 public static TelecomManager from(Context context) { in from()
925 return (TelecomManager) context.getSystemService(Context.TELECOM_SERVICE); in from()
931 public TelecomManager(Context context) { in TelecomManager() method in TelecomManager
938 public TelecomManager(Context context, ITelecomService telecomServiceImpl) { in TelecomManager() method in TelecomManager
DConnectionRequest.java428 case TelecomManager.EXTRA_INCOMING_CALL_ADDRESS: in bundleToString()
429 case TelecomManager.EXTRA_UNKNOWN_CALL_HANDLE: in bundleToString()
DConference.java1073 @TelecomManager.Presentation int presentation) { in setAddress()
1114 public final @TelecomManager.Presentation int getAddressPresentation() { in getAddressPresentation()
1160 @TelecomManager.Presentation int presentation) { in setCallerDisplayName()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java35 import android.telecom.TelecomManager;
170 filter.addAction(TelecomManager.ACTION_CURRENT_TTY_MODE_CHANGED); in PhoneStatusBarPolicy()
396 TelecomManager telecomManager = in updateTTY()
397 (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); in updateTTY()
399 updateTTY(TelecomManager.TTY_MODE_OFF); in updateTTY()
406 boolean enabled = currentTtyMode != TelecomManager.TTY_MODE_OFF; in updateTTY()
616 case TelecomManager.ACTION_CURRENT_TTY_MODE_CHANGED:
617 updateTTY(intent.getIntExtra(TelecomManager.EXTRA_CURRENT_TTY_MODE,
618 TelecomManager.TTY_MODE_OFF));
DKeyguardBottomAreaView.java52 import android.telecom.TelecomManager;
568 final TelecomManager tm = TelecomManager.from(mContext); in launchPhone()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DEmergencyButton.java28 import android.telecom.TelecomManager;
250 private TelecomManager getTelecommManager() { in getTelecommManager()
251 return (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); in getTelecommManager()
/frameworks/base/core/java/android/provider/
DCallLog.java41 import android.telecom.TelecomManager;
1058 if (presentation == TelecomManager.PRESENTATION_RESTRICTED) { in getLogNumberPresentation()
1062 if (presentation == TelecomManager.PRESENTATION_PAYPHONE) { in getLogNumberPresentation()
1067 || presentation == TelecomManager.PRESENTATION_UNKNOWN) { in getLogNumberPresentation()
1076 TelecomManager tm = null; in getLogAccountAddress()
1078 tm = TelecomManager.from(context); in getLogAccountAddress()
/frameworks/base/api/
Dlint-baseline.txt959 RequiresPermission: android.telecom.TelecomManager#acceptHandover(android.net.Uri, int, android.tel…
961 RequiresPermission: android.telecom.TelecomManager#acceptRingingCall():
963 RequiresPermission: android.telecom.TelecomManager#acceptRingingCall(int):
965 RequiresPermission: android.telecom.TelecomManager#addNewIncomingCall(android.telecom.PhoneAccountH…
967 RequiresPermission: android.telecom.TelecomManager#cancelMissedCallsNotification():
969 RequiresPermission: android.telecom.TelecomManager#endCall():
971 RequiresPermission: android.telecom.TelecomManager#getAdnUriForPhoneAccount(android.telecom.PhoneAc…
973 RequiresPermission: android.telecom.TelecomManager#getCallCapablePhoneAccounts():
975 RequiresPermission: android.telecom.TelecomManager#getDefaultOutgoingPhoneAccount(String):
977 RequiresPermission: android.telecom.TelecomManager#getLine1Number(android.telecom.PhoneAccountHandl…
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DLockTaskController.java28 import static android.telecom.TelecomManager.EMERGENCY_DIALER_COMPONENT;
59 import android.telecom.TelecomManager;
145 TelecomManager mTelecomManager;
359 final TelecomManager tm = getTelecomManager(); in isEmergencyCallTask()
893 private TelecomManager getTelecomManager() { in getTelecomManager()
896 return mContext.getSystemService(TelecomManager.class); in getTelecomManager()
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/
DMmTelFeatureTests.java31 import android.telecom.TelecomManager;
159 mFeatureBinder.setUiTtyMode(TelecomManager.TTY_MODE_FULL, resultMessage); in testSetTtyMessageMessenger()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/
DVendorSubscriptionController.java35 import android.telecom.TelecomManager;
66 private TelecomManager mTelecomManager;
102 mTelecomManager = (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); in VendorSubscriptionController()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationComparatorTest.java38 import android.telecom.TelecomManager;
59 @Mock TelecomManager mTm;
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLockTaskControllerTest.java33 import static android.telecom.TelecomManager.EMERGENCY_DIALER_COMPONENT;
69 import android.telecom.TelecomManager;
114 @Mock private TelecomManager mTelecomManager;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java51 import android.telecom.TelecomManager;
316 } else if (TelecomManager.ACTION_CHANGE_DEFAULT_DIALER.equals(intent.getAction())) {
318 TelecomManager.EXTRA_CHANGE_DEFAULT_DIALER_PACKAGE_NAME)));
859 intentfilter.addAction(TelecomManager.ACTION_CHANGE_DEFAULT_DIALER); in ImsPhoneCallTracker()
866 final TelecomManager telecomManager = in ImsPhoneCallTracker()
867 (TelecomManager) mPhone.getContext().getSystemService(Context.TELECOM_SERVICE); in ImsPhoneCallTracker()
1226 TelecomManager.EXTRA_IS_USER_INTENT_EMERGENCY_CALL)); in dial()
1228 TelecomManager.EXTRA_IS_USER_INTENT_EMERGENCY_CALL)); in dial()
1471 if (intentExtras.containsKey(android.telecom.TelecomManager.EXTRA_CALL_SUBJECT)) { in dialInternal()
1474 android.telecom.TelecomManager.EXTRA_CALL_SUBJECT)) in dialInternal()
[all …]

123