Home
last modified time | relevance | path

Searched refs:bisSyncState (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothLeBroadcastReceiveState.java215 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/
DAvailableMediaBluetoothDeviceUpdaterTest.java278 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/
DAudioSharingBluetoothDeviceUpdaterTest.java125 List<Long> bisSyncState = new ArrayList<>(); in setUp() local
126 bisSyncState.add(1L); in setUp()
127 when(mState.getBisSyncState()).thenReturn(bisSyncState); in setUp()
DAudioSharingDeviceVolumeControlUpdaterTest.java120 List<Long> bisSyncState = new ArrayList<>(); in setUp() local
121 bisSyncState.add(1L); in setUp()
122 when(mState.getBisSyncState()).thenReturn(bisSyncState); in setUp()
DAudioSharingDeviceVolumeGroupControllerTest.java470 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()
DAudioSharingDevicePreferenceControllerTest.java513 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()
DAudioSharingCallAudioPreferenceControllerTest.java175 List<Long> bisSyncState = new ArrayList<>(); in setUp() local
176 bisSyncState.add(1L); in setUp()
177 when(mState.getBisSyncState()).thenReturn(bisSyncState); in setUp()
DAudioSharingDialogHandlerTest.java150 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/
DLeAudioRecycleViewAdapter.java861 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/
DBassClientStateMachine.java875 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/
DBassClientServiceTest.java988 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()