/packages/apps/Dialer/java/com/android/dialer/app/calllog/calllogcache/ |
H A D | CallLogCacheLollipopMr1.java | 56 PhoneAccountHandle accountHandle, @Nullable CharSequence number) { 60 return TelecomUtil.isVoicemailNumber(mContext, accountHandle, number.toString()); 64 public String getAccountLabel(PhoneAccountHandle accountHandle) { argument 65 if (mPhoneAccountLabelCache.containsKey(accountHandle)) { 66 return mPhoneAccountLabelCache.get(accountHandle); 68 String label = PhoneAccountUtils.getAccountLabel(mContext, accountHandle); 69 mPhoneAccountLabelCache.put(accountHandle, label); 75 public int getAccountColor(PhoneAccountHandle accountHandle) { argument 76 if (mPhoneAccountColorCache.containsKey(accountHandle)) { 77 return mPhoneAccountColorCache.get(accountHandle); 55 isVoicemailNumber( PhoneAccountHandle accountHandle, @Nullable CharSequence number) argument 86 doesAccountSupportCallSubject(PhoneAccountHandle accountHandle) argument [all...] |
H A D | CallLogCache.java | 70 PhoneAccountHandle accountHandle, @Nullable CharSequence number) { 74 return TelecomUtil.isVoicemailNumber(mContext, accountHandle, number.toString()); 90 public synchronized String getAccountLabel(PhoneAccountHandle accountHandle) { argument 91 if (mPhoneAccountLabelCache.containsKey(accountHandle)) { 92 return mPhoneAccountLabelCache.get(accountHandle); 94 String label = PhoneAccountUtils.getAccountLabel(mContext, accountHandle); 95 mPhoneAccountLabelCache.put(accountHandle, label); 101 public synchronized int getAccountColor(PhoneAccountHandle accountHandle) { argument 102 if (mPhoneAccountColorCache.containsKey(accountHandle)) { 103 return mPhoneAccountColorCache.get(accountHandle); 69 isVoicemailNumber( PhoneAccountHandle accountHandle, @Nullable CharSequence number) argument 118 doesAccountSupportCallSubject(PhoneAccountHandle accountHandle) argument [all...] |
/packages/apps/Contacts/src/com/android/contacts/compat/ |
H A D | TelephonyManagerSdkCompat.java | 28 PhoneAccountHandle accountHandle) { 30 ? telephonyManager.getVoicemailRingtoneUri(accountHandle) : null; 34 PhoneAccountHandle accountHandle) { 36 ? telephonyManager.isVoicemailVibrationEnabled(accountHandle) : false; 27 getVoicemailRingtoneUri(TelephonyManager telephonyManager, PhoneAccountHandle accountHandle) argument 33 isVoicemailVibrationEnabled(TelephonyManager telephonyManager, PhoneAccountHandle accountHandle) argument
|
H A D | TelephonyManagerCompat.java | 140 * @param accountHandle The handle for the {@link android.telecom.PhoneAccount} for which to 147 PhoneAccountHandle accountHandle) { 152 .getVoicemailRingtoneUri(telephonyManager, accountHandle); 159 * @param accountHandle The handle for the {@link android.telecom.PhoneAccount} for which to 164 PhoneAccountHandle accountHandle) { 169 .isVoicemailVibrationEnabled(telephonyManager, accountHandle); 146 getVoicemailRingtoneUri(TelephonyManager telephonyManager, PhoneAccountHandle accountHandle) argument 163 isVoicemailVibrationEnabled(TelephonyManager telephonyManager, PhoneAccountHandle accountHandle) argument
|
/packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
H A D | PhoneAccountUtils.java | 37 for (PhoneAccountHandle accountHandle : accountHandles) { 38 PhoneAccount account = TelecomUtil.getPhoneAccount(context, accountHandle); 40 subscriptionAccountHandles.add(accountHandle); 63 Context context, @Nullable PhoneAccountHandle accountHandle) { 64 PhoneAccount account = getAccountOrNull(context, accountHandle); 72 public static int getAccountColor(Context context, @Nullable PhoneAccountHandle accountHandle) { argument 73 final PhoneAccount account = TelecomUtil.getPhoneAccount(context, accountHandle); 86 Context context, @Nullable PhoneAccountHandle accountHandle) { 87 final PhoneAccount account = TelecomUtil.getPhoneAccount(context, accountHandle); 98 Context context, @Nullable PhoneAccountHandle accountHandle) { 62 getAccountLabel( Context context, @Nullable PhoneAccountHandle accountHandle) argument 85 getAccountSupportsCallSubject( Context context, @Nullable PhoneAccountHandle accountHandle) argument 97 getAccountOrNull( Context context, @Nullable PhoneAccountHandle accountHandle) argument [all...] |
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
H A D | SipPhoneAccountSettingsActivity.java | 44 PhoneAccountHandle accountHandle = (PhoneAccountHandle) 46 Log.i(TAG, "" + accountHandle); 48 if (accountHandle != null) { 50 String profileName = SipUtil.getSipProfileNameFromPhoneAccount(accountHandle);
|
H A D | SipIncomingCallReceiver.java | 60 PhoneAccountHandle accountHandle = null; 62 accountHandle = intent.getParcelableExtra(SipUtil.EXTRA_PHONE_ACCOUNT); 67 if (accountHandle != null) { 71 PhoneAccount phoneAccount = tm.getPhoneAccount(accountHandle); 73 tm.addNewIncomingCall(accountHandle, extras);
|
H A D | SipAccountRegistry.java | 134 for (PhoneAccountHandle accountHandle : accountHandles) { 135 String profileName = SipUtil.getSipProfileNameFromPhoneAccount(accountHandle); 138 log("verifyAndPurgeInvalidPhoneAccounts, deleting account: " + accountHandle); 139 telecomManager.unregisterPhoneAccount(accountHandle);
|
H A D | SipConnectionService.java | 77 PhoneAccountHandle accountHandle = request.getAccountHandle(); 79 if (!Objects.equals(accountHandle.getComponentName(), sipComponentName)) { 112 String profileName = accountHandle.getId();
|
/packages/apps/Dialer/java/com/android/contacts/common/compat/ |
H A D | TelephonyManagerCompat.java | 94 * @param accountHandle The handle for the {@link android.telecom.PhoneAccount} for which to 101 TelephonyManager telephonyManager, PhoneAccountHandle accountHandle) { 105 return telephonyManager.getVoicemailRingtoneUri(accountHandle); 112 * @param accountHandle The handle for the {@link android.telecom.PhoneAccount} for which to 117 TelephonyManager telephonyManager, PhoneAccountHandle accountHandle) { 119 || telephonyManager.isVoicemailVibrationEnabled(accountHandle); 100 getVoicemailRingtoneUri( TelephonyManager telephonyManager, PhoneAccountHandle accountHandle) argument 116 isVoicemailVibrationEnabled( TelephonyManager telephonyManager, PhoneAccountHandle accountHandle) argument
|
/packages/apps/Dialer/java/com/android/dialer/util/ |
H A D | CallUtil.java | 81 for (PhoneAccountHandle accountHandle : accountHandles) { 82 PhoneAccount account = telecommMgr.getPhoneAccount(accountHandle); 147 for (PhoneAccountHandle accountHandle : accountHandles) { 148 PhoneAccount account = telecommMgr.getPhoneAccount(accountHandle);
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | CallLogManager.java | 76 int features, PhoneAccountHandle accountHandle, long creationDate, 87 this.accountHandle = accountHandle; 104 public final PhoneAccountHandle accountHandle; field in class:CallLogManager.AddCallArgs 221 PhoneAccountHandle accountHandle = call.getTargetPhoneAccount(); 222 if (emergencyAccountHandle.equals(accountHandle)) { 223 accountHandle = null; 234 call.getHandlePresentation(), callLogType, callFeatures, accountHandle, 263 PhoneAccountHandle accountHandle, 278 mPhoneAccountRegistrar.getSubscriptionIdForPhoneAccount(accountHandle)); 74 AddCallArgs(Context context, CallerInfo callerInfo, String number, String postDialDigits, String viaNumber, int presentation, int callType, int features, PhoneAccountHandle accountHandle, long creationDate, long durationInMillis, Long dataUsage, UserHandle initiatingUser, @Nullable LogCallCompletedListener logCallCompletedListener) argument 255 logCall( CallerInfo callerInfo, String number, String postDialDigits, String viaNumber, int presentation, int callType, int features, PhoneAccountHandle accountHandle, long start, long duration, Long dataUsage, boolean isEmergency, UserHandle initiatingUser, @Nullable LogCallCompletedListener logCallCompletedListener) argument [all...] |
H A D | TelecomServiceImpl.java | 129 public void setUserSelectedOutgoingPhoneAccount(PhoneAccountHandle accountHandle) { 138 accountHandle, callingUserHandle); 254 public PhoneAccount getPhoneAccount(PhoneAccountHandle accountHandle) { 265 .getPhoneAccount(accountHandle, callingUserHandle, 268 Log.e(this, e, "getPhoneAccount %s", accountHandle); 460 public void unregisterPhoneAccount(PhoneAccountHandle accountHandle) { 465 accountHandle.getComponentName().getPackageName()); 466 enforceUserHandleMatchesCaller(accountHandle); 469 mPhoneAccountRegistrar.unregisterPhoneAccount(accountHandle); 474 Log.e(this, e, "unregisterPhoneAccount %s", accountHandle); 1601 enforceUserHandleMatchesCaller(PhoneAccountHandle accountHandle) argument [all...] |
H A D | PhoneAccountRegistrar.java | 184 * @param accountHandle The handle for the phone account for which to retrieve the 188 public int getSubscriptionIdForPhoneAccount(PhoneAccountHandle accountHandle) { argument 189 PhoneAccount account = getPhoneAccountUnchecked(accountHandle); 307 public void setUserSelectedOutgoingPhoneAccount(PhoneAccountHandle accountHandle, argument 312 if (accountHandle == null) { 316 PhoneAccount account = getPhoneAccount(accountHandle, userHandle); 319 accountHandle); 325 accountHandle); 332 int subId = getSubscriptionIdForPhoneAccount(accountHandle); 337 .put(userHandle, new DefaultPhoneAccountHandle(userHandle, accountHandle, 345 isUserSelectedSmsPhoneAccount(PhoneAccountHandle accountHandle) argument 458 enablePhoneAccount(PhoneAccountHandle accountHandle, boolean isEnabled) argument 711 unregisterPhoneAccount(PhoneAccountHandle accountHandle) argument 748 isVoiceMailNumber(PhoneAccountHandle accountHandle, String number) argument [all...] |
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
H A D | IntentProvider.java | 51 final String number, final PhoneAccountHandle accountHandle) { 56 .setPhoneAccountHandle(accountHandle) 67 final String number, final PhoneAccountHandle accountHandle) { 72 .setPhoneAccountHandle(accountHandle) 50 getReturnCallIntentProvider( final String number, final PhoneAccountHandle accountHandle) argument 66 getReturnVideoCallIntentProvider( final String number, final PhoneAccountHandle accountHandle) argument
|
H A D | CallLogListItemViewHolder.java | 197 public PhoneAccountHandle accountHandle; field in class:CallLogListItemViewHolder 514 boolean isVoicemailNumber = mCallLogCache.isVoicemailNumber(accountHandle, number); 671 boolean isVoicemailNumber = mCallLogCache.isVoicemailNumber(accountHandle, number); 681 boolean supportsCallSubject = mCallLogCache.doesAccountSupportCallSubject(accountHandle); 700 return accountHandle != null 701 && accountHandle.getComponentName().equals(getLightbringer().getPhoneAccountComponentName()) 721 if (accountHandle == null) { 727 return accountHandle.getComponentName().equals(mDefaultPhoneAccountHandle.getComponentName()); 806 mCallLogCache.isVoicemailNumber(accountHandle, number), 836 accountHandle); [all...] |
/packages/apps/Dialer/java/com/android/incallui/disconnectdialog/ |
H A D | VideoCallNotAvailablePrompt.java | 68 private void makeVoiceCall(Context context, String number, PhoneAccountHandle accountHandle) { argument 72 .setPhoneAccountHandle(accountHandle)
|
/packages/apps/Dialer/java/com/android/voicemail/impl/ |
H A D | VvmPhoneStateListener.java | 39 public VvmPhoneStateListener(Context context, PhoneAccountHandle accountHandle) { argument 44 mPhoneAccount = accountHandle;
|
/packages/apps/Contacts/src/com/android/contacts/ |
H A D | CallUtil.java | 165 for (PhoneAccountHandle accountHandle : accountHandles) { 166 PhoneAccount account = telecommMgr.getPhoneAccount(accountHandle); 212 for (PhoneAccountHandle accountHandle : accountHandles) { 213 PhoneAccount account = telecommMgr.getPhoneAccount(accountHandle); 248 for (PhoneAccountHandle accountHandle : accountHandles) { 249 PhoneAccount account = telecommMgr.getPhoneAccount(accountHandle);
|
/packages/services/Telephony/src/com/android/phone/settings/ |
H A D | PhoneAccountSettingsFragment.java | 429 Context context, PhoneAccountHandle accountHandle) { 431 context, accountHandle, TelecomManager.ACTION_CONFIGURE_PHONE_ACCOUNT); 436 context, accountHandle, LEGACY_ACTION_CONFIGURE_PHONE_ACCOUNT); 438 Log.w(LOG_TAG, "Phone account using old configuration intent: " + accountHandle); 445 Context context, PhoneAccountHandle accountHandle, String actionStr) { 446 if (accountHandle == null || accountHandle.getComponentName() == null || 447 TextUtils.isEmpty(accountHandle.getComponentName().getPackageName())) { 453 intent.setPackage(accountHandle.getComponentName().getPackageName()); 455 intent.putExtra(TelecomManager.EXTRA_PHONE_ACCOUNT_HANDLE, accountHandle); 428 buildPhoneAccountConfigureIntent( Context context, PhoneAccountHandle accountHandle) argument 444 buildConfigureIntent( Context context, PhoneAccountHandle accountHandle, String actionStr) argument [all...] |
/packages/apps/Dialer/java/com/android/dialer/telecom/ |
H A D | TelecomUtil.java | 154 Context context, PhoneAccountHandle accountHandle, String number) { 158 Pair<PhoneAccountHandle, String> cacheKey = new Pair<>(accountHandle, number); 164 result = getTelecomManager(context).isVoiceMailNumber(accountHandle, number); 171 public static String getVoicemailNumber(Context context, PhoneAccountHandle accountHandle) { argument 173 return getTelecomManager(context).getVoiceMailNumber(accountHandle); 153 isVoicemailNumber( Context context, PhoneAccountHandle accountHandle, String number) argument
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
H A D | TestConnectionService.java | 408 PhoneAccountHandle accountHandle = request.getAccountHandle(); 411 if (accountHandle != null && componentName.equals(accountHandle.getComponentName())) { 453 "Invalid inputs: " + accountHandle + " " + componentName)); 460 PhoneAccountHandle accountHandle = request.getAccountHandle(); 462 if (accountHandle != null && componentName.equals(accountHandle.getComponentName())) { 478 "Invalid inputs: " + accountHandle + " " + componentName));
|
/packages/apps/Dialer/java/com/android/dialer/phonenumberutil/ |
H A D | PhoneNumberHelper.java | 55 Context context, PhoneAccountHandle accountHandle, CharSequence number) { 59 return TelecomUtil.isVoicemailNumber(context, accountHandle, number.toString()); 71 Context context, PhoneAccountHandle accountHandle, CharSequence number, int presentation) { 84 if (isVoicemailNumber(context, accountHandle, number)) { 54 isVoicemailNumber( Context context, PhoneAccountHandle accountHandle, CharSequence number) argument 70 isUnknownNumberThatCanBeLookedUp( Context context, PhoneAccountHandle accountHandle, CharSequence number, int presentation) argument
|
/packages/apps/Dialer/java/com/android/dialer/callintent/ |
H A D | CallIntentBuilder.java | 93 public CallIntentBuilder setPhoneAccountHandle(@Nullable PhoneAccountHandle accountHandle) { argument 94 this.phoneAccountHandle = accountHandle;
|
/packages/apps/Dialer/java/com/android/incallui/call/ |
H A D | DialerCall.java | 1043 public void phoneAccountSelected(PhoneAccountHandle accountHandle, boolean setDefault) { argument 1046 "accountHandle: %s, setDefault: %b", 1047 accountHandle, 1049 mTelecomCall.phoneAccountSelected(accountHandle, setDefault); 1109 PhoneAccountHandle accountHandle = getAccountHandle(); 1110 if (accountHandle == null) { 1113 return mContext.getSystemService(TelecomManager.class).getPhoneAccount(accountHandle); 1160 PhoneAccountHandle accountHandle = getAccountHandle(); 1161 if (accountHandle != null) { 1163 mContext.getSystemService(TelecomManager.class).getPhoneAccount(accountHandle); [all...] |