Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/bluetooth/
DDeviceListPreferenceFragment.java154 BluetoothDevicePreference btPreference = (BluetoothDevicePreference) preference; in onPreferenceTreeClick() local
155 CachedBluetoothDevice device = btPreference.getCachedDevice(); in onPreferenceTreeClick()
157 onDevicePreferenceClick(btPreference); in onPreferenceTreeClick()
164 void onDevicePreferenceClick(BluetoothDevicePreference btPreference) { in onDevicePreferenceClick() argument
165 btPreference.onClicked(); in onDevicePreferenceClick()
DConnectedBluetoothDeviceUpdater.java104 final BluetoothDevicePreference btPreference = in addPreference() local
106 btPreference.setOnGearClickListener(null); in addPreference()
107 btPreference.hideSecondTarget(true); in addPreference()
108 btPreference.setOnPreferenceClickListener((Preference p) -> { in addPreference()
DBluetoothDeviceUpdater.java227 BluetoothDevicePreference btPreference = in addPreference() local
230 btPreference.setOnGearClickListener(mDeviceProfilesListener); in addPreference()
232 btPreference.setOnPreferenceClickListener( in addPreference()
235 mPreferenceMap.put(device, btPreference); in addPreference()
236 mDevicePreferenceCallback.onDeviceAdded(btPreference); in addPreference()
DDevicePickerFragment.java120 void onDevicePreferenceClick(BluetoothDevicePreference btPreference) { in onDevicePreferenceClick() argument
124 if ((btPreference.getCachedDevice().getBondState() == in onDevicePreferenceClick()
129 super.onDevicePreferenceClick(btPreference); in onDevicePreferenceClick()
DBluetoothPairingDetail.java134 void onDevicePreferenceClick(BluetoothDevicePreference btPreference) { in onDevicePreferenceClick() argument
136 super.onDevicePreferenceClick(btPreference); in onDevicePreferenceClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DDeviceListPreferenceFragment.java154 BluetoothDevicePreference btPreference = (BluetoothDevicePreference) preference; in onPreferenceTreeClick() local
155 CachedBluetoothDevice device = btPreference.getCachedDevice(); in onPreferenceTreeClick()
157 onDevicePreferenceClick(btPreference); in onPreferenceTreeClick()
164 void onDevicePreferenceClick(BluetoothDevicePreference btPreference) { in onDevicePreferenceClick() argument
165 btPreference.onClicked(); in onDevicePreferenceClick()
DConnectedBluetoothDeviceUpdater.java104 final BluetoothDevicePreference btPreference = in addPreference() local
106 btPreference.setOnGearClickListener(null); in addPreference()
107 btPreference.hideSecondTarget(true); in addPreference()
108 btPreference.setOnPreferenceClickListener((Preference p) -> { in addPreference()
DBluetoothDeviceUpdater.java217 BluetoothDevicePreference btPreference = in addPreference() local
220 btPreference.setOnGearClickListener(mDeviceProfilesListener); in addPreference()
222 btPreference.setOnPreferenceClickListener( in addPreference()
225 mPreferenceMap.put(device, btPreference); in addPreference()
226 mDevicePreferenceCallback.onDeviceAdded(btPreference); in addPreference()
DDevicePickerFragment.java120 void onDevicePreferenceClick(BluetoothDevicePreference btPreference) { in onDevicePreferenceClick() argument
124 if ((btPreference.getCachedDevice().getBondState() == in onDevicePreferenceClick()
129 super.onDevicePreferenceClick(btPreference); in onDevicePreferenceClick()
DBluetoothPairingDetail.java134 void onDevicePreferenceClick(BluetoothDevicePreference btPreference) { in onDevicePreferenceClick() argument
136 super.onDevicePreferenceClick(btPreference); in onDevicePreferenceClick()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DConnectedBluetoothDeviceUpdaterTest.java241 BluetoothDevicePreference btPreference = in addPreference_addPreference_shouldHideSecondTarget() local
243 mBluetoothDeviceUpdater.mPreferenceMap.put(mBluetoothDevice, btPreference); in addPreference_addPreference_shouldHideSecondTarget()
247 assertThat(btPreference.shouldHideSecondTarget()).isTrue(); in addPreference_addPreference_shouldHideSecondTarget()