Home
last modified time | relevance | path

Searched refs:ACCESS_UNKNOWN (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowBluetoothDevice.java27 private int mMessageAccessPermission = BluetoothDevice.ACCESS_UNKNOWN;
28 private int mPhonebookAccessPermission = BluetoothDevice.ACCESS_UNKNOWN;
29 private int mSimAccessPermission = BluetoothDevice.ACCESS_UNKNOWN;
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mcp/
DMcpService.java169 : BluetoothDevice.ACCESS_UNKNOWN); in getDeviceAuthorization()
170 if (authorization != BluetoothDevice.ACCESS_UNKNOWN) { in getDeviceAuthorization()
177 return BluetoothDevice.ACCESS_UNKNOWN; in getDeviceAuthorization()
187 return BluetoothDevice.ACCESS_UNKNOWN; in getDeviceAuthorization()
DMediaControlGattService.java951 case BluetoothDevice.ACCESS_UNKNOWN:
1003 case BluetoothDevice.ACCESS_UNKNOWN:
1044 case BluetoothDevice.ACCESS_UNKNOWN:
1098 case BluetoothDevice.ACCESS_UNKNOWN:
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/tbs/
DTbsService.java163 : BluetoothDevice.ACCESS_UNKNOWN); in getDeviceAuthorization()
164 if (authorization != BluetoothDevice.ACCESS_UNKNOWN) { in getDeviceAuthorization()
171 return BluetoothDevice.ACCESS_UNKNOWN; in getDeviceAuthorization()
181 return BluetoothDevice.ACCESS_UNKNOWN; in getDeviceAuthorization()
DTbsGatt.java1499 case BluetoothDevice.ACCESS_UNKNOWN:
1553 case BluetoothDevice.ACCESS_UNKNOWN:
1594 case BluetoothDevice.ACCESS_UNKNOWN:
1648 case BluetoothDevice.ACCESS_UNKNOWN:
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPermissionRequest.java248 if (phonebookPermission == BluetoothDevice.ACCESS_UNKNOWN) { in checkUserChoice()
262 if (messagePermission == BluetoothDevice.ACCESS_UNKNOWN) { in checkUserChoice()
276 if (simPermission == BluetoothDevice.ACCESS_UNKNOWN) { in checkUserChoice()
DBluetoothDetailsProfilesController.java355 if (pbapPermission != BluetoothDevice.ACCESS_UNKNOWN) { in getProfiles()
364 if (mapPermission != BluetoothDevice.ACCESS_UNKNOWN && mapProfile != null) { in getProfiles()
DBluetoothPairingController.java251 || (permission == BluetoothDevice.ACCESS_UNKNOWN in setContactSharingState()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapService.java141 private int mPermission = BluetoothDevice.ACCESS_UNKNOWN;
216 mPermission = BluetoothDevice.ACCESS_UNKNOWN; in closeService()
363 mPermission = BluetoothDevice.ACCESS_UNKNOWN; in stopObexServerSessions()
897 if (mPermission == BluetoothDevice.ACCESS_UNKNOWN) { in onConnect()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DBondStateMachine.java298 dev, BluetoothDevice.ACCESS_UNKNOWN); in processMessage()
300 dev, BluetoothDevice.ACCESS_UNKNOWN); in processMessage()
302 dev, BluetoothDevice.ACCESS_UNKNOWN); in processMessage()
DAdapterServiceBinder.java1083 return BluetoothDevice.ACCESS_UNKNOWN; in getPhonebookAccessPermission()
1113 return BluetoothDevice.ACCESS_UNKNOWN; in getMessageAccessPermission()
1142 return BluetoothDevice.ACCESS_UNKNOWN; in getSimAccessPermission()
DAdapterService.java3783 return BluetoothDevice.ACCESS_UNKNOWN; in getDeviceAccessFromPrefs()
3793 if (value == BluetoothDevice.ACCESS_UNKNOWN) { in setDeviceAccessFromPrefs()
4231 setMessageAccessPermission(device, BluetoothDevice.ACCESS_UNKNOWN); in handleBondStateChanged()
4232 setPhonebookAccessPermission(device, BluetoothDevice.ACCESS_UNKNOWN); in handleBondStateChanged()
4233 setSimAccessPermission(device, BluetoothDevice.ACCESS_UNKNOWN); in handleBondStateChanged()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/tbs/
DTbsGattTest.java1136 doReturn(BluetoothDevice.ACCESS_UNKNOWN) in testCharacteristicReadAccessUnknownUnauthorized()
1181 doReturn(BluetoothDevice.ACCESS_UNKNOWN) in testCharacteristicWriteAccessUnknownUnauthorized()
1229 doReturn(BluetoothDevice.ACCESS_UNKNOWN) in testDescriptorReadAccessUnknownUnauthorized()
1277 doReturn(BluetoothDevice.ACCESS_UNKNOWN) in testDescriptorWriteAccessUnknownUnauthorized()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothDevice.java1354 value = {ACCESS_UNKNOWN, ACCESS_ALLOWED, ACCESS_REJECTED})
1364 @SystemApi public static final int ACCESS_UNKNOWN = 0; field in BluetoothDevice
2677 return ACCESS_UNKNOWN; in getPhonebookAccessPermission()
2789 return ACCESS_UNKNOWN; in getMessageAccessPermission()
2805 if (value != ACCESS_ALLOWED && value != ACCESS_REJECTED && value != ACCESS_UNKNOWN) { in setMessageAccessPermission()
2846 return ACCESS_UNKNOWN; in getSimAccessPermission()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothPairingControllerTest.java142 BluetoothDevice.ACCESS_UNKNOWN); in onSetContactSharingState_permissionUnknown_audioVideoHandsfree_setPBAPAllowed()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mcp/
DMediaControlGattServiceTest.java1317 doReturn(BluetoothDevice.ACCESS_UNKNOWN) in testCharacteristicReadUnknownUnauthorized()
1375 doReturn(BluetoothDevice.ACCESS_UNKNOWN) in testCharacteristicWriteUnknownUnauthorized()
1420 doReturn(BluetoothDevice.ACCESS_UNKNOWN) in testDescriptorReadUnknownUnauthorized()
1476 doReturn(BluetoothDevice.ACCESS_UNKNOWN) in testDescriptorWriteUnknownUnauthorized()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/
DAtPhonebookTest.java102 .isEqualTo(BluetoothDevice.ACCESS_UNKNOWN); in checkAccessPermission_returnsCorrectPermission()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DAtPhonebook.java689 if (permission == BluetoothDevice.ACCESS_UNKNOWN) { in checkAccessPermission()
/packages/modules/Bluetooth/framework/api/
Dsystem-current.txt284 field public static final int ACCESS_UNKNOWN = 0; // 0x0