Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/model/
DSimCard.java55 private List<SimContact> mContacts; field in SimCard
66 if (other.mContacts != null) { in SimCard()
67 mContacts = new ArrayList<>(other.mContacts); in SimCard()
125 return mContacts != null; in areContactsAvailable()
134 if (mContacts == null) { in hasContacts()
137 return !mContacts.isEmpty(); in hasContacts()
146 if (mContacts == null) { in getContactCount()
149 return mContacts.size(); in getContactCount()
163 " isImported? " + isImported() + " contacts=" + mContacts); in isImportable()
172 return mContacts; in getContacts()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapConvoListingElement.java54 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()
285 if (mContacts != null) { in encode()
286 for (BluetoothMapConvoContactElement contact : mContacts) { in encode()
[all …]
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/search/
DContactResultsAdapter.java42 private final List<ContactDetails> mContacts = new ArrayList<>(); field in ContactResultsAdapter
53 mContacts.clear(); in clear()
62 mContacts.clear(); in setData()
63 mContacts.addAll(data); in setData()
76 holder.bind(mContacts.get(position)); in onBindViewHolder()
87 return mContacts.size(); in getItemCount()
/packages/apps/Contacts/src/com/android/contacts/
DSimImportService.java260 private final List<SimContact> mContacts; field in SimImportService.ImportTask
270 mContacts = contacts; in ImportTask()
293 mDao.importContacts(mContacts, mTargetAccount); in doInBackground()
319 .putExtra(EXTRA_RESULT_COUNT, mContacts.size()) in onPostExecute()