Home
last modified time | relevance | path

Searched refs:pairingIntent (Results 1 – 7 of 7) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothPairingRequest.java43 Intent pairingIntent = new Intent(); in onReceive() local
44 pairingIntent.setClass(context, BluetoothPairingDialog.class); in onReceive()
45 pairingIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in onReceive()
46 pairingIntent.putExtra(BluetoothDevice.EXTRA_PAIRING_VARIANT, type); in onReceive()
52 pairingIntent.putExtra(BluetoothDevice.EXTRA_PAIRING_KEY, pairingKey); in onReceive()
54 pairingIntent.setAction(BluetoothDevice.ACTION_PAIRING_REQUEST); in onReceive()
55 pairingIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onReceive()
59 context.startActivity(pairingIntent); in onReceive()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DBluetoothPairingService.java58 Intent pairingIntent = new Intent(); in getPairingDialogIntent() local
59 pairingIntent.setClass(context, BluetoothPairingDialog.class); in getPairingDialogIntent()
60 pairingIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in getPairingDialogIntent()
61 pairingIntent.putExtra(BluetoothDevice.EXTRA_PAIRING_VARIANT, type); in getPairingDialogIntent()
67 pairingIntent.putExtra(BluetoothDevice.EXTRA_PAIRING_KEY, pairingKey); in getPairingDialogIntent()
69 pairingIntent.setAction(BluetoothDevice.ACTION_PAIRING_REQUEST); in getPairingDialogIntent()
70 pairingIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in getPairingDialogIntent()
71 return pairingIntent; in getPairingDialogIntent()
DBluetoothPairingRequest.java41 Intent pairingIntent = BluetoothPairingService.getPairingDialogIntent(context, intent); in onReceive() local
54 context.startActivityAsUser(pairingIntent, UserHandle.CURRENT); in onReceive()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPairingService.java58 Intent pairingIntent = new Intent(); in getPairingDialogIntent() local
59 pairingIntent.setClass(context, BluetoothPairingDialog.class); in getPairingDialogIntent()
60 pairingIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in getPairingDialogIntent()
61 pairingIntent.putExtra(BluetoothDevice.EXTRA_PAIRING_VARIANT, type); in getPairingDialogIntent()
67 pairingIntent.putExtra(BluetoothDevice.EXTRA_PAIRING_KEY, pairingKey); in getPairingDialogIntent()
69 pairingIntent.setAction(BluetoothDevice.ACTION_PAIRING_REQUEST); in getPairingDialogIntent()
70 pairingIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in getPairingDialogIntent()
71 return pairingIntent; in getPairingDialogIntent()
DBluetoothPairingRequest.java41 Intent pairingIntent = BluetoothPairingService.getPairingDialogIntent(context, intent); in onReceive() local
54 context.startActivityAsUser(pairingIntent, UserHandle.CURRENT); in onReceive()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothPairingService.java58 Intent pairingIntent = new Intent(); in getPairingDialogIntent() local
59 pairingIntent.setClass(context, BluetoothPairingDialog.class); in getPairingDialogIntent()
60 pairingIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in getPairingDialogIntent()
61 pairingIntent.putExtra(BluetoothDevice.EXTRA_PAIRING_VARIANT, type); in getPairingDialogIntent()
67 pairingIntent.putExtra(BluetoothDevice.EXTRA_PAIRING_KEY, pairingKey); in getPairingDialogIntent()
69 pairingIntent.setAction(BluetoothDevice.ACTION_PAIRING_REQUEST); in getPairingDialogIntent()
70 return pairingIntent; in getPairingDialogIntent()
DBluetoothPairingRequest.java41 Intent pairingIntent = BluetoothPairingService.getPairingDialogIntent(context, intent); in onReceive() local
54 context.startActivityAsUser(pairingIntent, UserHandle.CURRENT); in onReceive()