/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/ |
D | AudioStreamsProgressCategoryController.java | 157 Log.d(TAG, "setSourceFromQrCode(): broadcastId " + source.getBroadcastId()); in setSourceFromQrCode() 179 var broadcastIdFound = source.getBroadcastId(); in handleSourceFound() 181 if (mSourceFromQrCode != null && mSourceFromQrCode.getBroadcastId() == UNSET_BROADCAST_ID) { in handleSourceFound() 192 AudioStreamsHelper.getBroadcastName(source), source.getBroadcastId()); in handleSourceFound() 195 mBroadcastIdToPreferenceMap.put(source.getBroadcastId(), preference); in handleSourceFound() 270 mSourceFromQrCode.getBroadcastId(), in handleSourceFromQrCodeIfExists() 290 : mSourceFromQrCode.getBroadcastId())); in handleSourceFromQrCodeIfExists() 300 .anyMatch(connected -> connected.getBroadcastId() == broadcastId)) { in handleSourceLost() 331 connected.getBroadcastId() in handleSourceRemoved() 361 var broadcastIdConnected = receiveState.getBroadcastId(); in handleSourceConnected() [all …]
|
D | AudioStreamsRepository.java | 70 + metadata.getBroadcastId() in cacheMetadata() 73 mBroadcastIdToMetadataCacheMap.put(metadata.getBroadcastId(), metadata); in cacheMetadata() 118 + metadata.getBroadcastId() in saveMetadata() 144 if (savedMetadata == null || savedMetadata.getBroadcastId() != broadcastId) { in getSavedMetadata() 152 + savedMetadata.getBroadcastId() in getSavedMetadata()
|
D | AudioStreamPreference.java | 87 return mAudioStream != null ? mAudioStream.getBroadcastId() : -1; in getAudioStreamBroadcastId() 184 private int getBroadcastId() { in getBroadcastId() method in AudioStreamPreference.AudioStream 186 ? mMetadata.getBroadcastId() in getBroadcastId() 187 : mReceiveState != null ? mReceiveState.getBroadcastId() : UNAVAILABLE; in getBroadcastId()
|
D | AudioStreamsHelper.java | 90 + source.getBroadcastId() in addSource() 120 .filter(state -> state.getBroadcastId() == broadcastId) in removeSource() 327 .orElse("Broadcast Id: " + source.getBroadcastId()); in getBroadcastName() 335 .orElse("Broadcast Id: " + state.getBroadcastId()); in getBroadcastName()
|
D | AudioStreamsProgressCategoryCallback.java | 83 mCategoryController.handleSourceFailedToConnect(source.getBroadcastId()); in onSourceAddFailed()
|
D | AudioStreamsBroadcastAssistantCallback.java | 107 + source.getBroadcastId() in onSourceFound()
|
D | AudioStreamsDashboardFragment.java | 122 Log.d(TAG, "onActivityResult() broadcastId : " + source.getBroadcastId()); in onActivityResult()
|
D | AudioStreamHeaderController.java | 145 ::getBroadcastId) in updateSummary()
|
D | AudioStreamButtonController.java | 149 .map(BluetoothLeBroadcastReceiveState::getBroadcastId) in updateButton()
|
/packages/modules/Bluetooth/android/leaudio/app/src/main/java/com/android/bluetooth/leaudio/ |
D | BroadcastItemsAdapter.java | 60 Integer broadcastId = meta.getBroadcastId(); in onBindViewHolder() 102 mBroadcastMetadataList.removeIf(bc -> (bc.getBroadcastId() == broadcast.getBroadcastId())); in updateBroadcastMetadata() 113 mBroadcastMetadataList.removeIf(bc -> (broadcastId.equals(bc.getBroadcastId()))); in removeBroadcast() 123 int broadcastId = b.getBroadcastId(); in setBroadcasts() 159 mBroadcastMetadataList.get(position).getBroadcastId(); in BroadcastItemHolder()
|
D | BroadcastScanViewModel.java | 54 mScanSessionBroadcasts.put(source.getBroadcastId(), source);
|
D | BroadcasterActivity.java | 222 if (b.getBroadcastId() == broadcastId) { in onCreate() 416 "Updated broadcast " + audioBroadcast.getBroadcastId(), in onCreate()
|
D | BroadcastScanActivity.java | 64 if (Objects.equals(b.getBroadcastId(), broadcastId)) { in onCreate()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/ |
D | BassClientService.java | 343 if (value.getBroadcastId() != BassConstants.INVALID_BROADCAST_ID) { in updatePeriodicAdvertisementResultMap() 344 bId = value.getBroadcastId(); in updatePeriodicAdvertisementResultMap() 363 if (paRes.getBroadcastId() != BassConstants.INVALID_BROADCAST_ID) { in updatePeriodicAdvertisementResultMap() 366 updateSyncHandleForBroadcastId(syncHandle, paRes.getBroadcastId()); in updatePeriodicAdvertisementResultMap() 827 && (sourceState.getBroadcastId() in checkForPendingGroupOpRequest() 830 .getBroadcastId())); in checkForPendingGroupOpRequest() 839 && (metadata.getBroadcastId() in checkForPendingGroupOpRequest() 841 .getBroadcastId())); in checkForPendingGroupOpRequest() 939 int broadcastId = receiveState.getBroadcastId(); in localNotifySourceAdded() 986 int broadcastId = metadata.getBroadcastId(); in getGroupManagedDeviceSources() [all …]
|
D | BassClientStateMachine.java | 262 return mPendingMetadata != null && mPendingMetadata.getBroadcastId() == broadcastId; in hasPendingSourceOperation() 266 if ((mPendingMetadata != null) && (mPendingMetadata.getBroadcastId() == broadcastId)) { in cancelPendingSourceOperation() 661 int broadcastId = result.getBroadcastId(); in getBroadcastMetadataFromBaseData() 687 ScanResult scanRes = mService.getCachedBroadcast(result.getBroadcastId()); in getBroadcastMetadataFromBaseData() 716 recvState.getSourceDevice(), recvState.getBroadcastId()); in processPASyncState() 984 mService.getSyncHandleForBroadcastId(recvState.getBroadcastId())); in processBroadcastReceiverState() 1621 stream.write(metaData.getBroadcastId() & 0x00000000000000FF); in convertMetadataToAddSourceByteArray() 1622 stream.write((metaData.getBroadcastId() & 0x000000000000FF00) >>> 8); in convertMetadataToAddSourceByteArray() 1623 stream.write((metaData.getBroadcastId() & 0x0000000000FF0000) >>> 16); in convertMetadataToAddSourceByteArray() 1956 metaData.getBroadcastId())))) { in processMessage() [all …]
|
D | PeriodicAdvertisementResult.java | 115 public int getBroadcastId() { in getBroadcastId() method in PeriodicAdvertisementResult
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothFindBroadcastsFragment.java | 265 Log.d(TAG, "onActivityResult source Id = " + source.getBroadcastId()); in onActivityResult() 270 Integer.toString(source.getBroadcastId()))); in onActivityResult() 366 Integer.toString(source.getBroadcastId())); in updateListCategoryFromBroadcastMetadata() 369 item.setKey(Integer.toString(source.getBroadcastId())); in updateListCategoryFromBroadcastMetadata() 384 Integer.toString(receiveState.getBroadcastId())); in updateListCategoryFromBroadcastReceiveState() 387 item.setKey(Integer.toString(receiveState.getBroadcastId())); in updateListCategoryFromBroadcastReceiveState()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/ |
D | AudioStreamsRepositoryTest.java | 66 assertThat(mAudioStreamsRepository.getCachedMetadata(mMetadata.getBroadcastId())) in cacheAndGetMetadata_sameId() 83 assertThat(mAudioStreamsRepository.getSavedMetadata(mContext, mMetadata.getBroadcastId())) in saveAndGetMetadata_sameId()
|
D | AudioStreamPreferenceTest.java | 65 when(mBluetoothLeBroadcastMetadata.getBroadcastId()).thenReturn(BROADCAST_ID); in setUp() 68 when(mBluetoothLeBroadcastReceiveState.getBroadcastId()).thenReturn(BROADCAST_ID); in setUp()
|
D | AudioStreamHeaderControllerTest.java | 94 when(mBroadcastReceiveState.getBroadcastId()).thenReturn(BROADCAST_ID); in testDisplayPreference_sourceConnected_setSummary()
|
D | AudioStreamButtonControllerTest.java | 92 when(mBroadcastReceiveState.getBroadcastId()).thenReturn(BROADCAST_ID); in testDisplayPreference_sourceConnected_setDisconnectButton()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/ |
D | PeriodicAdvertisementResultTest.java | 69 assertThat(result.getBroadcastId()).isEqualTo(broadcastId); in constructor() 112 assertThat(result.getBroadcastId()).isEqualTo(newBroadcastId); in updateMethods()
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothLeBroadcastMetadata.java | 160 && mBroadcastId == other.getBroadcastId() in equals() 258 public int getBroadcastId() { in getBroadcastId() method in BluetoothLeBroadcastMetadata 545 mBroadcastId = original.getBroadcastId(); in Builder()
|
D | BluetoothLeBroadcastReceiveState.java | 380 public int getBroadcastId() { in getBroadcastId() method in BluetoothLeBroadcastReceiveState
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/ |
D | AudioSharingUtils.java | 300 + broadcastMetadata.getBroadcastId() in addSourceToTargetSinks() 308 + broadcastMetadata.getBroadcastId() in addSourceToTargetSinks()
|