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.java95 assertThat(mCachedDevice.getConnectionSummary()).isEqualTo("Pairing…"); in getConnectionSummary_testProfilesInactive_returnPairing()
103 assertThat(mCachedDevice.getConnectionSummary()).isNull(); in getConnectionSummary_testSingleProfileConnectDisconnect()
107 assertThat(mCachedDevice.getConnectionSummary()).isNull(); in getConnectionSummary_testSingleProfileConnectDisconnect()
113 assertThat(mCachedDevice.getConnectionSummary()).isEqualTo("10% battery"); in getConnectionSummary_testSingleProfileConnectDisconnect()
117 assertThat(mCachedDevice.getConnectionSummary()).isNull(); in getConnectionSummary_testSingleProfileConnectDisconnect()
124 assertThat(mCachedDevice.getConnectionSummary()).isNull(); in getConnectionSummary_testSingleProfileConnectDisconnect()
128 assertThat(mCachedDevice.getConnectionSummary()).isNull(); in getConnectionSummary_testSingleProfileConnectDisconnect()
139 assertThat(mCachedDevice.getConnectionSummary()).isEqualTo("10% battery"); in getConnectionSummary_testMultipleProfileConnectDisconnect()
143 assertThat(mCachedDevice.getConnectionSummary()).isEqualTo( in getConnectionSummary_testMultipleProfileConnectDisconnect()
149 assertThat(mCachedDevice.getConnectionSummary()).isEqualTo( in getConnectionSummary_testMultipleProfileConnectDisconnect()
[all …]
DCachedBluetoothDeviceManagerTest.java322 verify(mCachedDevice2, never()).getConnectionSummary(); in getSubDeviceSummary_SubDeviceDisconnected()
334 verify(mCachedDevice2).getConnectionSummary(); in getSubDeviceSummary_SubDeviceConnected()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DBluetoothMediaDevice.java52 ? mCachedDevice.getConnectionSummary() in getSummary()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDevice.java833 public String getConnectionSummary() { in getConnectionSummary() method in CachedBluetoothDevice
834 return getConnectionSummary(false /* shortSummary */); in getConnectionSummary()
844 public String getConnectionSummary(boolean shortSummary) { in getConnectionSummary() method in CachedBluetoothDevice
DCachedBluetoothDeviceManager.java124 return subDevice.getConnectionSummary(); in getSubDeviceSummary()