Lines Matching defs:context
43 public void onReceive(Context context, Intent intent) {
52 pairingIntent.setClass(context, BluetoothPairingDialog.class);
66 (PowerManager)context.getSystemService(Context.POWER_SERVICE);
69 LocalBluetoothPreferences.shouldShowDialogInForeground(context, deviceAddress)) {
72 context.startActivity(pairingIntent);
75 Resources res = context.getResources();
76 Notification.Builder builder = new Notification.Builder(context)
80 PendingIntent pending = PendingIntent.getActivity(context, 0,
86 context.getString(android.R.string.unknownName);
96 context.getSystemService(Context.NOTIFICATION_SERVICE);
103 NotificationManager manager = (NotificationManager) context