Home
last modified time | relevance | path

Searched refs:contactList (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Car/libs/car-telephony-common/tests/robotests/src/com/android/car/telephony/common/
DContactTest.java236 List<Contact> contactList = new ArrayList<>(); in sortContactTest() local
237 contactList.add(mDigitName1); in sortContactTest()
238 contactList.add(mSpecCharName); in sortContactTest()
239 contactList.add(mLetterName1); in sortContactTest()
240 contactList.add(mEmptyName); in sortContactTest()
241 contactList.add(mLetterName2); in sortContactTest()
242 contactList.add(mDigitName2); in sortContactTest()
244 Collections.sort(contactList); in sortContactTest()
245 assertArrayEquals(expectedList.toArray(), contactList.toArray()); in sortContactTest()
266 List<Contact> contactList = new ArrayList<>(); in sortContactPrimaryTest() local
[all …]
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/favorite/
DFavoriteViewModel.java68 List<Object> contactList = new ArrayList<>(); in FavoriteViewModel()
71 contactList.add(new Header(context.getString(R.string.phone_favorites))); in FavoriteViewModel()
72 contactList.addAll(mBluetoothFavoriteContacts.getValue()); in FavoriteViewModel()
74 contactList.add(new Header(context.getString(R.string.local_favorites))); in FavoriteViewModel()
76 contactList.addAll(contacts); in FavoriteViewModel()
78 contactList.add(new ActionButton()); in FavoriteViewModel()
79 favoriteContacts.setValue(contactList); in FavoriteViewModel()
82 List<Object> contactList = new ArrayList<>(); in FavoriteViewModel()
84 contactList.add(new Header(context.getString(R.string.phone_favorites))); in FavoriteViewModel()
85 contactList.addAll(contacts); in FavoriteViewModel()
[all …]
/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/
DUceActivity.java88 List<Uri> contactList = getContectList(); in initLayout()
89 if (contactList.size() == 0) { in initLayout()
95 mImsRcsManager.getUceAdapter().requestCapabilities(contactList, getMainExecutor(), in initLayout()
128 List<Uri> contactList = getContectList(); in initLayout()
129 if (contactList.size() == 0) { in initLayout()
135 mImsRcsManager.getUceAdapter().requestAvailability(contactList.get(0), in initLayout()
171 ArrayList<Uri> contactList = new ArrayList<>(); in getContectList() local
178 contactList.add(Uri.parse(TELURI_PREFIX + formattedNumber)); in getContectList()
185 return contactList; in getContectList()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/
DContactListViewModel.java108 private void sortContacts(@Nullable List<Contact> contactList) { in sortContacts() argument
114 if (contactList == null || contactList.isEmpty()) { in sortContacts()
125 Collections.sort(contactList, comparator); in sortContacts()
126 postValue(new Pair<>(sortMethod, contactList)); in sortContacts()
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DInMemoryPhoneBook.java237 List<Contact> contactList = new ArrayList<>(); in onCursorLoaded() local
257 contactList.addAll(subMap.values()); in onCursorLoaded()
267 for (Contact contact : contactList) { in onCursorLoaded()
272 return contactList; in onCursorLoaded()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
DContactResultsLiveData.java102 private void onContactsChange(List<Contact> contactList) { in onContactsChange() argument
103 if (contactList == null || contactList.isEmpty()) { in onContactsChange()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/contact/
DContactListFragmentTest.java94 MutableLiveData<FutureData<Pair<Integer, List<Contact>>>> contactList = in setUp() local
96 contactList.setValue( in setUp()
100 when(mMockContactListViewModel.getAllContacts()).thenReturn(contactList); in setUp()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapMasInstance.java227 /* package */ void setContactList(Map<String, BluetoothMapConvoContactElement> contactList) { in setContactList() argument
228 mContactList = contactList; in setContactList()
DBluetoothMapContentObserver.java391 private void setContactList(Map<String, BluetoothMapConvoContactElement> contactList, in setContactList() argument
393 mContactList = contactList; in setContactList()
397 mMasInstance.setContactList(contactList); in setContactList()
1354 Map<String, BluetoothMapConvoContactElement> contactList = in initContactsList() local
1381 contactList.put(uci, contact); in initContactsList()
1391 setContactList(contactList, true); in initContactsList()
1962 HashMap<String, BluetoothMapConvoContactElement> contactList = in handleContactListChanges() local
2039 contactList.put(uci, contact); in handleContactListChanges()
2112 contactList.put(uci, contact); in handleContactListChanges()
2121 setContactList(contactList, listChanged); in handleContactListChanges()