Home
last modified time | relevance | path

Searched refs:BluetoothPbapUtils (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbap/
DBluetoothPbapUtilsTest.java94 assertThat(BluetoothPbapUtils.checkFieldUpdates(oldFields, newFields)).isTrue(); in checkFieldUpdates_whenSizeAreDifferent_returnsTrue()
102 assertThat(BluetoothPbapUtils.checkFieldUpdates(oldFields, newFields)).isTrue(); in checkFieldUpdates_newFieldsHasItsOwnFields_returnsTrue()
110 assertThat(BluetoothPbapUtils.checkFieldUpdates(oldFields, newFields)).isTrue(); in checkFieldUpdates_onlyNewFieldsIsNull_returnsTrue()
118 assertThat(BluetoothPbapUtils.checkFieldUpdates(oldFields, newFields)).isTrue(); in checkFieldUpdates_onlyOldFieldsIsNull_returnsTrue()
126 assertThat(BluetoothPbapUtils.checkFieldUpdates(oldFields, newFields)).isFalse(); in checkFieldUpdates_whenBothAreNull_returnsTrue()
144 assertThat(BluetoothPbapUtils.createFilteredVCardComposer(mContext, vcardType, filter)) in createFilteredVCardComposer_returnsNewVCardComposer()
150 BluetoothPbapUtils.sPrimaryVersionCounter = -1; in rolloverCounters()
151 BluetoothPbapUtils.sSecondaryVersionCounter = -1; in rolloverCounters()
153 BluetoothPbapUtils.rolloverCounters(); in rolloverCounters()
155 assertThat(BluetoothPbapUtils.sPrimaryVersionCounter).isEqualTo(0); in rolloverCounters()
[all …]
DBluetoothPbapObexServerTest.java641 BluetoothPbapUtils.sDbIdentifier.set(databaseIdentifierLow); in getDatabaseIdentifier()
650 BluetoothPbapUtils.sPrimaryVersionCounter = primaryVersion; in getPBPrimaryFolderVersion()
659 BluetoothPbapUtils.sSecondaryVersionCounter = secondaryVersion; in getPBSecondaryFolderVersion()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/
DBluetoothPbapUtils.java54 class BluetoothPbapUtils { class
268 BluetoothPbapUtils.sDbIdentifier.set(pref.getLong("DbIdentifier", timeStamp)); in fetchPbapParams()
269 BluetoothPbapUtils.sPrimaryVersionCounter = pref.getLong("primary", 0); in fetchPbapParams()
270 BluetoothPbapUtils.sSecondaryVersionCounter = pref.getLong("secondary", 0); in fetchPbapParams()
271 BluetoothPbapUtils.sTotalFields = pref.getLong("totalContacts", 0); in fetchPbapParams()
272 BluetoothPbapUtils.sContactsLastUpdated = pref.getLong("lastUpdatedTimestamp", timeStamp); in fetchPbapParams()
273 BluetoothPbapUtils.sTotalFields = pref.getLong("totalFields", 0); in fetchPbapParams()
274 BluetoothPbapUtils.sTotalSvcFields = pref.getLong("totalSvcFields", 0); in fetchPbapParams()
DBluetoothPbapService.java338 BluetoothPbapUtils.savePbapParams(this); in closeService()
509 BluetoothPbapUtils.fetchPbapParams(BluetoothPbapService.this); in handleMessage()
567 BluetoothPbapUtils.rolloverCounters(); in handleMessage()
1028 BluetoothPbapUtils.loadAllContacts( in loadAllContacts()
1044 BluetoothPbapUtils.updateSecondaryVersionCounter( in updateSecondaryVersion()
DBluetoothPbapVcardManager.java110 return BluetoothPbapUtils.createProfileVCard(mContext, vcardType, filter); in getOwnerPhoneNumberVcardFromProfile()
288 ownerName = BluetoothPbapUtils.getProfileName(mContext); in getPhonebookNameList()
360 BluetoothPbapUtils.createFilteredVCardComposer(mContext, vcardType, null); in getSelectedPhonebookNameList()
377 ownerName = BluetoothPbapUtils.getProfileName(mContext); in getSelectedPhonebookNameList()
561 Log.d(TAG, "primaryVersionCounter is " + BluetoothPbapUtils.sPrimaryVersionCounter); in getCallHistoryPrimaryFolderVersion()
866 composer = BluetoothPbapUtils.createFilteredVCardComposer(mContext, vcardType, null); in composeContactsAndSendVCards()
986 composer = BluetoothPbapUtils.createFilteredVCardComposer(mContext, vcardType, null); in composeContactsAndSendSelectedVCards()
DBluetoothPbapObexServer.java1799 mDatabaseIdentifierLow = BluetoothPbapUtils.sDbIdentifier.get(); in getDatabaseIdentifier()
1817 Log.d(TAG, "primaryVersionCounter is " + BluetoothPbapUtils.sPrimaryVersionCounter); in getPBPrimaryFolderVersion()
1818 pvc.putLong(BluetoothPbapUtils.sPrimaryVersionCounter); in getPBPrimaryFolderVersion()
1828 Log.d(TAG, "secondaryVersionCounter is " + BluetoothPbapUtils.sSecondaryVersionCounter); in getPBSecondaryFolderVersion()
1829 svc.putLong(BluetoothPbapUtils.sSecondaryVersionCounter); in getPBSecondaryFolderVersion()