Home
last modified time | relevance | path

Searched refs:getConnectionSummary (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceTest.java109 assertThat(mCachedDevice.getConnectionSummary()).isEqualTo("Pairing…"); in getConnectionSummary_testProfilesInactive_returnPairing()
117 assertThat(mCachedDevice.getConnectionSummary()).isNull(); in getConnectionSummary_testSingleProfileConnectDisconnect()
121 assertThat(mCachedDevice.getConnectionSummary()).isNull(); in getConnectionSummary_testSingleProfileConnectDisconnect()
127 assertThat(mCachedDevice.getConnectionSummary()).isEqualTo("10% battery"); in getConnectionSummary_testSingleProfileConnectDisconnect()
131 assertThat(mCachedDevice.getConnectionSummary()).isNull(); in getConnectionSummary_testSingleProfileConnectDisconnect()
138 assertThat(mCachedDevice.getConnectionSummary()).isNull(); in getConnectionSummary_testSingleProfileConnectDisconnect()
142 assertThat(mCachedDevice.getConnectionSummary()).isNull(); in getConnectionSummary_testSingleProfileConnectDisconnect()
153 assertThat(mCachedDevice.getConnectionSummary()).isEqualTo("10% battery"); in getConnectionSummary_testMultipleProfileConnectDisconnect()
157 assertThat(mCachedDevice.getConnectionSummary()).isEqualTo( in getConnectionSummary_testMultipleProfileConnectDisconnect()
163 assertThat(mCachedDevice.getConnectionSummary()).isEqualTo( in getConnectionSummary_testMultipleProfileConnectDisconnect()
[all …]
DCachedBluetoothDeviceManagerTest.java338 verify(mCachedDevice2, never()).getConnectionSummary(); in getSubDeviceSummary_SubDeviceDisconnected()
350 verify(mCachedDevice2).getConnectionSummary(); in getSubDeviceSummary_SubDeviceConnected()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DBluetoothMediaDevice.java54 ? mCachedDevice.getConnectionSummary() in getSummary()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceManager.java126 return subDevice.getConnectionSummary(); in getSubDeviceSummary()
DCachedBluetoothDevice.java923 public String getConnectionSummary() { in getConnectionSummary() method in CachedBluetoothDevice
924 return getConnectionSummary(false /* shortSummary */); in getConnectionSummary()
934 public String getConnectionSummary(boolean shortSummary) { in getConnectionSummary() method in CachedBluetoothDevice