Home
last modified time | relevance | path

Searched refs:observedErrorCode (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Permission/tests/cts/permission/AppThatRequestBluetoothPermission30/src/android/permission/cts/appthatrequestpermission/
DAccessBluetoothOnCommand.java63 final AtomicInteger observedErrorCode = new AtomicInteger(0); in call() local
82 observedErrorCode.set(errorCode); in call()
91 if (observedErrorCode.get() > 0) { in call()
92 throw new RuntimeException("Scan returned error code: " + observedErrorCode.get()); in call()
/packages/modules/Permission/tests/cts/permissionui/UsePermissionApp30WithBluetooth/src/android/permissionui/cts/usepermission/
DAccessBluetoothOnCommand.kt63 val observedErrorCode = AtomicInteger(0) in call() constant
81 observedErrorCode.set(errorCode) in call()
92 if (observedErrorCode.get() > 0) { in call()