Home
last modified time | relevance | path

Searched refs:accountHandle (Results 1 – 18 of 18) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/
DCallUtil.java62 public static Intent getCallIntent(String number, PhoneAccountHandle accountHandle) { in getCallIntent() argument
63 return getCallIntent(number, null, accountHandle); in getCallIntent()
69 public static Intent getCallIntent(Uri uri, PhoneAccountHandle accountHandle) { in getCallIntent() argument
70 return getCallIntent(uri, null, accountHandle); in getCallIntent()
77 String number, String callOrigin, PhoneAccountHandle accountHandle) { in getCallIntent() argument
78 return getCallIntent(getCallUri(number), callOrigin, accountHandle); in getCallIntent()
87 Uri uri, String callOrigin, PhoneAccountHandle accountHandle) { in getCallIntent() argument
88 return getCallIntent(uri, callOrigin, accountHandle, in getCallIntent()
105 String number, String callOrigin, PhoneAccountHandle accountHandle) { in getVideoCallIntent() argument
106 return getCallIntent(getCallUri(number), callOrigin, accountHandle, in getVideoCallIntent()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DTelecomServiceImpl.java178 public void setUserSelectedOutgoingPhoneAccount(PhoneAccountHandle accountHandle) { in setUserSelectedOutgoingPhoneAccount() argument
182 mPhoneAccountRegistrar.setUserSelectedOutgoingPhoneAccount(accountHandle); in setUserSelectedOutgoingPhoneAccount()
220 public PhoneAccount getPhoneAccount(PhoneAccountHandle accountHandle) { in getPhoneAccount() argument
222 return mPhoneAccountRegistrar.getPhoneAccount(accountHandle); in getPhoneAccount()
224 Log.e(this, e, "getPhoneAccount %s", accountHandle); in getPhoneAccount()
270 public void setSimCallManager(PhoneAccountHandle accountHandle) { in setSimCallManager() argument
274 mPhoneAccountRegistrar.setSimCallManager(accountHandle); in setSimCallManager()
312 public void unregisterPhoneAccount(PhoneAccountHandle accountHandle) { in unregisterPhoneAccount() argument
315 accountHandle.getComponentName().getPackageName()); in unregisterPhoneAccount()
316 mPhoneAccountRegistrar.unregisterPhoneAccount(accountHandle); in unregisterPhoneAccount()
[all …]
DCallLogManager.java58 int presentation, int callType, int features, PhoneAccountHandle accountHandle, in AddCallArgs() argument
66 this.accountHandle = accountHandle; in AddCallArgs()
79 public final PhoneAccountHandle accountHandle; field in CallLogManager.AddCallArgs
144 final PhoneAccountHandle accountHandle = call.getTargetPhoneAccount(); in logCall() local
149 accountHandle, creationTime, age, null); in logCall() local
170 PhoneAccountHandle accountHandle, in logCall() argument
192 callType, features, accountHandle, start, duration, dataUsage); in logCall()
276 c.callType, c.features, c.accountHandle, c.timestamp, c.durationInSec, in doInBackground()
DPhoneAccountRegistrar.java161 public void setUserSelectedOutgoingPhoneAccount(PhoneAccountHandle accountHandle) { in setUserSelectedOutgoingPhoneAccount() argument
162 if (accountHandle == null) { in setUserSelectedOutgoingPhoneAccount()
168 if (Objects.equals(accountHandle, m.getAccountHandle())) { in setUserSelectedOutgoingPhoneAccount()
176 accountHandle); in setUserSelectedOutgoingPhoneAccount()
180 if (!getPhoneAccount(accountHandle).hasCapabilities( in setUserSelectedOutgoingPhoneAccount()
183 accountHandle); in setUserSelectedOutgoingPhoneAccount()
187 mState.defaultOutgoing = accountHandle; in setUserSelectedOutgoingPhoneAccount()
378 public void unregisterPhoneAccount(PhoneAccountHandle accountHandle) { in unregisterPhoneAccount() argument
380 if (Objects.equals(accountHandle, mState.accounts.get(i).getAccountHandle())) { in unregisterPhoneAccount()
810 PhoneAccountHandle accountHandle = null;
[all …]
DCall.java503 void setConnectionManagerPhoneAccount(PhoneAccountHandle accountHandle) { in setConnectionManagerPhoneAccount() argument
504 if (!Objects.equals(mConnectionManagerPhoneAccountHandle, accountHandle)) { in setConnectionManagerPhoneAccount()
505 mConnectionManagerPhoneAccountHandle = accountHandle; in setConnectionManagerPhoneAccount()
517 void setTargetPhoneAccount(PhoneAccountHandle accountHandle) { in setTargetPhoneAccount() argument
518 if (!Objects.equals(mTargetPhoneAccountHandle, accountHandle)) { in setTargetPhoneAccount()
519 mTargetPhoneAccountHandle = accountHandle; in setTargetPhoneAccount()
DInCallAdapter.java287 public void phoneAccountSelected(String callId, PhoneAccountHandle accountHandle) { in phoneAccountSelected() argument
291 args.arg2 = accountHandle; in phoneAccountSelected()
/packages/services/Telecomm/tests/src/com/android/server/telecom/testapps/
DTestConnectionService.java301 PhoneAccountHandle accountHandle = request.getAccountHandle(); in onCreateIncomingConnection() local
304 if (accountHandle != null && componentName.equals(accountHandle.getComponentName())) { in onCreateIncomingConnection()
341 "Invalid inputs: " + accountHandle + " " + componentName)); in onCreateIncomingConnection()
348 PhoneAccountHandle accountHandle = request.getAccountHandle(); in onCreateUnknownConnection() local
350 if (accountHandle != null && componentName.equals(accountHandle.getComponentName())) { in onCreateUnknownConnection()
366 "Invalid inputs: " + accountHandle + " " + componentName)); in onCreateUnknownConnection()
/packages/apps/Dialer/src/com/android/dialer/calllog/
DIntentProvider.java45 final PhoneAccountHandle accountHandle) { in getReturnCallIntentProvider() argument
49 return CallUtil.getCallIntent(number, accountHandle); in getReturnCallIntentProvider()
59 final PhoneAccountHandle accountHandle) {
63 return CallUtil.getVideoCallIntent(number, accountHandle);
DCallLogAdapter.java641 final PhoneAccountHandle accountHandle = PhoneAccountUtils.getAccount( in bindView() local
645 accountHandle); in bindView()
672 views.accountHandle = accountHandle; in bindView()
DCallLogListItemViews.java90 public PhoneAccountHandle accountHandle; field in CallLogListItemViews
/packages/apps/InCallUI/src/com/android/incallui/
DCallCardPresenter.java273 PhoneAccountHandle accountHandle = mPrimary.getAccountHandle(); in getSubscriptionNumber() local
274 if (accountHandle != null) { in getSubscriptionNumber()
277 PhoneAccount account = mgr.getPhoneAccount(accountHandle); in getSubscriptionNumber()
513 PhoneAccountHandle accountHandle = call.getAccountHandle(); in getAccountForCall() local
514 if (accountHandle == null) { in getAccountForCall()
517 return getTelecomManager().getPhoneAccount(accountHandle); in getAccountForCall()
DTelecomAdapter.java235 void phoneAccountSelected(String callId, PhoneAccountHandle accountHandle) { in phoneAccountSelected() argument
237 getTelecommCallById(callId).phoneAccountSelected(accountHandle); in phoneAccountSelected()
242 if (accountHandle == null) { in phoneAccountSelected()
DSelectPhoneAccountDialogFragment.java129 PhoneAccountHandle accountHandle = getItem(position); in getView() local
130 PhoneAccount account = mTelecomManager.getPhoneAccount(accountHandle); in getView()
DInCallPresenter.java464 public void handleAccountSelection(PhoneAccountHandle accountHandle) { in handleAccountSelection() argument
468 TelecomAdapter.getInstance().phoneAccountSelected(callId, accountHandle); in handleAccountSelection()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnectionService.java377 private Phone getPhoneForAccount(PhoneAccountHandle accountHandle, boolean isEmergency) { in getPhoneForAccount() argument
382 if (Objects.equals(mExpectedComponentName, accountHandle.getComponentName())) { in getPhoneForAccount()
383 if (accountHandle.getId() != null) { in getPhoneForAccount()
386 Long.parseLong(accountHandle.getId())); in getPhoneForAccount()
389 Log.w(this, "Could not get subId from account: " + accountHandle.getId()); in getPhoneForAccount()
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipBroadcastReceiver.java61 PhoneAccountHandle accountHandle = intent.getParcelableExtra(SipUtil.EXTRA_PHONE_ACCOUNT); in takeCall() local
62 if (accountHandle != null) { in takeCall()
65 TelecomManager.from(context).addNewIncomingCall(accountHandle, extras); in takeCall()
DSipConnectionService.java78 PhoneAccountHandle accountHandle = request.getAccountHandle(); in onCreateOutgoingConnection() local
80 if (!Objects.equals(accountHandle.getComponentName(), sipComponentName)) { in onCreateOutgoingConnection()
113 String profileUri = accountHandle.getId(); in onCreateOutgoingConnection()
DSipUtil.java108 PhoneAccountHandle accountHandle = in createPhoneAccount() local
117 PhoneAccount.Builder builder = PhoneAccount.builder(accountHandle, profile.getDisplayName()) in createPhoneAccount()