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

<<51525354555657585960>>

  /external/python/cpython3/Lib/test/
test_pyexpat.py 2 # handler, are obscure and unhelpful.
182 def _hookup_callbacks(self, parser, handler):
184 Set each of the callbacks defined on handler and named in
188 setattr(parser, name, getattr(handler, name))
515 def handler(text): function in function:sf1296433Test.test_parse_only_xml_data
519 parser.CharacterDataHandler = handler
554 # Feed 512 bytes of character data: the handler should be called
  /external/python/cpython3/Lib/xml/etree/
ElementTree.py 1501 def handler(tag, attrib_in, event=event_name, append=append, function in function:XMLParser._setevents
1506 def handler(tag, event=event_name, append=append, function in function:XMLParser._setevents
1511 def handler(prefix, uri, event=event_name, append=append): function in function:XMLParser._setevents
1515 def handler(prefix, event=event_name, append=append): function in function:XMLParser._setevents
    [all...]
  /external/python/cpython3/Modules/clinic/
_codecsmodule.c.h 1474 PyObject *handler; local
    [all...]
  /external/python/cpython3/Python/
codecs.c 636 PyErr_SetString(PyExc_TypeError, "handler must be callable");
648 PyObject *handler = NULL; local
656 handler = PyDict_GetItemString(interp->codec_error_registry, name);
657 if (!handler)
658 PyErr_Format(PyExc_LookupError, "unknown error handler name '%.400s'", name);
660 Py_INCREF(handler);
661 return handler;
    [all...]
  /external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/
CameraActivity.java 35 import android.os.Handler;
59 private Handler handler; field in class:CameraActivity
230 handler = new Handler(handlerThread.getLooper());
246 handler = null;
267 if (handler != null) {
268 handler.post(r);
  /external/v8/src/
feedback-vector.cc 635 Handle<Object> handler) {
638 SetFeedbackExtra(*handler);
655 void LoadGlobalICNexus::ConfigureHandlerMode(Handle<Object> handler) {
657 SetFeedbackExtra(*handler);
662 Handle<Object> handler) {
666 SetFeedbackExtra(*handler);
671 array->set(1, *handler);
676 Handle<Object> handler) {
679 SetFeedbackExtra(*handler);
684 Handle<Object> handler) {
929 Handle<Code> handler; local
    [all...]
  /external/wpa_supplicant_8/src/utils/
eloop.c 46 eloop_sock_handler handler; member in struct:eloop_sock
57 eloop_timeout_handler handler; member in struct:eloop_timeout
66 eloop_signal_handler handler; member in struct:eloop_signal
254 int sock, eloop_sock_handler handler,
359 tmp[table->count].handler = handler;
533 table->table[i].handler(table->table[i].sock,
595 table->table[i].handler(table->table[i].sock,
615 if (table->handler == NULL)
617 table->handler(table->sock, table->eloop_data
1188 eloop_timeout_handler handler = local
    [all...]
  /frameworks/base/core/java/android/app/
AlarmManager.java 27 import android.os.Handler;
68 * {@link android.os.Handler}.</b>
185 private final Handler mMainThreadHandler;
201 Handler mHandler;
208 public void setHandler(Handler h) {
273 mMainThreadHandler = new Handler(ctx.getMainLooper());
282 * etc) it is easier and much more efficient to use {@link android.os.Handler}.</b>
336 * @see android.os.Handler
360 * invoked via the specified target Handler, or on the application's main looper
373 * @param targetHandler {@link Handler} on which to execute the listener's onAlarm(
688 final Handler handler = (targetHandler != null) ? targetHandler : mMainThreadHandler; local
    [all...]
  /frameworks/base/core/java/android/view/accessibility/
CaptioningManager.java 28 import android.os.Handler;
62 final Handler handler = new Handler(context.getMainLooper()); local
63 mContentObserver = new MyContentObserver(handler);
220 private final Handler mHandler;
222 public MyContentObserver(Handler handler) {
223 super(handler);
225 mHandler = handler;
    [all...]
  /frameworks/base/media/java/android/media/
ImageWriter.java 24 import android.os.Handler;
450 * @param handler The handler on which the listener should be invoked, or
453 * @throws IllegalArgumentException If no handler specified and the calling
456 public void setOnImageReleasedListener(OnImageReleasedListener listener, Handler handler) {
459 Looper looper = handler != null ? handler.getLooper() : Looper.myLooper();
462 "handler is null but the current thread is not a looper");
568 * This custom handler runs asynchronously so callbacks don't get queue
601 final Handler handler; local
    [all...]
  /frameworks/base/services/accessibility/java/com/android/server/accessibility/
AutoclickController.java 24 import android.os.Handler;
75 Handler handler = new Handler(mContext.getMainLooper()); local
77 new ClickScheduler(handler, AccessibilityManager.AUTOCLICK_DELAY_DEFAULT);
78 mClickDelayObserver = new ClickDelayObserver(mUserId, handler);
155 public ClickDelayObserver(int userId, Handler handler) {
156 super(handler);
252 /** Handler for scheduling delayed operations. *
    [all...]
  /frameworks/base/services/autofill/java/com/android/server/autofill/ui/
SaveUi.java 33 import android.os.Handler;
124 private final Handler mHandler = UiThread.getHandler();
283 final RemoteViews.OnClickHandler handler = new RemoteViews.OnClickHandler() { local
322 final View customSubtitleView = template.apply(context, null, handler);
  /frameworks/base/services/core/java/com/android/server/connectivity/
NetworkAgentInfo.java 29 import android.os.Handler;
246 private final Handler mHandler;
249 LinkProperties lp, NetworkCapabilities nc, int score, Context context, Handler handler,
260 mHandler = handler;
261 networkMonitor = mConnService.createNetworkMonitor(context, handler, this, defaultRequest);
269 public Handler handler() { method in class:NetworkAgentInfo
  /frameworks/base/services/core/java/com/android/server/display/
VirtualDisplayAdapter.java 34 import android.os.Handler;
67 private final Handler mHandler;
72 Context context, Handler handler, Listener listener) {
73 this(syncRoot, context, handler, listener,
79 Context context, Handler handler, Listener listener,
81 super(syncRoot, context, handler, listener, TAG);
82 mHandler = handler;
383 private static class Callback extends Handler {
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/wm/
BoundsAnimationControllerTests.java 27 import android.os.Handler;
410 final Handler handler = new Handler(Looper.getMainLooper()); local
414 mController = new BoundsAnimationController(context, mMockAppTransition, handler, null);
  /frameworks/opt/net/ethernet/java/com/android/server/ethernet/
EthernetNetworkFactory.java 36 import android.os.Handler;
60 private final Handler mHandler;
63 public EthernetNetworkFactory(Handler handler, Context context, NetworkCapabilities filter) {
64 super(handler.getLooper(), context, NETWORK_TYPE, filter);
66 mHandler = handler;
224 private final Handler mHandler;
256 NetworkInterfaceState(String ifaceName, String hwAddress, Handler handler, Context context,
260 mHandler = handler;
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
WapPushOverSms.java 65 * WAP push handler class.
166 private DecodedResult decodeWapPdu(byte[] pdu, InboundSmsHandler handler) {
176 int phoneId = handler.getPhone().getPhoneId();
327 public int dispatchWapPdu(byte[] pdu, BroadcastReceiver receiver, InboundSmsHandler handler) {
328 DecodedResult result = decodeWapPdu(pdu, handler);
379 if (DBG) Rlog.v(TAG, "fall back to existing handler");
414 handler.dispatchIntent(intent, getPermissionForType(result.mimeType),
423 public boolean isWapPushForMms(byte[] pdu, InboundSmsHandler handler) {
424 DecodedResult result = decodeWapPdu(pdu, handler);
  /frameworks/support/compat/src/main/java/androidx/core/view/
GestureDetectorCompat.java 21 import android.os.Handler;
71 private final Handler mHandler;
102 private class GestureHandler extends Handler {
107 GestureHandler(Handler handler) {
108 super(handler.getLooper());
142 * @see android.os.Handler#Handler()
147 * @param handler the handler to us
    [all...]
  /hardware/broadcom/wlan/bcmdhd/wifi_hal/
wifi_logger.cpp 497 SetLogHandler(wifi_interface_handle iface, int id, wifi_ring_buffer_data_handler handler)
498 : WifiCommand("SetLogHandler", iface, id), mHandler(handler)
511 /* unregister event handler */
576 wifi_ring_buffer_data_handler handler)
581 SetLogHandler *cmd = new SetLogHandler(iface, id, handler);
603 wifi_ring_buffer_data_handler handler; local
604 memset(&handler, 0, sizeof(handler));
606 SetLogHandler *cmd = new SetLogHandler(iface, id, handler);
625 SetAlertHandler(wifi_interface_handle iface, int id, wifi_alert_handler handler)
786 wifi_alert_handler handler; local
    [all...]
  /hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/
mm_camera_muxer.c 53 uint32_t handler);
55 uint32_t handler);
66 * @handler: object handle
70 uint8_t mm_camera_util_get_index_by_num(uint8_t cam_num, uint32_t handler)
73 idx = ((mm_camera_util_get_handle_by_num(cam_num, handler) >>
86 * @handler : object handle
90 uint32_t mm_camera_util_get_handle_by_num(uint8_t cam_num, uint32_t handler)
92 return (handler & (MM_CAMERA_HANDLE_BIT_MASK <<
99 * DESCRIPTION: utility function to generate handler for camera/channel/stream
103 * @index : index of the object to have handler
109 uint32_t handler = mm_camera_util_generate_handler(index); local
    [all...]
  /hardware/qcom/wlan/qcwcn/wifi_hal/
wifilogger.cpp 204 wifi_alert_handler handler; local
207 handler.on_alert = info->on_alert;
210 if (handler.on_alert) {
211 handler.on_alert(0, alert_msg, strlen(alert_msg), reason_code);
476 wifi_firmware_memory_dump_handler handler)
527 /* copy the callback into callback handler */
531 handler.on_firmware_memory_dump;
549 wifi_ring_buffer_data_handler handler)
555 info->on_ring_buffer_data = handler.on_ring_buffer_data;
557 if (handler.on_ring_buffer_data == NULL)
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
SerializationStressTest4.java 1546 InvocationHandler handler = new MyInvocationHandler(); local
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/xml/dom/
DocumentImpl.java 522 * value/handler pairs.
542 if (userData.handler != null) {
543 userData.handler.handle(
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
ProxyTest.java 248 InvocationHandler handler = new InvocationHandler() { local
253 Echo instance = (Echo) Proxy.newProxyInstance(loader, new Class[]{Echo.class}, handler);
261 InvocationHandler handler = new InvocationHandler() { local
266 Echo instance = (Echo) Proxy.newProxyInstance(loader, new Class[]{Echo.class}, handler);
271 InvocationHandler handler = new InvocationHandler() { local
276 Echo instance = (Echo) Proxy.newProxyInstance(loader, new Class[]{Echo.class}, handler);
281 InvocationHandler handler = new InvocationHandler() { local
288 new Class[] {ReturnsString.class, ReturnsObject.class}, handler);
293 InvocationHandler handler = new InvocationHandler() { local
300 new Class[] {ReturnsString.class, ReturnsObject.class}, handler);
426 InvocationHandler handler = (o, m, oa) -> invocationHandlerReturnValue; local
    [all...]
  /libcore/ojluni/src/main/java/java/security/
KeyStore.java 418 private final CallbackHandler handler; field in class:KeyStore.CallbackHandlerProtection
424 * @param handler the CallbackHandler
425 * @exception NullPointerException if handler is null
427 public CallbackHandlerProtection(CallbackHandler handler) {
428 if (handler == null) {
429 throw new NullPointerException("handler must not be null");
431 this.handler = handler;
440 return handler;
    [all...]

Completed in 1669 milliseconds

<<51525354555657585960>>