Searched defs:handler (Results 1 - 25 of 315) sorted by relevance

1234567891011>>

/frameworks/base/obex/javax/obex/
H A DSessionNotifier.java53 * the handler to handle the requests from the client. No authenticator is
82 * @param handler the request handler that will respond to OBEX requests
85 * @throws NullPointerException if <code>handler</code> is <code>null</code>
87 ObexSession acceptAndOpen(ServerRequestHandler handler) throws IOException; argument
91 * the handler to handle the requests from the client and the
119 * @param handler the request handler that will respond to OBEX requests
125 * @throws NullPointerException if <code>handler</code> is <code>null</code>
127 ObexSession acceptAndOpen(ServerRequestHandler handler, Authenticato argument
[all...]
/frameworks/base/services/core/java/com/android/server/twilight/
H A DTwilightManager.java30 * @param handler the {@link Handler} to use to notify the listener
32 void registerListener(@NonNull TwilightListener listener, @NonNull Handler handler); argument
/frameworks/base/telecomm/java/android/telecom/
H A DCallbackRecord.java23 * This class is used to associate a generic callback of type T with a handler to which commands and
32 public CallbackRecord(T callback, Handler handler) { argument
34 mHandler = handler;
/frameworks/base/core/java/android/hardware/camera2/dispatch/
H A DHandlerDispatcher.java28 * Forward all interface calls into a handler by posting it as a {@code Runnable}.
33 * <p>Any exceptions thrown on the handler while trying to invoke a method
34 * will be re-thrown. Throwing checked exceptions on a handler which doesn't expect any
47 * them onto the {@code handler} as a {@code Runnable}.
49 * @param dispatchTarget the destination whose method calls will be redirected into the handler
50 * @param handler all calls into {@code dispatchTarget} will be posted onto this handler
52 * @return a dispatcher that will forward it's dispatch calls to a handler
54 public HandlerDispatcher(Dispatchable<T> dispatchTarget, Handler handler) { argument
56 mHandler = checkNotNull(handler, "handle
[all...]
/frameworks/base/core/java/android/hardware/camera2/utils/
H A DTaskSingleDrainer.java41 * via the {@code handler}.
43 * @param handler a non-{@code null} handler to use to post runnables to
46 public TaskSingleDrainer(Handler handler, DrainListener listener) { argument
47 mTaskDrainer = new TaskDrainer<>(handler, listener);
52 * via the {@code handler}.
54 * @param handler a non-{@code null} handler to use to post runnables to
58 public TaskSingleDrainer(Handler handler, DrainListener listener, String name) { argument
59 mTaskDrainer = new TaskDrainer<>(handler, listene
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebMessagePort.java100 * Sets a callback to receive message events on the handler that is provided
104 * @param handler the handler to receive the message messages.
106 public abstract void setWebMessageCallback(WebMessageCallback callback, Handler handler); argument
H A DUrlInterceptRegistry.java76 * Register a new UrlInterceptHandler. This handler will be called
79 * @param handler The new UrlInterceptHandler object
80 * @return true if the handler was not previously registered.
88 UrlInterceptHandler handler) {
89 if (!getHandlers().contains(handler)) {
90 getHandlers().addFirst(handler);
100 * @param handler A previously registered UrlInterceptHandler.
101 * @return true if the handler was found and removed from the list.
109 UrlInterceptHandler handler) {
110 return getHandlers().remove(handler);
87 registerHandler( UrlInterceptHandler handler) argument
108 unregisterHandler( UrlInterceptHandler handler) argument
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DDumpUtils.java32 * Helper for dumping state owned by a handler thread.
34 * Because the caller might be holding an important lock that the handler is
38 public static void dumpAsync(Handler handler, final Dump dump, PrintWriter pw, argument
41 if (handler.runWithScissors(new Runnable() {
/frameworks/base/core/tests/coretests/src/android/app/
H A DLoaderLifecycleTest.java219 public TestFragmentHostCallback(Context context, Handler handler, int windowAnimations) { argument
220 super(context, handler, windowAnimations);
/frameworks/base/media/java/android/media/
H A DAudioRouting.java56 * @param handler Specifies the {@link Handler} object for the thread on which to execute
61 Handler handler);
60 addOnRoutingChangedListener(OnRoutingChangedListener listener, Handler handler) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/ui/dragndrop/
H A DDragStartInitializeDropTargetsEvent.java32 public final RecentsViewTouchHandler handler; field in class:DragStartInitializeDropTargetsEvent
35 RecentsViewTouchHandler handler) {
38 this.handler = handler;
34 DragStartInitializeDropTargetsEvent(Task task, TaskView taskView, RecentsViewTouchHandler handler) argument
/frameworks/base/services/core/java/com/android/server/location/
H A DFusedProxy.java44 * @param handler The handler needed for construction.
49 Handler handler,
74 handler);
81 * @param handler The handler needed for construction.
88 Handler handler,
95 handler,
47 FusedProxy( Context context, Handler handler, IFusedLocationHardware locationHardware, int overlaySwitchResId, int defaultServicePackageNameResId, int initialPackageNameResId) argument
86 createAndBind( Context context, Handler handler, IFusedLocationHardware locationHardware, int overlaySwitchResId, int defaultServicePackageNameResId, int initialPackageNameResId) argument
H A DActivityRecognitionProxy.java44 Handler handler,
69 handler);
79 Handler handler,
87 handler,
42 ActivityRecognitionProxy( Context context, Handler handler, boolean activityRecognitionHardwareIsSupported, ActivityRecognitionHardware activityRecognitionHardware, int overlaySwitchResId, int defaultServicePackageNameResId, int initialPackageNameResId) argument
77 createAndBind( Context context, Handler handler, boolean activityRecognitionHardwareIsSupported, ActivityRecognitionHardware activityRecognitionHardware, int overlaySwitchResId, int defaultServicePackageNameResId, int initialPackageNameResId) argument
H A DGnssMeasurementsProvider.java36 protected GnssMeasurementsProvider(Handler handler) { argument
37 super(handler, TAG);
H A DGnssNavigationMessageProvider.java36 protected GnssNavigationMessageProvider(Handler handler) { argument
37 super(handler, TAG);
/frameworks/base/tools/layoutlib/bridge/src/android/os/
H A DHandler_Delegate.java35 /*package*/ static boolean sendMessageAtTime(Handler handler, Message msg, long uptimeMillis) { argument
39 callback.sendMessageAtTime(handler, msg, uptimeMillis);
47 void sendMessageAtTime(Handler handler, Message msg, long uptimeMillis); argument
/frameworks/opt/net/wifi/tests/wifitests/src/android/net/wifi/
H A DWifiScannerTest.java84 private void verifySetHotlistMessage(Handler handler) { argument
86 verify(handler, atLeastOnce()).handleMessage(messageCaptor.capture());
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DMockWifiMonitor.java58 public void answer(String iface, int what, Handler handler) { argument
64 ifaceHandlers.put(what, handler);
69 * Send a message and assert that it was dispatched to a handler
77 assertTrue("No handler for iface=" + iface + ",what=" + message.what,
86 assertTrue("No handler for message with nonexistant iface, iface=" + iface
91 Handler handler = ifaceHandlers.get(message.what);
92 if (handler != null) {
93 message.setTarget(handler);
/frameworks/base/core/java/android/os/
H A DRemoteCallback.java41 public RemoteCallback(@NonNull OnResultListener listener, @Nullable Handler handler) { argument
46 mHandler = handler;
/frameworks/base/core/java/android/view/
H A DHandlerActionQueue.java82 public void executeActions(Handler handler) { argument
87 handler.postDelayed(handlerAction.action, handlerAction.delay);
/frameworks/base/location/java/android/location/
H A DLocalListenerHelper.java33 * A base handler class to manage transport and local listeners.
49 public boolean add(@NonNull TListener listener, Handler handler) { argument
70 mListeners.put(listener, handler);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DGlobalSetting.java33 public GlobalSetting(Context context, Handler handler, String settingName) { argument
34 super(handler);
/frameworks/base/services/core/java/com/android/server/accounts/
H A DIAccountAuthenticatorCache.java60 * @param handler the {@link Handler} on which the notification will be posted. If null
64 Handler handler);
63 setListener(RegisteredServicesCacheListener<AuthenticatorDescription> listener, Handler handler) argument
/frameworks/base/services/core/java/com/android/server/am/
H A DResizeDockedStackTimeout.java48 Handler handler) {
51 mHandler = handler;
47 ResizeDockedStackTimeout(ActivityManagerService service, ActivityStackSupervisor supervisor, Handler handler) argument
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DCameraExceptionHandler.java22 * A handler for all camera api runtime exceptions.
59 * @param handler The handler in which the callback will be invoked in.
61 public CameraExceptionHandler(CameraExceptionCallback callback, Handler handler) { argument
62 mHandler = handler;
70 * @param handler The handler in which the default callback will be invoked in.
72 public CameraExceptionHandler(Handler handler) { argument
73 mHandler = handler;

Completed in 727 milliseconds

1234567891011>>