Home
last modified time | relevance | path

Searched refs:BluetoothDevicePicker (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/
DBluetoothDevicePickerPreferenceControllerTest.java33 import android.bluetooth.BluetoothDevicePicker;
175 BluetoothDevicePicker.FILTER_TYPE_AUDIO, DEFAULT_LAUNCH_PACKAGE, in onStart_appliesFilterType()
191 BluetoothDevicePicker.FILTER_TYPE_ALL, component.getPackageName(), in onDeviceClicked_callingPackageEqualToLaunchPackage_setsClassName()
206 BluetoothDevicePicker.ACTION_DEVICE_SELECTED); in onDeviceClicked_callingPackageEqualToLaunchPackage_setsClassName()
216 BluetoothDevicePicker.FILTER_TYPE_ALL, component.getPackageName(), in onDeviceClicked_callingPackageNotEqualToLaunchPackage_doesNotSetClassName()
231 BluetoothDevicePicker.ACTION_DEVICE_SELECTED); in onDeviceClicked_callingPackageNotEqualToLaunchPackage_doesNotSetClassName()
240 BluetoothDevicePicker.FILTER_TYPE_ALL, DEFAULT_LAUNCH_PACKAGE, in onDeviceClicked_bondedDevice_goesBack()
257 BluetoothDevicePicker.FILTER_TYPE_ALL, DEFAULT_LAUNCH_PACKAGE, in onDeviceClicked_unbondedDevice_doesNotNeedAuth_sendsPickedIntent()
272 BluetoothDevicePicker.ACTION_DEVICE_SELECTED); in onDeviceClicked_unbondedDevice_doesNotNeedAuth_sendsPickedIntent()
278 BluetoothDevicePicker.FILTER_TYPE_ALL, DEFAULT_LAUNCH_PACKAGE, in onDeviceClicked_unbondedDevice_needsAuth_startsPairing()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothDevicePickerPreferenceController.java22 import android.bluetooth.BluetoothDevicePicker;
78 mNeedAuth = intent.getBooleanExtra(BluetoothDevicePicker.EXTRA_NEED_AUTH, false); in setLaunchIntent()
80 intent.getIntExtra(BluetoothDevicePicker.EXTRA_FILTER_TYPE, in setLaunchIntent()
81 BluetoothDevicePicker.FILTER_TYPE_ALL)); in setLaunchIntent()
82 mLaunchPackage = intent.getStringExtra(BluetoothDevicePicker.EXTRA_LAUNCH_PACKAGE); in setLaunchIntent()
83 mLaunchClass = intent.getStringExtra(BluetoothDevicePicker.EXTRA_LAUNCH_CLASS); in setLaunchIntent()
150 Intent intent = new Intent(BluetoothDevicePicker.ACTION_DEVICE_SELECTED); in sendDevicePickedIntent()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DDevicePickerFragment.java25 import android.bluetooth.BluetoothDevicePicker;
73 mNeedAuth = intent.getBooleanExtra(BluetoothDevicePicker.EXTRA_NEED_AUTH, false); in initPreferencesFromPreferenceScreen()
74 setFilter(intent.getIntExtra(BluetoothDevicePicker.EXTRA_FILTER_TYPE, in initPreferencesFromPreferenceScreen()
75 BluetoothDevicePicker.FILTER_TYPE_ALL)); in initPreferencesFromPreferenceScreen()
76 mLaunchPackage = intent.getStringExtra(BluetoothDevicePicker.EXTRA_LAUNCH_PACKAGE); in initPreferencesFromPreferenceScreen()
77 mLaunchClass = intent.getStringExtra(BluetoothDevicePicker.EXTRA_LAUNCH_CLASS); in initPreferencesFromPreferenceScreen()
209 Intent intent = new Intent(BluetoothDevicePicker.ACTION_DEVICE_SELECTED); in sendDevicePickedIntent()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppLauncherActivity.java38 import android.bluetooth.BluetoothDevicePicker;
279 Intent in1 = new Intent(BluetoothDevicePicker.ACTION_LAUNCH); in launchDevicePicker()
281 in1.putExtra(BluetoothDevicePicker.EXTRA_NEED_AUTH, false); in launchDevicePicker()
283 BluetoothDevicePicker.EXTRA_FILTER_TYPE, in launchDevicePicker()
284 BluetoothDevicePicker.FILTER_TYPE_TRANSFER); in launchDevicePicker()
285 in1.putExtra(BluetoothDevicePicker.EXTRA_LAUNCH_PACKAGE, getPackageName()); in launchDevicePicker()
287 BluetoothDevicePicker.EXTRA_LAUNCH_CLASS, BluetoothOppReceiver.class.getName()); in launchDevicePicker()
288 Log.v(TAG, "Launching " + BluetoothDevicePicker.ACTION_LAUNCH); in launchDevicePicker()
DBluetoothOppService.java37 import android.bluetooth.BluetoothDevicePicker;
656 new Intent(BluetoothDevicePicker.ACTION_LAUNCH);
657 in1.putExtra(BluetoothDevicePicker.EXTRA_NEED_AUTH, false);
659 BluetoothDevicePicker.EXTRA_FILTER_TYPE,
660 BluetoothDevicePicker.FILTER_TYPE_TRANSFER);
662 BluetoothDevicePicker.EXTRA_LAUNCH_PACKAGE,
665 BluetoothDevicePicker.EXTRA_LAUNCH_CLASS,
DBluetoothOppReceiver.java37 import android.bluetooth.BluetoothDevicePicker;
70 if (action.equals(BluetoothDevicePicker.ACTION_DEVICE_SELECTED)) { in onReceive()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/
DBluetoothDeviceFragment.java21 import android.bluetooth.BluetoothDevicePicker;
84 filter.addAction(BluetoothDevicePicker.ACTION_DEVICE_SELECTED); in launchDevicePicker()
87 Intent intent = new Intent(BluetoothDevicePicker.ACTION_LAUNCH); in launchDevicePicker()
135 if (BluetoothDevicePicker.ACTION_DEVICE_SELECTED.equals(action)) {
DMapMceTestFragment.java24 import android.bluetooth.BluetoothDevicePicker;
225 filter.addAction(BluetoothDevicePicker.ACTION_DEVICE_SELECTED); in launchDevicePicker()
228 Intent intent = new Intent(BluetoothDevicePicker.ACTION_LAUNCH); in launchDevicePicker()
438 if (Objects.equals(action, BluetoothDevicePicker.ACTION_DEVICE_SELECTED)) {
DBluetoothHeadsetFragment.java22 import android.bluetooth.BluetoothDevicePicker;
166 filter.addAction(BluetoothDevicePicker.ACTION_DEVICE_SELECTED); in launchDevicePicker()
258 if (BluetoothDevicePicker.ACTION_DEVICE_SELECTED.equals(action)) {
/packages/modules/Bluetooth/android/pandora/server/src/
DOpp.kt20 import android.bluetooth.BluetoothDevicePicker
135 val intent = Intent(BluetoothDevicePicker.ACTION_DEVICE_SELECTED) in sendFile()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothDevicePicker.java32 public interface BluetoothDevicePicker { interface
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppLauncherActivityTest.java35 import android.bluetooth.BluetoothDevicePicker;
173 intended(hasAction(BluetoothDevicePicker.ACTION_LAUNCH)); in launchDevicePicker_bluetoothEnabled_launchActivity()
DBluetoothOppReceiverTest.java38 import android.bluetooth.BluetoothDevicePicker;
119 intent.setAction(BluetoothDevicePicker.ACTION_DEVICE_SELECTED); in onReceive_withActionDeviceSelected_callsStartTransfer()
/packages/modules/Bluetooth/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt324 Landroid/bluetooth/BluetoothDevicePicker;->ACTION_DEVICE_SELECTED:Ljava/lang/String;
325 Landroid/bluetooth/BluetoothDevicePicker;->ACTION_LAUNCH:Ljava/lang/String;
326 Landroid/bluetooth/BluetoothDevicePicker;->EXTRA_FILTER_TYPE:Ljava/lang/String;
327 Landroid/bluetooth/BluetoothDevicePicker;->EXTRA_LAUNCH_CLASS:Ljava/lang/String;
328 Landroid/bluetooth/BluetoothDevicePicker;->EXTRA_LAUNCH_PACKAGE:Ljava/lang/String;
329 Landroid/bluetooth/BluetoothDevicePicker;->EXTRA_NEED_AUTH:Ljava/lang/String;
330 Landroid/bluetooth/BluetoothDevicePicker;->FILTER_TYPE_ALL:I
331 Landroid/bluetooth/BluetoothDevicePicker;->FILTER_TYPE_AUDIO:I
332 Landroid/bluetooth/BluetoothDevicePicker;->FILTER_TYPE_NAP:I
333 Landroid/bluetooth/BluetoothDevicePicker;->FILTER_TYPE_PANU:I
[all …]
/packages/modules/Bluetooth/framework/api/
Dsystem-current.txt304 public interface BluetoothDevicePicker {