Home
last modified time | relevance | path

Searched refs:getConnectionStatus (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DHidDeviceProfile.java107 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in HidDeviceProfile
116 return getConnectionStatus(device) != BluetoothProfile.STATE_DISCONNECTED; in isEnabled()
152 final int state = getConnectionStatus(device); in getSummaryResourceForDevice()
DA2dpProfile.java160 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in A2dpProfile
247 } else if (getConnectionStatus(bluetoothDevice) != BluetoothProfile.STATE_CONNECTED in isHighQualityAudioEnabled()
274 if (getConnectionStatus(bluetoothDevice) != BluetoothProfile.STATE_CONNECTED) { in setHighQualityAudioEnabled()
295 || getConnectionStatus(device) != BluetoothProfile.STATE_CONNECTED) { in getHighQualityAudioOptionLabel()
360 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
DPanProfile.java89 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in PanProfile
145 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
DLocalBluetoothProfile.java38 int getConnectionStatus(BluetoothDevice device); in getConnectionStatus() method
DSapProfile.java114 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in SapProfile
177 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
DMapClientProfile.java115 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in MapClientProfile
178 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
DMapProfile.java116 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in MapProfile
179 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
DHidProfile.java106 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in HidProfile
160 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
DCsipSetCoordinatorProfile.java136 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in CsipSetCoordinatorProfile
208 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
DHfpClientProfile.java128 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in HfpClientProfile
185 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
DA2dpSinkProfile.java118 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in A2dpSinkProfile
185 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
DOppProfile.java43 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in OppProfile
DHeadsetProfile.java117 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in HeadsetProfile
206 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
DHearingAidProfile.java190 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in HearingAidProfile
321 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
DLeAudioProfile.java177 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in LeAudioProfile
284 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
DPbapServerProfile.java94 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in PbapServerProfile
DLocalBluetoothLeBroadcastAssistant.java364 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in LocalBluetoothLeBroadcastAssistant
435 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
DHapClientProfile.java554 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in HapClientProfile
616 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DPbapClientProfileTest.java70 assertThat(mProfile.getConnectionStatus(mBluetoothDevice)). in getConnectionStatus_shouldReturnConnectionState()
DA2dpSinkProfileTest.java70 assertThat(mProfile.getConnectionStatus(mBluetoothDevice)). in getConnectionStatus_shouldReturnConnectionState()
DHfpClientProfileTest.java70 assertThat(mProfile.getConnectionStatus(mBluetoothDevice)). in getConnectionStatus_shouldReturnConnectionState()
DHidDeviceProfileTest.java70 assertThat(mProfile.getConnectionStatus(mBluetoothDevice)). in getConnectionStatus_shouldReturnConnectionState()
DMapClientProfileTest.java70 assertThat(mProfile.getConnectionStatus(mBluetoothDevice)). in getConnectionStatus_shouldReturnConnectionState()
DSapProfileTest.java69 assertThat(mProfile.getConnectionStatus(mBluetoothDevice)). in getConnectionStatus_shouldReturnConnectionState()
DCachedBluetoothDeviceTest.java1636 when(mA2dpProfile.getConnectionStatus(mDevice)). in isA2dpDevice_isA2dpDevice()
1645 when(mA2dpProfile.getConnectionStatus(mDevice)). in isA2dpDevice_isNotA2dpDevice()
1654 when(mHfpProfile.getConnectionStatus(mDevice)). in isHfpDevice_isHfpDevice()
1663 when(mHfpProfile.getConnectionStatus(mDevice)). in testIsHfpDevice_isNotHfpDevice()
1672 when(mHearingAidProfile.getConnectionStatus(mDevice)). in isConnectedAshaHearingAidDevice_connected_returnTrue()
1681 when(mHearingAidProfile.getConnectionStatus(mDevice)). in isConnectedAshaHearingAidDevice_disconnected_returnFalse()
1778 doReturn(BluetoothProfile.STATE_CONNECTED).when(mA2dpProfile).getConnectionStatus( in getProfileConnectionState_profileConnected_returnConnected()
1823 when(profile.getConnectionStatus(mDevice)).thenReturn(BluetoothProfile.STATE_CONNECTED); in getConnectionSummary_profileConnectedFail_showErrorMessage()
1835 when(profile.getConnectionStatus(mDevice)).thenReturn(BluetoothProfile.STATE_CONNECTED); in getTvConnectionSummary_profileConnectedFail_showErrorMessage()
2065 doReturn(status).when(profile).getConnectionStatus(mDevice); in updateProfileStatus()
[all …]

12