Home
last modified time | relevance | path

Searched refs:handlers (Results 1 – 18 of 18) sorted by relevance

/tools/loganalysis/src/com/android/loganalysis/util/config/
DOptionSetter.java62 private static final HashMap<Class<?>, Handler> handlers = new HashMap<Class<?>, Handler>(); field in OptionSetter
66 handlers.put(boolean.class, new BooleanHandler()); in handlers.put()
67 handlers.put(Boolean.class, new BooleanHandler()); in handlers.put()
69 handlers.put(byte.class, new ByteHandler()); in handlers.put()
70 handlers.put(Byte.class, new ByteHandler()); in handlers.put()
71 handlers.put(short.class, new ShortHandler()); in handlers.put()
72 handlers.put(Short.class, new ShortHandler()); in handlers.put()
73 handlers.put(int.class, new IntegerHandler()); in handlers.put()
74 handlers.put(Integer.class, new IntegerHandler()); in handlers.put()
75 handlers.put(long.class, new LongHandler()); in handlers.put()
[all …]
/tools/test/connectivity/acts/framework/tests/libs/logging/
Dlog_stream_test.py71 self.assertTrue(isinstance(log.handlers[0], logging.NullHandler))
188 self.assertTrue(isinstance(log.handlers[1], AlsoToLogHandler))
200 self.assertTrue(isinstance(log.handlers[1], AlsoToLogHandler))
201 self.assertEqual(log.handlers[1].level, logging.DEBUG)
211 self.assertTrue(isinstance(log.handlers[1], logging.StreamHandler))
223 self.assertEqual(log.handlers[1], expected)
236 self.assertEqual(log.handlers[1], expected)
353 handler = log.handlers[-1]
379 self.assertEqual(len(created_log_stream.logger.handlers), 1)
/tools/tradefederation/core/src/com/android/tradefed/config/
DOptionSetter.java74 private static final HashMap<Class<?>, Handler> handlers = new HashMap<Class<?>, Handler>(); field in OptionSetter
80 handlers.put(boolean.class, new BooleanHandler()); in handlers.put()
81 handlers.put(Boolean.class, new BooleanHandler()); in handlers.put()
83 handlers.put(byte.class, new ByteHandler()); in handlers.put()
84 handlers.put(Byte.class, new ByteHandler()); in handlers.put()
85 handlers.put(short.class, new ShortHandler()); in handlers.put()
86 handlers.put(Short.class, new ShortHandler()); in handlers.put()
87 handlers.put(int.class, new IntegerHandler()); in handlers.put()
88 handlers.put(Integer.class, new IntegerHandler()); in handlers.put()
89 handlers.put(long.class, new LongHandler()); in handlers.put()
[all …]
/tools/test/connectivity/acts/framework/acts/libs/logging/
Dlog_stream.py22 from logging.handlers import RotatingFileHandler
420 handlers = []
422 handlers = self._testclass_handlers + self._testcase_handlers
424 handlers = self._testcase_handlers
426 if not handlers:
429 for handler in handlers:
435 for handler in self.logger.handlers:
/tools/test/connectivity/acts/framework/tests/
Dacts_utils_test.py355 handlers = [
360 for handler in handlers:
365 for handler in log.handlers))
368 for handler in log.handlers))
369 self.assertCountEqual(handlers, log.handlers)
/tools/platform-compat/java/com/android/annotationvisitor/
DAnnotationVisitor.java49 Map<String, AnnotationHandler> handlers) { in AnnotationVisitor() argument
52 mAnnotationHandlers = handlers; in AnnotationVisitor()
/tools/dexter/slicer/
Dtryblocks_encoder.cc38 dex::s4 catch_count = try_end->handlers.size(); in Visit()
41 const CatchHandler& handler = try_end->handlers[catch_index]; in Visit()
Dcode_ir.cc86 try_block_end->handlers.push_back(handler); in DisassembleTryBlocks()
100 SLICER_CHECK(!try_block_end->handlers.empty() || in DisassembleTryBlocks()
/tools/platform-compat/java/com/android/class2nonsdklist/
DClass2NonSdkList.java240 Map<String, AnnotationHandler> handlers = createAnnotationHandlers(); in main() local
245 reader.stream().forEach(clazz -> new AnnotationVisitor(clazz, mStatus, handlers) in main()
/tools/test/connectivity/acts/framework/acts/
Dlogger.py235 for h in list(logger.handlers):
Dutils.py1328 self._handlers = copy.copy(self._logger.handlers)
/tools/asuite/atest/logstorage/
Dlog_uploader.py292 logging.getLogger('').handlers = []
/tools/dexter/dexter/
Ddisassembler.cc262 for (const auto& handler : try_end->handlers) { in Visit()
/tools/asuite/aidegen/lib/
Dcommon_util.py452 logging.getLogger().handlers = []
/tools/dexter/slicer/export/slicer/
Dcode_ir.h391 std::vector<CatchHandler> handlers; member
/tools/tradefederation/core/javatests/res/testtype/
Dpython_output2.txt1 No handlers could be found for logger "oauth2client.contrib.multistore_file"
/tools/asuite/atest/
Datest_main.py258 logger.handlers = []
/tools/dexter/testdata/expected/
Dmedium.compact_cfg30172 ….local_ex v23, "handlers", java.util.Iterator, "Ljava/util/Iterator<Ljava/util/Map$Entry<Ljava/lan…