Searched defs:dispatch (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/hardware/camera2/dispatch/
H A DBroadcastDispatcher.java16 package android.hardware.camera2.dispatch;
26 * Broadcast a single dispatch into multiple other dispatchables.
28 * <p>Every time {@link #dispatch} is invoked, all the broadcast targets will
29 * see the same dispatch as well. The first target's return value is returned.</p>
38 * Create a broadcast dispatcher from the supplied dispatch targets.
40 * @param dispatchTargets one or more targets to dispatch to
49 public Object dispatch(Method method, Object[] args) throws Throwable { method in class:BroadcastDispatcher
54 Object localResult = dispatchTarget.dispatch(method, args);
H A DDispatchable.java16 package android.hardware.camera2.dispatch;
21 * Dynamically dispatch a method and its argument to some object.
34 public Object dispatch(Method method, Object[] args) throws Throwable; method in interface:Dispatchable
H A DNullDispatcher.java16 package android.hardware.camera2.dispatch;
35 public Object dispatch(Method method, Object[] args) { method in class:NullDispatcher
H A DArgumentReplacingDispatcher.java16 package android.hardware.camera2.dispatch;
32 * source dispatch type, whose methods with {@link #dispatch} will be called
34 * argument replacement type, args in {@link #dispatch} matching {@code argumentIndex}
54 * @param target destination dispatch type, methods will be redirected to this dispatcher
67 public Object dispatch(Method method, Object[] args) throws Throwable { method in class:ArgumentReplacingDispatcher
74 return mTarget.dispatch(method, args);
H A DDuckTypingDispatcher.java16 package android.hardware.camera2.dispatch;
24 * Duck typing dispatcher; converts dispatch methods calls from one class to another by
31 * @param <TFrom> source dispatch type, whose methods with {@link #dispatch} will be called
32 * @param <T> destination dispatch type, methods will be converted to the class of {@code T}
41 * @param target destination dispatch type, methods will be redirected to this dispatcher
42 * @param targetClass destination dispatch class, methods will be converted to this class's
52 public Object dispatch(Method method, Object[] args) { method in class:DuckTypingDispatcher
H A DHandlerDispatcher.java16 package android.hardware.camera2.dispatch;
46 * Create a dispatcher that forwards it's dispatch calls by posting
52 * @return a dispatcher that will forward it's dispatch calls to a handler
60 public Object dispatch(final Method method, final Object[] args) throws Throwable { method in class:HandlerDispatcher
65 mDispatchTarget.dispatch(method, args);
H A DInvokeDispatcher.java16 package android.hardware.camera2.dispatch;
37 public Object dispatch(Method method, Object[] args) { method in class:InvokeDispatcher
H A DMethodNameInvoker.java16 package android.hardware.camera2.dispatch;
28 * @param <T> destination dispatch type, methods will be looked up in the class of {@code T}
41 * @param target destination dispatch type, invokes will be redirected to this dispatcher
42 * @param targetClass destination dispatch class, the invoked methods will be from this class
90 return (K) mTarget.dispatch(targetMethod, params);
/frameworks/av/services/oboeservice/
H A DAAudioThread.cpp38 void AAudioThread::dispatch() { function in class:AAudioThread
50 aaudioThread->dispatch();
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
H A DLifecycle.java37 public void dispatch(Consumer<T> consumer) { method in class:Lifecycle
H A DKeyguardLifecyclesDispatcher.java48 void dispatch(int what) { method in class:KeyguardLifecyclesDispatcher
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
H A DLifecycleTest.java53 mLifecycle.dispatch(mDispatchedObjects::add);
63 mLifecycle.dispatch(mDispatchedObjects::add);
69 public void dispatch() throws Exception { method in class:LifecycleTest
73 mLifecycle.dispatch(mDispatchedObjects::add);
/frameworks/support/lifecycle/runtime/src/main/java/android/arch/lifecycle/
H A DReportFragment.java75 dispatch(Lifecycle.Event.ON_CREATE);
82 dispatch(Lifecycle.Event.ON_START);
89 dispatch(Lifecycle.Event.ON_RESUME);
95 dispatch(Lifecycle.Event.ON_PAUSE);
101 dispatch(Lifecycle.Event.ON_STOP);
107 dispatch(Lifecycle.Event.ON_DESTROY);
112 private void dispatch(Lifecycle.Event event) { method in class:ReportFragment
/frameworks/base/services/core/java/com/android/server/broadcastradio/
H A DTunerCallback.java64 private void dispatch(RunnableThrowingRemoteException func) { method in class:TunerCallback
80 dispatch(() -> mClientCallback.onError(status));
85 dispatch(() -> mClientCallback.onConfigurationChanged(config));
90 dispatch(() -> mClientCallback.onCurrentProgramInfoChanged(info));
95 dispatch(() -> mClientCallback.onTrafficAnnouncement(active));
100 dispatch(() -> mClientCallback.onEmergencyAnnouncement(active));
105 dispatch(() -> mClientCallback.onAntennaState(connected));
110 dispatch(() -> mClientCallback.onBackgroundScanAvailabilityChange(isAvailable));
115 dispatch(() -> mClientCallback.onBackgroundScanComplete());
120 dispatch(()
[all...]
/frameworks/base/tests/utils/testutils/java/android/app/test/
H A DTestAlarmManager.java36 * Creates an AlarmManager whose alarm dispatch can be controlled
67 public boolean dispatch(String tag) { method in class:TestAlarmManager
72 alarm.dispatch();
119 public void dispatch() { method in class:TestAlarmManager.PendingAlarm
/frameworks/native/vulkan/libvulkan/
H A Ddriver.h43 InstanceDispatchTable dispatch; member in struct:vulkan::api::InstanceData
55 DeviceDispatchTable dispatch; member in struct:vulkan::api::DeviceData
150 hwvulkan_dispatch_t* dispatch = local
153 if (dispatch->magic != HWVULKAN_DISPATCH_MAGIC && dispatch->vtbl != data) {
154 ALOGE("invalid dispatchable object magic 0x%" PRIxPTR, dispatch->magic);
158 dispatch->vtbl = data;
167 const hwvulkan_dispatch_t* dispatch = local
170 return const_cast<void*>(dispatch->vtbl);
H A Dswapchain.cpp888 const auto& dispatch = GetData(device).driver; local
1000 if (dispatch.GetSwapchainGrallocUsage2ANDROID) {
1002 result = dispatch.GetSwapchainGrallocUsage2ANDROID(
1011 } else if (dispatch.GetSwapchainGrallocUsageANDROID) {
1012 result = dispatch.GetSwapchainGrallocUsageANDROID(
1103 dispatch.CreateImage(device, &image_create, nullptr, &img.image);
1127 dispatch.DestroyImage(device, img.image, nullptr);
1147 const auto& dispatch = GetData(device).driver; local
1303 const auto& dispatch = GetData(queue).driver; local
1356 result = dispatch
[all...]
/frameworks/rs/cpp/
H A DRenderScript.cpp34 dispatchTable* RS::dispatch = nullptr; member in class:RS
55 RS::dispatch->ContextDeinitToClient(mContext);
60 RS::dispatch->ContextDestroy(mContext);
79 if (loadSymbols(handle, *RS::dispatch, targetApi) == false) {
105 RS::dispatch = new dispatchTable; member in class:RS
141 ALOGE("Couldn't initialize dispatch table");
155 RsDevice device = RS::dispatch->DeviceCreate();
167 mContext = RS::dispatch->ContextCreate(device, 0, targetApi, RS_CONTEXT_TYPE_NORMAL, flags);
209 RS::dispatch->ContextInitToClient(rs->mContext);
216 RsMessageToClientType r = RS::dispatch
[all...]
H A DrsCppStructs.h423 static dispatchTable* dispatch; member in class:android::RSC::RS
/frameworks/support/lifecycle/extensions/src/main/java/android/arch/lifecycle/
H A DLifecycleDispatcher.java100 dispatch(ON_PAUSE);
106 dispatch(ON_STOP);
112 dispatch(ON_DESTROY);
115 protected void dispatch(Lifecycle.Event event) { method in class:LifecycleDispatcher.DestructionReportFragment
/frameworks/base/core/java/android/nfc/
H A DNfcAdapter.java78 * <p>The MIME type or data URI of this intent are normalized before dispatch -
1278 * Enable foreground dispatch to the given Activity.
1283 * <p>If any IntentFilters are provided to this method they are used to match dispatch Intents
1286 * relies on meta data outside of the IntentFilter matching for that dispatch Intent is handled
1289 * match then the dispatch is routed through the given PendingIntent. In other words, the second
1298 * the completion of their {@link Activity#onPause} callback to disable foreground dispatch
1303 * @param activity the Activity to dispatch to
1304 * @param intent the PendingIntent to start for the dispatch
1305 * @param filters the IntentFilters to override dispatching for, or null to always dispatch
1322 throw new IllegalStateException("Foreground dispatch ca
1723 public void dispatch(Tag tag) { method in class:NfcAdapter
[all...]
/frameworks/av/media/libstagefright/omx/
H A DOMXNodeInstance.cpp267 void dispatch(std::list<omx_message> &messages);
307 void OMXNodeInstance::CallbackDispatcher::dispatch(std::list<omx_message> &messages) { function in class:android::OMXNodeInstance::CallbackDispatcher
332 dispatch(messages);
2007 // Don't dispatch a message back to ACodec, since it doesn't
/frameworks/native/vulkan/nulldrv/
H A Dnull_driver.cpp34 hwvulkan_dispatch_t dispatch; member in struct:VkPhysicalDevice_T
38 hwvulkan_dispatch_t dispatch; member in struct:VkInstance_T
45 hwvulkan_dispatch_t dispatch; member in struct:VkQueue_T
49 hwvulkan_dispatch_t dispatch; member in struct:VkCommandBuffer_T
98 hwvulkan_dispatch_t dispatch; member in struct:VkDevice_T
298 instance->dispatch.magic = HWVULKAN_DISPATCH_MAGIC;
300 instance->physical_device.dispatch.magic = HWVULKAN_DISPATCH_MAGIC;
661 device->dispatch.magic = HWVULKAN_DISPATCH_MAGIC;
664 device->queue.dispatch.magic = HWVULKAN_DISPATCH_MAGIC;
740 cmdbufs[i]->dispatch
[all...]
/frameworks/rs/
H A DrsApiStubs.cpp33 // both the client interface and the dispatch table interface, but at the
42 const dispatchTable* dispatch; member in struct:RsContextWrapper
49 return wrapper->dispatch->func(context, ##__VA_ARGS__); \
/frameworks/base/core/java/android/view/
H A DKeyEvent.java1135 * "done". This allows TextView to dispatch these as normal enter keys
2666 * @deprecated Use {@link #dispatch(Callback, DispatcherState, Object)} instead.
2669 public final boolean dispatch(Callback receiver) { method in class:KeyEvent
2670 return dispatch(receiver, null, null);
2680 * @param target The target of the dispatch, for use in tracking.
2684 public final boolean dispatch(Callback receiver, DispatcherState state, method in class:KeyEvent
2740 * Use with {@link KeyEvent#dispatch(Callback, DispatcherState, Object)}

Completed in 835 milliseconds

12