/packages/apps/Dialer/src/com/android/dialer/calllog/calllogcache/ |
CallLogCacheLollipopMr1.java | 61 public boolean isVoicemailNumber(PhoneAccountHandle accountHandle, CharSequence number) { 66 Pair<PhoneAccountHandle, CharSequence> key = new Pair<>(accountHandle, number); 71 PhoneNumberUtil.isVoicemailNumber(mContext, accountHandle, number.toString()); 78 public String getAccountLabel(PhoneAccountHandle accountHandle) { 79 if (mPhoneAccountLabelCache.containsKey(accountHandle)) { 80 return mPhoneAccountLabelCache.get(accountHandle); 82 String label = PhoneAccountUtils.getAccountLabel(mContext, accountHandle); 83 mPhoneAccountLabelCache.put(accountHandle, label); 89 public int getAccountColor(PhoneAccountHandle accountHandle) { 90 if (mPhoneAccountColorCache.containsKey(accountHandle)) { [all...] |
CallLogCacheLollipop.java | 40 public boolean isVoicemailNumber(PhoneAccountHandle accountHandle, CharSequence number) { 60 public String getAccountLabel(PhoneAccountHandle accountHandle) { 65 public int getAccountColor(PhoneAccountHandle accountHandle) { 70 public boolean doesAccountSupportCallSubject(PhoneAccountHandle accountHandle) {
|
CallLogCache.java | 67 public abstract boolean isVoicemailNumber(PhoneAccountHandle accountHandle, 81 public abstract String getAccountLabel(PhoneAccountHandle accountHandle); 86 public abstract int getAccountColor(PhoneAccountHandle accountHandle); 92 * @param accountHandle The PhoneAccount handle. 95 public abstract boolean doesAccountSupportCallSubject(PhoneAccountHandle accountHandle);
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
PhoneAccountUtils.java | 43 for (PhoneAccountHandle accountHandle : accountHandles) { 44 PhoneAccount account = TelecomUtil.getPhoneAccount(context, accountHandle); 46 subscriptionAccountHandles.add(accountHandle); 73 @Nullable PhoneAccountHandle accountHandle) { 74 PhoneAccount account = getAccountOrNull(context, accountHandle); 84 public static int getAccountColor(Context context, @Nullable PhoneAccountHandle accountHandle) { 85 final PhoneAccount account = TelecomUtil.getPhoneAccount(context, accountHandle); 98 @Nullable PhoneAccountHandle accountHandle) { 99 final PhoneAccount account = TelecomUtil.getPhoneAccount(context, accountHandle); 111 @Nullable PhoneAccountHandle accountHandle) { [all...] |
DefaultVoicemailNotifier.java | 220 PhoneAccountHandle accountHandle = null; 223 accountHandle = TelecomUtil 225 if (accountHandle == null) { 231 accountHandle = new PhoneAccountHandle( 235 if (accountHandle.getComponentName() != null) { 236 Log.v(TAG, "PhoneAccountHandle.ComponentInfo:" + accountHandle.getComponentName()); 242 getTelephonyManager(), accountHandle), 243 getNotificationDefaults(accountHandle)); 246 private int getNotificationDefaults(PhoneAccountHandle accountHandle) { 249 accountHandle) ? Notification.DEFAULT_VIBRATE : 0 [all...] |
IntentProvider.java | 54 final PhoneAccountHandle accountHandle) { 59 .setPhoneAccountHandle(accountHandle) 71 final PhoneAccountHandle accountHandle) { 76 .setPhoneAccountHandle(accountHandle)
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/compat/ |
TelephonyManagerSdkCompat.java | 28 PhoneAccountHandle accountHandle) { 30 ? telephonyManager.getVoicemailRingtoneUri(accountHandle) : null; 34 PhoneAccountHandle accountHandle) { 36 ? telephonyManager.isVoicemailVibrationEnabled(accountHandle) : false;
|
TelephonyManagerCompat.java | 142 * @param accountHandle The handle for the {@link android.telecom.PhoneAccount} for which to 149 PhoneAccountHandle accountHandle) { 154 .getVoicemailRingtoneUri(telephonyManager, accountHandle); 161 * @param accountHandle The handle for the {@link android.telecom.PhoneAccount} for which to 166 PhoneAccountHandle accountHandle) { 171 .isVoicemailVibrationEnabled(telephonyManager, accountHandle);
|
/frameworks/base/telecomm/java/android/telecom/ |
RemoteConnectionManager.java | 57 PhoneAccountHandle accountHandle = request.getAccountHandle(); 58 if (accountHandle == null) { 59 throw new IllegalArgumentException("accountHandle must be specified."); 64 throw new UnsupportedOperationException("accountHandle not supported: "
|
ConnectionRequest.java | 38 * @param accountHandle The accountHandle which should be used to place the call. 43 PhoneAccountHandle accountHandle, 46 this(accountHandle, handle, extras, VideoProfile.STATE_AUDIO_ONLY, null); 50 * @param accountHandle The accountHandle which should be used to place the call. 56 PhoneAccountHandle accountHandle, 60 this(accountHandle, handle, extras, videoState, null); 64 * @param accountHandle The accountHandle which should be used to place the call [all...] |
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/calllogcache/ |
TestTelecomCallLogCache.java | 43 public boolean isVoicemailNumber(PhoneAccountHandle accountHandle, CharSequence number) { 48 public String getAccountLabel(PhoneAccountHandle accountHandle) { 57 public int getAccountColor(PhoneAccountHandle accountHandle) { 62 public boolean doesAccountSupportCallSubject(PhoneAccountHandle accountHandle) {
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
SipPhoneAccountSettingsActivity.java | 44 PhoneAccountHandle accountHandle = (PhoneAccountHandle) 46 Log.i(TAG, "" + accountHandle); 48 if (accountHandle != null) { 50 String profileName = SipUtil.getSipProfileNameFromPhoneAccount(accountHandle);
|
SipBroadcastReceiver.java | 73 PhoneAccountHandle accountHandle = null; 75 accountHandle = intent.getParcelableExtra(SipUtil.EXTRA_PHONE_ACCOUNT); 80 if (accountHandle != null) { 84 PhoneAccount phoneAccount = tm.getPhoneAccount(accountHandle); 86 tm.addNewIncomingCall(accountHandle, extras);
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
DataObjectUnitTests.java | 54 PhoneAccountHandle accountHandle = new PhoneAccountHandle( 60 accountHandle, ACCOUNT_LABEL) 70 assertEquals(accountHandle, account.getAccountHandle()); 88 assertEquals(accountHandle, parcelAccount.getAccountHandle()); 103 PhoneAccountHandle accountHandle = new PhoneAccountHandle( 107 assertNotNull(accountHandle); 108 assertEquals(component, accountHandle.getComponentName()); 109 assertEquals(ACCOUNT_ID, accountHandle.getId()); 110 assertEquals(userHandle, accountHandle.getUserHandle()); 111 assertEquals(0, accountHandle.describeContents()) [all...] |
/frameworks/base/telecomm/java/com/android/internal/telecom/ |
ITelecomService.aidl | 120 boolean isVoiceMailNumber(in PhoneAccountHandle accountHandle, String number, 126 String getVoiceMailNumber(in PhoneAccountHandle accountHandle, String callingPackage); 131 String getLine1Number(in PhoneAccountHandle accountHandle, String callingPackage); 205 boolean handlePinMmiForPhoneAccount(in PhoneAccountHandle accountHandle, String dialString, 211 Uri getAdnUriForPhoneAccount(in PhoneAccountHandle accountHandle, String callingPackage); 241 boolean enablePhoneAccount(in PhoneAccountHandle accountHandle, boolean isEnabled);
|
IInCallAdapter.aidl | 50 void phoneAccountSelected(String callId, in PhoneAccountHandle accountHandle,
|
/packages/apps/Dialer/src/com/android/dialer/util/ |
IntentUtil.java | 60 public CallIntentBuilder setPhoneAccountHandle(PhoneAccountHandle accountHandle) { 61 mPhoneAccountHandle = accountHandle; 83 * @param accountHandle {@link PhoneAccountHandle} to place the call with. 89 Uri uri, PhoneAccountHandle accountHandle, int videoState, int callIntiationType) { 97 if (accountHandle != null) { 98 intent.putExtra(TelecomManager.EXTRA_PHONE_ACCOUNT_HANDLE, accountHandle);
|
PhoneNumberUtil.java | 53 Context context, PhoneAccountHandle accountHandle, CharSequence number) { 57 return TelecomUtil.isVoicemailNumber(context, accountHandle, number.toString()); 70 PhoneAccountHandle accountHandle, 85 if (isVoicemailNumber(context, accountHandle, number)) {
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/compat/telecom/ |
TelecomManagerCompat.java | 65 * @param accountHandle The handle for the account to derive an adn query URI for or 71 PhoneAccountHandle accountHandle) { 75 return telecomManager.getAdnUriForPhoneAccount(accountHandle); 169 * @param accountHandle The handle for the account to check the voicemail number against 173 @Nullable PhoneAccountHandle accountHandle, @Nullable String number) { 177 return telecomManager.isVoiceMailNumber(accountHandle, number); 192 @Nullable PhoneAccountHandle accountHandle) { 195 return telecomManager.getPhoneAccount(accountHandle); 204 * number if accountHandle is specified. 206 * voicemail number if accountHandle is null [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
TelecomServiceImpl.java | 159 public void setUserSelectedOutgoingPhoneAccount(PhoneAccountHandle accountHandle) { 168 accountHandle, callingUserHandle); 253 public PhoneAccount getPhoneAccount(PhoneAccountHandle accountHandle) { 264 .getPhoneAccount(accountHandle, callingUserHandle, 267 Log.e(this, e, "getPhoneAccount %s", accountHandle); 415 public void unregisterPhoneAccount(PhoneAccountHandle accountHandle) { 420 accountHandle.getComponentName().getPackageName()); 421 enforceUserHandleMatchesCaller(accountHandle); 422 mPhoneAccountRegistrar.unregisterPhoneAccount(accountHandle); 430 TelecomManager.EXTRA_PHONE_ACCOUNT_HANDLE, accountHandle); [all...] |
CallLogManager.java | 75 int features, PhoneAccountHandle accountHandle, long creationDate, 86 this.accountHandle = accountHandle; 103 public final PhoneAccountHandle accountHandle; 210 PhoneAccountHandle accountHandle = call.getTargetPhoneAccount(); 211 if (emergencyAccountHandle.equals(accountHandle)) { 212 accountHandle = null; 221 call.getHandlePresentation(), callLogType, callFeatures, accountHandle, 250 PhoneAccountHandle accountHandle, 280 viaNumber, presentation, callType, features, accountHandle, start, duration [all...] |
PhoneAccountRegistrar.java | 170 * @param accountHandle The handle for the phone account for which to retrieve the 174 public int getSubscriptionIdForPhoneAccount(PhoneAccountHandle accountHandle) { 175 PhoneAccount account = getPhoneAccountUnchecked(accountHandle); 293 public void setUserSelectedOutgoingPhoneAccount(PhoneAccountHandle accountHandle, 298 if (accountHandle == null) { 302 PhoneAccount account = getPhoneAccount(accountHandle, userHandle); 305 accountHandle); 311 accountHandle); 318 int subId = getSubscriptionIdForPhoneAccount(accountHandle); 323 .put(userHandle, new DefaultPhoneAccountHandle(userHandle, accountHandle, [all...] |
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
TelecomAdapter.java | 206 void phoneAccountSelected(String callId, PhoneAccountHandle accountHandle, boolean setDefault) { 207 if (accountHandle == null) { 208 Log.e(this, "error phoneAccountSelected, accountHandle is null"); 209 // TODO: Do we really want to send null accountHandle? 214 call.phoneAccountSelected(accountHandle, setDefault);
|
/packages/services/Telephony/src/com/android/phone/vvm/omtp/ |
VvmPhoneStateListener.java | 43 public VvmPhoneStateListener(Context context, PhoneAccountHandle accountHandle) { 44 super(PhoneUtils.getSubIdForPhoneAccountHandle(accountHandle)); 46 mPhoneAccount = accountHandle;
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/ |
CallUtil.java | 144 for (PhoneAccountHandle accountHandle : accountHandles) { 145 PhoneAccount account = telecommMgr.getPhoneAccount(accountHandle); 196 for (PhoneAccountHandle accountHandle : accountHandles) { 197 PhoneAccount account = telecommMgr.getPhoneAccount(accountHandle);
|