Searched refs:ACCESS_ALLOWED (Results 1 – 8 of 8) sorted by relevance
80 public final static int ACCESS_ALLOWED = 1; field in CachedBluetoothDevice665 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 …]
224 == 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()
219 } else if (phonebookPermission == CachedBluetoothDevice.ACCESS_ALLOWED) { in checkUserChoice()233 } else if (messagePermission == CachedBluetoothDevice.ACCESS_ALLOWED) { in checkUserChoice()
400 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()
1583 ? 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()
296 BluetoothDevice.ACCESS_ALLOWED); in parseIntent()612 if (permission == BluetoothDevice.ACCESS_ALLOWED) { in run()
350 if (permission == BluetoothDevice.ACCESS_ALLOWED) { in handleCpbrCommand()
3237 mCurrentDevice.setPhonebookAccessPermission(BluetoothDevice.ACCESS_ALLOWED); in handleAccessPermissionResult()