Home
last modified time | relevance | path

Searched refs:ACCESS_ALLOWED (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Settings/src/com/android/settings/bluetooth/
DCachedBluetoothDevice.java80 public final static int ACCESS_ALLOWED = 1; field in CachedBluetoothDevice
665 if (permission == BluetoothDevice.ACCESS_ALLOWED) { in getPhonebookPermissionChoice()
666 return ACCESS_ALLOWED; in getPhonebookPermissionChoice()
675 if (permissionChoice == ACCESS_ALLOWED) { in setPhonebookPermissionChoice()
676 permission = BluetoothDevice.ACCESS_ALLOWED; in setPhonebookPermissionChoice()
694 if (oldPermission == ACCESS_ALLOWED) { in migratePhonebookPermissionChoice()
695 mDevice.setPhonebookAccessPermission(BluetoothDevice.ACCESS_ALLOWED); in migratePhonebookPermissionChoice()
708 if (permission == BluetoothDevice.ACCESS_ALLOWED) { in getMessagePermissionChoice()
709 return ACCESS_ALLOWED; in getMessagePermissionChoice()
718 if (permissionChoice == ACCESS_ALLOWED) { in setMessagePermissionChoice()
[all …]
DDeviceProfilesSettings.java224 == CachedBluetoothDevice.ACCESS_ALLOWED ? CachedBluetoothDevice.ACCESS_REJECTED in onProfileClicked()
225 : CachedBluetoothDevice.ACCESS_ALLOWED; in onProfileClicked()
227 profilePref.setChecked(newPermission == CachedBluetoothDevice.ACCESS_ALLOWED); in onProfileClicked()
239 mCachedDevice.setMessagePermissionChoice(BluetoothDevice.ACCESS_ALLOWED); in onProfileClicked()
329 == CachedBluetoothDevice.ACCESS_ALLOWED); in refreshProfilePreference()
333 == CachedBluetoothDevice.ACCESS_ALLOWED); in refreshProfilePreference()
DBluetoothPermissionRequest.java219 } else if (phonebookPermission == CachedBluetoothDevice.ACCESS_ALLOWED) { in checkUserChoice()
233 } else if (messagePermission == CachedBluetoothDevice.ACCESS_ALLOWED) { in checkUserChoice()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapService.java400 if (mPermission == BluetoothDevice.ACCESS_ALLOWED) { in onConnectHandler()
801 } else if (mPermission == BluetoothDevice.ACCESS_ALLOWED) { in onConnect()
910 mPermission = BluetoothDevice.ACCESS_ALLOWED; in onReceive()
913 BluetoothDevice.ACCESS_ALLOWED); in onReceive()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java1583 ? BluetoothDevice.ACCESS_ALLOWED : BluetoothDevice.ACCESS_REJECTED; in getPhonebookAccessPermission()
1595 editor.putBoolean(device.getAddress(), value == BluetoothDevice.ACCESS_ALLOWED); in setPhonebookAccessPermission()
1608 ? BluetoothDevice.ACCESS_ALLOWED : BluetoothDevice.ACCESS_REJECTED; in getMessageAccessPermission()
1620 editor.putBoolean(device.getAddress(), value == BluetoothDevice.ACCESS_ALLOWED); in setMessageAccessPermission()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapService.java296 BluetoothDevice.ACCESS_ALLOWED); in parseIntent()
612 if (permission == BluetoothDevice.ACCESS_ALLOWED) { in run()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DAtPhonebook.java350 if (permission == BluetoothDevice.ACCESS_ALLOWED) { in handleCpbrCommand()
DHeadsetStateMachine.java3237 mCurrentDevice.setPhonebookAccessPermission(BluetoothDevice.ACCESS_ALLOWED); in handleAccessPermissionResult()