Searched refs:mRequestType (Results 1 – 6 of 6) sorted by relevance
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/ |
D | BluetoothPermissionRequest.java | 57 int mRequestType; field in BluetoothPermissionRequest 78 mRequestType = intent.getIntExtra(BluetoothDevice.EXTRA_ACCESS_REQUEST_TYPE, in onReceive() 83 if (DEBUG) Log.d(TAG, "onReceive request type: " + mRequestType + " return " in onReceive() 109 connectionAccessIntent.setType(Integer.toString(mRequestType)); in onReceive() 111 mRequestType); in onReceive() 137 deleteIntent.putExtra(BluetoothDevice.EXTRA_ACCESS_REQUEST_TYPE, mRequestType); in onReceive() 139 switch (mRequestType) { in onReceive() 189 notificationManager.notify(getNotificationTag(mRequestType), NOTIFICATION_ID, in onReceive() 196 mRequestType = intent.getIntExtra(BluetoothDevice.EXTRA_ACCESS_REQUEST_TYPE, in onReceive() 198 manager.cancel(getNotificationTag(mRequestType), NOTIFICATION_ID); in onReceive() [all …]
|
D | BluetoothPermissionActivity.java | 55 private int mRequestType = 0; field in BluetoothPermissionActivity 63 if (requestType != mRequestType) return; 91 mRequestType = i.getIntExtra(BluetoothDevice.EXTRA_ACCESS_REQUEST_TYPE, in onCreate() 94 if(DEBUG) Log.i(TAG, "onCreate() Request type: " + mRequestType); in onCreate() 96 if (mRequestType == BluetoothDevice.REQUEST_TYPE_PROFILE_CONNECTION) { in onCreate() 97 showDialog(getString(R.string.bluetooth_connection_permission_request), mRequestType); in onCreate() local 98 } else if (mRequestType == BluetoothDevice.REQUEST_TYPE_PHONEBOOK_ACCESS) { in onCreate() 99 showDialog(getString(R.string.bluetooth_phonebook_request), mRequestType); in onCreate() local 100 } else if (mRequestType == BluetoothDevice.REQUEST_TYPE_MESSAGE_ACCESS) { in onCreate() 101 showDialog(getString(R.string.bluetooth_map_request), mRequestType); in onCreate() local [all …]
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothPermissionRequest.java | 57 int mRequestType; field in BluetoothPermissionRequest 78 mRequestType = intent.getIntExtra(BluetoothDevice.EXTRA_ACCESS_REQUEST_TYPE, in onReceive() 83 if (DEBUG) Log.d(TAG, "onReceive request type: " + mRequestType + " return " in onReceive() 109 connectionAccessIntent.setType(Integer.toString(mRequestType)); in onReceive() 111 mRequestType); in onReceive() 137 deleteIntent.putExtra(BluetoothDevice.EXTRA_ACCESS_REQUEST_TYPE, mRequestType); in onReceive() 139 switch (mRequestType) { in onReceive() 189 notificationManager.notify(getNotificationTag(mRequestType), NOTIFICATION_ID, in onReceive() 196 mRequestType = intent.getIntExtra(BluetoothDevice.EXTRA_ACCESS_REQUEST_TYPE, in onReceive() 198 manager.cancel(getNotificationTag(mRequestType), NOTIFICATION_ID); in onReceive() [all …]
|
D | BluetoothPermissionActivity.java | 55 private int mRequestType = 0; field in BluetoothPermissionActivity 63 if (requestType != mRequestType) return; 91 mRequestType = i.getIntExtra(BluetoothDevice.EXTRA_ACCESS_REQUEST_TYPE, in onCreate() 94 if(DEBUG) Log.i(TAG, "onCreate() Request type: " + mRequestType); in onCreate() 96 if (mRequestType == BluetoothDevice.REQUEST_TYPE_PROFILE_CONNECTION) { in onCreate() 97 showDialog(getString(R.string.bluetooth_connection_permission_request), mRequestType); in onCreate() local 98 } else if (mRequestType == BluetoothDevice.REQUEST_TYPE_PHONEBOOK_ACCESS) { in onCreate() 99 showDialog(getString(R.string.bluetooth_phonebook_request), mRequestType); in onCreate() local 100 } else if (mRequestType == BluetoothDevice.REQUEST_TYPE_MESSAGE_ACCESS) { in onCreate() 101 showDialog(getString(R.string.bluetooth_map_request), mRequestType); in onCreate() local [all …]
|
/packages/apps/Camera2/src/com/android/camera/one/v2/commands/ |
D | PreviewCommand.java | 34 private final int mRequestType; field in PreviewCommand 46 mRequestType = requestType; in PreviewCommand() 52 RequestBuilder photoRequest = mBuilderFactory.create(mRequestType); in run()
|
/packages/apps/TV/src/com/android/tv/dialog/ |
D | PinDialogFragment.java | 80 private int mRequestType; field in PinDialogFragment 121 mRequestType = getArguments().getInt(ARGS_TYPE, PIN_DIALOG_TYPE_ENTER_PIN); in onCreate() 122 mType = mRequestType; in onCreate() 269 .onPinChecked(mPinChecked, mRequestType, mRatingString);
|