/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothLeBroadcastReceiveState.java | 215 private static String bisSyncStateToString(Long bisSyncState, int bisSyncStateIndex) { in bisSyncStateToString() argument 216 if (bisSyncState == 0) { in bisSyncStateToString() 220 + String.valueOf(bisSyncState) in bisSyncStateToString() 222 } else if (bisSyncState > 0 && bisSyncState < 0xFFFFFFFF) { in bisSyncStateToString() 226 + String.valueOf(bisSyncState) in bisSyncStateToString() 228 } else if (bisSyncState == 0xFFFFFFFF) { in bisSyncStateToString() 229 return "Failed to sync to BIG: [" + String.valueOf(bisSyncState) + "]"; in bisSyncStateToString() 231 return "[" + String.valueOf(bisSyncState) + "]"; in bisSyncStateToString() 254 @NonNull List<Long> bisSyncState, in BluetoothLeBroadcastReceiveState() argument 269 Objects.requireNonNull(bisSyncState, "bisSyncState cannot be null"); in BluetoothLeBroadcastReceiveState() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | AvailableMediaBluetoothDeviceUpdaterTest.java | 278 List<Long> bisSyncState = new ArrayList<>(); in onProfileConnectionStateChanged_leaConnected_notInCallSharingFlagOff_addsPreference() local 279 bisSyncState.add(1L); in onProfileConnectionStateChanged_leaConnected_notInCallSharingFlagOff_addsPreference() 280 when(mBroadcastReceiveState.getBisSyncState()).thenReturn(bisSyncState); in onProfileConnectionStateChanged_leaConnected_notInCallSharingFlagOff_addsPreference() 316 List<Long> bisSyncState = new ArrayList<>(); in onProfileConnectionStateChanged_leaConnected_inCallSharingFlagOff_addsPreference() local 317 bisSyncState.add(1L); in onProfileConnectionStateChanged_leaConnected_inCallSharingFlagOff_addsPreference() 318 when(mBroadcastReceiveState.getBisSyncState()).thenReturn(bisSyncState); in onProfileConnectionStateChanged_leaConnected_inCallSharingFlagOff_addsPreference() 355 List<Long> bisSyncState = new ArrayList<>(); in onProfileConnectionStateChanged_leaDeviceConnected_notInCallInSharing_removesPref() local 356 bisSyncState.add(1L); in onProfileConnectionStateChanged_leaDeviceConnected_notInCallInSharing_removesPref() 357 when(mBroadcastReceiveState.getBisSyncState()).thenReturn(bisSyncState); in onProfileConnectionStateChanged_leaDeviceConnected_notInCallInSharing_removesPref() 376 List<Long> bisSyncState = new ArrayList<>(); in onProfileConnectionStateChanged_leaDeviceConnected_inCallInSharing_removesPref() local [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/ |
D | AudioSharingBluetoothDeviceUpdaterTest.java | 125 List<Long> bisSyncState = new ArrayList<>(); in setUp() local 126 bisSyncState.add(1L); in setUp() 127 when(mState.getBisSyncState()).thenReturn(bisSyncState); in setUp()
|
D | AudioSharingDeviceVolumeControlUpdaterTest.java | 120 List<Long> bisSyncState = new ArrayList<>(); in setUp() local 121 bisSyncState.add(1L); in setUp() 122 when(mState.getBisSyncState()).thenReturn(bisSyncState); in setUp()
|
D | AudioSharingDeviceVolumeGroupControllerTest.java | 470 List<Long> bisSyncState = new ArrayList<>(); in testBluetoothLeBroadcastAssistantCallbacks_updateGroup() local 471 bisSyncState.add(1L); in testBluetoothLeBroadcastAssistantCallbacks_updateGroup() 472 when(mState.getBisSyncState()).thenReturn(bisSyncState); in testBluetoothLeBroadcastAssistantCallbacks_updateGroup()
|
D | AudioSharingDevicePreferenceControllerTest.java | 513 List<Long> bisSyncState = new ArrayList<>(); in testBluetoothLeBroadcastAssistantCallbacks_updateGroup() local 514 bisSyncState.add(1L); in testBluetoothLeBroadcastAssistantCallbacks_updateGroup() 515 when(mState.getBisSyncState()).thenReturn(bisSyncState); in testBluetoothLeBroadcastAssistantCallbacks_updateGroup()
|
D | AudioSharingCallAudioPreferenceControllerTest.java | 175 List<Long> bisSyncState = new ArrayList<>(); in setUp() local 176 bisSyncState.add(1L); in setUp() 177 when(mState.getBisSyncState()).thenReturn(bisSyncState); in setUp()
|
D | AudioSharingDialogHandlerTest.java | 150 List<Long> bisSyncState = new ArrayList<>(); in setup() local 151 bisSyncState.add(1L); in setup() 152 when(mState.getBisSyncState()).thenReturn(bisSyncState); in setup()
|
/packages/modules/Bluetooth/android/leaudio/app/src/main/java/com/android/bluetooth/leaudio/ |
D | LeAudioRecycleViewAdapter.java | 861 long bisSyncState = 0; in setBassUiStateObservers() 864 bisSyncState = state.getBisSyncState().get(0); in setBassUiStateObservers() 870 bisSyncState = state.getBisSyncState().get(0); in setBassUiStateObservers() 944 if (bisSyncState == 0x00000000) { in setBassUiStateObservers() 948 } else if (bisSyncState == 0xffffffff) { in setBassUiStateObservers() 2307 long bisSyncState = 0; in setupBassView() 2310 bisSyncState = state.getBisSyncState().get(0); in setupBassView() 2316 bisSyncState = state.getBisSyncState().get(0); in setupBassView() 2321 || (bisSyncState != 0x00000000)) { in setupBassView() 2360 } else if (bisSyncState == 0x00000000) { in setupBassView()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/ |
D | BassClientStateMachine.java | 875 ArrayList<Long> bisSyncState = new ArrayList<Long>(); in parseBroadcastReceiverState() local 885 bisSyncState.add((long) Utils.byteArrayToInt(bisSyncIndex)); in parseBroadcastReceiverState() 932 bisSyncState, in parseBroadcastReceiverState()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/ |
D | BassClientServiceTest.java | 988 long bisSyncState) { in injectRemoteSourceState() argument 1002 .map(e -> bisSyncState) in injectRemoteSourceState() 1054 long bisSyncState) { in injectRemoteSourceStateChanged() argument 1057 sm, meta, sourceId, paSynState, encryptionState, badCode, bisSyncState); in injectRemoteSourceStateChanged()
|