Searched refs:BassClientStateMachine (Results 1 – 5 of 5) sorted by relevance
27 import static com.android.bluetooth.bass_client.BassClientStateMachine.ADD_BCAST_SOURCE;28 import static com.android.bluetooth.bass_client.BassClientStateMachine.CANCEL_PENDING_SOURCE_OPERAT…29 import static com.android.bluetooth.bass_client.BassClientStateMachine.CONNECT;30 import static com.android.bluetooth.bass_client.BassClientStateMachine.CONNECTION_STATE_CHANGED;31 import static com.android.bluetooth.bass_client.BassClientStateMachine.CONNECT_TIMEOUT;32 import static com.android.bluetooth.bass_client.BassClientStateMachine.DISCONNECT;33 import static com.android.bluetooth.bass_client.BassClientStateMachine.GATT_TXN_PROCESSED;34 import static com.android.bluetooth.bass_client.BassClientStateMachine.GATT_TXN_TIMEOUT;35 import static com.android.bluetooth.bass_client.BassClientStateMachine.PSYNC_ACTIVE_TIMEOUT;36 import static com.android.bluetooth.bass_client.BassClientStateMachine.REACHED_MAX_SOURCE_LIMIT;[all …]
141 private final HashMap<BluetoothDevice, BassClientStateMachine> mStateMachines = new HashMap<>();264 final BassClientStateMachine stateMachine = in setUp()265 mock(BassClientStateMachine.class); in setUp()398 BassClientStateMachine stateMachine = mStateMachines.get(mCurrentDevice); in testConnect()400 verify(stateMachine).sendMessage(BassClientStateMachine.CONNECT); in testConnect()440 for (BassClientStateMachine sm : mStateMachines.values()) { in testStartSearchingForSources()447 for (BassClientStateMachine sm : mStateMachines.values()) { in testStartSearchingForSources()448 verify(sm).sendMessage(BassClientStateMachine.START_SCAN_OFFLOAD); in testStartSearchingForSources()494 for (BassClientStateMachine sm : mStateMachines.values()) { in prepareConnectedDeviceGroup()496 verify(sm).sendMessage(eq(BassClientStateMachine.CONNECT)); in prepareConnectedDeviceGroup()[all …]
127 private final Map<BluetoothDevice, BassClientStateMachine> mStateMachines = new HashMap<>();639 for (BassClientStateMachine sm : mStateMachines.values()) { in stop()787 .anyMatch(e -> e.first.equals(BassClientStateMachine.ADD_BCAST_SOURCE)); in isAnyPendingAddSourceOperation()813 case BassClientStateMachine.ADD_BCAST_SOURCE: in checkForPendingGroupOpRequest()825 BassClientStateMachine in checkForPendingGroupOpRequest()838 (m.first.equals(BassClientStateMachine.ADD_BCAST_SOURCE)) in checkForPendingGroupOpRequest()856 case BassClientStateMachine.REMOVE_BCAST_SOURCE: in checkForPendingGroupOpRequest()861 m.first.equals(BassClientStateMachine.REMOVE_BCAST_SOURCE) in checkForPendingGroupOpRequest()976 BassClientStateMachine stateMachine = getOrCreateStateMachine(sink); in getGroupManagedDeviceSources()1067 BassClientStateMachine stateMachine = null; in hasRoomForBroadcastSourceAddition()[all …]
73 public BassClientStateMachine makeStateMachine( in makeStateMachine()78 return BassClientStateMachine.make(device, svc, adapterService, looper); in makeStateMachine()86 public void destroyStateMachine(BassClientStateMachine stateMachine) { in destroyStateMachine()87 BassClientStateMachine.destroy(stateMachine); in destroyStateMachine()
79 public class BassClientStateMachine extends StateMachine { class166 BassClientStateMachine( in BassClientStateMachine() method in BassClientStateMachine200 static BassClientStateMachine make( in make()213 BassClientStateMachine BassclientSm = in make()214 new BassClientStateMachine( in make()220 static void destroy(BassClientStateMachine stateMachine) { in destroy()788 Message m = obtainMessage(BassClientStateMachine.SET_BCAST_CODE); in checkAndUpdateBroadcastCode()