/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | HidDeviceProfile.java | 107 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()
|
D | A2dpProfile.java | 160 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()
|
D | PanProfile.java | 89 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in PanProfile 145 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
|
D | LocalBluetoothProfile.java | 38 int getConnectionStatus(BluetoothDevice device); in getConnectionStatus() method
|
D | SapProfile.java | 114 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in SapProfile 177 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
|
D | MapClientProfile.java | 115 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in MapClientProfile 178 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
|
D | MapProfile.java | 116 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in MapProfile 179 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
|
D | HidProfile.java | 106 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in HidProfile 160 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
|
D | CsipSetCoordinatorProfile.java | 136 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in CsipSetCoordinatorProfile 208 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
|
D | HfpClientProfile.java | 128 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in HfpClientProfile 185 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
|
D | A2dpSinkProfile.java | 118 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in A2dpSinkProfile 185 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
|
D | OppProfile.java | 43 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in OppProfile
|
D | HeadsetProfile.java | 117 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in HeadsetProfile 206 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
|
D | HearingAidProfile.java | 190 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in HearingAidProfile 321 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
|
D | LeAudioProfile.java | 177 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in LeAudioProfile 284 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
|
D | PbapServerProfile.java | 94 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in PbapServerProfile
|
D | LocalBluetoothLeBroadcastAssistant.java | 364 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in LocalBluetoothLeBroadcastAssistant 435 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
|
D | HapClientProfile.java | 554 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/ |
D | PbapClientProfileTest.java | 70 assertThat(mProfile.getConnectionStatus(mBluetoothDevice)). in getConnectionStatus_shouldReturnConnectionState()
|
D | A2dpSinkProfileTest.java | 70 assertThat(mProfile.getConnectionStatus(mBluetoothDevice)). in getConnectionStatus_shouldReturnConnectionState()
|
D | HfpClientProfileTest.java | 70 assertThat(mProfile.getConnectionStatus(mBluetoothDevice)). in getConnectionStatus_shouldReturnConnectionState()
|
D | HidDeviceProfileTest.java | 70 assertThat(mProfile.getConnectionStatus(mBluetoothDevice)). in getConnectionStatus_shouldReturnConnectionState()
|
D | MapClientProfileTest.java | 70 assertThat(mProfile.getConnectionStatus(mBluetoothDevice)). in getConnectionStatus_shouldReturnConnectionState()
|
D | SapProfileTest.java | 69 assertThat(mProfile.getConnectionStatus(mBluetoothDevice)). in getConnectionStatus_shouldReturnConnectionState()
|
D | CachedBluetoothDeviceTest.java | 1636 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 …]
|