HomeSort by relevance Sort by last modified time
    Searched defs:handler (Results 1351 - 1375 of 2987) sorted by null

<<51525354555657585960>>

  /external/python/cpython3/Lib/test/test_asyncio/
test_base_events.py 683 def handler(loop, context): function in function:BaseEventLoopTests.test_set_exc_handler_broken
688 self.loop.set_exception_handler(handler)
694 'Unhandled error in exception handler'),
724 'Exception in default exception handler',
740 # exception handler.
    [all...]
  /external/python/cpython3/Lib/test/
test_ftplib.py 255 handler = DummyFTPHandler variable in class:DummyFTPServer
289 self.handler_instance = self.handler(conn)
459 handler = DummyTLS_FTPHandler variable in class:.DummyTLS_FTPServer
    [all...]
  /external/python/cpython3/Modules/
faulthandler.c 119 handler fails in faulthandler_fatal_error() */
294 faulthandler_disable_fatal_handler(fault_handler_t *handler)
296 if (!handler->enabled)
298 handler->enabled = 0;
300 (void)sigaction(handler->signum, &handler->previous, NULL);
302 (void)signal(handler->signum, handler->previous);
307 /* Handler for SIGSEGV, SIGFPE, SIGABRT, SIGBUS and SIGILL signals.
309 Display the current Python traceback, restore the previous handler and cal
325 fault_handler_t *handler = NULL; local
399 fault_handler_t *handler = &faulthandler_handlers[i]; local
428 fault_handler_t *handler; local
507 fault_handler_t *handler; local
    [all...]
  /external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
ConsoleActivity.java 37 import android.os.Handler;
127 private Handler handler = new Handler(); field in class:ConsoleActivity
188 protected Handler promptHandler = new Handler() {
196 protected Handler disconnectHandler = new Handler() {
539 handler.postDelayed(new Runnable() {
922 // let them know about our prompt handler service
    [all...]
  /external/syslinux/com32/cmenu/libmenu/
cmenu.h 30 and if a timeout handler is registered, then that will be called.
31 The handler should either either take control from there on, or return without
34 For e.g. the handler could
147 // TIMEOUT is the list of possible values which can be returned by the handler
160 t_item_handler handler; // Pointer to function of type menufn member in struct:s_menuitem
187 t_menusystem_handler handler; // Menu system handler member in struct:s_menusystem
188 t_keys_handler keys_handler; // Handler for unknown keys
189 t_timeout_handler ontimeout; // Timeout handler
193 // Total timeout max time spent idle before we call handler
    [all...]
  /external/v8/src/interpreter/
bytecode-array-builder.cc 984 BytecodeLabel handler; local
985 Bind(&handler);
986 handler_table_builder()->SetHandlerTarget(handler_id, handler.offset());
    [all...]
  /external/valgrind/coregrind/
m_signals.c 315 unsigned long handler;
644 client's handler */
693 or ptr to our handler */
732 VG_(printf)("sig %d: handler %p, flags 0x%x\n", sig,
742 handler = if client has a handler, then our handler
743 else if client is DFL, then our handler as well
1944 SCSS_Per_Signal *handler = &scss.scss_per_sig[sigNo]; local
    [all...]
  /external/webrtc/webrtc/base/
x11windowpicker.cc 80 // are meaningful unless an asynchronous error handler is configured. This
81 // RAII class registers and unregisters an X11 error handler.
110 XErrorHandler handler = XSetErrorHandler(original_error_handler_); local
111 if (handler != &ErrorHandler) {
113 << "Final error handler may not be what you expect!";
  /external/wpa_supplicant_8/hostapd/
hostapd_cli.c 1443 int (*handler)(struct wpa_ctrl *ctrl, int argc, char *argv[]); member in struct:hostapd_cli_cmd
    [all...]
  /external/wpa_supplicant_8/src/radius/
radius_client.c 54 * struct radius_rx_handler - RADIUS client RX handler
63 * handler - Received RADIUS message handler
65 RadiusRxResult (*handler)(struct radius_msg *msg, member in struct:radius_rx_handler
72 * data - Context data for the handler
261 * radius_client_register - Register a RADIUS client RX handler
264 * @handler: Handler for received RADIUS messages
265 * @data: Context pointer for handler callbacks
268 * This function is used to register a handler for processing received RADIU
    [all...]
  /frameworks/base/core/java/android/provider/
FontsContract.java 38 import android.os.Handler;
160 private static Handler sHandler;
347 sHandler = new Handler(sThread.getLooper());
491 * @param handler A handler to be processed the font fetching.
498 @NonNull Handler handler, @Nullable CancellationSignal cancellationSignal,
501 final Handler callerThreadHandler = new Handler();
508 handler.post(() ->
    [all...]
  /frameworks/base/core/java/android/view/
GestureDetector.java 20 import android.os.Handler;
235 private final Handler mHandler;
276 private class GestureHandler extends Handler {
281 GestureHandler(Handler handler) {
282 super(handler.getLooper());
316 * (as it allows specifying the Handler).
320 * @param handler the handler to use
323 * {@code handler} is null
    [all...]
  /frameworks/base/media/java/android/media/
ImageReader.java 22 import android.os.Handler;
540 * @param handler
541 * The handler on which the listener should be invoked, or null
544 * If no handler specified and the calling thread has no looper.
546 public void setOnImageAvailableListener(OnImageAvailableListener listener, Handler handler) {
549 Looper looper = handler != null ? handler.getLooper() : Looper.myLooper();
552 "handler is null but the current thread is not a looper");
747 final Handler handler local
    [all...]
  /frameworks/base/media/java/android/media/session/
MediaController.java 31 import android.os.Handler;
412 * posted on the specified handler's thread.
415 * @param handler The handler to post updates on. If null the callers thread
418 public void registerCallback(@NonNull Callback callback, @Nullable Handler handler) {
422 if (handler == null) {
423 handler = new Handler();
426 addCallbackLocked(callback, handler);
536 MessageHandler handler = mCallbacks.get(i); local
559 MessageHandler handler = mCallbacks.get(i); local
    [all...]
MediaSessionLegacyHelper.java 34 import android.os.Handler;
56 private Handler mHandler = new Handler(Looper.getMainLooper());
433 Handler handler = new Handler(Looper.getMainLooper()); local
434 mSession.setCallback(mCb, handler);
  /frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/
CaptivePortalLoginActivity.java 466 public void onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) {
474 handler.cancel();
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
LocalBluetoothProfileManager.java 259 // Note: no event handler for OPP, only name map.
299 BluetoothEventManager.Handler handler = new HeadsetStateChangeHandler( local
301 mEventManager.addProfileHandler(stateChangedAction, handler);
302 mEventManager.addProfileHandler(audioStateChangedAction, handler);
336 * Generic handler for connection state change events for the specified profile.
338 private class StateChangedHandler implements BluetoothEventManager.Handler {
385 /** Connectivity and audio state change handler for headset profiles. */
411 /** State change handler for NAP and PANU profiles. */
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/
EventBus.java 24 import android.os.Handler;
46 * Represents a subscriber, which implements various event bus handler methods.
70 * Represents an event handler with a priority.
128 * handler methods must match a specific signature.
383 // The handler to post all events
384 private Handler mHandler;
391 * Map from event class -> event handler list. Keeps track of the actual mapping from event
397 * Map from subscriber class -> event handler method lists. Used to determine upon registration
423 mHandler = new Handler(looper);
447 * be scanned for appropriate event handler methods
789 EventHandler handler = new EventHandler(sub, method, priority); local
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
KeyboardShortcuts.java 37 import android.os.Handler;
95 private final Handler mHandler = new Handler(Looper.getMainLooper());
548 ResolveInfo handler; local
549 handler = mPackageManager.resolveIntent(
551 if (handler == null || handler.activityInfo == null) {
554 return mPackageManager.getPackageInfo(handler.activityInfo.packageName, 0, userId);
    [all...]
  /frameworks/base/services/accessibility/java/com/android/server/accessibility/
AccessibilityInputFilter.java 20 import android.os.Handler;
457 * Adds an event handler to the event handler chain. The handler is added at the beginning of
460 * @param handler The handler to be added to the event handlers list.
462 private void addFirstEventHandler(EventStreamTransformation handler) {
464 handler.setNext(mEventHandler);
466 handler.setNext(this);
468 mEventHandler = handler;
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
SoftApManager.java 30 import android.os.Handler;
380 SoftApTimeoutEnabledSettingObserver(Handler handler) {
381 super(handler);
485 Handler handler = mStateMachine.getHandler(); local
486 mSoftApTimeoutMessage = new WakeupMessage(mContext, handler,
489 mSettingObserver = new SoftApTimeoutEnabledSettingObserver(handler);
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
EuiccCard.java 23 import android.os.Handler;
131 public void registerForEidReady(Handler h, int what, Object obj) {
146 public void unregisterForEidReady(Handler h) {
154 Handler euiccMainThreadHandler = new Handler();
181 public void getSpecVersion(AsyncResultCallback<EuiccSpecVersion> callback, Handler handler) {
183 AsyncResultHelper.returnResult(mSpecVersion, callback, handler);
188 (byte[] response) -> mSpecVersion, callback, handler); local
204 * @param handler The handler to run the callback
483 callback, handler); local
500 callback, handler); local
579 callback, handler); local
596 callback, handler); local
613 callback, handler); local
666 callback, handler); local
791 callback, handler); local
    [all...]
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/
EuiccCardTest.java 31 import android.os.Handler;
121 mHandler = new Handler(mTestHandlerThread.getLooper());
132 private Handler mHandler;
184 Handler handler = new Handler(mTestHandlerThread.getLooper()) { local
194 mEuiccCard.registerForEidReady(handler, eventEidReady, null /* obj */);
    [all...]
  /frameworks/support/compat/src/main/java/androidx/core/provider/
FontsContractCompat.java 35 import android.os.Handler;
232 final @Nullable Handler handler, boolean isBlockingFetch, int timeout,
248 fontCallback.callbackSuccessAsync(typefaceResult.mTypeface, handler);
250 fontCallback.callbackFailAsync(typefaceResult.mResult, handler);
280 FontRequestCallback.FAIL_REASON_FONT_NOT_FOUND, handler);
282 fontCallback.callbackSuccessAsync(typeface.mTypeface, handler);
284 fontCallback.callbackFailAsync(typeface.mResult, handler);
498 * FontRequestCallback, Handler)} is complete. Note that this method will not be called if
506 * FontRequestCallback, Handler)} fails
    [all...]
  /hardware/broadcom/wlan/bcmdhd/wifi_hal/
wifi_hal.cpp 376 void wifi_cleanup(wifi_handle handle, wifi_cleaned_up_handler handler)
381 info->cleaned_up_handler = handler;
449 /* Run event handler */
880 ALOGW("No RSSI monitor handler registered");
1312 wifi_rssi_event_handler handler; local
    [all...]

Completed in 1363 milliseconds

<<51525354555657585960>>