Home
last modified time | relevance | path

Searched refs:getConnectionStatus (Results 1 – 25 of 28) 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.java156 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in A2dpProfile
237 } else if (getConnectionStatus(bluetoothDevice) != BluetoothProfile.STATE_CONNECTED in isHighQualityAudioEnabled()
264 if (getConnectionStatus(bluetoothDevice) != BluetoothProfile.STATE_CONNECTED) { in setHighQualityAudioEnabled()
278 || getConnectionStatus(device) != BluetoothProfile.STATE_CONNECTED) { in getHighQualityAudioOptionLabel()
337 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()
DSapProfile.java114 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in SapProfile
177 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
DHidProfile.java104 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in HidProfile
158 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
DLocalBluetoothProfile.java38 int getConnectionStatus(BluetoothDevice device); in getConnectionStatus() method
DA2dpSinkProfile.java118 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in A2dpSinkProfile
185 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()
DMapClientProfile.java117 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in MapClientProfile
180 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()
DHeadsetProfile.java117 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in HeadsetProfile
211 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
DHearingAidProfile.java154 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in HearingAidProfile
235 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
DOppProfile.java43 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in OppProfile
DPbapServerProfile.java94 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in PbapServerProfile
DCachedBluetoothDevice.java324 ? profile.getConnectionStatus(mDevice) in getProfileConnectionState()
1051 return a2dpProfile != null && a2dpProfile.getConnectionStatus(mDevice) == in isConnectedA2dpDevice()
1060 return headsetProfile != null && headsetProfile.getConnectionStatus(mDevice) == in isConnectedHfpDevice()
1069 return hearingAidProfile != null && hearingAidProfile.getConnectionStatus(mDevice) == in isConnectedHearingAidDevice()
DLocalBluetoothProfileManager.java513 if (mHidDeviceProfile != null && mHidDeviceProfile.getConnectionStatus(device) in updateProfiles()
528 (mMapProfile.getConnectionStatus(device) == BluetoothProfile.STATE_CONNECTED)) { in updateProfiles()
535 (mPbapProfile.getConnectionStatus(device) == BluetoothProfile.STATE_CONNECTED)) { in updateProfiles()
DPbapClientProfile.java129 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in PbapClientProfile
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceTest.java768 when(mA2dpProfile.getConnectionStatus(mDevice)). in isA2dpDevice_isA2dpDevice()
777 when(mA2dpProfile.getConnectionStatus(mDevice)). in isA2dpDevice_isNotA2dpDevice()
786 when(mHfpProfile.getConnectionStatus(mDevice)). in isHfpDevice_isHfpDevice()
795 when(mHfpProfile.getConnectionStatus(mDevice)). in testIsHfpDevice_isNotHfpDevice()
804 when(mHearingAidProfile.getConnectionStatus(mDevice)). in isConnectedHearingAidDevice_connected_returnTrue()
813 when(mHearingAidProfile.getConnectionStatus(mDevice)). in isConnectedHearingAidDevice_disconnected_returnFalse()
879 doReturn(BluetoothProfile.STATE_CONNECTED).when(mA2dpProfile).getConnectionStatus( in getProfileConnectionState_profileConnected_returnConnected()
887 doReturn(status).when(profile).getConnectionStatus(mDevice); in updateProfileStatus()
DHfpClientProfileTest.java70 assertThat(mProfile.getConnectionStatus(mBluetoothDevice)). in getConnectionStatus_shouldReturnConnectionState()
DHidDeviceProfileTest.java70 assertThat(mProfile.getConnectionStatus(mBluetoothDevice)). in getConnectionStatus_shouldReturnConnectionState()
DSapProfileTest.java69 assertThat(mProfile.getConnectionStatus(mBluetoothDevice)). in getConnectionStatus_shouldReturnConnectionState()
DPbapClientProfileTest.java70 assertThat(mProfile.getConnectionStatus(mBluetoothDevice)). in getConnectionStatus_shouldReturnConnectionState()
DMapClientProfileTest.java70 assertThat(mProfile.getConnectionStatus(mBluetoothDevice)). in getConnectionStatus_shouldReturnConnectionState()
DA2dpSinkProfileTest.java70 assertThat(mProfile.getConnectionStatus(mBluetoothDevice)). in getConnectionStatus_shouldReturnConnectionState()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhysicalChannelConfigTest.java51 assertThat(config.getConnectionStatus()).isEqualTo(CONNECTION_STATUS); in testBuilder()

12