Home
last modified time | relevance | path

Searched refs:ACCESS_REJECTED (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPairingController.java142 mDevice.setPhonebookAccessPermission(BluetoothDevice.ACCESS_REJECTED); in onDialogPositiveClick()
154 mDevice.setPhonebookAccessPermission(BluetoothDevice.ACCESS_REJECTED); in onDialogNegativeClick()
253 case BluetoothDevice.ACCESS_REJECTED: in getContactSharingState()
DBluetoothPermissionRequest.java253 } else if (phonebookPermission == BluetoothDevice.ACCESS_REJECTED) { in checkUserChoice()
267 } else if (messagePermission == BluetoothDevice.ACCESS_REJECTED) { in checkUserChoice()
281 } else if (simPermission == BluetoothDevice.ACCESS_REJECTED) { in checkUserChoice()
DBluetoothDetailsProfilesController.java268 bluetoothDevice.setMessageAccessPermission(BluetoothDevice.ACCESS_REJECTED); in disableProfile()
270 bluetoothDevice.setPhonebookAccessPermission(BluetoothDevice.ACCESS_REJECTED); in disableProfile()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothPairingController.java95 mDevice.setPhonebookAccessPermission(BluetoothDevice.ACCESS_REJECTED); in onCheckedChanged()
166 case BluetoothDevice.ACCESS_REJECTED: in getContactSharingState()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mcp/
DMcpService.java142 if (entry.getValue() == BluetoothDevice.ACCESS_REJECTED) { in dump()
178 isAuthorized ? BluetoothDevice.ACCESS_ALLOWED : BluetoothDevice.ACCESS_REJECTED; in setDeviceAuthorized()
DMediaControlGattService.java985 case BluetoothDevice.ACCESS_REJECTED:
1037 case BluetoothDevice.ACCESS_REJECTED:
1077 case BluetoothDevice.ACCESS_REJECTED:
1131 case BluetoothDevice.ACCESS_REJECTED:
1767 : (auth == BluetoothDevice.ACCESS_REJECTED in onDeviceAuthorizationSet()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothPairingControllerTest.java154 BluetoothDevice.ACCESS_REJECTED); in onSetContactSharingState_permissionRejected_setPBAPRejected()
159 verify(mBluetoothDevice).setPhonebookAccessPermission(BluetoothDevice.ACCESS_REJECTED); in onSetContactSharingState_permissionRejected_setPBAPRejected()
DBluetoothDetailsProfilesControllerTest.java339 .isEqualTo(BluetoothDevice.ACCESS_REJECTED); in pbapProfileStartsEnabled()
345 mDevice.setPhonebookAccessPermission(BluetoothDevice.ACCESS_REJECTED); in pbapProfileStartsDisabled()
378 mDevice.setMessageAccessPermission(BluetoothDevice.ACCESS_REJECTED); in mapProfile()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/tbs/
DTbsGattTest.java1036 doReturn(BluetoothDevice.ACCESS_REJECTED) in testCharacteristicReadAccessRejectedUnauthorized()
1065 doReturn(BluetoothDevice.ACCESS_REJECTED) in testCharacteristicNotifyOnAuthorization()
1121 doReturn(BluetoothDevice.ACCESS_REJECTED) in testCharacteristicWriteAccessRejectedUnauthorized()
1173 doReturn(BluetoothDevice.ACCESS_REJECTED) in testDescriptorReadAccessRejectedUnauthorized()
1215 doReturn(BluetoothDevice.ACCESS_REJECTED) in testDescriptorWriteAccessRejectedUnauthorized()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/tbs/
DTbsService.java153 isAuthorized ? BluetoothDevice.ACCESS_ALLOWED : BluetoothDevice.ACCESS_REJECTED; in setDeviceAuthorized()
440 if (entry.getValue() == BluetoothDevice.ACCESS_REJECTED) { in dump()
DTbsGatt.java1429 : (auth == BluetoothDevice.ACCESS_REJECTED in onDeviceAuthorizationSet()
1546 case BluetoothDevice.ACCESS_REJECTED:
1600 case BluetoothDevice.ACCESS_REJECTED:
1640 case BluetoothDevice.ACCESS_REJECTED:
1694 case BluetoothDevice.ACCESS_REJECTED:
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mcp/
DMcpServiceTest.java107 BluetoothDevice.ACCESS_REJECTED, mMcpService.getDeviceAuthorization(device1)); in testAuthorization()
DMediaControlGattServiceTest.java1200 doReturn(BluetoothDevice.ACCESS_REJECTED) in testCharacteristicReadRejectedUnauthorized()
1222 doReturn(BluetoothDevice.ACCESS_REJECTED) in testCharacteristicNotifyOnAuthorization()
1301 doReturn(BluetoothDevice.ACCESS_REJECTED) in testCharacteristicWriteRejectedUnauthorized()
1349 doReturn(BluetoothDevice.ACCESS_REJECTED) in testDescriptorReadRejectedUnauthorized()
1399 doReturn(BluetoothDevice.ACCESS_REJECTED) in testDescriptorWriteRejectedUnauthorized()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapService.java944 } else if (mPermission == BluetoothDevice.ACCESS_REJECTED) { in onConnect()
1164 mPermission = BluetoothDevice.ACCESS_REJECTED; in onReceive()
1168 BluetoothDevice.ACCESS_REJECTED); in onReceive()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/sap/
DSapService.java385 } else if (permission != BluetoothDevice.ACCESS_REJECTED) { in run()
850 BluetoothDevice.ACCESS_REJECTED); in onReceive()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/
DBluetoothPbapService.java252 device.setPhonebookAccessPermission(BluetoothDevice.ACCESS_REJECTED); in parseIntent()
958 } else if (permission == BluetoothDevice.ACCESS_REJECTED) { in checkOrGetPhonebookPermission()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothDevice.java1235 value = {ACCESS_UNKNOWN, ACCESS_ALLOWED, ACCESS_REJECTED})
1261 @SystemApi public static final int ACCESS_REJECTED = 2; field in BluetoothDevice
2761 if (value != ACCESS_ALLOWED && value != ACCESS_REJECTED && value != ACCESS_UNKNOWN) { in setMessageAccessPermission()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DAtPhonebook.java369 } else if (permission == BluetoothDevice.ACCESS_REJECTED) { in handleCpbrCommand()
DHeadsetStateMachine.java2775 mDevice.setPhonebookAccessPermission(BluetoothDevice.ACCESS_REJECTED); in handleAccessPermissionResult()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DAdapterService.java5688 : BluetoothDevice.ACCESS_REJECTED; in getDeviceAccessFromPrefs()
/packages/modules/Bluetooth/framework/api/
Dsystem-current.txt222 field public static final int ACCESS_REJECTED = 2; // 0x2