Home
last modified time | relevance | path

Searched refs:telecomManager (Results 1 – 25 of 38) 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()
DTestDialerActivity.java95 final TelecomManager telecomManager = in placeCall() local
97 telecomManager.placeCall(Uri.fromParts(PhoneAccount.SCHEME_TEL, in placeCall()
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipAccountRegistry.java129 TelecomManager telecomManager = TelecomManager.from(context); in verifyAndPurgeInvalidPhoneAccounts() local
131 List<PhoneAccountHandle> accountHandles = telecomManager.getPhoneAccountsSupportingScheme( in verifyAndPurgeInvalidPhoneAccounts()
139 telecomManager.unregisterPhoneAccount(accountHandle); in verifyAndPurgeInvalidPhoneAccounts()
238 TelecomManager telecomManager = TelecomManager.from(context); in startSipProfiles() local
248 telecomManager.registerPhoneAccount(phoneAccount); in startSipProfiles()
250 telecomManager.enablePhoneAccount(phoneAccount.getAccountHandle(), true); in startSipProfiles()
/packages/services/Telephony/src/com/android/phone/
DShortcutViewUtils.java224 TelecomManager telecomManager = context.getSystemService(TelecomManager.class); in pickPreferredPhone() local
225 PhoneAccountHandle defaultHandle = telecomManager.getDefaultOutgoingPhoneAccount( in pickPreferredPhone()
228 PhoneInfo phone = loadPhoneInfo(defaultHandle, telephonyManager, telecomManager, in pickPreferredPhone()
240 List<PhoneAccountHandle> allHandles = telecomManager.getCallCapablePhoneAccounts(); in pickPreferredPhone()
243 PhoneInfo phone = loadPhoneInfo(handle, telephonyManager, telecomManager, in pickPreferredPhone()
276 @NonNull TelephonyManager telephonyManager, @NonNull TelecomManager telecomManager, in loadPhoneInfo() argument
283 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()
179 final PhoneAccount phoneAccount = telecomManager.getPhoneAccount(handle); in subscriptionIdToPhoneAccountHandle()
DCallsSimListDialogFragment.java40 final TelecomManager telecomManager = context.getSystemService(TelecomManager.class); in getCurrentSubscriptions() local
43 telecomManager.getCallCapablePhoneAccounts(); in getCurrentSubscriptions()
50 final PhoneAccount phoneAccount = telecomManager.getPhoneAccount(handle); in getCurrentSubscriptions()
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/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.java46 public static PhoneAccountHandle getSimCallManager(TelecomManager telecomManager) { in getSimCallManager() argument
47 if (telecomManager != null) { in getSimCallManager()
48 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.java139 TelecomManager telecomManager = context.getSystemService(TelecomManager.class); in getRemotePackage() local
141 packages.add(telecomManager.getDefaultDialerPackage()); in getRemotePackage()
157 packages.add(telecomManager.getSystemDialerPackage()); in getRemotePackage()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBasicCallTests.java162 TelecomManager telecomManager = (TelecomManager) mComponentContextFixture.getTestDouble() in testTelecomManagerAcceptRingingCall() local
164 telecomManager.acceptRingingCall(); in testTelecomManagerAcceptRingingCall()
190 TelecomManager telecomManager = (TelecomManager) mComponentContextFixture.getTestDouble() in testTelecomManagerAcceptRingingVideoCall() local
192 telecomManager.acceptRingingCall(); in testTelecomManagerAcceptRingingVideoCall()
218 TelecomManager telecomManager = (TelecomManager) mComponentContextFixture.getTestDouble() in testTelecomManagerAcceptRingingVideoCallAsAudio() local
220 telecomManager.acceptRingingCall(VideoProfile.STATE_AUDIO_ONLY); in testTelecomManagerAcceptRingingVideoCallAsAudio()
247 TelecomManager telecomManager = (TelecomManager) mComponentContextFixture.getTestDouble() in testTelecomManagerAcceptRingingInvalidVideoState() local
249 telecomManager.acceptRingingCall(999 /* invalid videostate */); in testTelecomManagerAcceptRingingInvalidVideoState()
/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()
/packages/services/Telephony/src/com/android/phone/settings/
DAccountSelectionPreference.java70 TelecomManager telecomManager, in setModel() argument
84 PhoneAccount account = telecomManager.getPhoneAccount(mAccounts[i]); in setModel()
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/
DProjectionCallHandler.java61 ProjectionCallHandler(TelecomManager telecomManager, CarProjectionManager projectionManager) { in ProjectionCallHandler() argument
62 mTelecomManager = telecomManager; in ProjectionCallHandler()

12