Searched refs:mRequestType (Results 1 - 2 of 2) sorted by relevance
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
H A D | BluetoothPermissionRequest.java | 46 int mRequestType; field in class:BluetoothPermissionRequest 61 mRequestType = intent.getIntExtra(BluetoothDevice.EXTRA_ACCESS_REQUEST_TYPE, 66 if (DEBUG) Log.d(TAG, "onReceive request type: " + mRequestType + " return " 80 connectionAccessIntent.setType(Integer.toString(mRequestType)); /* This is needed to create two pending 84 mRequestType); 108 deleteIntent.putExtra(BluetoothDevice.EXTRA_ACCESS_REQUEST_TYPE, mRequestType); 110 switch (mRequestType) { 142 notificationManager.notify(getNotificationTag(mRequestType),NOTIFICATION_ID, notification); 148 mRequestType = intent.getIntExtra(BluetoothDevice.EXTRA_ACCESS_REQUEST_TYPE, 150 manager.cancel(getNotificationTag(mRequestType), NOTIFICATION_I [all...] |
H A D | BluetoothPermissionActivity.java | 58 private int mRequestType = 0; field in class:BluetoothPermissionActivity 66 if (requestType != mRequestType) return; 94 mRequestType = i.getIntExtra(BluetoothDevice.EXTRA_ACCESS_REQUEST_TYPE, 97 if(DEBUG) Log.i(TAG, "onCreate() Request type: " + mRequestType); 99 if (mRequestType == BluetoothDevice.REQUEST_TYPE_PROFILE_CONNECTION) { 100 showDialog(getString(R.string.bluetooth_connection_permission_request), mRequestType); 101 } else if (mRequestType == BluetoothDevice.REQUEST_TYPE_PHONEBOOK_ACCESS) { 102 showDialog(getString(R.string.bluetooth_phonebook_request), mRequestType); 103 } else if (mRequestType == BluetoothDevice.REQUEST_TYPE_MESSAGE_ACCESS) { 104 showDialog(getString(R.string.bluetooth_map_request), mRequestType); [all...] |
Completed in 53 milliseconds