Home
last modified time | relevance | path

Searched full:handlers (Results 1 – 25 of 6822) sorted by relevance

12345678910>>...273

/aosp_15_r20/external/python/cpython3/Doc/library/
Dlogging.config.rst33 in :mod:`logging` itself) and defining handlers which are declared either in
34 :mod:`logging` or :mod:`logging.handlers`.
282 * *handlers* - the corresponding value will be a dict in which each
307 handlers:
315 class : logging.handlers.RotatingFileHandler
324 :class:`logging.handlers.RotatingFileHandler` with the keyword arguments
343 * ``handlers`` (optional). A list of ids of the handlers for this
347 propagation, filters and handlers specified.
379 the object graph of loggers, handlers, filters, formatters at
381 handlers can be controlled just by setting levels (and, in the case of
[all …]
/aosp_15_r20/external/python/cpython2/Doc/library/
Dlogging.config.rst34 in :mod:`logging` itself) and defining handlers which are declared either in
35 :mod:`logging` or :mod:`logging.handlers`.
194 * *handlers* - the corresponding value will be a dict in which each
216 handlers:
224 class : logging.handlers.RotatingFileHandler
233 :class:`logging.handlers.RotatingFileHandler` with the keyword arguments
249 * ``handlers`` (optional). A list of ids of the handlers for this
253 propagation, filters and handlers specified.
285 the object graph of loggers, handlers, filters, formatters at
287 handlers can be controlled just by setting levels (and, in the case of
[all …]
/aosp_15_r20/external/python/cpython3/Lib/test/
Dtest_logging.py23 import logging.handlers
120 hlist = self.logger1.handlers + self.root_logger.handlers
121 raise AssertionError('Unexpected handlers: %s' % hlist)
123 hlist = self.logger2.handlers + self.root_logger.handlers
124 raise AssertionError('Unexpected handlers: %s' % hlist)
134 while self.root_logger.handlers:
135 h = self.root_logger.handlers[0]
347 handler = self.root_logger.handlers[0]
376 handler = self.root_logger.handlers[0]
486 self.root_logger.handlers[0].setLevel(SOCIABLE)
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/os/signal/
Dsignal.go13 var handlers struct { var
49 // receive them and either reset the signal handlers to their original values
52 handlers.Lock()
53 defer handlers.Unlock()
58 for c, h := range handlers.m {
60 handlers.ref[n]--
63 delete(handlers.m, c)
126 handlers.Lock()
127 defer handlers.Unlock()
129 h := handlers.m[c]
[all …]
/aosp_15_r20/external/python/cpython2/Lib/logging/
Dconfig.py31 import logging.handlers
84 # Handlers add themselves to logging._handlers
85 handlers = _install_handlers(cp, formatters)
86 _install_loggers(cp, handlers, disable_existing_loggers)
141 """Install and return handlers"""
142 hlist = cp.get("handlers", "keys")
147 handlers = {}
169 if issubclass(klass, logging.handlers.MemoryHandler):
176 handlers[hand] = h
177 #now all handlers are loaded, fixup inter-handler references...
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/logging/
Dconfig.py30 import logging.handlers
89 # Handlers add themselves to logging._handlers
90 handlers = _install_handlers(cp, formatters)
91 _install_loggers(cp, handlers, disable_existing_loggers)
136 """Install and return handlers"""
137 hlist = cp["handlers"]["keys"]
142 handlers = {}
163 if issubclass(klass, logging.handlers.MemoryHandler):
167 handlers[hand] = h
168 #now all handlers are loaded, fixup inter-handler references...
[all …]
D__init__.py87 # is only really there as a lower limit for user-defined levels. Handlers and
221 #Handlers, and so might arbitrary user threads. Since Handler code updates the
757 Loggers and Handlers can optionally use Filter instances to filter
792 A base class for loggers and handlers which allows them to share
842 _handlers = weakref.WeakValueDictionary() #map of handler names to handlers
843 _handlerList = [] # added to allow handlers to be removed in reverse of order initialized
853 acquire, release, handlers = _acquireLock, _releaseLock, _handlerList
854 if acquire and release and handlers:
857 handlers.remove(wr)
878 interface. Handlers can optionally use Formatter instances to format
[all …]
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/logging/
H A Dconfig.py30 import logging.handlers
89 # Handlers add themselves to logging._handlers
90 handlers = _install_handlers(cp, formatters)
91 _install_loggers(cp, handlers, disable_existing_loggers)
136 """Install and return handlers"""
137 hlist = cp["handlers"]["keys"]
142 handlers = {}
163 if issubclass(klass, logging.handlers.MemoryHandler):
167 handlers[hand] = h
168 #now all handlers are loaded, fixup inter-handler references...
[all …]
H A D__init__.py87 # is only really there as a lower limit for user-defined levels. Handlers and
221 #Handlers, and so might arbitrary user threads. Since Handler code updates the
757 Loggers and Handlers can optionally use Filter instances to filter
792 A base class for loggers and handlers which allows them to share
842 _handlers = weakref.WeakValueDictionary() #map of handler names to handlers
843 _handlerList = [] # added to allow handlers to be removed in reverse of order initialized
853 acquire, release, handlers = _acquireLock, _releaseLock, _handlerList
854 if acquire and release and handlers:
857 handlers.remove(wr)
878 interface. Handlers can optionally use Formatter instances to format
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/logging/
Dconfig.py30 import logging.handlers
89 # Handlers add themselves to logging._handlers
90 handlers = _install_handlers(cp, formatters)
91 _install_loggers(cp, handlers, disable_existing_loggers)
136 """Install and return handlers"""
137 hlist = cp["handlers"]["keys"]
142 handlers = {}
163 if issubclass(klass, logging.handlers.MemoryHandler):
167 handlers[hand] = h
168 #now all handlers are loaded, fixup inter-handler references...
[all …]
D__init__.py87 # is only really there as a lower limit for user-defined levels. Handlers and
221 #Handlers, and so might arbitrary user threads. Since Handler code updates the
757 Loggers and Handlers can optionally use Filter instances to filter
792 A base class for loggers and handlers which allows them to share
842 _handlers = weakref.WeakValueDictionary() #map of handler names to handlers
843 _handlerList = [] # added to allow handlers to be removed in reverse of order initialized
853 acquire, release, handlers = _acquireLock, _releaseLock, _handlerList
854 if acquire and release and handlers:
857 handlers.remove(wr)
878 interface. Handlers can optionally use Formatter instances to format
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/logging/
Dconfig.py30 import logging.handlers
89 # Handlers add themselves to logging._handlers
90 handlers = _install_handlers(cp, formatters)
91 _install_loggers(cp, handlers, disable_existing_loggers)
136 """Install and return handlers"""
137 hlist = cp["handlers"]["keys"]
142 handlers = {}
163 if issubclass(klass, logging.handlers.MemoryHandler):
167 handlers[hand] = h
168 #now all handlers are loaded, fixup inter-handler references...
[all …]
D__init__.py87 # is only really there as a lower limit for user-defined levels. Handlers and
221 #Handlers, and so might arbitrary user threads. Since Handler code updates the
757 Loggers and Handlers can optionally use Filter instances to filter
792 A base class for loggers and handlers which allows them to share
842 _handlers = weakref.WeakValueDictionary() #map of handler names to handlers
843 _handlerList = [] # added to allow handlers to be removed in reverse of order initialized
853 acquire, release, handlers = _acquireLock, _releaseLock, _handlerList
854 if acquire and release and handlers:
857 handlers.remove(wr)
878 interface. Handlers can optionally use Formatter instances to format
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/logging/
Dconfig.py30 import logging.handlers
89 # Handlers add themselves to logging._handlers
90 handlers = _install_handlers(cp, formatters)
91 _install_loggers(cp, handlers, disable_existing_loggers)
136 """Install and return handlers"""
137 hlist = cp["handlers"]["keys"]
142 handlers = {}
163 if issubclass(klass, logging.handlers.MemoryHandler):
167 handlers[hand] = h
168 #now all handlers are loaded, fixup inter-handler references...
[all …]
D__init__.py87 # is only really there as a lower limit for user-defined levels. Handlers and
221 #Handlers, and so might arbitrary user threads. Since Handler code updates the
757 Loggers and Handlers can optionally use Filter instances to filter
792 A base class for loggers and handlers which allows them to share
842 _handlers = weakref.WeakValueDictionary() #map of handler names to handlers
843 _handlerList = [] # added to allow handlers to be removed in reverse of order initialized
853 acquire, release, handlers = _acquireLock, _releaseLock, _handlerList
854 if acquire and release and handlers:
857 handlers.remove(wr)
878 interface. Handlers can optionally use Formatter instances to format
[all …]
/aosp_15_r20/external/python/cpython3/Lib/logging/
Dconfig.py30 import logging.handlers
89 # Handlers add themselves to logging._handlers
90 handlers = _install_handlers(cp, formatters)
91 _install_loggers(cp, handlers, disable_existing_loggers)
136 """Install and return handlers"""
137 hlist = cp["handlers"]["keys"]
142 handlers = {}
163 if issubclass(klass, logging.handlers.MemoryHandler):
167 handlers[hand] = h
168 #now all handlers are loaded, fixup inter-handler references...
[all …]
D__init__.py87 # is only really there as a lower limit for user-defined levels. Handlers and
221 #Handlers, and so might arbitrary user threads. Since Handler code updates the
757 Loggers and Handlers can optionally use Filter instances to filter
792 A base class for loggers and handlers which allows them to share
842 _handlers = weakref.WeakValueDictionary() #map of handler names to handlers
843 _handlerList = [] # added to allow handlers to be removed in reverse of order initialized
853 acquire, release, handlers = _acquireLock, _releaseLock, _handlerList
854 if acquire and release and handlers:
857 handlers.remove(wr)
878 interface. Handlers can optionally use Formatter instances to format
[all …]
/aosp_15_r20/external/python/cpython2/Lib/test/
Dtest_logging.py23 import logging.handlers
93 while self.root_logger.handlers:
94 h = self.root_logger.handlers[0]
286 handler = self.root_logger.handlers[0]
392 self.root_logger.handlers[0].setLevel(SOCIABLE)
404 self.root_logger.handlers[0].setLevel(logging.NOTSET)
409 handler = self.root_logger.handlers[0]
458 self.mem_hdlr = logging.handlers.MemoryHandler(10, logging.WARNING,
514 [handlers]
522 handlers=hand1
[all …]
/aosp_15_r20/external/nullaway/nullaway/src/main/java/com/uber/nullaway/handlers/
H A DCompositeHandler.java23 package com.uber.nullaway.handlers;
55 * Registry of all handlers registered on our analysis.
57 * <p>In general, handlers are a way to specialize the behavior of our analysis on particular APIs
62 private final List<Handler> handlers; field in CompositeHandler
64 CompositeHandler(ImmutableList<Handler> handlers) { in CompositeHandler() argument
65 // Attach default handlers in CompositeHandler()
66 this.handlers = handlers; in CompositeHandler()
72 for (Handler h : handlers) { in onMatchTopLevelClass()
80 for (Handler h : handlers) { in onMatchMethod()
91 for (Handler h : handlers) { in onMatchLambdaExpression()
[all …]
/aosp_15_r20/external/python/cpython2/Doc/howto/
Dlogging.rst331 of components: loggers, handlers, filters, and formatters.
334 * Handlers send the log records (created by loggers) to the appropriate
340 Log event information is passed between loggers, handlers, filters and
390 The flow of log event information in loggers and handlers is illustrated in the
402 objects pass along relevant log messages to all interested log handlers.
416 handler objects from the logger object. Handlers are covered in more detail
460 determine whether the event is passed to the logger's handlers.
462 Child loggers propagate messages up to the handlers associated with their
464 handlers for all the loggers an application uses. It is sufficient to
465 configure handlers for a top-level logger and create child loggers as needed.
[all …]
/aosp_15_r20/external/python/cpython3/Doc/howto/
Dlogging.rst353 of components: loggers, handlers, filters, and formatters.
356 * Handlers send the log records (created by loggers) to the appropriate
362 Log event information is passed between loggers, handlers, filters and
414 The flow of log event information in loggers and handlers is illustrated in the
427 objects pass along relevant log messages to all interested log handlers.
441 handler objects from the logger object. Handlers are covered in more detail
485 determine whether the event is passed to the logger's handlers.
487 Child loggers propagate messages up to the handlers associated with their
489 handlers for all the loggers an application uses. It is sufficient to
490 configure handlers for a top-level logger and create child loggers as needed.
[all …]
/aosp_15_r20/external/google-cloud-java/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/
H A DFlow.java381 * A flow's event handlers serve two purposes:
385 * handlers][Page.event_handlers], which can be used to handle common events
386 * regardless of the current page. Event handlers defined in the page
390 * these handlers are evaluated on a first-match basis. The first one that
404 * A flow's event handlers serve two purposes:
408 * handlers][Page.event_handlers], which can be used to handle common events
409 * regardless of the current page. Event handlers defined in the page
413 * these handlers are evaluated on a first-match basis. The first one that
428 * A flow's event handlers serve two purposes:
432 * handlers][Page.event_handlers], which can be used to handle common events
[all …]
/aosp_15_r20/external/google-cloud-java/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/
H A DFlow.java386 * A flow's event handlers serve two purposes:
390 * handlers][Page.event_handlers], which can be used to handle common events
391 * regardless of the current page. Event handlers defined in the page
395 * these handlers are evaluated on a first-match basis. The first one that
410 * A flow's event handlers serve two purposes:
414 * handlers][Page.event_handlers], which can be used to handle common events
415 * regardless of the current page. Event handlers defined in the page
419 * these handlers are evaluated on a first-match basis. The first one that
434 * A flow's event handlers serve two purposes:
438 * handlers][Page.event_handlers], which can be used to handle common events
[all …]
/aosp_15_r20/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
H A DXMLFileReader.java46 /** Handlers to use in read() */
90 * @param handlers a set of values for the handlers to use, eg CONTENT_HANDLER | ERROR_HANDLER
94 public XMLFileReader read(String fileName, int handlers, boolean validating) { in read() argument
96 return read(fileName, new InputSource(fis), handlers, validating); in read()
113 * @param handlers
119 public XMLFileReader readCLDRResource(String resName, int handlers, boolean validating) { in readCLDRResource() argument
121 return read(resName, new InputSource(inputStream), handlers, validating); in readCLDRResource()
131 * @param handlers
138 String resName, Class<?> callingClass, int handlers, boolean validating) { in read() argument
140 return read(resName, new InputSource(inputStream), handlers, validating); in read()
[all …]
/aosp_15_r20/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiMonitor.java340 * Broadcast the WPS fail event to all the handlers registered for this event.
378 * Broadcast the WPS succes event to all the handlers registered for this event.
387 * Broadcast the WPS overlap event to all the handlers registered for this event.
396 * Broadcast the WPS timeout event to all the handlers registered for this event.
405 * Broadcast the ANQP done event to all the handlers registered for this event.
415 * Broadcast the Icon done event to all the handlers registered for this event.
425 * Broadcast the WNM event to all the handlers registered for this event.
453 * Broadcast the Network identity request event to all the handlers registered for this event.
464 * Broadcast the transition disable event to all the handlers registered for this event.
477 * Broadcast the Network Gsm Sim auth request event to all the handlers registered for this
[all …]

12345678910>>...273