Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamsProgressCategoryController.java354 void handleSourceConnected(BluetoothLeBroadcastReceiveState receiveState) { in handleSourceConnected() argument
358 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() argument
408 if (!AudioStreamsHelper.isBadCode(receiveState)) { in handleSourceConnectBadCode()
412 receiveState.getBroadcastId(), in handleSourceConnectBadCode()
[all …]
DAudioStreamPreference.java150 Context context, BluetoothLeBroadcastReceiveState receiveState) { in fromReceiveState() argument
152 preference.setTitle(AudioStreamsHelper.getBroadcastName(receiveState)); in fromReceiveState()
153 preference.setAudioStream(new AudioStream(receiveState)); in fromReceiveState()
180 private AudioStream(BluetoothLeBroadcastReceiveState receiveState) { in AudioStream() argument
181 mReceiveState = receiveState; in AudioStream()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothFindBroadcastsFragment.java382 BluetoothLeBroadcastReceiveState receiveState) { in updateListCategoryFromBroadcastReceiveState() argument
384 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()
DBluetoothBroadcastSourcePreference.java123 public void updateReceiveStateAndRefreshUi(BluetoothLeBroadcastReceiveState receiveState) { in updateReceiveStateAndRefreshUi() argument
124 mBluetoothLeBroadcastReceiveState = receiveState; in updateReceiveStateAndRefreshUi()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/
DBassClientService.java934 BluetoothDevice sink, BluetoothLeBroadcastReceiveState receiveState) { in localNotifySourceAdded() argument
935 if (!isLocalBroadcast(receiveState)) { in localNotifySourceAdded()
939 int broadcastId = receiveState.getBroadcastId(); in localNotifySourceAdded()
2781 boolean isLocalBroadcast(BluetoothLeBroadcastReceiveState receiveState) { in isLocalBroadcast() argument
2782 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 …]
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothLeBroadcastReceiveState.java518 String receiveState = in toString() local
539 receiveState += in toString()
552 return receiveState; in toString()