Home
last modified time | relevance | path

Searched refs:handler (Results 1 – 22 of 22) sorted by relevance

/tools/test/connectivity/acts/framework/acts/libs/logging/
Dlog_stream.py368 handler = creator(os.path.join(directory, base_name))
369 handler.setLevel(LogStyles.LEVEL_TO_NO[level])
371 handler.setFormatter(self.file_format)
372 return handler
383 handler = AlsoToLogHandler()
385 handler = StreamHandler(sys.stdout)
387 handler.setFormatter(self.stream_format)
389 handler.setLevel(LogStyles.LEVEL_TO_NO[lowest_log_level])
390 self.logger.addHandler(handler)
398 handler = self.__create_handler(
[all …]
/tools/test/connectivity/acts/framework/tests/libs/logging/
Dlog_stream_test.py277 handler = _LogStream._LogStream__get_file_handler_creator(
280 self.assertTrue(isinstance(handler, mock.Mock))
335 handler = mock.Mock()
336 _LogStream._LogStream__remove_handler(dummy_obj, handler)
339 self.assertTrue(handler.close.called)
353 handler = log.handlers[-1]
354 handler.baseFilename = file_name
362 handler.set_file.assert_called_with('BASEPATH/TestClass/FILENAME')
/tools/repohooks/rh/
Dsignals.py27 def relay_signal(handler, signum, frame): argument
34 if handler in (None, signal.SIG_IGN):
36 if handler == signal.SIG_DFL:
40 handler(signum, frame)
Dutils.py382 handler = functools.partial(_kill_child_process, proc, int_timeout,
384 signal.signal(signal.SIGINT, handler)
387 handler = functools.partial(_kill_child_process, proc, int_timeout,
389 signal.signal(signal.SIGTERM, handler)
/tools/dexter/slicer/
Dtryblocks_encoder.cc42 const CatchHandler& handler = try_end->handlers[catch_index]; in Visit() local
44 handlers_.PushULeb128(handler.ir_type->orig_index); in Visit()
46 SLICER_CHECK(handler.label->offset != kInvalidOffset); in Visit()
47 handlers_.PushULeb128(handler.label->offset); in Visit()
Dcode_ir.cc76 CatchHandler handler = {}; in DissasembleTryBlocks() local
80 handler.ir_type = dex_ir->types_map[type_index]; in DissasembleTryBlocks()
81 SLICER_CHECK(handler.ir_type != nullptr); in DissasembleTryBlocks()
85 handler.label = GetLabel(address); in DissasembleTryBlocks()
87 try_block_end->handlers.push_back(handler); in DissasembleTryBlocks()
/tools/test/connectivity/acts/framework/tests/
Dacts_utils_test.py405 for handler in handlers:
406 log.addHandler(handler)
409 any(handler.level == logging.DEBUG
410 for handler in log.handlers))
412 any(handler.level in (logging.INFO, logging.ERROR)
413 for handler in log.handlers))
/tools/platform-compat/javatest/com/android/annotationvisitor/
DRepeatedAnnotationHandlerTest.java67 TestAnnotationHandler handler = new TestAnnotationHandler(); in testRepeated() local
70 new RepeatedAnnotationHandler("Lannotation/Annotation;", handler)); in testRepeated()
74 assertThat(handler.getClasses()).containsExactly( in testRepeated()
/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/
Devent_dispatcher.py122 def register_handler(self, handler, event_name, args): argument
146 self._handlers[event_name] = (handler, args)
368 handler, args = self._handlers[event_name]
369 self._executor.submit(handler, event_obj, *args)
/tools/test/connectivity/acts/framework/acts/bin/
Dact.py85 handler = config_parser.gen_term_signal_handler([t])
86 signal.signal(signal.SIGTERM, handler)
87 signal.signal(signal.SIGINT, handler)
/tools/platform-compat/java/com/android/class2nonsdklist/
DClass2NonSdkList.java227 AnnotationHandler handler) { in addRepeatedAnnotationHandlers() argument
229 .put(annotationName, handler) in addRepeatedAnnotationHandlers()
230 .put(containerAnnotationName, new RepeatedAnnotationHandler(annotationName, handler)); in addRepeatedAnnotationHandlers()
/tools/dexter/dexter/
Ddissasembler.cc243 for (const auto& handler : try_end->handlers) { in Visit() local
244 printf("\t catch(%s) : Label_%d\n", handler.ir_type->Decl().c_str(), in Visit()
245 handler.label->id); in Visit()
/tools/test/connectivity/acts/framework/acts/
Dutils.py1307 for handler in self._handlers:
1308 if handler.level in self._log_levels:
1309 self._logger.removeHandler(handler)
1313 for handler in self._handlers:
1314 self._logger.addHandler(handler)
/tools/test/graphicsbenchmark/functional_tests/native/
Dmprotect_test.cpp34 static void handler (int, siginfo_t *si, void *) { in handler() function
120 sa.sa_sigaction = handler; in TEST()
/tools/repohooks/tools/
Dspelling.txt554 hander||handler
/tools/dexter/testdata/expected/
Dmedium.asm21835 18| iput-object v1, v0, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
21873 18| iput-object v1, v0, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
21913 18| iput-object v1, v0, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
21951 18| iput-object v1, v0, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
21993 18| iput-object v1, v0, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
22193 92| iget-object v1, v4, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
22601 73| iget-object v3, v8, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
105743 .params "context", "?", "handler"
165452 .local v0, "handler", com.android.ex.editstyledtext.EditStyledText$MenuHandler
Dmedium.rewrite21807 .params "handler"
21838 18| iput-object v1, v0, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
21876 18| iput-object v1, v0, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
21916 18| iput-object v1, v0, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
21954 18| iput-object v1, v0, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
21996 18| iput-object v1, v0, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
22193 86| const-string/jumbo v1, ",\n\t handler= "
22196 92| iget-object v1, v4, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
22604 73| iget-object v3, v8, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
25129 .local v22, "handler", com.android.calendar.CalendarController$EventHandler
[all …]
Dmedium.wrap_invoke21807 .params "handler"
21838 18| iput-object v1, v0, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
21876 18| iput-object v1, v0, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
21916 18| iput-object v1, v0, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
21954 18| iput-object v1, v0, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
21996 18| iput-object v1, v0, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
22193 86| const-string/jumbo v1, ",\n\t handler= "
22196 92| iget-object v1, v4, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
22604 73| iget-object v3, v8, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
25129 .local v22, "handler", com.android.calendar.CalendarController$EventHandler
[all …]
Dmedium.entry_hook22798 .params "handler"
22831 21| iput-object v1, v0, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
22870 21| iput-object v1, v0, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
22911 21| iput-object v1, v0, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
22950 21| iput-object v1, v0, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
22993 21| iput-object v1, v0, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
23198 89| const-string/jumbo v1, ",\n\t handler= "
23201 95| iget-object v1, v4, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
23618 76| iget-object v3, v8, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
26220 .local v22, "handler", com.android.calendar.CalendarController$EventHandler
[all …]
Dmedium.exit_hook23522 .params "handler"
23554 18| iput-object v1, v0, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
23593 18| iput-object v1, v0, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
23634 18| iput-object v1, v0, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
23673 18| iput-object v1, v0, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
23716 18| iput-object v1, v0, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
23930 86| const-string/jumbo v1, ",\n\t handler= "
23933 92| iget-object v1, v4, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
24354 76| iget-object v3, v8, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
26995 .local v22, "handler", com.android.calendar.CalendarController$EventHandler
[all …]
Dmedium.compact_cfg26183 .params "handler"
26216 18| iput-object v1, v0, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
26256 18| iput-object v1, v0, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
26298 18| iput-object v1, v0, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
26338 18| iput-object v1, v0, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
26382 18| iput-object v1, v0, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
26609 86| const-string/jumbo v1, ",\n\t handler= "
26612 92| iget-object v1, v4, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
27114 73| iget-object v3, v8, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
30125 .local v22, "handler", com.android.calendar.CalendarController$EventHandler
[all …]
Dmedium.scratch_regs27563 .params "handler"
27618 72| iput-object v5, v4, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
27677 81| iput-object v5, v4, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
27735 72| iput-object v5, v4, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
27797 90| iput-object v5, v4, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
27863 90| iput-object v3, v2, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
28096 95| const-string/jumbo v10, ",\n\t handler= "
28099 101| iget-object v10, v13, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
28539 97| iget-object v3, v8, com.android.calendar.AsyncQueryServiceHelper$OperationInfo.handler
31662 .local v22, "handler", com.android.calendar.CalendarController$EventHandler
[all …]