Searched refs:receiveState (Results 1 – 6 of 6) sorted by relevance
354 void handleSourceConnected(BluetoothLeBroadcastReceiveState receiveState) { in handleSourceConnected() argument358 if (!AudioStreamsHelper.isConnected(receiveState)) { in handleSourceConnected()361 var broadcastIdConnected = receiveState.getBroadcastId(); in handleSourceConnected()373 AudioStreamsHelper.getBroadcastName(receiveState), in handleSourceConnected()374 receiveState.getBroadcastId()); in handleSourceConnected()377 mBroadcastIdToPreferenceMap.put(receiveState.getBroadcastId(), preference); in handleSourceConnected()390 return addNewPreference(receiveState, AudioStreamState.SOURCE_ADDED); in handleSourceConnected()404 void handleSourceConnectBadCode(BluetoothLeBroadcastReceiveState receiveState) { in handleSourceConnectBadCode() argument408 if (!AudioStreamsHelper.isBadCode(receiveState)) { in handleSourceConnectBadCode()412 receiveState.getBroadcastId(), in handleSourceConnectBadCode()[all …]
150 Context context, BluetoothLeBroadcastReceiveState receiveState) { in fromReceiveState() argument152 preference.setTitle(AudioStreamsHelper.getBroadcastName(receiveState)); in fromReceiveState()153 preference.setAudioStream(new AudioStream(receiveState)); in fromReceiveState()180 private AudioStream(BluetoothLeBroadcastReceiveState receiveState) { in AudioStream() argument181 mReceiveState = receiveState; in AudioStream()
382 BluetoothLeBroadcastReceiveState receiveState) { in updateListCategoryFromBroadcastReceiveState() argument384 Integer.toString(receiveState.getBroadcastId())); in updateListCategoryFromBroadcastReceiveState()387 item.setKey(Integer.toString(receiveState.getBroadcastId())); in updateListCategoryFromBroadcastReceiveState()390 item.updateReceiveStateAndRefreshUi(receiveState); in updateListCategoryFromBroadcastReceiveState()393 setSourceId(receiveState.getSourceId()); in updateListCategoryFromBroadcastReceiveState()
123 public void updateReceiveStateAndRefreshUi(BluetoothLeBroadcastReceiveState receiveState) { in updateReceiveStateAndRefreshUi() argument124 mBluetoothLeBroadcastReceiveState = receiveState; in updateReceiveStateAndRefreshUi()
934 BluetoothDevice sink, BluetoothLeBroadcastReceiveState receiveState) { in localNotifySourceAdded() argument935 if (!isLocalBroadcast(receiveState)) { in localNotifySourceAdded()939 int broadcastId = receiveState.getBroadcastId(); in localNotifySourceAdded()2781 boolean isLocalBroadcast(BluetoothLeBroadcastReceiveState receiveState) { in isLocalBroadcast() argument2782 if (receiveState == null) { in isLocalBroadcast()2786 return isLocalBroadcast(receiveState.getSourceAdvertisingSid()); in isLocalBroadcast()2798 for (BluetoothLeBroadcastReceiveState receiveState : getAllSources(device)) { in getReceiveStateDevicePairs()2803 && (receiveState.getBroadcastId() != broadcastId)) { in getReceiveStateDevicePairs()2809 receiveState, device)); in getReceiveStateDevicePairs()2855 for (BluetoothLeBroadcastReceiveState receiveState : getAllSources(device)) { in stopSourceReceivers()[all …]
518 String receiveState = in toString() local539 receiveState += in toString()552 return receiveState; in toString()