Home | History | Annotate | Download | only in bluetooth

Lines Matching defs:intent

25 import android.content.Intent;
52 public void onReceive(Context context, Intent intent) {
54 String action = intent.getAction();
59 // convert broadcast intent into activity intent (same action string)
60 mDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
61 mRequestType = intent.getIntExtra(BluetoothDevice.EXTRA_ACCESS_REQUEST_TYPE,
63 mReturnPackage = intent.getStringExtra(BluetoothDevice.EXTRA_PACKAGE_NAME);
64 mReturnClass = intent.getStringExtra(BluetoothDevice.EXTRA_CLASS_NAME);
76 Intent connectionAccessIntent = new Intent(action);
79 connectionAccessIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_MULTIPLE_TASK);
101 // Create an intent triggered by clicking on the
104 Intent deleteIntent = new Intent(BluetoothDevice.ACTION_CONNECTION_ACCESS_REPLY);
148 mRequestType = intent.getIntExtra(BluetoothDevice.EXTRA_ACCESS_REQUEST_TYPE,
234 Intent intent = new Intent(intentName);
237 intent.setClassName(mReturnPackage, mReturnClass);
240 intent.putExtra(BluetoothDevice.EXTRA_CONNECTION_ACCESS_RESULT,
245 intent.putExtra(extraName, extraValue);
247 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice);
248 intent.putExtra(BluetoothDevice.EXTRA_ACCESS_REQUEST_TYPE, mRequestType);
249 mContext.sendBroadcast(intent, android.Manifest.permission.BLUETOOTH_ADMIN);