Home
last modified time | relevance | path

Searched refs:getDeviceAuthorization (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/tbs/
DTbsGattTest.java101 .getDeviceAuthorization(any(BluetoothDevice.class)); in setUp()
109 when(mMockTbsService.getDeviceAuthorization(any(BluetoothDevice.class))) in setUp()
1038 .getDeviceAuthorization(any(BluetoothDevice.class)); in testCharacteristicReadAccessRejectedUnauthorized()
1067 .getDeviceAuthorization(any(BluetoothDevice.class)); in testCharacteristicNotifyOnAuthorization()
1088 .getDeviceAuthorization(any(BluetoothDevice.class)); in testCharacteristicNotifyOnAuthorization()
1106 .getDeviceAuthorization(any(BluetoothDevice.class)); in testCharacteristicReadAccessUnknownUnauthorized()
1123 .getDeviceAuthorization(any(BluetoothDevice.class)); in testCharacteristicWriteAccessRejectedUnauthorized()
1151 .getDeviceAuthorization(any(BluetoothDevice.class)); in testCharacteristicWriteAccessUnknownUnauthorized()
1175 .getDeviceAuthorization(any(BluetoothDevice.class)); in testDescriptorReadAccessRejectedUnauthorized()
1199 .getDeviceAuthorization(any(BluetoothDevice.class)); in testDescriptorReadAccessUnknownUnauthorized()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/tbs/
DTbsGatt.java502 if (getDeviceAuthorization(device) != BluetoothDevice.ACCESS_ALLOWED) return; in notifyCharacteristicChanged()
512 if (getDeviceAuthorization(device) != BluetoothDevice.ACCESS_ALLOWED) return; in notifyCharacteristicChanged()
1027 private int getDeviceAuthorization(BluetoothDevice device) { in getDeviceAuthorization() method in TbsGatt
1028 return mTbsService.getDeviceAuthorization(device); in getDeviceAuthorization()
1274 if (getDeviceAuthorization(device) != BluetoothDevice.ACCESS_ALLOWED) { in onAuthorizedGattOperation()
1310 if (getDeviceAuthorization(device) != BluetoothDevice.ACCESS_ALLOWED) { in onAuthorizedGattOperation()
1335 if (getDeviceAuthorization(device) != BluetoothDevice.ACCESS_ALLOWED) { in onAuthorizedGattOperation()
1355 if (getDeviceAuthorization(device) != BluetoothDevice.ACCESS_ALLOWED) { in onAuthorizedGattOperation()
1421 int auth = getDeviceAuthorization(device); in onDeviceAuthorizationSet()
1473 if (getDeviceAuthorization(device) == BluetoothDevice.ACCESS_ALLOWED) { in processPendingGattOperations()
[all …]
DTbsService.java167 public int getDeviceAuthorization(BluetoothDevice device) { in getDeviceAuthorization() method in TbsService
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mcp/
DMediaControlGattServiceTest.java101 when(mMockMcpService.getDeviceAuthorization(any(BluetoothDevice.class))) in setUp()
1202 .getDeviceAuthorization(any(BluetoothDevice.class)); in testCharacteristicReadRejectedUnauthorized()
1224 .getDeviceAuthorization(any(BluetoothDevice.class)); in testCharacteristicNotifyOnAuthorization()
1254 .getDeviceAuthorization(any(BluetoothDevice.class)); in testCharacteristicNotifyOnAuthorization()
1274 .getDeviceAuthorization(any(BluetoothDevice.class)); in testCharacteristicReadUnknownUnauthorized()
1303 .getDeviceAuthorization(any(BluetoothDevice.class)); in testCharacteristicWriteRejectedUnauthorized()
1332 .getDeviceAuthorization(any(BluetoothDevice.class)); in testCharacteristicWriteUnknownUnauthorized()
1351 .getDeviceAuthorization(any(BluetoothDevice.class)); in testDescriptorReadRejectedUnauthorized()
1376 .getDeviceAuthorization(any(BluetoothDevice.class)); in testDescriptorReadUnknownUnauthorized()
1401 .getDeviceAuthorization(any(BluetoothDevice.class)); in testDescriptorWriteRejectedUnauthorized()
[all …]
DMcpServiceTest.java102 BluetoothDevice.ACCESS_ALLOWED, mMcpService.getDeviceAuthorization(device0)); in testAuthorization()
107 BluetoothDevice.ACCESS_REJECTED, mMcpService.getDeviceAuthorization(device1)); in testAuthorization()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mcp/
DMediaControlGattService.java448 private int getDeviceAuthorization(BluetoothDevice device) { in getDeviceAuthorization() method in MediaControlGattService
449 return mMcpService.getDeviceAuthorization(device); in getDeviceAuthorization()
868 if (getDeviceAuthorization(device) == BluetoothDevice.ACCESS_ALLOWED) { in ProcessPendingGattOperations()
984 switch (getDeviceAuthorization(device)) {
1036 switch (getDeviceAuthorization(device)) {
1076 switch (getDeviceAuthorization(device)) {
1130 switch (getDeviceAuthorization(device)) {
1759 int auth = getDeviceAuthorization(device); in onDeviceAuthorizationSet()
1822 if (getDeviceAuthorization(device) != BluetoothDevice.ACCESS_ALLOWED) return; in notifyCharacteristic()
DMcpService.java184 public int getDeviceAuthorization(BluetoothDevice device) { in getDeviceAuthorization() method in McpService