Home
last modified time | relevance | path

Searched refs:sContactSet (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/
DBluetoothPbapUtils.java110 @VisibleForTesting static HashSet<String> sContactSet = new HashSet<>(); field in BluetoothPbapUtils
350 HashSet<String> deletedContacts = new HashSet<>(sContactSet); in updateSecondaryVersionCounter()
358 sContactSet.remove(deletedContact); in updateSecondaryVersionCounter()
584 sContactSet.add(contactId); in fetchAndSetContacts()
592 sPrimaryVersionCounter += Math.abs(sTotalContacts - sContactSet.size()); in fetchAndSetContacts()
595 if (sTotalContacts != sContactSet.size()) { in fetchAndSetContacts()
596 sSecondaryVersionCounter += Math.abs(sTotalContacts - sContactSet.size()); in fetchAndSetContacts()
619 return sContactSet.size(); in fetchAndSetContacts()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbap/
DBluetoothPbapUtilsTest.java317 BluetoothPbapUtils.sContactSet.add("id1"); in updateSecondaryVersionCounter_whenContactsAreDeleted()
318 BluetoothPbapUtils.sContactSet.add("id2"); in updateSecondaryVersionCounter_whenContactsAreDeleted()
360 BluetoothPbapUtils.sContactSet.clear(); in clearStaticFields()