Searched defs:handler (Results 1 - 25 of 260) 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.java22 void registerListener(TwilightListener listener, 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...]
H A DTaskDrainer.java70 * via the {@code handler}.
72 * @param handler a non-{@code null} handler to use to post runnables to
75 public TaskDrainer(Handler handler, DrainListener listener) { argument
76 mHandler = checkNotNull(handler, "handler must not be null");
83 * via the {@code handler}.
85 * @param handler a non-{@code null} handler to use to post runnables to
89 public TaskDrainer(Handler handler, DrainListene argument
[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/services/core/java/com/android/server/location/
H A DActivityRecognitionProxy.java41 Handler handler,
64 handler);
74 Handler handler,
81 handler,
39 ActivityRecognitionProxy( Context context, Handler handler, ActivityRecognitionHardware activityRecognitionHardware, int overlaySwitchResId, int defaultServicePackageNameResId, int initialPackageNameResId) argument
72 createAndBind( Context context, Handler handler, ActivityRecognitionHardware activityRecognitionHardware, int overlaySwitchResId, int defaultServicePackageNameResId, int initialPackageNameResId) argument
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 DGpsMeasurementsProvider.java36 protected GpsMeasurementsProvider(Handler handler) { argument
37 super(handler, TAG);
H A DGpsNavigationMessageProvider.java36 protected GpsNavigationMessageProvider(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/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/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;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcTesterDeactivateAll.java68 DcTesterDeactivateAll(PhoneBase phone, DcController dcc, Handler handler) { argument
81 phone.getContext().registerReceiver(sIntentReceiver, filter, null, handler);
H A DDcTesterFailBringUpAll.java77 DcTesterFailBringUpAll(PhoneBase phone, Handler handler) { argument
91 phone.getContext().registerReceiver(mIntentReceiver, filter, null, handler);
/frameworks/volley/src/main/java/com/android/volley/
H A DExecutorDelivery.java32 * @param handler {@link Handler} to post responses on
34 public ExecutorDelivery(final Handler handler) { argument
35 // Make an Executor that just wraps the handler.
39 handler.post(command);
/frameworks/av/media/libstagefright/foundation/
H A DALooperRoster.cpp37 const sp<ALooper> looper, const sp<AHandler> &handler) {
40 if (handler->id() != 0) {
41 CHECK(!"A handler must only be registered once.");
47 info.mHandler = handler;
51 handler->setID(handlerID, looper);
67 sp<AHandler> handler = info.mHandler.promote(); local
69 if (handler != NULL) {
70 handler->setID(0, NULL);
88 ALOGV("Unregistering stale handler %d", mHandlers.keyAt(i));
142 sp<AHandler> handler local
36 registerHandler( const sp<ALooper> looper, const sp<AHandler> &handler) argument
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothServerSocket.java177 /*package*/ synchronized void setCloseHandler(Handler handler, int message) { argument
178 mHandler = handler;
/frameworks/base/core/java/android/content/
H A DClipboardManager.java108 public ClipboardManager(Context context, Handler handler) { argument
/frameworks/base/core/java/android/database/
H A DContentObserver.java36 * @param handler The handler to run {@link #onChange} on, or null if none.
38 public ContentObserver(Handler handler) { argument
39 mHandler = handler;
152 * then a call to the {@link #onChange} method is posted to the handler's message queue.
170 * then a call to the {@link #onChange} method is posted to the handler's message queue.
186 * then a call to the {@link #onChange} method is posted to the handler's message queue.
/frameworks/base/core/java/android/os/
H A DRemoteCallback.java55 public RemoteCallback(Handler handler) { argument
56 mHandler = handler;

Completed in 178 milliseconds

1234567891011