Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/service/tests/src/com/android/server/bluetooth/
DBluetoothServiceBinderTest.java386 private void checkDisabled(BooleanSupplier binderCall) { in checkDisabled() argument
391 assertThat(binderCall.getAsBoolean()).isFalse(); in checkDisabled()
397 private void checkHardDenied(ThrowingRunnable binderCall, boolean requireForeground) { in checkHardDenied() argument
402 assertThrows(SecurityException.class, binderCall); in checkHardDenied()
412 private void checkGranted(BooleanSupplier binderCall, boolean expectedResult) { in checkGranted() argument
418 assertThat(binderCall.getAsBoolean()).isEqualTo(expectedResult); in checkGranted()