Home
last modified time | relevance | path

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

/packages/modules/Nfc/framework/java/android/nfc/
DNfcOemExtension.java1134 T input, Consumer<T> callbackMethod, Executor executor) { in handleVoidCallback() argument
1138 executor.execute(() -> callbackMethod.accept(input)); in handleVoidCallback()
1148 T1 input1, T2 input2, BiConsumer<T1, T2> callbackMethod, Executor executor) { in handleVoid2ArgCallback() argument
1152 executor.execute(() -> callbackMethod.accept(input1, input2)); in handleVoid2ArgCallback()
1162 S defaultValue, T input, Function<T, S> callbackMethod) throws RemoteException { in handleNonVoidCallbackWithInput() argument
1168 FutureTask<S> futureTask = new FutureTask<>(() -> callbackMethod.apply(input)); in handleNonVoidCallbackWithInput()
1176 Log.w(TAG, "Callback timed out: " + callbackMethod); in handleNonVoidCallbackWithInput()
1188 private <T> T handleNonVoidCallbackWithoutInput(T defaultValue, Supplier<T> callbackMethod) in handleNonVoidCallbackWithoutInput() argument
1195 FutureTask<T> futureTask = new FutureTask<>(callbackMethod::get); in handleNonVoidCallbackWithoutInput()
1203 Log.w(TAG, "Callback timed out: " + callbackMethod); in handleNonVoidCallbackWithoutInput()