Home
last modified time | relevance | path

Searched refs:mContacts (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/
DSmsMmsContactsTest.java56 private SmsMmsContacts mContacts; field in SmsMmsContactsTest
61 mContacts = new SmsMmsContacts(); in setUp()
99 mContacts.fillPhoneCache(mResolver); in fillPhoneCache()
101 assertThat(mContacts.getPhoneNumber(mResolver, TEST_ID)).isEqualTo(TEST_PHONE_NUMBER); in fillPhoneCache()
112 mContacts.fillPhoneCache(mResolver); in fillPhoneCache_withNonNullPhoneNumbers()
113 assertThat(mContacts.getPhoneNumber(mResolver, TEST_ID)).isEqualTo(TEST_PHONE_NUMBER); in fillPhoneCache_withNonNullPhoneNumbers()
117 mContacts.fillPhoneCache(mResolver); in fillPhoneCache_withNonNullPhoneNumbers()
119 assertThat(mContacts.getPhoneNumber(mResolver, TEST_ID)).isNull(); in fillPhoneCache_withNonNullPhoneNumbers()
131 mContacts.mNames.put(TEST_PHONE, contact); in clearCache()
132 mContacts.fillPhoneCache(mResolver); in clearCache()
[all …]
/packages/apps/Contacts/src/com/android/contacts/model/
DSimCard.java56 private List<SimContact> mContacts; field in SimCard
67 if (other.mContacts != null) { in SimCard()
68 mContacts = new ArrayList<>(other.mContacts); in SimCard()
121 return mContacts != null; in areContactsAvailable()
130 if (mContacts == null) { in hasContacts()
133 return !mContacts.isEmpty(); in hasContacts()
142 if (mContacts == null) { in getContactCount()
145 return mContacts.size(); in getContactCount()
159 " isImported? " + isImported() + " contacts=" + mContacts); in isImportable()
168 return mContacts; in getContacts()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapConvoListingElement.java57 private List<BluetoothMapConvoContactElement> mContacts; field in BluetoothMapConvoListingElement
121 return mContacts; in getContacts()
125 this.mContacts = contacts; in setContacts()
129 if (mContacts == null) { in addContact()
130 mContacts = new ArrayList<BluetoothMapConvoContactElement>(); in addContact()
132 mContacts.add(contact); in addContact()
136 mContacts.remove(contact); in removeContact()
140 mContacts.remove(index); in removeContact()
283 if (mContacts != null) { in encode()
284 for (BluetoothMapConvoContactElement contact : mContacts) { in encode()
[all …]
/packages/apps/Contacts/src/com/android/contacts/
DSimImportService.java262 private final List<SimContact> mContacts; field in SimImportService.ImportTask
272 mContacts = contacts; in ImportTask()
295 mDao.importContacts(mContacts, mTargetAccount); in doInBackground()
321 .putExtra(EXTRA_RESULT_COUNT, mContacts.size()) in onPostExecute()