Home
last modified time | relevance | path

Searched refs:hasHumanReadableName (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDevicePreferenceTest.java152 when(mCachedBluetoothDevice.hasHumanReadableName()).thenReturn(true); in onClicked_deviceNotBonded_shouldLogBluetoothPairEvent()
168 when(mCachedBluetoothDevice.hasHumanReadableName()).thenReturn(false); in onClicked_deviceNotBonded_shouldLogBluetoothPairEventAndPairWithoutNameEvent()
219 doReturn(false).when(mCachedBluetoothDevice).hasHumanReadableName(); in isVisible_showDeviceWithoutNames_visible()
230 doReturn(false).when(mCachedBluetoothDevice).hasHumanReadableName(); in isVisible_hideDeviceWithoutNames_invisible()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/
DBluetoothDevicePreferenceTest.java176 when(mCachedDevice.hasHumanReadableName()).thenReturn(false); in onAttached_deviceNameNotHumanReadable_setsHidden()
187 when(mCachedDevice.hasHumanReadableName()).thenReturn(false); in onAttached_deviceNameNotHumanReadable_showWithoutNamesTrue_setsShown()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/
DPairedBluetoothDevicesTest.java426 boolean phoneEnabled, boolean mediaEnabled, boolean hasHumanReadableName) { in addBluetoothDevice() argument
436 when(cachedDevice.hasHumanReadableName()).thenReturn(hasHumanReadableName); in addBluetoothDevice()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDevicePreference.java281 mShowDevicesWithoutNames || mCachedDevice.hasHumanReadableName(); in onPreferenceAttributesChanged()
387 if (!mCachedDevice.hasHumanReadableName()) { in onClicked()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothDevicePreference.java118 setVisible(mShowDevicesWithoutNames || mCachedDevice.hasHumanReadableName()); in refreshUi()
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DPairedBluetoothDevices.java141 if (mShowDevicesWithoutNames || cachedDevice.hasHumanReadableName()) { in getQCItem()