/aosp12/packages/apps/Dialer/java/com/android/dialer/app/calllog/calllogcache/ |
H A D | CallLogCache.java | 70 PhoneAccountHandle accountHandle, @Nullable CharSequence number) { in isVoicemailNumber() argument 91 if (phoneAccountLabelCache.containsKey(accountHandle)) { in getAccountLabel() 92 return phoneAccountLabelCache.get(accountHandle); in getAccountLabel() 95 phoneAccountLabelCache.put(accountHandle, label); in getAccountLabel() 101 public synchronized int getAccountColor(PhoneAccountHandle accountHandle) { in getAccountColor() argument 102 if (phoneAccountColorCache.containsKey(accountHandle)) { in getAccountColor() 103 return phoneAccountColorCache.get(accountHandle); in getAccountColor() 106 phoneAccountColorCache.put(accountHandle, color); in getAccountColor() 119 if (phoneAccountCallWithNoteCache.containsKey(accountHandle)) { in doesAccountSupportCallSubject() 120 return phoneAccountCallWithNoteCache.get(accountHandle); in doesAccountSupportCallSubject() [all …]
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
H A D | PhoneAccountUtils.java | 31 Context context, @Nullable PhoneAccountHandle accountHandle) { in getAccountLabel() argument 32 PhoneAccount account = getAccountOrNull(context, accountHandle); in getAccountLabel() 40 public static int getAccountColor(Context context, @Nullable PhoneAccountHandle accountHandle) { in getAccountColor() argument 41 final PhoneAccount account = TelecomUtil.getPhoneAccount(context, accountHandle); in getAccountColor() 54 Context context, @Nullable PhoneAccountHandle accountHandle) { in getAccountSupportsCallSubject() argument 55 final PhoneAccount account = TelecomUtil.getPhoneAccount(context, accountHandle); in getAccountSupportsCallSubject() 66 Context context, @Nullable PhoneAccountHandle accountHandle) { in getAccountOrNull() argument 70 return TelecomUtil.getPhoneAccount(context, accountHandle); in getAccountOrNull()
|
/aosp12/frameworks/base/telecomm/java/android/telecom/ |
H A D | ConnectionRequest.java | 62 public @NonNull Builder setAccountHandle(@NonNull PhoneAccountHandle accountHandle) { in setAccountHandle() argument 63 this.mAccountHandle = accountHandle; in setAccountHandle() 195 PhoneAccountHandle accountHandle, in ConnectionRequest() argument 208 PhoneAccountHandle accountHandle, in ConnectionRequest() argument 212 this(accountHandle, handle, extras, videoState, null, false, null, null); in ConnectionRequest() 228 PhoneAccountHandle accountHandle, in ConnectionRequest() argument 234 this(accountHandle, handle, extras, videoState, telecomCallId, in ConnectionRequest() 239 PhoneAccountHandle accountHandle, in ConnectionRequest() argument 247 this(accountHandle, handle, extras, videoState, telecomCallId, in ConnectionRequest() 252 PhoneAccountHandle accountHandle, in ConnectionRequest() argument [all …]
|
H A D | RemoteConnectionManager.java | 60 PhoneAccountHandle accountHandle = request.getAccountHandle(); in createRemoteConnection() local 61 if (accountHandle == null) { in createRemoteConnection() 91 PhoneAccountHandle accountHandle = request.getAccountHandle(); in createRemoteConference() local 92 if (accountHandle == null) { in createRemoteConference()
|
H A D | TelecomManager.java | 1149 service.setUserSelectedOutgoingPhoneAccount(accountHandle); in setUserSelectedOutgoingPhoneAccount() 1474 public void unregisterPhoneAccount(PhoneAccountHandle accountHandle) { in unregisterPhoneAccount() argument 1478 service.unregisterPhoneAccount(accountHandle); in unregisterPhoneAccount() 1653 return service.isVoiceMailNumber(accountHandle, number, in isVoiceMailNumber() 1670 public String getVoiceMailNumber(PhoneAccountHandle accountHandle) { in getVoiceMailNumber() argument 1674 return service.getVoiceMailNumber(accountHandle, in getVoiceMailNumber() 1702 public String getLine1Number(PhoneAccountHandle accountHandle) { in getLine1Number() argument 1706 return service.getLine1Number(accountHandle, in getLine1Number() 2145 public boolean handleMmi(String dialString, PhoneAccountHandle accountHandle) { in handleMmi() argument 2167 public Uri getAdnUriForPhoneAccount(PhoneAccountHandle accountHandle) { in getAdnUriForPhoneAccount() argument [all …]
|
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | PhoneAccountRegistrar.java | 192 return tm.getSubscriptionId(accountHandle); in getSubscriptionIdForPhoneAccount() 315 if (accountHandle == null) { in setUserSelectedOutgoingPhoneAccount() 322 accountHandle); in setUserSelectedOutgoingPhoneAccount() 328 accountHandle); in setUserSelectedOutgoingPhoneAccount() 348 if (isSimAccount || accountHandle == null) { in setUserSelectedOutgoingPhoneAccount() 436 systemSimCallManager = accountHandle; in getSimCallManager() 442 dialerSimCallManager = accountHandle; in getSimCallManager() 876 fireAccountUnRegistered(accountHandle); in unregisterPhoneAccount() 1704 .put(accountHandle.userHandle, accountHandle); 1853 PhoneAccountHandle accountHandle = null; [all …]
|
H A D | TelecomServiceImpl.java | 179 accountHandle, callingUserHandle); 579 enforceUserHandleMatchesCaller(accountHandle); 661 accountHandle); 666 if (accountHandle != null) { 705 accountHandle); 1135 accountHandle); 1148 accountHandle); 1174 accountHandle); 2475 accountHandle)) { 2494 PhoneAccountHandle accountHandle = null; [all …]
|
H A D | CallLogManager.java | 295 PhoneAccountHandle accountHandle = call.getTargetPhoneAccount(); in logCall() local 296 if (emergencyAccountHandle.equals(accountHandle)) { in logCall() 297 accountHandle = null; in logCall() 299 paramBuilder.setAccountHandle(accountHandle); in logCall() 326 PhoneAccount phoneAccount = mPhoneAccountRegistrar.getPhoneAccountUnchecked(accountHandle); in logCall() 338 if (accountHandle == null) { in logCall() 341 paramBuilder.setUserToBeInsertedTo(accountHandle.getUserHandle()); in logCall() 342 paramBuilder.setAddForAllUsers(accountHandle.getUserHandle() == null); in logCall() 385 okayToLogCall(accountHandle, logNumber, call.isEmergencyCall()); in logCall() 393 boolean okayToLogCall(PhoneAccountHandle accountHandle, String number, boolean isEmergency) { in okayToLogCall() argument [all …]
|
/aosp12/packages/apps/Contacts/src/com/android/contacts/compat/ |
H A D | TelephonyManagerSdkCompat.java | 28 PhoneAccountHandle accountHandle) { in getVoicemailRingtoneUri() argument 30 ? telephonyManager.getVoicemailRingtoneUri(accountHandle) : null; in getVoicemailRingtoneUri() 34 PhoneAccountHandle accountHandle) { in isVoicemailVibrationEnabled() argument 36 ? telephonyManager.isVoicemailVibrationEnabled(accountHandle) : false; in isVoicemailVibrationEnabled()
|
H A D | TelephonyManagerCompat.java | 147 PhoneAccountHandle accountHandle) { in getVoicemailRingtoneUri() argument 152 .getVoicemailRingtoneUri(telephonyManager, accountHandle); in getVoicemailRingtoneUri() 164 PhoneAccountHandle accountHandle) { in isVoicemailVibrationEnabled() argument 169 .isVoicemailVibrationEnabled(telephonyManager, accountHandle); in isVoicemailVibrationEnabled()
|
/aosp12/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
H A D | SipIncomingCallReceiver.java | 66 PhoneAccountHandle accountHandle = null; in takeCall() local 68 accountHandle = intent.getParcelableExtra(SipUtil.EXTRA_PHONE_ACCOUNT); in takeCall() 73 if (accountHandle != null) { in takeCall() 77 PhoneAccount phoneAccount = tm.getPhoneAccount(accountHandle); in takeCall() 79 tm.addNewIncomingCall(accountHandle, extras); in takeCall()
|
H A D | SipAccountRegistry.java | 126 for (PhoneAccountHandle accountHandle : accountHandles) { in verifyAndPurgeInvalidPhoneAccounts() 127 String profileName = SipUtil.getSipProfileNameFromPhoneAccount(accountHandle); in verifyAndPurgeInvalidPhoneAccounts() 130 log("verifyAndPurgeInvalidPhoneAccounts, deleting account: " + accountHandle); in verifyAndPurgeInvalidPhoneAccounts() 131 telecomManager.unregisterPhoneAccount(accountHandle); in verifyAndPurgeInvalidPhoneAccounts()
|
/aosp12/frameworks/base/telecomm/java/com/android/internal/telecom/ |
H A D | ITelecomService.aidl | 127 boolean isVoiceMailNumber(in PhoneAccountHandle accountHandle, String number, in isVoiceMailNumber() argument 133 String getVoiceMailNumber(in PhoneAccountHandle accountHandle, String callingPackage, in getVoiceMailNumber() argument 139 String getLine1Number(in PhoneAccountHandle accountHandle, String callingPackage, in getLine1Number() argument 237 boolean handlePinMmiForPhoneAccount(in PhoneAccountHandle accountHandle, String dialString, in handlePinMmiForPhoneAccount() argument 243 Uri getAdnUriForPhoneAccount(in PhoneAccountHandle accountHandle, String callingPackage); in getAdnUriForPhoneAccount() argument 284 boolean enablePhoneAccount(in PhoneAccountHandle accountHandle, boolean isEnabled); in enablePhoneAccount() argument
|
/aosp12/packages/services/Telephony/src/com/android/phone/settings/ |
H A D | PhoneAccountSettingsFragment.java | 390 Context context, PhoneAccountHandle accountHandle) { in buildPhoneAccountConfigureIntent() argument 392 context, accountHandle, TelecomManager.ACTION_CONFIGURE_PHONE_ACCOUNT); in buildPhoneAccountConfigureIntent() 397 context, accountHandle, LEGACY_ACTION_CONFIGURE_PHONE_ACCOUNT); in buildPhoneAccountConfigureIntent() 399 Log.w(LOG_TAG, "Phone account using old configuration intent: " + accountHandle); in buildPhoneAccountConfigureIntent() 406 Context context, PhoneAccountHandle accountHandle, String actionStr) { in buildConfigureIntent() argument 407 if (accountHandle == null || accountHandle.getComponentName() == null || in buildConfigureIntent() 408 TextUtils.isEmpty(accountHandle.getComponentName().getPackageName())) { in buildConfigureIntent() 414 intent.setPackage(accountHandle.getComponentName().getPackageName()); in buildConfigureIntent() 416 intent.putExtra(TelecomManager.EXTRA_PHONE_ACCOUNT_HANDLE, accountHandle); in buildConfigureIntent()
|
/aosp12/packages/apps/Contacts/src/com/android/contacts/ |
H A D | CallUtil.java | 165 for (PhoneAccountHandle accountHandle : accountHandles) { in getVideoCallingAvailability() 166 PhoneAccount account = telecommMgr.getPhoneAccount(accountHandle); in getVideoCallingAvailability() 212 for (PhoneAccountHandle accountHandle : accountHandles) { in isCallWithSubjectSupported() 213 PhoneAccount account = telecommMgr.getPhoneAccount(accountHandle); in isCallWithSubjectSupported() 248 for (PhoneAccountHandle accountHandle : accountHandles) { in isTachyonEnabled() 249 PhoneAccount account = telecommMgr.getPhoneAccount(accountHandle); in isTachyonEnabled()
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/telecom/ |
H A D | TelecomUtil.java | 160 for (PhoneAccountHandle accountHandle : accountHandles) { in getSubscriptionPhoneAccounts() 161 PhoneAccount account = TelecomUtil.getPhoneAccount(context, accountHandle); in getSubscriptionPhoneAccounts() 163 subscriptionAccountHandles.add(accountHandle); in getSubscriptionPhoneAccounts() 239 Context context, PhoneAccountHandle accountHandle, String number) { in isVoicemailNumber() argument 243 Pair<PhoneAccountHandle, String> cacheKey = new Pair<>(accountHandle, number); in isVoicemailNumber() 249 result = getTelecomManager(context).isVoiceMailNumber(accountHandle, number); in isVoicemailNumber() 256 public static String getVoicemailNumber(Context context, PhoneAccountHandle accountHandle) { in getVoicemailNumber() argument 258 return getTelecomManager(context).getVoiceMailNumber(accountHandle); in getVoicemailNumber()
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/util/ |
H A D | CallUtil.java | 76 for (PhoneAccountHandle accountHandle : accountHandles) { in getVideoCallingAvailability() 77 PhoneAccount account = telecommMgr.getPhoneAccount(accountHandle); in getVideoCallingAvailability() 137 for (PhoneAccountHandle accountHandle : accountHandles) { in isCallWithSubjectSupported() 138 PhoneAccount account = telecommMgr.getPhoneAccount(accountHandle); in isCallWithSubjectSupported()
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/compat/telephony/ |
H A D | TelephonyManagerCompat.java | 136 TelephonyManager telephonyManager, PhoneAccountHandle accountHandle) { in getVoicemailRingtoneUri() argument 137 return telephonyManager.getVoicemailRingtoneUri(accountHandle); in getVoicemailRingtoneUri() 149 TelephonyManager telephonyManager, PhoneAccountHandle accountHandle) { in isVoicemailVibrationEnabled() argument 150 return telephonyManager.isVoicemailVibrationEnabled(accountHandle); in isVoicemailVibrationEnabled()
|
/aosp12/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
H A D | TestConnectionService.java | 422 PhoneAccountHandle accountHandle = request.getAccountHandle(); 425 if (accountHandle != null && componentName.equals(accountHandle.getComponentName())) { 467 "Invalid inputs: " + accountHandle + " " + componentName)); 474 PhoneAccountHandle accountHandle = request.getAccountHandle(); 476 if (accountHandle != null && componentName.equals(accountHandle.getComponentName())) { 492 "Invalid inputs: " + accountHandle + " " + componentName));
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
H A D | PhoneCallDetailsHelper.java | 106 Context context, PhoneAccountHandle accountHandle) { in shouldShowVoicemailDonationPromo() argument 108 return client.isVoicemailDonationAvailable(context, accountHandle) in shouldShowVoicemailDonationPromo() 194 String accountLabel = callLogCache.getAccountLabel(details.accountHandle); in setPhoneCallDetails() 207 int color = callLogCache.getAccountColor(details.accountHandle); in setPhoneCallDetails() 257 if (shouldShowTranscriptionRating(details.transcriptionState, details.accountHandle)) { in setPhoneCallDetails() 333 if (shouldShowVoicemailDonationPromo(context, details.accountHandle)) { in recordTranscriptionRating() 359 .setVoicemailDonationEnabled(context, details.accountHandle, true); in showVoicemailDonationPromo() 376 .setVoicemailDonationEnabled(context, details.accountHandle, false); in showVoicemailDonationPromo() 482 && !callLogCache.isVoicemailNumber(details.accountHandle, details.number)) { in getCallTypeOrLocation()
|
H A D | IntentProvider.java | 55 final String number, final PhoneAccountHandle accountHandle) { in getReturnCallIntentProvider() argument 62 .setPhoneAccountHandle(accountHandle)); in getReturnCallIntentProvider() 85 final String number, final PhoneAccountHandle accountHandle) { 92 .setPhoneAccountHandle(accountHandle)
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/phonenumberutil/ |
H A D | PhoneNumberHelper.java | 182 Context context, PhoneAccountHandle accountHandle, CharSequence number) { in isVoicemailNumber() argument 186 return TelecomUtil.isVoicemailNumber(context, accountHandle, number.toString()); in isVoicemailNumber() 198 Context context, PhoneAccountHandle accountHandle, CharSequence number, int presentation) { in isUnknownNumberThatCanBeLookedUp() argument 211 if (isVoicemailNumber(context, accountHandle, number)) { in isUnknownNumberThatCanBeLookedUp()
|
/aosp12/frameworks/base/core/java/android/provider/ |
H A D | CallLog.java | 495 @NonNull PhoneAccountHandle accountHandle) { in setAccountHandle() 496 mAccountHandle = accountHandle; in setAccountHandle() 687 mAccountHandle = accountHandle; in AddCallParams() 1485 PhoneAccountHandle accountHandle, in addCall() argument 1488 presentation, callType, features, accountHandle, start, duration, in addCall() 1526 int features, PhoneAccountHandle accountHandle, long start, int duration, in addCall() argument 1530 features, accountHandle, start, duration, dataUsage, addForAllUsers, in addCall() 1591 builder.setAccountHandle(accountHandle); in addCall() 2021 PhoneAccountHandle accountHandle) { in getLogAccountAddress() argument 2032 if (tm != null && accountHandle != null) { in getLogAccountAddress() [all …]
|
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/ |
H A D | VvmPhoneStateListener.java | 38 public VvmPhoneStateListener(Context context, PhoneAccountHandle accountHandle) { in VvmPhoneStateListener() argument 43 phoneAccount = accountHandle; in VvmPhoneStateListener()
|
/aosp12/packages/apps/Dialer/java/com/android/incallui/disconnectdialog/ |
H A D | VideoCallNotAvailablePrompt.java | 67 private void makeVoiceCall(Context context, String number, PhoneAccountHandle accountHandle) { in makeVoiceCall() argument 72 .setPhoneAccountHandle(accountHandle)); in makeVoiceCall()
|