Home
last modified time | relevance | path

Searched refs:BluetoothLeBroadcastReceiveState (Results 1 – 25 of 42) sorted by relevance

12

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/
DBassClientServiceTest.java48 import android.bluetooth.BluetoothLeBroadcastReceiveState;
517 BluetoothLeBroadcastReceiveState.PA_SYNC_STATE_IDLE, in prepareConnectedDeviceGroup()
519 ? BluetoothLeBroadcastReceiveState.BIG_ENCRYPTION_STATE_DECRYPTING in prepareConnectedDeviceGroup()
520 : BluetoothLeBroadcastReceiveState.BIG_ENCRYPTION_STATE_NOT_ENCRYPTED, in prepareConnectedDeviceGroup()
528 BluetoothLeBroadcastReceiveState.PA_SYNC_STATE_IDLE, in prepareConnectedDeviceGroup()
530 ? BluetoothLeBroadcastReceiveState.BIG_ENCRYPTION_STATE_DECRYPTING in prepareConnectedDeviceGroup()
531 : BluetoothLeBroadcastReceiveState.BIG_ENCRYPTION_STATE_NOT_ENCRYPTED, in prepareConnectedDeviceGroup()
981 private BluetoothLeBroadcastReceiveState injectRemoteSourceState( in injectRemoteSourceState()
989 BluetoothLeBroadcastReceiveState recvState = in injectRemoteSourceState()
990 new BluetoothLeBroadcastReceiveState( in injectRemoteSourceState()
[all …]
DBassClientStateMachineTest.java79 import android.bluetooth.BluetoothLeBroadcastReceiveState;
789 ArgumentCaptor<BluetoothLeBroadcastReceiveState> receiveStateCaptor = in gattCallbackOnCharacteristicRead()
790 ArgumentCaptor.forClass(BluetoothLeBroadcastReceiveState.class); in gattCallbackOnCharacteristicRead()
823 (byte) BluetoothLeBroadcastReceiveState.PA_SYNC_STATE_NO_PAST, in gattCallbackOnCharacteristicRead()
824 (byte) BluetoothLeBroadcastReceiveState.BIG_ENCRYPTION_STATE_BAD_CODE, in gattCallbackOnCharacteristicRead()
869 BluetoothLeBroadcastReceiveState.PA_SYNC_STATE_SYNCINFO_REQUEST; in gattCallbackOnCharacteristicRead()
871 BluetoothLeBroadcastReceiveState.BIG_ENCRYPTION_STATE_CODE_REQUIRED; in gattCallbackOnCharacteristicRead()
939 ArgumentCaptor<BluetoothLeBroadcastReceiveState> receiveStateCaptor = in gattCallbackOnCharacteristicChanged()
940 ArgumentCaptor.forClass(BluetoothLeBroadcastReceiveState.class); in gattCallbackOnCharacteristicChanged()
1438 int paSync = BluetoothLeBroadcastReceiveState.PA_SYNC_STATE_IDLE; in sendUpdateBcastSourceMessage_inConnectedState()
[all …]
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamsHelper.java28 import android.bluetooth.BluetoothLeBroadcastReceiveState;
131 public List<BluetoothLeBroadcastReceiveState> getAllConnectedSources() { in getAllConnectedSources()
150 public static boolean isConnected(BluetoothLeBroadcastReceiveState state) { in isConnected()
154 static boolean isBadCode(BluetoothLeBroadcastReceiveState state) { in isBadCode()
155 return state.getPaSyncState() == BluetoothLeBroadcastReceiveState.PA_SYNC_STATE_SYNCHRONIZED in isBadCode()
157 == BluetoothLeBroadcastReceiveState.BIG_ENCRYPTION_STATE_BAD_CODE; in isBadCode()
237 List<BluetoothLeBroadcastReceiveState> sourceList = in hasConnectedBroadcastSource()
249 List<BluetoothLeBroadcastReceiveState> list = in hasConnectedBroadcastSource()
330 static String getBroadcastName(BluetoothLeBroadcastReceiveState state) { in getBroadcastName()
DAudioStreamPreference.java20 import android.bluetooth.BluetoothLeBroadcastReceiveState;
150 Context context, BluetoothLeBroadcastReceiveState receiveState) { in fromReceiveState()
168 @Nullable private BluetoothLeBroadcastReceiveState mReceiveState;
180 private AudioStream(BluetoothLeBroadcastReceiveState receiveState) { in AudioStream()
DAudioStreamHeaderController.java21 import android.bluetooth.BluetoothLeBroadcastReceiveState;
75 BluetoothLeBroadcastReceiveState state) {
144 BluetoothLeBroadcastReceiveState in updateSummary()
DAudioStreamButtonController.java23 import android.bluetooth.BluetoothLeBroadcastReceiveState;
71 BluetoothLeBroadcastReceiveState state) {
149 .map(BluetoothLeBroadcastReceiveState::getBroadcastId) in updateButton()
DAudioStreamsProgressCategoryCallback.java21 import android.bluetooth.BluetoothLeBroadcastReceiveState;
36 BluetoothDevice sink, int sourceId, BluetoothLeBroadcastReceiveState state) { in onReceiveStateChanged()
DAudioStreamsBroadcastAssistantCallback.java22 import android.bluetooth.BluetoothLeBroadcastReceiveState;
35 BluetoothDevice sink, int sourceId, BluetoothLeBroadcastReceiveState state) { in onReceiveStateChanged()
DAudioStreamsProgressCategoryController.java24 import android.bluetooth.BluetoothLeBroadcastReceiveState;
354 void handleSourceConnected(BluetoothLeBroadcastReceiveState receiveState) { in handleSourceConnected()
404 void handleSourceConnectBadCode(BluetoothLeBroadcastReceiveState receiveState) { in handleSourceConnectBadCode()
533 BluetoothLeBroadcastReceiveState receiveState, AudioStreamState state) { in addNewPreference()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/
DBassClientStateMachine.java34 import android.bluetooth.BluetoothLeBroadcastReceiveState;
120 private final Map<Integer, BluetoothLeBroadcastReceiveState>
122 new HashMap<Integer, BluetoothLeBroadcastReceiveState>();
297 BluetoothLeBroadcastReceiveState getBroadcastReceiveStateForSourceDevice( in getBroadcastReceiveStateForSourceDevice()
299 List<BluetoothLeBroadcastReceiveState> currentSources = getAllSources(); in getBroadcastReceiveStateForSourceDevice()
300 BluetoothLeBroadcastReceiveState state = null; in getBroadcastReceiveStateForSourceDevice()
317 BluetoothLeBroadcastReceiveState getBroadcastReceiveStateForSourceId(int sourceId) { in getBroadcastReceiveStateForSourceId()
318 List<BluetoothLeBroadcastReceiveState> currentSources = getAllSources(); in getBroadcastReceiveStateForSourceId()
328 BluetoothLeBroadcastReceiveState recvState = getBroadcastReceiveStateForSourceId(sourceId); in isSyncedToTheSource()
332 == BluetoothLeBroadcastReceiveState.PA_SYNC_STATE_SYNCHRONIZED in isSyncedToTheSource()
[all …]
DBassClientService.java38 import android.bluetooth.BluetoothLeBroadcastReceiveState;
819 BluetoothLeBroadcastReceiveState sourceState = in checkForPendingGroupOpRequest()
820 (BluetoothLeBroadcastReceiveState) obj; in checkForPendingGroupOpRequest()
934 BluetoothDevice sink, BluetoothLeBroadcastReceiveState receiveState) { in localNotifySourceAdded()
989 List<BluetoothLeBroadcastReceiveState> sources = in getGroupManagedDeviceSources()
993 Optional<BluetoothLeBroadcastReceiveState> receiver = in getGroupManagedDeviceSources()
1046 List<BluetoothLeBroadcastReceiveState> currentAllSources = getAllSources(device); in isValidBroadcastSourceAddition()
1048 BluetoothLeBroadcastReceiveState state = currentAllSources.get(i); in isValidBroadcastSourceAddition()
1077 for (BluetoothLeBroadcastReceiveState recvState : stateMachine.getAllSources()) { in hasRoomForBroadcastSourceAddition()
1097 List<BluetoothLeBroadcastReceiveState> sources = stateMachine.getAllSources(); in getSourceIdToRemove()
[all …]
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothLeBroadcastReceiveState.java47 public final class BluetoothLeBroadcastReceiveState implements Parcelable { class
244 public BluetoothLeBroadcastReceiveState( in BluetoothLeBroadcastReceiveState() method in BluetoothLeBroadcastReceiveState
561 public static final Creator<BluetoothLeBroadcastReceiveState> CREATOR =
563 public @NonNull BluetoothLeBroadcastReceiveState createFromParcel(
589 return new BluetoothLeBroadcastReceiveState(
603 public @NonNull BluetoothLeBroadcastReceiveState[] newArray(int size) {
604 return new BluetoothLeBroadcastReceiveState[size];
DBluetoothLeBroadcastAssistant.java210 BluetoothLeBroadcastReceiveState state) {
425 @NonNull BluetoothLeBroadcastReceiveState state); in onReceiveStateChanged()
1200 public List<BluetoothLeBroadcastReceiveState> getAllSources(@NonNull BluetoothDevice sink) { in getAllSources()
1204 final List<BluetoothLeBroadcastReceiveState> defaultValue = in getAllSources()
1205 new ArrayList<BluetoothLeBroadcastReceiveState>(); in getAllSources()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothBroadcastSourcePreference.java21 import android.bluetooth.BluetoothLeBroadcastReceiveState;
49 private BluetoothLeBroadcastReceiveState mBluetoothLeBroadcastReceiveState;
123 public void updateReceiveStateAndRefreshUi(BluetoothLeBroadcastReceiveState receiveState) { in updateReceiveStateAndRefreshUi()
DBluetoothFindBroadcastsFragment.java28 import android.bluetooth.BluetoothLeBroadcastReceiveState;
174 @NonNull BluetoothLeBroadcastReceiveState state) {
382 BluetoothLeBroadcastReceiveState receiveState) { in updateListCategoryFromBroadcastReceiveState()
558 List<BluetoothLeBroadcastReceiveState> receiveStateList = in addConnectedSourcePreference()
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/
DIBluetoothLeBroadcastAssistantCallback.aidl21 import android.bluetooth.BluetoothLeBroadcastReceiveState;
42 in BluetoothLeBroadcastReceiveState state); in onReceiveStateChanged()
DIBluetoothLeBroadcastAssistant.aidl21 import android.bluetooth.BluetoothLeBroadcastReceiveState;
59 List<BluetoothLeBroadcastReceiveState> getAllSources(in BluetoothDevice sink); in getAllSources()
DBluetoothLeBroadcastReceiveState.aidl19 parcelable BluetoothLeBroadcastReceiveState;
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/testshadows/
DShadowAudioStreamsHelper.java19 import android.bluetooth.BluetoothLeBroadcastReceiveState;
57 public List<BluetoothLeBroadcastReceiveState> getAllConnectedSources() { in getAllConnectedSources()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothBroadcastSourcePreferenceTest.java22 import android.bluetooth.BluetoothLeBroadcastReceiveState;
45 BluetoothLeBroadcastReceiveState mBroadcastReceiveState;
/packages/modules/Bluetooth/android/leaudio/app/src/main/java/com/android/bluetooth/leaudio/
DLeAudioDeviceStateWrapper.java22 import android.bluetooth.BluetoothLeBroadcastReceiveState;
104 public MutableLiveData<HashMap<Integer, BluetoothLeBroadcastReceiveState>>
DLeAudioRecycleViewAdapter.java20 import static android.bluetooth.BluetoothLeBroadcastReceiveState.BIG_ENCRYPTION_STATE_BAD_CODE;
21 import static android.bluetooth.BluetoothLeBroadcastReceiveState.BIG_ENCRYPTION_STATE_CODE_REQUIRED;
22 import static android.bluetooth.BluetoothLeBroadcastReceiveState.BIG_ENCRYPTION_STATE_DECRYPTING;
23 import static android.bluetooth.BluetoothLeBroadcastReceiveState.BIG_ENCRYPTION_STATE_NOT_ENCRYPTED;
24 import static android.bluetooth.BluetoothLeBroadcastReceiveState.PA_SYNC_STATE_FAILED_TO_SYNCHRONIZ…
25 import static android.bluetooth.BluetoothLeBroadcastReceiveState.PA_SYNC_STATE_IDLE;
26 import static android.bluetooth.BluetoothLeBroadcastReceiveState.PA_SYNC_STATE_NO_PAST;
27 import static android.bluetooth.BluetoothLeBroadcastReceiveState.PA_SYNC_STATE_SYNCHRONIZED;
28 import static android.bluetooth.BluetoothLeBroadcastReceiveState.PA_SYNC_STATE_SYNCINFO_REQUEST;
34 import android.bluetooth.BluetoothLeBroadcastReceiveState;
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamHeaderControllerTest.java25 import android.bluetooth.BluetoothLeBroadcastReceiveState;
67 @Mock private BluetoothLeBroadcastReceiveState mBroadcastReceiveState;
DAudioStreamButtonControllerTest.java25 import android.bluetooth.BluetoothLeBroadcastReceiveState;
65 @Mock private BluetoothLeBroadcastReceiveState mBroadcastReceiveState;
DAudioStreamPreferenceTest.java26 import android.bluetooth.BluetoothLeBroadcastReceiveState;
59 @Mock private BluetoothLeBroadcastReceiveState mBluetoothLeBroadcastReceiveState;

12