/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 | 156 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()
|
D | PanProfile.java | 89 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in PanProfile 145 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
|
D | SapProfile.java | 114 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in SapProfile 177 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
|
D | HidProfile.java | 104 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in HidProfile 158 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
|
D | LocalBluetoothProfile.java | 38 int getConnectionStatus(BluetoothDevice device); in getConnectionStatus() method
|
D | A2dpSinkProfile.java | 118 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in A2dpSinkProfile 185 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 | MapClientProfile.java | 117 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in MapClientProfile 180 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 | HeadsetProfile.java | 117 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in HeadsetProfile 211 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
|
D | HearingAidProfile.java | 154 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in HearingAidProfile 235 int state = getConnectionStatus(device); in getSummaryResourceForDevice()
|
D | OppProfile.java | 43 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in OppProfile
|
D | PbapServerProfile.java | 94 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in PbapServerProfile
|
D | CachedBluetoothDevice.java | 324 ? 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()
|
D | LocalBluetoothProfileManager.java | 513 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()
|
D | PbapClientProfile.java | 129 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in PbapClientProfile
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDeviceTest.java | 768 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()
|
D | HfpClientProfileTest.java | 70 assertThat(mProfile.getConnectionStatus(mBluetoothDevice)). in getConnectionStatus_shouldReturnConnectionState()
|
D | HidDeviceProfileTest.java | 70 assertThat(mProfile.getConnectionStatus(mBluetoothDevice)). in getConnectionStatus_shouldReturnConnectionState()
|
D | SapProfileTest.java | 69 assertThat(mProfile.getConnectionStatus(mBluetoothDevice)). in getConnectionStatus_shouldReturnConnectionState()
|
D | PbapClientProfileTest.java | 70 assertThat(mProfile.getConnectionStatus(mBluetoothDevice)). in getConnectionStatus_shouldReturnConnectionState()
|
D | MapClientProfileTest.java | 70 assertThat(mProfile.getConnectionStatus(mBluetoothDevice)). in getConnectionStatus_shouldReturnConnectionState()
|
D | A2dpSinkProfileTest.java | 70 assertThat(mProfile.getConnectionStatus(mBluetoothDevice)). in getConnectionStatus_shouldReturnConnectionState()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhysicalChannelConfigTest.java | 51 assertThat(config.getConnectionStatus()).isEqualTo(CONNECTION_STATUS); in testBuilder()
|