Searched refs:getDeviceAuthorization (Results 1 – 7 of 7) sorted by relevance
101 .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 …]
502 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 TbsGatt1028 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 …]
167 public int getDeviceAuthorization(BluetoothDevice device) { in getDeviceAuthorization() method in TbsService
101 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 …]
102 BluetoothDevice.ACCESS_ALLOWED, mMcpService.getDeviceAuthorization(device0)); in testAuthorization()107 BluetoothDevice.ACCESS_REJECTED, mMcpService.getDeviceAuthorization(device1)); in testAuthorization()
448 private int getDeviceAuthorization(BluetoothDevice device) { in getDeviceAuthorization() method in MediaControlGattService449 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()
184 public int getDeviceAuthorization(BluetoothDevice device) { in getDeviceAuthorization() method in McpService