/tools/test/connectivity/acts/framework/acts/libs/logging/ |
D | log_stream.py | 367 handler = creator(os.path.join(directory, base_name)) 368 handler.setLevel(LogStyles.LEVEL_TO_NO[level]) 370 handler.setFormatter(self.file_format) 371 return handler 382 handler = AlsoToLogHandler() 384 handler = StreamHandler(sys.stdout) 386 handler.setFormatter(self.stream_format) 388 handler.setLevel(LogStyles.LEVEL_TO_NO[lowest_log_level]) 389 self.logger.addHandler(handler) 397 handler = self.__create_handler( [all …]
|
/tools/repohooks/rh/ |
D | signals.py | 30 def relay_signal(handler, signum, frame): argument 37 if handler in (None, signal.SIG_IGN): 39 if handler == signal.SIG_DFL: 43 handler(signum, frame)
|
D | utils.py | 386 handler = functools.partial(_kill_child_process, proc, int_timeout, 388 signal.signal(signal.SIGINT, handler) 391 handler = functools.partial(_kill_child_process, proc, int_timeout, 393 signal.signal(signal.SIGTERM, handler)
|
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/ |
D | ClusterCommandSchedulerTest.java | 206 final InvocationEventHandler handler, String[] args) { in setUp() 627 ClusterCommandScheduler.InvocationEventHandler handler = 648 handler.invocationInitiated(context); 652 handler.putEarlySummary(summaries); 653 handler.putSummary(summaries); 654 handler.invocationStarted(context); 655 handler.testRunStarted("test run", 1); 656 handler.testStarted(new TestDescription("class", CMD_LINE)); 657 handler.testEnded(new TestDescription("class", CMD_LINE), new HashMap<String, Metric>()); 658 handler.testRunEnded(10L, new HashMap<String, Metric>()); [all …]
|
/tools/dexter/slicer/ |
D | tryblocks_encoder.cc | 42 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()
|
D | code_ir.cc | 76 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/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/params/ |
D | ModuleParametersHelperTest.java | 32 IModuleParameter handler = in testHandlersExists() local 34 assertNotNull(handler); in testHandlersExists()
|
/tools/test/connectivity/acts/framework/tests/ |
D | acts_utils_test.py | 262 for handler in handlers: 263 log.addHandler(handler) 266 any(handler.level == logging.DEBUG for handler in log.handlers)) 268 any(handler.level in (logging.INFO, logging.ERROR) 269 for handler in log.handlers))
|
/tools/test/connectivity/acts/framework/tests/libs/logging/ |
D | log_stream_test.py | 277 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/tradefederation/core/src/com/android/tradefed/util/xml/ |
D | AbstractXmlParser.java | 61 DefaultHandler handler = createXmlHandler(); in parse() local 62 parser.parse(new InputSource(xmlInput), handler); in parse()
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | ClusterCommandScheduler.java | 586 final InvocationEventHandler handler = new InvocationEventHandler(commandTask); in execCommands() local 589 execClusterCommand(commandTask, handler); in execCommands() 592 execManagedClusterCommand(commandTask, handler); in execCommands() 626 void execClusterCommand(ClusterCommand commandTask, InvocationEventHandler handler) in execClusterCommand() argument 631 if (dryRunCommand(handler, args)) { in execClusterCommand() 645 execCommand(handler, QuotationAwareTokenizer.tokenizeLine(cmdLine)); in execClusterCommand() 648 void execManagedClusterCommand(ClusterCommand commandTask, InvocationEventHandler handler) in execManagedClusterCommand() argument 673 handler.setWorkDir(workDir); in execManagedClusterCommand() 674 execCommand(handler, new String[] {configFile.getAbsolutePath()}); in execManagedClusterCommand() 693 protected boolean dryRunCommand(final InvocationEventHandler handler, String[] args) in dryRunCommand() argument [all …]
|
/tools/test/connectivity/acts/framework/acts/bin/ |
D | act.py | 85 handler = config_parser.gen_term_signal_handler([t]) 86 signal.signal(signal.SIGTERM, handler) 87 signal.signal(signal.SIGINT, handler)
|
/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/ |
D | event_dispatcher.py | 122 def register_handler(self, handler, event_name, args): argument 146 self._handlers[event_name] = (handler, args) 363 handler, args = self._handlers[event_name] 364 self._executor.submit(handler, event_obj, *args)
|
/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/ |
D | IRemoteClient.java | 98 public void sendGetLastCommandResult(String serial, ICommandResultHandler handler) in sendGetLastCommandResult() argument
|
/tools/test/graphicsbenchmark/functional_tests/native/ |
D | mprotect_test.cpp | 34 static void handler (int, siginfo_t *si, void *) { in handler() function 120 sa.sa_sigaction = handler; in TEST()
|
/tools/dexter/dexter/ |
D | dissasembler.cc | 243 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/loganalysis/src/com/android/loganalysis/util/config/ |
D | OptionSetter.java | 251 Handler handler = getHandler(field.getGenericType()); in setOptionValue() local 252 Object value = handler.translate(valueText); in setOptionValue() 344 Handler handler = getHandler(field.getGenericType()); in setOptionMapValue() local 345 if (handler == null || !(handler instanceof MapHandler)) { in setOptionMapValue() 351 pair = ((MapHandler) handler).translate(keyText, valueText); in setOptionMapValue()
|
/tools/test/connectivity/acts/framework/acts/ |
D | utils.py | 1304 for handler in self._handlers: 1305 if handler.level in self._log_levels: 1306 self._logger.removeHandler(handler) 1310 for handler in self._handlers: 1311 self._logger.addHandler(handler)
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | SuiteModuleLoader.java | 374 MainlineModuleHandler handler = in loadOneConfig() local 389 handler.applySetup(paramConfig); in loadOneConfig() 661 IModuleParameter handler = in getModuleParameters() local 664 if (handler != null) { in getModuleParameters() 665 params.add(handler); in getModuleParameters()
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | OptionSetter.java | 384 final Handler handler = getHandlerOrTimeVal(field, optionSource); in setOptionValue() local 387 Object value = handler.translate(valueText); in setOptionValue() 390 if (handler.isMap()) { in setOptionValue() 402 if (handler.isMap()) { in setOptionValue() 403 key = ((MapHandler)handler).translateKey(keyText); in setOptionValue()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | SubprocessTestResultsParser.java | 354 EventHandler handler = mHandlerMap.get(matcher.group(2)); in parse() local 355 if (handler != null) { in parse() 356 handler.handleEvent(matcher.group(4)); in parse()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | NativeDevice.java | 1093 ContentProviderHandler handler = getContentProvider(); in pullFile() local 1094 if (handler != null) { in pullFile() 1095 return handler.pullFile(remoteFilePath, localFile); in pullFile() 1201 ContentProviderHandler handler = getContentProvider(); in pushFile() local 1202 if (handler != null) { in pushFile() 1203 return handler.pushFile(localFile, remoteFilePath); in pushFile() 1283 ContentProviderHandler handler = getContentProvider(); in deleteFile() local 1284 if (handler != null) { in deleteFile() 1285 if (handler.deleteFile(deviceFilePath)) { in deleteFile() 1616 ContentProviderHandler handler = getContentProvider(); in pullDir() local [all …]
|
/tools/tradefederation/core/res/jacoco/ |
D | jacocoagent.jar | META-INF/MANIFEST.MF
META-INF/
org/
org/jacoco/
org/ ... |
D | jacocoant.jar | META-INF/MANIFEST.MF
META-INF/
org/
org/jacoco/
org/ ... |
/tools/repohooks/tools/ |
D | spelling.txt | 554 hander||handler
|