Home
last modified time | relevance | path

Searched refs:getBroadcastId (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamsProgressCategoryController.java157 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 …]
DAudioStreamsRepository.java70 + 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()
DAudioStreamPreference.java87 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()
DAudioStreamsHelper.java90 + 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()
DAudioStreamsProgressCategoryCallback.java83 mCategoryController.handleSourceFailedToConnect(source.getBroadcastId()); in onSourceAddFailed()
DAudioStreamsBroadcastAssistantCallback.java107 + source.getBroadcastId() in onSourceFound()
DAudioStreamsDashboardFragment.java122 Log.d(TAG, "onActivityResult() broadcastId : " + source.getBroadcastId()); in onActivityResult()
DAudioStreamHeaderController.java145 ::getBroadcastId) in updateSummary()
DAudioStreamButtonController.java149 .map(BluetoothLeBroadcastReceiveState::getBroadcastId) in updateButton()
/packages/modules/Bluetooth/android/leaudio/app/src/main/java/com/android/bluetooth/leaudio/
DBroadcastItemsAdapter.java60 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()
DBroadcastScanViewModel.java54 mScanSessionBroadcasts.put(source.getBroadcastId(), source);
DBroadcasterActivity.java222 if (b.getBroadcastId() == broadcastId) { in onCreate()
416 "Updated broadcast " + audioBroadcast.getBroadcastId(), in onCreate()
DBroadcastScanActivity.java64 if (Objects.equals(b.getBroadcastId(), broadcastId)) { in onCreate()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/
DBassClientService.java343 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 …]
DBassClientStateMachine.java262 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 …]
DPeriodicAdvertisementResult.java115 public int getBroadcastId() { in getBroadcastId() method in PeriodicAdvertisementResult
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothFindBroadcastsFragment.java265 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/
DAudioStreamsRepositoryTest.java66 assertThat(mAudioStreamsRepository.getCachedMetadata(mMetadata.getBroadcastId())) in cacheAndGetMetadata_sameId()
83 assertThat(mAudioStreamsRepository.getSavedMetadata(mContext, mMetadata.getBroadcastId())) in saveAndGetMetadata_sameId()
DAudioStreamPreferenceTest.java65 when(mBluetoothLeBroadcastMetadata.getBroadcastId()).thenReturn(BROADCAST_ID); in setUp()
68 when(mBluetoothLeBroadcastReceiveState.getBroadcastId()).thenReturn(BROADCAST_ID); in setUp()
DAudioStreamHeaderControllerTest.java94 when(mBroadcastReceiveState.getBroadcastId()).thenReturn(BROADCAST_ID); in testDisplayPreference_sourceConnected_setSummary()
DAudioStreamButtonControllerTest.java92 when(mBroadcastReceiveState.getBroadcastId()).thenReturn(BROADCAST_ID); in testDisplayPreference_sourceConnected_setDisconnectButton()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/
DPeriodicAdvertisementResultTest.java69 assertThat(result.getBroadcastId()).isEqualTo(broadcastId); in constructor()
112 assertThat(result.getBroadcastId()).isEqualTo(newBroadcastId); in updateMethods()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothLeBroadcastMetadata.java160 && mBroadcastId == other.getBroadcastId() in equals()
258 public int getBroadcastId() { in getBroadcastId() method in BluetoothLeBroadcastMetadata
545 mBroadcastId = original.getBroadcastId(); in Builder()
DBluetoothLeBroadcastReceiveState.java380 public int getBroadcastId() { in getBroadcastId() method in BluetoothLeBroadcastReceiveState
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingUtils.java300 + broadcastMetadata.getBroadcastId() in addSourceToTargetSinks()
308 + broadcastMetadata.getBroadcastId() in addSourceToTargetSinks()

12