Home
last modified time | relevance | path

Searched refs:telecomManager (Results 1 – 25 of 41) sorted by relevance

12

/packages/apps/Dialer/java/com/android/dialer/simulator/impl/
DSimulatorSimCallManager.java72 TelecomManager telecomManager = context.getSystemService(TelecomManager.class); in register() local
73 telecomManager.registerPhoneAccount(buildSimCallManagerAccount(context)); in register()
74 telecomManager.registerPhoneAccount(buildVideoProviderAccount(context)); in register()
83 TelecomManager telecomManager = context.getSystemService(TelecomManager.class); in unregister() local
84 telecomManager.unregisterPhoneAccount(getSimCallManagerHandle(context)); in unregister()
85 telecomManager.unregisterPhoneAccount(getVideoProviderHandle(context)); in unregister()
123 TelecomManager telecomManager = context.getSystemService(TelecomManager.class); in addNewOutgoingCall() local
125 telecomManager.placeCall( in addNewOutgoingCall()
156 TelecomManager telecomManager = context.getSystemService(TelecomManager.class); in addNewIncomingCall() local
157 telecomManager.addNewIncomingCall( in addNewIncomingCall()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sim/
DSimDialogActivity.java134 final TelecomManager telecomManager = TelecomManager.from(this); in setUserSelectedOutgoingPhoneAccount() local
135 telecomManager.setUserSelectedOutgoingPhoneAccount(phoneAccount); in setUserSelectedOutgoingPhoneAccount()
139 final TelecomManager telecomManager = TelecomManager.from(this); in subscriptionIdToPhoneAccountHandle() local
142 telecomManager.getCallCapablePhoneAccounts().listIterator(); in subscriptionIdToPhoneAccountHandle()
146 final PhoneAccount phoneAccount = telecomManager.getPhoneAccount(phoneAccountHandle); in subscriptionIdToPhoneAccountHandle()
175 final TelecomManager telecomManager = in createDialog()
178 telecomManager.getCallCapablePhoneAccounts(); in createDialog()
208 final TelecomManager telecomManager = TelecomManager.from(context); in createDialog() local
211 telecomManager.getCallCapablePhoneAccounts().listIterator(); in createDialog()
217 telecomManager.getPhoneAccount(phoneAccounts.next()); in createDialog()
DSimSettings.java199 final TelecomManager telecomManager = TelecomManager.from(mContext); in updateCallValues() local
201 telecomManager.getUserSelectedOutgoingPhoneAccount(); in updateCallValues()
203 telecomManager.getCallCapablePhoneAccounts(); in updateCallValues()
208 : (String)telecomManager.getPhoneAccount(phoneAccount).getLabel()); in updateCallValues()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DCallServiceNotifier.java113 TelecomManager telecomManager = in registerPhoneAccount() local
116 telecomManager.clearAccounts(); in registerPhoneAccount()
129 telecomManager.registerPhoneAccount(PhoneAccount.builder( in registerPhoneAccount()
150 telecomManager.registerPhoneAccount(PhoneAccount.builder( in registerPhoneAccount()
170 telecomManager.registerPhoneAccount(PhoneAccount.builder( in registerPhoneAccount()
189 telecomManager.registerPhoneAccount(PhoneAccount.builder( in registerPhoneAccount()
210 TelecomManager telecomManager = in showAllPhoneAccounts() local
212 List<PhoneAccountHandle> accounts = telecomManager.getCallCapablePhoneAccounts(); in showAllPhoneAccounts()
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipAccountRegistry.java129 TelecomManager telecomManager = context.getSystemService(TelecomManager.class); in verifyAndPurgeInvalidPhoneAccounts() local
131 List<PhoneAccountHandle> accountHandles = telecomManager.getPhoneAccountsSupportingScheme( in verifyAndPurgeInvalidPhoneAccounts()
139 telecomManager.unregisterPhoneAccount(accountHandle); in verifyAndPurgeInvalidPhoneAccounts()
239 TelecomManager telecomManager = context.getSystemService(TelecomManager.class); in startSipProfiles() local
249 telecomManager.registerPhoneAccount(phoneAccount); in startSipProfiles()
251 telecomManager.enablePhoneAccount(phoneAccount.getAccountHandle(), true); in startSipProfiles()
/packages/services/Telephony/src/com/android/phone/
DShortcutViewUtils.java226 TelecomManager telecomManager = context.getSystemService(TelecomManager.class); in pickPreferredPhone() local
227 PhoneAccountHandle defaultHandle = telecomManager.getDefaultOutgoingPhoneAccount( in pickPreferredPhone()
231 telecomManager, promotedLists); in pickPreferredPhone()
242 List<PhoneAccountHandle> allHandles = telecomManager.getCallCapablePhoneAccounts(); in pickPreferredPhone()
245 PhoneInfo phone = loadPhoneInfo(context, handle, telephonyManager, telecomManager, in pickPreferredPhone()
281 @NonNull TelecomManager telecomManager, in loadPhoneInfo() argument
288 PhoneAccount phoneAccount = telecomManager.getPhoneAccount(handle); in loadPhoneInfo()
/packages/apps/Settings/src/com/android/settings/sim/
DSimDialogActivity.java159 final TelecomManager telecomManager = getSystemService(TelecomManager.class); in setDefaultCallsSubId() local
160 telecomManager.setUserSelectedOutgoingPhoneAccount(phoneAccount); in setDefaultCallsSubId()
175 final TelecomManager telecomManager = getSystemService(TelecomManager.class); in subscriptionIdToPhoneAccountHandle() local
178 for (PhoneAccountHandle handle : telecomManager.getCallCapablePhoneAccounts()) { in subscriptionIdToPhoneAccountHandle()
DSimSettings.java199 final TelecomManager telecomManager = TelecomManager.from(mContext); in updateCallValues() local
201 telecomManager.getUserSelectedOutgoingPhoneAccount(); in updateCallValues()
203 telecomManager.getCallCapablePhoneAccounts(); in updateCallValues()
208 : (String)telecomManager.getPhoneAccount(phoneAccount).getLabel()); in updateCallValues()
DCallsSimListDialogFragment.java40 final TelecomManager telecomManager = context.getSystemService(TelecomManager.class); in getCurrentSubscriptions() local
43 telecomManager.getCallCapablePhoneAccounts(); in getCurrentSubscriptions()
/packages/apps/Contacts/src/com/android/contacts/compat/telecom/
DTelecomManagerCompat.java38 @Nullable TelecomManager telecomManager, @Nullable Intent intent) { in placeCall() argument
39 if (activity == null || telecomManager == null || intent == null) { in placeCall()
43 telecomManager.placeCall(intent.getData(), intent.getExtras()); in placeCall()
/packages/apps/Dialer/java/com/android/contacts/common/compat/telecom/
DTelecomManagerCompat.java48 public static PhoneAccountHandle getSimCallManager(TelecomManager telecomManager) { in getSimCallManager() argument
49 if (telecomManager != null) { in getSimCallManager()
50 return telecomManager.getSimCallManager(); in getSimCallManager()
/packages/services/Telecomm/src/com/android/server/telecom/components/
DAppUninstallBroadcastReceiver.java77 final TelecomManager telecomManager = TelecomManager.from(context); in handlePackageRemoved() local
78 if (telecomManager != null) { in handlePackageRemoved()
79 telecomManager.clearAccountsForPackage(packageName); in handlePackageRemoved()
/packages/apps/Dialer/java/com/android/dialer/notification/
DVoicemailChannelUtils.java149 TelecomManager telecomManager = context.getSystemService(TelecomManager.class); in migrateGlobalVoicemailSoundSettings() local
151 telecomManager.getDefaultOutgoingPhoneAccount(PhoneAccount.SCHEME_TEL); in migrateGlobalVoicemailSoundSettings()
170 TelecomManager telecomManager = context.getSystemService(TelecomManager.class); in getAllEligableAccounts() local
171 for (PhoneAccountHandle handle : telecomManager.getCallCapablePhoneAccounts()) { in getAllEligableAccounts()
/packages/apps/Dialer/java/com/android/dialer/app/settings/
DPhoneAccountSelectionFragment.java110 TelecomManager telecomManager = getContext().getSystemService(TelecomManager.class); in onResume() local
112 List<PhoneAccountHandle> accountHandles = telecomManager.getCallCapablePhoneAccounts(); in onResume()
116 PhoneAccount account = telecomManager.getPhoneAccount(handle); in onResume()
DDialerSettingsActivity.java238 TelecomManager telecomManager = getSystemService(TelecomManager.class); in getSoleSimAccount() local
240 for (PhoneAccountHandle phoneAccountHandle : telecomManager.getCallCapablePhoneAccounts()) { in getSoleSimAccount()
241 PhoneAccount phoneAccount = telecomManager.getPhoneAccount(phoneAccountHandle); in getSoleSimAccount()
/packages/services/Telephony/src/com/android/phone/vvm/
DCarrierVvmPackageInstalledReceiver.java75 TelecomManager telecomManager = context.getSystemService(TelecomManager.class); in onReceive() local
76 String systemDialer = telecomManager.getSystemDialerPackage(); in onReceive()
78 for (PhoneAccountHandle phoneAccountHandle : telecomManager.getCallCapablePhoneAccounts()) { in onReceive()
DRemoteVvmTaskManager.java141 TelecomManager telecomManager = context.getSystemService(TelecomManager.class); in getRemotePackage() local
143 packages.add(telecomManager.getDefaultDialerPackage()); in getRemotePackage()
159 packages.add(telecomManager.getSystemDialerPackage()); in getRemotePackage()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBasicCallTests.java160 TelecomManager telecomManager = (TelecomManager) mComponentContextFixture.getTestDouble() in testTelecomManagerAcceptRingingCall() local
162 telecomManager.acceptRingingCall(); in testTelecomManagerAcceptRingingCall()
188 TelecomManager telecomManager = (TelecomManager) mComponentContextFixture.getTestDouble() in testTelecomManagerAcceptRingingVideoCall() local
190 telecomManager.acceptRingingCall(); in testTelecomManagerAcceptRingingVideoCall()
216 TelecomManager telecomManager = (TelecomManager) mComponentContextFixture.getTestDouble() in testTelecomManagerAcceptRingingVideoCallAsAudio() local
218 telecomManager.acceptRingingCall(VideoProfile.STATE_AUDIO_ONLY); in testTelecomManagerAcceptRingingVideoCallAsAudio()
245 TelecomManager telecomManager = (TelecomManager) mComponentContextFixture.getTestDouble() in testTelecomManagerAcceptRingingInvalidVideoState() local
247 telecomManager.acceptRingingCall(999 /* invalid videostate */); in testTelecomManagerAcceptRingingInvalidVideoState()
/packages/apps/Settings/src/com/android/settings/network/ims/
DVtQueryImsState.java98 final TelecomManager telecomManager = context.getSystemService(TelecomManager.class); in isTtyEnabled() local
99 return (telecomManager.getCurrentTtyMode() != TelecomManager.TTY_MODE_OFF); in isTtyEnabled()
DWifiCallingQueryImsState.java127 final TelecomManager telecomManager = context.getSystemService(TelecomManager.class); in isTtyEnabled() local
128 return (telecomManager.getCurrentTtyMode() != TelecomManager.TTY_MODE_OFF); in isTtyEnabled()
DVolteQueryImsState.java121 final TelecomManager telecomManager = context.getSystemService(TelecomManager.class); in isTtyEnabled() local
122 return (telecomManager.getCurrentTtyMode() != TelecomManager.TTY_MODE_OFF); in isTtyEnabled()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/
DDialerRoleBehavior.java53 TelecomManager telecomManager = context.getSystemService(TelecomManager.class); in prepareApplicationPreferenceAsUser() local
54 String systemPackageName = telecomManager.getSystemDialerPackage(); in prepareApplicationPreferenceAsUser()
/packages/apps/Dialer/java/com/android/dialer/commandline/impl/
DCallCommand.java69 TelecomManager telecomManager = appContext.getSystemService(TelecomManager.class); in run() local
71 telecomManager.getDefaultOutgoingPhoneAccount(PhoneAccount.SCHEME_TEL); in run()
/packages/apps/Dialer/java/com/android/dialer/telecom/
DTelecomUtil.java318 TelecomManager telecomManager = context.getSystemService(TelecomManager.class); in getOtherAccount() local
319 for (PhoneAccountHandle phoneAccountHandle : telecomManager.getCallCapablePhoneAccounts()) { in getOtherAccount()
320 PhoneAccount phoneAccount = telecomManager.getPhoneAccount(phoneAccountHandle); in getOtherAccount()
/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/voicemail/
DVoicemailDataSource.java74 TelecomManager telecomManager = appContext.getSystemService(TelecomManager.class); in fill()
89 if (telecomManager.isVoiceMailNumber( in fill()

12