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.java98 assertThat(mCachedDevice.getConnectionSummary()).isEqualTo("Pairing…"); in getConnectionSummary_testProfilesInactive_returnPairing()
106 assertThat(mCachedDevice.getConnectionSummary()).isNull(); in getConnectionSummary_testSingleProfileConnectDisconnect()
110 assertThat(mCachedDevice.getConnectionSummary()).isNull(); in getConnectionSummary_testSingleProfileConnectDisconnect()
116 assertThat(mCachedDevice.getConnectionSummary()).isEqualTo("10% battery"); in getConnectionSummary_testSingleProfileConnectDisconnect()
120 assertThat(mCachedDevice.getConnectionSummary()).isNull(); in getConnectionSummary_testSingleProfileConnectDisconnect()
127 assertThat(mCachedDevice.getConnectionSummary()).isNull(); in getConnectionSummary_testSingleProfileConnectDisconnect()
131 assertThat(mCachedDevice.getConnectionSummary()).isNull(); in getConnectionSummary_testSingleProfileConnectDisconnect()
142 assertThat(mCachedDevice.getConnectionSummary()).isEqualTo("10% battery"); in getConnectionSummary_testMultipleProfileConnectDisconnect()
146 assertThat(mCachedDevice.getConnectionSummary()).isEqualTo( in getConnectionSummary_testMultipleProfileConnectDisconnect()
152 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.java53 ? mCachedDevice.getConnectionSummary() in getSummary()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceManager.java126 return subDevice.getConnectionSummary(); in getSubDeviceSummary()
DCachedBluetoothDevice.java887 public String getConnectionSummary() { in getConnectionSummary() method in CachedBluetoothDevice
888 return getConnectionSummary(false /* shortSummary */); in getConnectionSummary()
898 public String getConnectionSummary(boolean shortSummary) { in getConnectionSummary() method in CachedBluetoothDevice