/packages/services/Telecomm/src/com/android/server/telecom/ |
D | TelecomService.java | 224 public void setUserSelectedOutgoingPhoneAccount(PhoneAccountHandle accountHandle) { in setUserSelectedOutgoingPhoneAccount() argument 228 mPhoneAccountRegistrar.setUserSelectedOutgoingPhoneAccount(accountHandle); in setUserSelectedOutgoingPhoneAccount() 277 public PhoneAccount getPhoneAccount(PhoneAccountHandle accountHandle) { in getPhoneAccount() argument 279 if (!isVisibleToCaller(accountHandle)) { in getPhoneAccount() 280 Log.w(this, "%s is not visible for the calling user", accountHandle); in getPhoneAccount() 283 return mPhoneAccountRegistrar.getPhoneAccountInternal(accountHandle); in getPhoneAccount() 285 Log.e(this, e, "getPhoneAccount %s", accountHandle); in getPhoneAccount() 332 PhoneAccountHandle accountHandle = mPhoneAccountRegistrar.getSimCallManager(); in getSimCallManager() local 333 if (!isVisibleToCaller(accountHandle)) { in getSimCallManager() 334 Log.w(this, "%s is not visible for the calling user", accountHandle); in getSimCallManager() [all …]
|
D | PhoneAccountRegistrar.java | 137 public int getSubscriptionIdForPhoneAccount(PhoneAccountHandle accountHandle) { in getSubscriptionIdForPhoneAccount() argument 138 PhoneAccount account = getPhoneAccountInternal(accountHandle); in getSubscriptionIdForPhoneAccount() 141 || !TextUtils.isDigitsOnly(accountHandle.getId()) in getSubscriptionIdForPhoneAccount() 142 || !isVisibleForUser(accountHandle)) { in getSubscriptionIdForPhoneAccount() 147 return Integer.parseInt(accountHandle.getId()); in getSubscriptionIdForPhoneAccount() 209 public void setUserSelectedOutgoingPhoneAccount(PhoneAccountHandle accountHandle) { in setUserSelectedOutgoingPhoneAccount() argument 210 if (accountHandle == null) { in setUserSelectedOutgoingPhoneAccount() 216 if (Objects.equals(accountHandle, m.getAccountHandle())) { in setUserSelectedOutgoingPhoneAccount() 224 accountHandle); in setUserSelectedOutgoingPhoneAccount() 228 if (!getPhoneAccountInternal(accountHandle).hasCapabilities( in setUserSelectedOutgoingPhoneAccount() [all …]
|
D | CallLogManager.java | 58 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 143 final PhoneAccountHandle accountHandle = call.getTargetPhoneAccount(); in logCall() local 148 callLogType, callFeatures, accountHandle, creationTime, age, null); in logCall() local 169 PhoneAccountHandle accountHandle, in logCall() argument 191 callType, features, accountHandle, start, duration, dataUsage); in logCall() 260 c.callType, c.features, c.accountHandle, c.timestamp, c.durationInSec, in doInBackground()
|
D | Call.java | 597 void setConnectionManagerPhoneAccount(PhoneAccountHandle accountHandle) { in setConnectionManagerPhoneAccount() argument 598 if (!Objects.equals(mConnectionManagerPhoneAccountHandle, accountHandle)) { in setConnectionManagerPhoneAccount() 599 mConnectionManagerPhoneAccountHandle = accountHandle; in setConnectionManagerPhoneAccount() 611 void setTargetPhoneAccount(PhoneAccountHandle accountHandle) { in setTargetPhoneAccount() argument 612 if (!Objects.equals(mTargetPhoneAccountHandle, accountHandle)) { in setTargetPhoneAccount() 613 mTargetPhoneAccountHandle = accountHandle; in setTargetPhoneAccount()
|
D | InCallAdapter.java | 286 public void phoneAccountSelected(String callId, PhoneAccountHandle accountHandle, in phoneAccountSelected() argument 291 args.arg2 = accountHandle; in phoneAccountSelected()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/ |
D | CallUtil.java | 62 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/apps/Dialer/src/com/android/dialer/calllog/ |
D | PhoneAccountUtils.java | 42 for (PhoneAccountHandle accountHandle : accountHandles) { in getSubscriptionPhoneAccounts() 43 PhoneAccount account = telecomManager.getPhoneAccount(accountHandle); in getSubscriptionPhoneAccounts() 45 subscriptionAccountHandles.add(accountHandle); in getSubscriptionPhoneAccounts() 65 public static String getAccountLabel(Context context, PhoneAccountHandle accountHandle) { in getAccountLabel() argument 66 PhoneAccount account = getAccountOrNull(context, accountHandle); in getAccountLabel() 76 public static int getAccountColor(Context context, PhoneAccountHandle accountHandle) { in getAccountColor() argument 79 final PhoneAccount account = telecomManager.getPhoneAccount(accountHandle); in getAccountColor() 91 PhoneAccountHandle accountHandle) { in getAccountOrNull() argument 94 final PhoneAccount account = telecomManager.getPhoneAccount(accountHandle); in getAccountOrNull()
|
D | PhoneNumberUtilsWrapper.java | 53 public boolean isVoicemailNumber(PhoneAccountHandle accountHandle, in isVoicemailNumber() argument 57 return number!= null && telecomManager.isVoiceMailNumber(accountHandle, number.toString()); in isVoicemailNumber() 68 public boolean isUnknownNumberThatCanBeLookedUp(PhoneAccountHandle accountHandle, in isUnknownNumberThatCanBeLookedUp() argument 82 if (isVoicemailNumber(accountHandle, number)) { in isUnknownNumberThatCanBeLookedUp()
|
D | PhoneNumberDisplayHelper.java | 49 /* package */ CharSequence getDisplayName(PhoneAccountHandle accountHandle, CharSequence number, in getDisplayName() argument 60 if (mPhoneNumberUtilsWrapper.isVoicemailNumber(accountHandle, number)) { in getDisplayName() 76 public CharSequence getDisplayNumber(PhoneAccountHandle accountHandle, CharSequence number, in getDisplayNumber() argument 79 final CharSequence displayName = getDisplayName(accountHandle, number, presentation); in getDisplayNumber()
|
D | IntentProvider.java | 45 final PhoneAccountHandle accountHandle) { in getReturnCallIntentProvider() argument 49 return CallUtil.getCallIntent(number, accountHandle); in getReturnCallIntentProvider() 59 final PhoneAccountHandle accountHandle) { 63 return CallUtil.getVideoCallIntent(number, accountHandle);
|
D | CallLogAdapter.java | 653 final PhoneAccountHandle accountHandle = PhoneAccountUtils.getAccount( in bindView() local 681 views.accountHandle = accountHandle; in bindView() 689 mPhoneNumberUtilsWrapper.isVoicemailNumber(accountHandle, number); in bindView() 789 geocode, callTypes, date, duration, accountHandle, features, dataUsage, in bindView() 794 sourceType, accountHandle, features, dataUsage, transcription); in bindView() 812 nameForDefaultImage = mPhoneNumberHelper.getDisplayNumber(details.accountHandle, in bindView() 1006 mPhoneNumberUtilsWrapper.isVoicemailNumber(views.accountHandle, views.number); in bindActionButtons()
|
D | CallLogListItemHelper.java | 189 String accountLabel = PhoneAccountUtils.getAccountLabel(context, details.accountHandle); in getCallDescription() 257 recipient = mPhoneNumberHelper.getDisplayNumber(details.accountHandle, in getNameOrNumber()
|
D | DefaultVoicemailNotifier.java | 123 PhoneAccountHandle accountHandle = PhoneAccountUtils.getAccount( in updateNotification() local 126 name = mPhoneNumberHelper.getDisplayName(accountHandle, newCall.number, in updateNotification()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/testapps/ |
D | TestConnectionService.java | 301 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/ |
D | PhoneCallDetails.java | 74 public final PhoneAccountHandle accountHandle; field in PhoneCallDetails 104 PhoneAccountHandle accountHandle, int features, Long dataUsage, String transcription) { in PhoneCallDetails() argument 106 duration, "", 0, "", null, null, 0, accountHandle, features, dataUsage, in PhoneCallDetails() 115 int sourceType, PhoneAccountHandle accountHandle, int features, Long dataUsage, in PhoneCallDetails() argument 131 this.accountHandle = accountHandle; in PhoneCallDetails()
|
D | CallDetailActivity.java | 421 final PhoneAccountHandle accountHandle = firstDetails.accountHandle; in updateData() local 428 phoneUtils.isVoicemailNumber(accountHandle, mNumber); in updateData() 435 firstDetails.accountHandle, in updateData() 455 String accountLabel = PhoneAccountUtils.getAccountLabel(context, accountHandle); in updateData() 486 firstDetails.accountHandle, in updateData() 543 final PhoneAccountHandle accountHandle = PhoneAccountUtils.getAccount( in getPhoneCallDetailsForUri() local 563 && !new PhoneNumberUtilsWrapper(this).isVoicemailNumber(accountHandle, number) in getPhoneCallDetailsForUri() 567 formattedNumber = mPhoneNumberHelper.getDisplayNumber(accountHandle, number, in getPhoneCallDetailsForUri() 593 accountHandle, features, dataUsage, transcription); in getPhoneCallDetailsForUri()
|
D | PhoneCallDetailsHelper.java | 112 String accountLabel = PhoneAccountUtils.getAccountLabel(mContext, details.accountHandle); in setPhoneCallDetails() 117 int color = PhoneAccountUtils.getAccountColor(mContext, details.accountHandle); in setPhoneCallDetails() 130 mPhoneNumberHelper.getDisplayNumber(details.accountHandle, details.number, in setPhoneCallDetails() 187 && !mPhoneNumberUtilsWrapper.isVoicemailNumber(details.accountHandle, in getCallTypeOrLocation() 199 numberFormattedLabel = mPhoneNumberHelper.getDisplayNumber(details.accountHandle, in getCallTypeOrLocation() 223 mPhoneNumberHelper.getDisplayNumber(details.accountHandle, details.number, in setCallDetailsHeader()
|
/packages/apps/InCallUI/src/com/android/incallui/ |
D | CallCardPresenter.java | 280 PhoneAccountHandle accountHandle = mPrimary.getAccountHandle(); in getSubscriptionNumber() local 281 if (accountHandle != null) { in getSubscriptionNumber() 283 PhoneAccount account = mgr.getPhoneAccount(accountHandle); in getSubscriptionNumber() 554 PhoneAccountHandle accountHandle = call.getAccountHandle(); in getAccountForCall() local 555 if (accountHandle == null) { in getAccountForCall() 558 return InCallPresenter.getInstance().getTelecomManager().getPhoneAccount(accountHandle); in getAccountForCall()
|
D | TelecomAdapter.java | 233 void phoneAccountSelected(String callId, PhoneAccountHandle accountHandle, boolean setDefault) { in phoneAccountSelected() argument 235 getTelecommCallById(callId).phoneAccountSelected(accountHandle, setDefault); in phoneAccountSelected() 240 if (accountHandle == null) { in phoneAccountSelected()
|
D | InCallPresenter.java | 555 public void handleAccountSelection(PhoneAccountHandle accountHandle, boolean setDefault) { in handleAccountSelection() argument 559 TelecomAdapter.getInstance().phoneAccountSelected(callId, accountHandle, setDefault); in handleAccountSelection() 1186 final PhoneAccountHandle accountHandle = in maybeStartRevealAnimation() local 1188 final MaterialPalette colors = getColorsFromPhoneAccountHandle(accountHandle); in maybeStartRevealAnimation()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelephonyConnectionService.java | 395 private Phone getPhoneForAccount(PhoneAccountHandle accountHandle, boolean isEmergency) { in getPhoneForAccount() argument 396 if (Objects.equals(mExpectedComponentName, accountHandle.getComponentName())) { in getPhoneForAccount() 397 if (accountHandle.getId() != null) { in getPhoneForAccount() 400 Integer.parseInt(accountHandle.getId())); in getPhoneForAccount() 403 Log.w(this, "Could not get subId from account: " + accountHandle.getId()); in getPhoneForAccount()
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
D | SipBroadcastReceiver.java | 61 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()
|
D | SipConnectionService.java | 78 PhoneAccountHandle accountHandle = request.getAccountHandle(); in onCreateOutgoingConnection() local 80 if (!Objects.equals(accountHandle.getComponentName(), sipComponentName)) { in onCreateOutgoingConnection() 113 String profileUri = accountHandle.getId(); in onCreateOutgoingConnection()
|
D | SipUtil.java | 109 PhoneAccountHandle accountHandle = in createPhoneAccount() local 118 PhoneAccount.Builder builder = PhoneAccount.builder(accountHandle, profile.getDisplayName()) in createPhoneAccount()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/ |
D | SelectPhoneAccountDialogFragment.java | 190 PhoneAccountHandle accountHandle = getItem(position); in getView() local 191 PhoneAccount account = mTelecomManager.getPhoneAccount(accountHandle); in getView()
|