Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DA2dpProfile.java162 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in A2dpProfile
219 } else if (getConnectionStatus(device) != BluetoothProfile.STATE_CONNECTED && in isHighQualityAudioEnabled()
242 if (getConnectionStatus(device) != BluetoothProfile.STATE_CONNECTED) { in setHighQualityAudioEnabled()
255 || getConnectionStatus(device) != BluetoothProfile.STATE_CONNECTED) { in getHighQualityAudioOptionLabel()
314 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
DHidDeviceProfile.java129 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in HidDeviceProfile
142 return getConnectionStatus(device) != BluetoothProfile.STATE_DISCONNECTED; in isPreferred()
175 final int state = getConnectionStatus(device); in getSummaryResourceForDevice()
DPanProfile.java107 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in PanProfile
143 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
DLocalBluetoothProfile.java42 int getConnectionStatus(BluetoothDevice device); in getConnectionStatus() method
DHidProfile.java116 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in HidProfile
162 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
DMapClientProfile.java140 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in MapClientProfile
188 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
DA2dpSinkProfile.java143 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in A2dpSinkProfile
196 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
DMapProfile.java137 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in MapProfile
189 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
DSapProfile.java141 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in SapProfile
192 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
DHfpClientProfile.java155 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in HfpClientProfile
203 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
DOppProfile.java51 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in OppProfile
DHearingAidProfile.java142 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in HearingAidProfile
228 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
DHeadsetProfile.java148 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in HeadsetProfile
223 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
DPbapServerProfile.java102 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in PbapServerProfile
DCachedBluetoothDevice.java204 if (PbapProfile.getConnectionStatus(mDevice) == BluetoothProfile.STATE_CONNECTED) in disconnect()
364 int state = profile.getConnectionStatus(mDevice); in getProfileConnectionState()
1192 return mProfileManager.getA2dpProfile().getConnectionStatus(mDevice) == in isA2dpDevice()
1200 return mProfileManager.getHeadsetProfile().getConnectionStatus(mDevice) == in isHfpDevice()
DLocalBluetoothProfileManager.java591 if (mHidDeviceProfile != null && mHidDeviceProfile.getConnectionStatus(device) in updateProfiles()
606 (mMapProfile.getConnectionStatus(device) == BluetoothProfile.STATE_CONNECTED)) { in updateProfiles()
613 (mPbapProfile.getConnectionStatus(device) == BluetoothProfile.STATE_CONNECTED)) { in updateProfiles()
DPbapClientProfile.java168 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in PbapClientProfile
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceManagerTest.java284 when(mHearingAidProfile.getConnectionStatus(mDevice1)). in testOnHiSyncIdChanged_sameHiSyncIdAndOneConnected_chooseConnectedDevice()
286 when(mHearingAidProfile.getConnectionStatus(mDevice2)). in testOnHiSyncIdChanged_sameHiSyncIdAndOneConnected_chooseConnectedDevice()
418 when(mHearingAidProfile.getConnectionStatus(mDevice1)). in testOnProfileConnectionStateChanged_twoDevicesConnected_oneDeviceVisible()
420 when(mHearingAidProfile.getConnectionStatus(mDevice2)). in testOnProfileConnectionStateChanged_twoDevicesConnected_oneDeviceVisible()
450 when(mHearingAidProfile.getConnectionStatus(mDevice1)). in testOnProfileConnectionStateChanged_twoDevicesDisconnected_oneDeviceVisible()
452 when(mHearingAidProfile.getConnectionStatus(mDevice2)). in testOnProfileConnectionStateChanged_twoDevicesDisconnected_oneDeviceVisible()
474 when(mHearingAidProfile.getConnectionStatus(mDevice1)). in testOnProfileConnectionStateChanged_twoDevicesDisconnected_oneDeviceVisible()
476 when(mHearingAidProfile.getConnectionStatus(mDevice2)). in testOnProfileConnectionStateChanged_twoDevicesDisconnected_oneDeviceVisible()
DCachedBluetoothDeviceTest.java543 when(mA2dpProfile.getConnectionStatus(mDevice)). in testIsA2dpDevice_isA2dpDevice()
552 when(mA2dpProfile.getConnectionStatus(mDevice)). in testIsA2dpDevice_isNotA2dpDevice()
561 when(mHfpProfile.getConnectionStatus(mDevice)). in testIsHfpDevice_isHfpDevice()
570 when(mHfpProfile.getConnectionStatus(mDevice)). in testIsHfpDevice_isNotHfpDevice()
/frameworks/base/telephony/java/android/telephony/
DPhysicalChannelConfig.java98 public int getConnectionStatus() { in getConnectionStatus() method in PhysicalChannelConfig