Home
last modified time | relevance | path

Searched refs:getConnectionState (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DA2dpProfileTest.java106 when(mBluetoothA2dp.getConnectionState(any())).thenReturn( in isHighQualityAudioEnabled()
117 when(mBluetoothA2dp.getConnectionState(any())).thenReturn( in isHighQualityAudioEnabled()
170 when(mBluetoothA2dp.getConnectionState(any())).thenReturn( in getLabelDeviceDisconnected()
178 when(mBluetoothA2dp.getConnectionState(any())).thenReturn( in getLabelDeviceConnectedButNotHighQualityCodec()
193 when(mBluetoothA2dp.getConnectionState(any())).thenReturn( in getLabelDeviceConnectedWithHighQualityCodec()
DHfpClientProfileTest.java68 when(mService.getConnectionState(mBluetoothDevice)). in getConnectionStatus_shouldReturnConnectionState()
DHidDeviceProfileTest.java68 when(mService.getConnectionState(mBluetoothDevice)). in getConnectionStatus_shouldReturnConnectionState()
DSapProfileTest.java67 when(mService.getConnectionState(mBluetoothDevice)). in getConnectionStatus_shouldReturnConnectionState()
DPbapClientProfileTest.java68 when(mService.getConnectionState(mBluetoothDevice)). in getConnectionStatus_shouldReturnConnectionState()
DMapClientProfileTest.java68 when(mService.getConnectionState(mBluetoothDevice)). in getConnectionStatus_shouldReturnConnectionState()
DA2dpSinkProfileTest.java68 when(mService.getConnectionState(mBluetoothDevice)). in getConnectionStatus_shouldReturnConnectionState()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DLocalBluetoothAdapter.java138 public int getConnectionState() { in getConnectionState() method in LocalBluetoothAdapter
139 return mAdapter.getConnectionState(); in getConnectionState()
DPbapServerProfile.java96 return mService.getConnectionState(device); in getConnectionStatus()
DHidDeviceProfile.java111 return mService.getConnectionState(device); in getConnectionStatus()
DPanProfile.java93 return mService.getConnectionState(device); in getConnectionStatus()
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java972 int state = proxy.getConnectionState(device); in connectProfile()
1000 state = proxy.getConnectionState(device); in connectProfile()
1055 int state = proxy.getConnectionState(device); in disconnectProfile()
1083 state = proxy.getConnectionState(device); in disconnectProfile()
1165 int state = mPan.getConnectionState(device); in connectPanOrIncomingPanConnection()
1188 state = mPan.getConnectionState(device); in connectPanOrIncomingPanConnection()
1270 int state = mPan.getConnectionState(device); in disconnectFromRemoteOrVerifyConnectNap()
1292 state = mPan.getConnectionState(device); in disconnectFromRemoteOrVerifyConnectNap()
1440 if (mMce.getConnectionState(device) != BluetoothProfile.STATE_CONNECTED) { in mceGetUnreadMessage()
1461 …methodName, mMce.getConnectionState(device), BluetoothMapClient.STATE_CONNECTED, firedFlags, mask)… in mceGetUnreadMessage()
[all …]
/frameworks/base/core/java/android/bluetooth/
DBluetoothAvrcpController.java156 public int getConnectionState(BluetoothDevice device) { in getConnectionState() method in BluetoothAvrcpController
162 return service.getConnectionState(device); in getConnectionState()
DBluetoothPbapClient.java213 public int getConnectionState(BluetoothDevice device) { in getConnectionState() method in BluetoothPbapClient
220 return service.getConnectionState(device); in getConnectionState()
DBluetoothPbap.java241 public @BtProfileState int getConnectionState(@NonNull BluetoothDevice device) { in getConnectionState() method in BluetoothPbap
246 return service.getConnectionState(device); in getConnectionState()
DBluetoothHealth.java244 public int getConnectionState(BluetoothDevice device) { in getConnectionState() method in BluetoothHealth
DBluetoothPan.java341 public int getConnectionState(@NonNull BluetoothDevice device) { in getConnectionState() method in BluetoothPan
346 return service.getConnectionState(device); in getConnectionState()
DBluetoothSap.java286 public int getConnectionState(BluetoothDevice device) { in getConnectionState() method in BluetoothSap
291 return service.getConnectionState(device); in getConnectionState()
DBluetoothA2dpSink.java226 public int getConnectionState(BluetoothDevice device) { in getConnectionState() method in BluetoothA2dpSink
231 return service.getConnectionState(device); in getConnectionState()
DBluetoothMap.java304 public int getConnectionState(BluetoothDevice device) { in getConnectionState() method in BluetoothMap
309 return service.getConnectionState(device); in getConnectionState()
DBluetoothProfile.java319 @BtProfileState int getConnectionState(BluetoothDevice device); in getConnectionState() method
DBluetoothHearingAid.java266 public @BluetoothProfile.BtProfileState int getConnectionState( in getConnectionState() method in BluetoothHearingAid
273 return service.getConnectionState(device); in getConnectionState()
DBluetoothMapClient.java271 public int getConnectionState(BluetoothDevice device) { in getConnectionState() method in BluetoothMapClient
276 return service.getConnectionState(device); in getConnectionState()
DBluetoothHidDevice.java445 public int getConnectionState(BluetoothDevice device) { in getConnectionState() method in BluetoothHidDevice
449 return service.getConnectionState(device); in getConnectionState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImplTest.java91 when(mMockAdapter.getConnectionState()).thenReturn(BluetoothAdapter.STATE_DISCONNECTED); in testNoConnectionWithDevices()
174 when(mMockAdapter.getConnectionState()).thenReturn(BluetoothAdapter.STATE_CONNECTING); in testOnServiceConnected_updatesConnectionState()
195 when(mMockAdapter.getConnectionState()).thenReturn( in testOnBluetoothStateChange_updatesConnectionState()

123