/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/activecall/ |
D | InCallFragment.java | 41 import com.android.car.telephony.common.TelecomUtils; 74 mDefaultAvatar = TelecomUtils.createLetterTile(getContext(), null, null); in onCreate() 110 mNameView.setText(TelecomUtils.getFormattedNumber(getContext(), number)); in bindUserProfileView() 118 private void updateProfileInfo(String number, TelecomUtils.PhoneNumberInfo info) { in updateProfileInfo() 127 String bidiWrappedLabel = phoneNumberLabel + TelecomUtils.getBidiWrappedNumber( in updateProfileInfo() 128 TelecomUtils.getFormattedNumber(getContext(), number)); in updateProfileInfo() 129 phoneNumberLabel += TelecomUtils.getFormattedNumber(getContext(), number); in updateProfileInfo() 139 LetterTileDrawable letterTile = TelecomUtils.createLetterTile( in updateProfileInfo() 168 TelecomUtils.PhoneNumberInfo phoneNumberInfo = mInCallViewModel.getPhoneNumberInfo(number); in updateProfile() 175 mPhoneNumberInfoFuture = TelecomUtils.getPhoneNumberInfo(getContext(), number) in updateProfile() [all …]
|
D | OnHoldCallUserProfileFragment.java | 39 import com.android.car.telephony.common.TelecomUtils; 64 mDefaultAvatar = TelecomUtils.createLetterTile(getContext(), null, null); in onCreate() 119 mTitle.setText(TelecomUtils.getFormattedNumber(getContext(), number)); in updateProfile() 121 TelecomUtils.PhoneNumberInfo phoneNumberInfo = mInCallViewModel.getPhoneNumberInfo(number); in updateProfile() 126 mPhoneNumberInfoFuture = TelecomUtils.getPhoneNumberInfo(getContext(), number) in updateProfile() 134 private void updateProfileInfo(TelecomUtils.PhoneNumberInfo info) { in updateProfileInfo() 136 TelecomUtils.setContactBitmapAsync(getContext(), mAvatarView, in updateProfileInfo()
|
D | ConferenceProfileViewHolder.java | 30 import com.android.car.telephony.common.TelecomUtils; 57 TelecomUtils.getPhoneNumberInfo(mContext, number) in bind() 63 mAvatar.setImageDrawable(TelecomUtils.createLetterTile(mContext, null, null)); in bind() 70 phoneNumberLabel += TelecomUtils.getFormattedNumber(mContext, number); in bind() 78 TelecomUtils.setContactBitmapAsync(mContext, mAvatar, in bind()
|
D | InCallViewModel.java | 38 import com.android.car.telephony.common.TelecomUtils; 83 private HashMap<String, TelecomUtils.PhoneNumberInfo> mContactInfoMap = new HashMap<>(); 298 public TelecomUtils.PhoneNumberInfo getPhoneNumberInfo(String number) { in getPhoneNumberInfo() 305 public TelecomUtils.PhoneNumberInfo putPhoneNumberInfo( in putPhoneNumberInfo() 306 String number, TelecomUtils.PhoneNumberInfo info) { in putPhoneNumberInfo()
|
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/contact/ |
D | ContactListViewHolderTest.java | 40 import com.android.car.telephony.common.TelecomUtils; 89 mContactListViewHolder.bind(mMockContact, false, "", TelecomUtils.SORT_BY_FIRST_NAME); in testDisplayName() 100 mContactListViewHolder.bind(mMockContact, false, "", TelecomUtils.SORT_BY_FIRST_NAME); in testLabel_withOnlyOneNumber_showLabel() 110 mContactListViewHolder.bind(mMockContact, false, "", TelecomUtils.SORT_BY_FIRST_NAME); in testLabel_withOneNumberAndNumberHasNullLabel_showTypeLabel() 124 mContactListViewHolder.bind(mMockContact, false, "", TelecomUtils.SORT_BY_FIRST_NAME); in testLabel_withOneNumberAndGetNullLabel_showEmptyString() 137 mContactListViewHolder.bind(mMockContact, false, "", TelecomUtils.SORT_BY_FIRST_NAME); in testLabel_withMultipleNumbersAndNoPrimaryNumber_showMultipleLabel() 152 mContactListViewHolder.bind(mMockContact, false, "", TelecomUtils.SORT_BY_FIRST_NAME); in testLabel_withMultipleNumbersAndHasPrimaryNumber_showPrimaryNumberLabel() 167 mContactListViewHolder.bind(mMockContact, false, "", TelecomUtils.SORT_BY_FIRST_NAME); in testLabel_HasPrimaryNumberAndPrimaryNumberHasNullLabel_showPrimaryNumberLabel() 186 mContactListViewHolder.bind(mMockContact, false, "", TelecomUtils.SORT_BY_FIRST_NAME); in testLabel_HasPrimaryNumberButGetNullLabel_showMultipleLabel() 197 mContactListViewHolder.bind(mMockContact, false, "", TelecomUtils.SORT_BY_FIRST_NAME); in testClickCallActionButton_ContactHasOneNumber_placeCall() [all …]
|
/packages/apps/Car/Launcher/tests/src/com/android/car/carlauncher/homescreen/audio/ |
D | InCallModelTest.java | 34 import com.android.car.telephony.common.TelecomUtils; 100 String formattedNumber = TelecomUtils.getFormattedNumber( in updateModelWithPhoneNumber_setsPhoneNumber() 108 TelecomUtils.PhoneNumberInfo phoneInfo = new TelecomUtils.PhoneNumberInfo(PHONE_NUMBER, in updateModelWithContact_noAvatarUri_setsContactNameAndInitialsIcon() 124 TelecomUtils.PhoneNumberInfo phoneInfo = new TelecomUtils.PhoneNumberInfo(PHONE_NUMBER, in updateModelWithContact_invalidAvatarUri_setsContactNameAndInitialsIcon()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/search/ |
D | ContactResultViewHolder.java | 35 import com.android.car.telephony.common.TelecomUtils; 79 TelecomUtils.isSortByFirstName(sortMethod) ? contact.getDisplayName() in bindSearchResult() 81 TelecomUtils.setContactBitmapAsync(mContext, mContactPicture, contact, sortMethod); in bindSearchResult() 105 TelecomUtils.isSortByFirstName(sortMethod) ? contact.getDisplayName() in bindTypeDownResult() 109 TelecomUtils.setContactBitmapAsync(mContext, mContactPicture, contact, sortMethod); in bindTypeDownResult()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/notification/ |
D | NotificationService.java | 30 import com.android.car.telephony.common.TelecomUtils; 95 TelecomUtils.markCallLogAsRead(context, phoneNumber); in onStartCommand() 100 TelecomUtils.markCallLogAsRead(context, phoneNumber); in onStartCommand() 105 TelecomUtils.markCallLogAsRead(context, phoneNumber); in onStartCommand() 108 TelecomUtils.markCallLogAsRead(context, callLogId); in onStartCommand()
|
D | NotificationUtils.java | 29 import com.android.car.telephony.common.TelecomUtils; 42 return TelecomUtils.getPhoneNumberInfo(context, number) in getDisplayNameAndRoundedAvatar() 50 largeIcon = TelecomUtils.createLetterTile(context, info.getInitials(), in getDisplayNameAndRoundedAvatar() 72 return TelecomUtils in loadContactAvatar()
|
D | InCallNotificationController.java | 34 import com.android.car.telephony.common.TelecomUtils; 104 .setContentTitle(TelecomUtils.getBidiWrappedNumber(callNumber)) in showInCallNotification() 122 .setContentTitle(TelecomUtils.getBidiWrappedNumber(pair.first)); in showInCallNotification()
|
D | MissedCallReceiver.java | 28 import com.android.car.telephony.common.TelecomUtils; 50 L.d(TAG, "Count: %d PhoneNumber: %s", count, TelecomUtils.piiLog(phoneNumber)); in onReceive()
|
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/ |
D | PhoneNumberInfoLiveData.java | 23 import com.android.car.telephony.common.TelecomUtils; 24 import com.android.car.telephony.common.TelecomUtils.PhoneNumberInfo; 38 mCurrentFuture = TelecomUtils.getPhoneNumberInfo(context, number) in PhoneNumberInfoLiveData()
|
D | PhoneFragment.java | 32 import com.android.car.telephony.common.TelecomUtils; 63 TelecomUtils.setContactBitmapAsync(getContext(), in onCreateView()
|
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/homescreen/audio/ |
D | InCallModel.java | 41 import com.android.car.telephony.common.TelecomUtils; 107 mPhoneNumberInfoFuture = TelecomUtils.getPhoneNumberInfo(mContext, 217 String formattedNumber = TelecomUtils.getFormattedNumber(mContext, number); in updateModelWithPhoneNumber() 230 void updateModelWithContact(TelecomUtils.PhoneNumberInfo phoneNumberInfo) { in updateModelWithContact() 249 contactImage = TelecomUtils.createLetterTile(mContext, in updateModelWithContact()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/entity/ |
D | ContactSortingInfo.java | 25 import com.android.car.telephony.common.TelecomUtils; 72 sortMethod = TelecomUtils.SORT_BY_FIRST_NAME; in getSortingInfo() 75 sortMethod = TelecomUtils.SORT_BY_LAST_NAME; in getSortingInfo()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/favorite/ |
D | FavoriteContactViewHolder.java | 34 import com.android.car.telephony.common.TelecomUtils; 64 mTitle.setText(TelecomUtils.isSortByFirstName(sortMethod) ? contact.getDisplayName() in bind() 87 TelecomUtils.setContactBitmapAsync(context, mIcon, contact, sortMethod); in bind()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/ |
D | DialerUtils.java | 31 import com.android.car.telephony.common.TelecomUtils; 77 item.setBody(TelecomUtils.getBidiWrappedNumber(number.getNumber())); in showPhoneNumberSelector() 123 TelecomUtils.setAsPrimaryPhoneNumber(context, phoneNumber); in promptForPrimaryNumber()
|
D | UiCallLogLiveData.java | 34 import com.android.car.telephony.common.TelecomUtils; 131 TelecomUtils.PhoneNumberInfo phoneNumberInfo = in convert() 132 TelecomUtils.lookupNumberInBackground(mContext, number); in convert()
|
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/dialpad/ |
D | DialpadFragmentTest.java | 45 import com.android.car.telephony.common.TelecomUtils; 91 LiveDataFunctions.dataOf(TelecomUtils.SORT_BY_FIRST_NAME)); in setup() 258 expectedText = TelecomUtils.getFormattedNumber(mDialpadFragment.getContext(), expectedText); in verifyTitleText() 260 TelecomUtils.getFormattedNumber(mDialpadFragment.getContext(), null); in verifyTitleText()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/calllog/ |
D | CallLogViewHolder.java | 36 import com.android.car.telephony.common.TelecomUtils; 84 TelecomUtils.setContactBitmapAsync( in bind() 91 mTitleView.setText(TelecomUtils.isSortByFirstName(sortMethod) ? uiCallLog.getTitle() in bind()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/ |
D | ContactListViewHolder.java | 35 import com.android.car.telephony.common.TelecomUtils; 78 TelecomUtils.setContactBitmapAsync(mAvatarView.getContext(), mAvatarView, contact, in bind() 84 mTitleView.setText(TelecomUtils.isSortByFirstName(sortMethod) ? contact.getDisplayName() in bind()
|
D | ContactDetailsViewHolder.java | 43 import com.android.car.telephony.common.TelecomUtils; 120 LetterTileDrawable letterTile = TelecomUtils.createLetterTile(context, null, null); in bind() 138 LetterTileDrawable letterTile = TelecomUtils.createLetterTile(context, in bind()
|
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/ |
D | Contact.java | 358 if (TelecomUtils.isVoicemailNumber(context, newNumber.getNumber())) { in addPhoneNumber() 457 mInitials = TelecomUtils.getInitials(mDisplayName, mDisplayNameAlt); in getInitials() 468 return TelecomUtils.getInitials(mDisplayName, mDisplayNameAlt); in getInitialsBasedOnDisplayOrder() 470 return TelecomUtils.getInitials(mDisplayNameAlt, mDisplayName); in getInitialsBasedOnDisplayOrder()
|
D | PostalAddress.java | 112 L.d(TAG, "The address is: " + TelecomUtils.piiLog(mFormattedAddress)); in getAddressIntent() 120 L.d(TAG, "The address is: " + TelecomUtils.piiLog(mFormattedAddress)); in getNavigationIntent()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/dialpad/ |
D | InCallDialpadFragment.java | 37 import com.android.car.telephony.common.TelecomUtils; 82 mCallStateView.setText(TelecomUtils.callStateToUiString( in onCreateView()
|