Searched refs:sTotalContacts (Results 1 – 2 of 2) sorted by relevance
76 @VisibleForTesting static long sTotalContacts = 0; field in BluetoothPbapUtils244 edit.putLong("totalContacts", sTotalContacts); in savePbapParams()282 sTotalContacts = fetchAndSetContacts(context, handler, projection, null, null, true); in loadAllContacts()283 if (sTotalContacts < 0) { in loadAllContacts()284 sTotalContacts = 0; in loadAllContacts()331 if (currentContactCount > sTotalContacts) { in updateSecondaryVersionCounter()338 sTotalContacts = currentContactCount; in updateSecondaryVersionCounter()341 } else if (currentContactCount < sTotalContacts) { in updateSecondaryVersionCounter()342 sTotalContacts = currentContactCount; in updateSecondaryVersionCounter()592 sPrimaryVersionCounter += Math.abs(sTotalContacts - sContactSet.size()); in fetchAndSetContacts()[all …]
291 assertThat(BluetoothPbapUtils.sTotalContacts).isEqualTo(4); in updateSecondaryVersionCounter_whenContactsAreAdded()316 BluetoothPbapUtils.sTotalContacts = 2; in updateSecondaryVersionCounter_whenContactsAreDeleted()322 assertThat(BluetoothPbapUtils.sTotalContacts).isEqualTo(0); in updateSecondaryVersionCounter_whenContactsAreDeleted()348 BluetoothPbapUtils.sTotalContacts = 1; in updateSecondaryVersionCounter_whenContactsAreUpdated()362 BluetoothPbapUtils.sTotalContacts = 0; in clearStaticFields()