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

12345

/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...]
H A DServerSession.java66 * @param handler the event listener that will process requests
71 public ServerSession(ObexTransport trans, ServerRequestHandler handler, Authenticator auth) argument
77 mListener = handler;
154 * <code>ServerRequestHandler</code> object. After the handler processes the
173 Log.v(TAG, "onAbort request handler return value- " + code);
181 * <code>ServerOperation</code> object to the request handler. The
226 * <code>ServerOperation</code> object to the request handler. The
281 * <code>ServerRequestHandler</code> object. After the handler processes the
408 * <code>ServerRequestHandler</code> object. After the handler processes the
512 * <code>ServerRequestHandler</code> object. After the handler processe
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebViewClientClassicExt.java40 * has to call either handler.cancel() or handler.proceed() as the
45 * @param handler A ClientCertRequestHandler object that will
50 ClientCertRequestHandler handler, String host_and_port) {
51 handler.cancel();
49 onReceivedClientCertRequest(WebView view, ClientCertRequestHandler handler, String host_and_port) 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/compile/mclinker/include/mcld/Support/
H A DMemoryArea.h61 // constructor by file handler.
62 // If the given file handler is read-only, client can not request a region
64 // @param pFileHandle - file handler
69 // @param pUniverse - file handler
88 FileHandle* handler() function in class:mcld::MemoryArea
91 const FileHandle* handler() const function in class:mcld::MemoryArea
/frameworks/base/core/java/android/accounts/
H A DIAccountAuthenticatorCache.java59 * @param handler the {@link Handler} on which the notification will be posted. If null
63 Handler handler);
62 setListener(RegisteredServicesCacheListener<AuthenticatorDescription> listener, Handler handler) argument
/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, long timeout) { argument
40 if (handler.runWithScissors(new Runnable() {
/frameworks/base/services/java/com/android/server/display/
H A DHeadlessDisplayAdapter.java35 Context context, Handler handler, Listener listener) {
36 super(syncRoot, context, handler, listener, TAG);
34 HeadlessDisplayAdapter(DisplayManagerService.SyncRoot syncRoot, Context context, Handler handler, Listener listener) argument
/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/core/java/android/app/
H A DNotificationManager.java86 /*package*/ NotificationManager(Context context, Handler handler) argument
/frameworks/compile/mclinker/lib/Support/
H A DMemoryAreaFactory.cpp47 FileHandle* handler = new FileHandle(); local
48 if (!handler->open(pPath, pMode)) {
50 << sys::strerror(handler->error());
54 new (result) MemoryArea(*m_pRegionFactory, *handler);
56 m_HandleToArea.push_back(handler, result);
71 FileHandle* handler = new FileHandle(); local
72 if (!handler->open(pPath, pMode, pPerm)) {
74 << sys::strerror(handler->error());
78 new (result) MemoryArea(*m_pRegionFactory, *handler);
80 m_HandleToArea.push_back(handler, resul
108 FileHandle* handler = new FileHandle(); local
[all...]
/frameworks/support/volley/src/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.cpp35 const sp<ALooper> looper, const sp<AHandler> &handler) {
38 if (handler->id() != 0) {
39 CHECK(!"A handler must only be registered once.");
45 info.mHandler = handler;
49 handler->setID(handlerID);
65 sp<AHandler> handler = info.mHandler.promote(); local
67 if (handler != NULL) {
68 handler->setID(0);
85 ALOGW("failed to post message. Target handler not registered.");
95 "Target handler
34 registerHandler( const sp<ALooper> looper, const sp<AHandler> &handler) argument
108 sp<AHandler> handler; local
[all...]
H A DALooper.cpp81 ALooper::handler_id ALooper::registerHandler(const sp<AHandler> &handler) { argument
82 return gLooperRoster.registerHandler(this, handler);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothServerSocket.java150 /*package*/ synchronized void setCloseHandler(Handler handler, int message) { argument
151 mHandler = handler;
/frameworks/base/core/java/android/content/
H A DClipboardManager.java109 public ClipboardManager(Context context, Handler handler) { argument
H A DAsyncQueryHandler.java50 public Handler handler; field in class:AsyncQueryHandler.WorkerArgs
111 Message reply = args.handler.obtainMessage(token);
172 args.handler = this;
214 args.handler = this;
240 args.handler = this;
268 args.handler = this;
/frameworks/base/core/java/android/database/
H A DContentObserver.java35 * @param handler The handler to run {@link #onChange} on, or null if none.
37 public ContentObserver(Handler handler) { argument
38 mHandler = handler;
136 * then a call to the {@link #onChange} method is posted to the handler's message queue.
154 * 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;
H A DResultReceiver.java60 * <var>handler</var> if given, or from an arbitrary thread if null.
62 public ResultReceiver(Handler handler) { argument
64 mHandler = handler;
H A DMessageQueue.java63 * wait for more. Return true to keep your idle handler active, false
79 * @param handler The IdleHandler to be added.
81 public final void addIdleHandler(IdleHandler handler) { argument
82 if (handler == null) {
86 mIdleHandlers.add(handler);
95 * @param handler The IdleHandler to be removed.
97 public final void removeIdleHandler(IdleHandler handler) { argument
99 mIdleHandlers.remove(handler);
188 mPendingIdleHandlers[i] = null; // release the reference to the handler
204 // Reset the idle handler coun
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DShortcutManager.java52 public ShortcutManager(Context context, Handler handler) { argument
53 super(handler);
/frameworks/base/sax/java/android/sax/
H A DRootElement.java68 final Handler handler = new Handler(); field in class:RootElement
94 return this.handler;
/frameworks/base/services/java/com/android/server/wm/
H A DKeyguardDisableHandler.java81 public KeyguardTokenWatcher(final Handler handler) { argument
82 super(handler, TAG);
/frameworks/base/core/java/android/util/
H A DLog.java283 * Sets the terrible failure handler, for testing.
285 * @return the old handler
289 public static TerribleFailureHandler setWtfHandler(TerribleFailureHandler handler) { argument
290 if (handler == null) {
291 throw new NullPointerException("handler == null");
294 sWtfHandler = handler;

Completed in 307 milliseconds

12345