Searched refs:recvState (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/ |
D | BassClientStateMachine.java | 328 BluetoothLeBroadcastReceiveState recvState = getBroadcastReceiveStateForSourceId(sourceId); in isSyncedToTheSource() local 330 return recvState != null in isSyncedToTheSource() 331 && (recvState.getPaSyncState() in isSyncedToTheSource() 333 || recvState.getBisSyncState().stream() in isSyncedToTheSource() 358 BluetoothLeBroadcastReceiveState recvState = in parseBaseData() local 360 processPASyncState(recvState); in parseBaseData() 705 private void processPASyncState(BluetoothLeBroadcastReceiveState recvState) { in processPASyncState() argument 707 if (recvState == null) { in processPASyncState() 711 int state = recvState.getPaSyncState(); in processPASyncState() 716 recvState.getSourceDevice(), recvState.getBroadcastId()); in processPASyncState() [all …]
|
D | BassClientService.java | 1077 for (BluetoothLeBroadcastReceiveState recvState : stateMachine.getAllSources()) { in hasRoomForBroadcastSourceAddition() 1078 if (recvState.getSourceDevice().getAddress().equals(emptyBluetoothDevice)) { in hasRoomForBroadcastSourceAddition() 3438 BluetoothDevice sink, BluetoothLeBroadcastReceiveState recvState, int reason) { in notifySourceAdded() argument 3439 sService.localNotifySourceAdded(sink, recvState); in notifySourceAdded() 3447 + recvState.getSourceId() in notifySourceAdded() 3451 ObjParams param = new ObjParams(sink, recvState); in notifySourceAdded() 3452 obtainMessage(MSG_SOURCE_ADDED, reason, recvState.getSourceId(), param).sendToTarget(); in notifySourceAdded()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/ |
D | BassClientStateMachineTest.java | 1607 BluetoothLeBroadcastReceiveState recvState = in sendSetBcastCodeMessage_inConnectedState() local 1622 mBassClientStateMachine.sendMessage(SET_BCAST_CODE, recvState); in sendSetBcastCodeMessage_inConnectedState() 1626 recvState = in sendSetBcastCodeMessage_inConnectedState() 1640 mBassClientStateMachine.sendMessage(SET_BCAST_CODE, recvState); in sendSetBcastCodeMessage_inConnectedState() 1649 mBassClientStateMachine.obtainMessage(SET_BCAST_CODE, recvState), in sendSetBcastCodeMessage_inConnectedState() 1714 BluetoothLeBroadcastReceiveState recvState = mBassClientStateMachine.getAllSources().get(0); in receiveSinkReceiveState_inConnectedState() local 1716 assertThat(recvState.getSourceId()).isEqualTo(sourceId); in receiveSinkReceiveState_inConnectedState() 1717 assertThat(recvState.getSourceAddressType()).isEqualTo(mSourceTestDevice.getAddressType()); in receiveSinkReceiveState_inConnectedState() 1718 assertThat(recvState.getSourceDevice()).isEqualTo(mSourceTestDevice); in receiveSinkReceiveState_inConnectedState() 1719 assertThat(recvState.getSourceAdvertisingSid()).isEqualTo(0x00); in receiveSinkReceiveState_inConnectedState() [all …]
|
D | BassClientServiceTest.java | 989 BluetoothLeBroadcastReceiveState recvState = in injectRemoteSourceState() local 1015 stateList.add(recvState); in injectRemoteSourceState() 1018 return recvState; in injectRemoteSourceState() 1028 BluetoothLeBroadcastReceiveState recvState = in injectRemoteSourceStateSourceAdded() local 1041 sm.getDevice(), recvState, BluetoothStatusCodes.REASON_LOCAL_APP_REQUEST); in injectRemoteSourceStateSourceAdded() local 1044 return recvState; in injectRemoteSourceStateSourceAdded() 1055 BluetoothLeBroadcastReceiveState recvState = in injectRemoteSourceStateChanged() local 1061 .notifyReceiveStateChanged(sm.getDevice(), recvState.getSourceId(), recvState); in injectRemoteSourceStateChanged() local 1064 return recvState; in injectRemoteSourceStateChanged()
|