Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/bluetooth/
DConnectedBluetoothDeviceUpdater.java117 final BluetoothDevicePreference btPreference = in addPreference() local
119 btPreference.setOnGearClickListener(null); in addPreference()
120 btPreference.hideSecondTarget(true); in addPreference()
121 btPreference.setOnPreferenceClickListener((Preference p) -> { in addPreference()
DBluetoothDeviceUpdater.java247 BluetoothDevicePreference btPreference = in addPreference() local
251 btPreference.setKey(getPreferenceKey()); in addPreference()
252 btPreference.setOnGearClickListener(mDeviceProfilesListener); in addPreference()
254 btPreference.setOnPreferenceClickListener( in addPreference()
257 mPreferenceMap.put(device, btPreference); in addPreference()
258 mDevicePreferenceCallback.onDeviceAdded(btPreference); in addPreference()
DDevicePickerFragment.java139 public void onDevicePreferenceClick(BluetoothDevicePreference btPreference) { in onDevicePreferenceClick() argument
143 if ((btPreference.getCachedDevice().getBondState() == in onDevicePreferenceClick()
148 super.onDevicePreferenceClick(btPreference); in onDevicePreferenceClick()
DBluetoothDevicePairingDetailBase.java148 public void onDevicePreferenceClick(BluetoothDevicePreference btPreference) { in onDevicePreferenceClick() argument
150 super.onDevicePreferenceClick(btPreference); in onDevicePreferenceClick()
DDeviceListPreferenceFragment.kt190 protected open fun onDevicePreferenceClick(btPreference: BluetoothDevicePreference) { in onDevicePreferenceClick()
191 btPreference.onClicked() in onDevicePreferenceClick()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DConnectedBluetoothDeviceUpdaterTest.java330 BluetoothDevicePreference btPreference = in addPreference_addPreference_shouldHideSecondTarget() local
333 mBluetoothDeviceUpdater.mPreferenceMap.put(mBluetoothDevice, btPreference); in addPreference_addPreference_shouldHideSecondTarget()
337 assertThat(btPreference.shouldHideSecondTarget()).isTrue(); in addPreference_addPreference_shouldHideSecondTarget()