Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/
DBassClientService.java314 bId = getBroadcastIdForSyncHandle(BassConstants.INVALID_SYNC_HANDLE); in updatePeriodicAdvertisementResultMap()
358 if (syncHandle != BassConstants.INVALID_SYNC_HANDLE) { in updatePeriodicAdvertisementResultMap()
492 if (syncHandle != BassConstants.INVALID_SYNC_HANDLE) { in addActiveSyncedSource()
546 if (syncHandle != BassConstants.INVALID_SYNC_HANDLE) { in addActiveSyncedSource()
713 return BassConstants.INVALID_SYNC_HANDLE; in getSyncHandleForBroadcastId()
716 int syncHandle = BassConstants.INVALID_SYNC_HANDLE; in getSyncHandleForBroadcastId()
1872 if (mPeriodicAdvCallbacksMap.containsKey(BassConstants.INVALID_SYNC_HANDLE)) { in onSyncEstablished()
1874 mPeriodicAdvCallbacksMap.get(BassConstants.INVALID_SYNC_HANDLE); in onSyncEstablished()
1876 mPeriodicAdvCallbacksMap.remove(BassConstants.INVALID_SYNC_HANDLE); in onSyncEstablished()
1898 int broadcastId = getBroadcastIdForSyncHandle(BassConstants.INVALID_SYNC_HANDLE); in onSyncEstablished()
[all …]
DBassConstants.java39 public static final int INVALID_SYNC_HANDLE = -1; field in BassConstants
DBassClientStateMachine.java481 int tempHandle = BassConstants.INVALID_SYNC_HANDLE; in selectSource()
502 BassConstants.INVALID_SYNC_HANDLE, in selectSource()
532 mPeriodicAdvCallbacksMap.remove(BassConstants.INVALID_SYNC_HANDLE); in cancelActiveSync()
564 if (syncHandle != BassConstants.INVALID_SYNC_HANDLE in unsyncSource()
720 if (syncHandle != BassConstants.INVALID_SYNC_HANDLE) { in processPASyncState()
1218 if (mPeriodicAdvCallbacksMap.containsKey(BassConstants.INVALID_SYNC_HANDLE)) { in onSyncEstablished()
1220 mPeriodicAdvCallbacksMap.get(BassConstants.INVALID_SYNC_HANDLE); in onSyncEstablished()
1222 mPeriodicAdvCallbacksMap.remove(BassConstants.INVALID_SYNC_HANDLE); in onSyncEstablished()
1234 mPeriodicAdvCallbacksMap.remove(BassConstants.INVALID_SYNC_HANDLE); in onSyncEstablished()
1904 if (mPeriodicAdvCallbacksMap.containsKey(BassConstants.INVALID_SYNC_HANDLE)) { in processMessage()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/
DBassClientServiceTest.java2988 BassConstants.INVALID_SYNC_HANDLE, testBroadcastId); in testPeriodicAdvertisementResultMap_updateGetAndModifyNotifiedFlag()
2992 BassConstants.INVALID_SYNC_HANDLE, in testPeriodicAdvertisementResultMap_updateGetAndModifyNotifiedFlag()
3050 BassConstants.INVALID_SYNC_HANDLE, testBroadcastId1); in testPeriodicAdvertisementResultMap_syncEstablishedOnTheSameSyncHandle()
3054 BassConstants.INVALID_SYNC_HANDLE, in testPeriodicAdvertisementResultMap_syncEstablishedOnTheSameSyncHandle()
3084 BassConstants.INVALID_SYNC_HANDLE, testBroadcastId2); in testPeriodicAdvertisementResultMap_syncEstablishedOnTheSameSyncHandle()
3088 BassConstants.INVALID_SYNC_HANDLE, in testPeriodicAdvertisementResultMap_syncEstablishedOnTheSameSyncHandle()
3134 .isEqualTo(BassConstants.INVALID_SYNC_HANDLE); in testSyncHandleToBroadcastIdMap_getSyncHandleAndGetBroadcastId()
3158 BassConstants.INVALID_SYNC_HANDLE, in testSyncHandleToBroadcastIdMap_getSyncHandleAndGetBroadcastId()
3177 .isEqualTo(BassConstants.INVALID_SYNC_HANDLE); in testSyncHandleToBroadcastIdMap_getSyncHandleAndGetBroadcastId()