Home
last modified time | relevance | path

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

/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowBluetoothDeviceTest.java328 shadowDevice.setShouldThrowSecurityExceptions(true); in getAliasName_noBluetoothConnectPermission_throwsException()
339 shadowDevice.setShouldThrowSecurityExceptions(true); in getUuids_noBluetoothConnectPermission_throwsException()
350 shadowDevice.setShouldThrowSecurityExceptions(true); in getName_noBluetoothConnectPermission_throwsException()
361 shadowDevice.setShouldThrowSecurityExceptions(true); in getType_noBluetoothConnectPermission_throwsException()
372 shadowDevice.setShouldThrowSecurityExceptions(true); in fetchUuidsWithSdp_noBluetoothConnectPermission_throwsException()
383 shadowDevice.setShouldThrowSecurityExceptions(true); in getBluetoothClass_noBluetoothConnectPermission_throwsException()
394 shadowDevice.setShouldThrowSecurityExceptions(true); in getBondState_noBluetoothConnectPermission_throwsException()
405 shadowDevice.setShouldThrowSecurityExceptions(true); in getPin_noBluetoothConnectPermission_throwsException()
417 shadowDevice.setShouldThrowSecurityExceptions(true); in createBond_noBluetoothConnectPermission_throwsException()
428 shadowDevice.setShouldThrowSecurityExceptions(true); in createInsecureL2capChannel_noBluetoothConnectPermission_throwsException()
[all …]
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowBluetoothDevice.java142 public void setShouldThrowSecurityExceptions(boolean shouldThrow) { in setShouldThrowSecurityExceptions() method in ShadowBluetoothDevice