Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/
DBluetoothPbapUtils.java75 static long sSecondaryVersionCounter = 0; field in BluetoothPbapUtils
242 edit.putLong("secondary", sSecondaryVersionCounter); in savePbapParams()
255 + sSecondaryVersionCounter in savePbapParams()
270 BluetoothPbapUtils.sSecondaryVersionCounter = pref.getLong("secondary", 0); in fetchPbapParams()
336 sSecondaryVersionCounter++; in updateSecondaryVersionCounter()
353 sSecondaryVersionCounter += deletedContacts.size(); in updateSecondaryVersionCounter()
460 sSecondaryVersionCounter++; in updateSecondaryVersionCounter()
471 + sSecondaryVersionCounter); in updateSecondaryVersionCounter()
474 if (sSecondaryVersionCounter < 0 || sPrimaryVersionCounter < 0) { in updateSecondaryVersionCounter()
596 sSecondaryVersionCounter += Math.abs(sTotalContacts - sContactSet.size()); in fetchAndSetContacts()
[all …]
DBluetoothPbapObexServer.java1828 Log.d(TAG, "secondaryVersionCounter is " + BluetoothPbapUtils.sSecondaryVersionCounter); in getPBSecondaryFolderVersion()
1829 svc.putLong(BluetoothPbapUtils.sSecondaryVersionCounter); in getPBSecondaryFolderVersion()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbap/
DBluetoothPbapUtilsTest.java151 BluetoothPbapUtils.sSecondaryVersionCounter = -1; in rolloverCounters()
156 assertThat(BluetoothPbapUtils.sSecondaryVersionCounter).isEqualTo(0); in rolloverCounters()
346 assertThat(BluetoothPbapUtils.sSecondaryVersionCounter).isEqualTo(0); in updateSecondaryVersionCounter_whenContactsAreUpdated()
354 assertThat(BluetoothPbapUtils.sSecondaryVersionCounter).isEqualTo(1); in updateSecondaryVersionCounter_whenContactsAreUpdated()
359 BluetoothPbapUtils.sSecondaryVersionCounter = 0; in clearStaticFields()
DBluetoothPbapObexServerTest.java659 BluetoothPbapUtils.sSecondaryVersionCounter = secondaryVersion; in getPBSecondaryFolderVersion()