/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/test/connectivity/acts/framework/acts/libs/logging/ |
D | log_stream.py | 368 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/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() 628 void execClusterCommand(ClusterCommand commandTask, InvocationEventHandler handler) in execClusterCommand() argument 633 if (dryRunCommand(handler, args)) { in execClusterCommand() 647 execCommand(handler, QuotationAwareTokenizer.tokenizeLine(cmdLine)); in execClusterCommand() 650 void execManagedClusterCommand(ClusterCommand commandTask, InvocationEventHandler handler) in execManagedClusterCommand() argument 675 handler.setWorkDir(workDir); in execManagedClusterCommand() 676 execCommand(handler, new String[] {configFile.getAbsolutePath()}); in execManagedClusterCommand() 695 protected boolean dryRunCommand(final InvocationEventHandler handler, String[] args) in dryRunCommand() argument [all …]
|
/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/remote/src/com/android/tradefed/command/remote/ |
D | RemoteClient.java | 222 public void sendGetLastCommandResult(String serial, ICommandResultHandler handler) in sendGetLastCommandResult() argument 227 handler.stillRunning(); in sendGetLastCommandResult() 230 handler.failure(r.getInvocationErrorDetails(), r.getFreeDeviceState(), in sendGetLastCommandResult() 234 handler.success(r.getRunMetrics()); in sendGetLastCommandResult() 237 handler.noActiveCommand(); in sendGetLastCommandResult() 240 handler.notAllocated(); in sendGetLastCommandResult()
|
D | IRemoteClient.java | 98 public void sendGetLastCommandResult(String serial, ICommandResultHandler handler) in sendGetLastCommandResult() argument
|
/tools/test/connectivity/acts/framework/tests/ |
D | acts_utils_test.py | 401 for handler in handlers: 402 log.addHandler(handler) 405 any(handler.level == logging.DEBUG 406 for handler in log.handlers)) 408 any(handler.level in (logging.INFO, logging.ERROR) 409 for handler in log.handlers))
|
/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/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/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/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/src/com/android/tradefed/testtype/suite/ |
D | SuiteModuleLoader.java | 377 MainlineModuleHandler handler = in loadOneConfig() local 392 handler.applySetup(paramConfig); in loadOneConfig() 671 IModuleParameter handler = in getModuleParameters() local 674 if (handler != null) { in getModuleParameters() 675 params.add(handler); in getModuleParameters()
|
/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/test/connectivity/acts/framework/acts/ |
D | utils.py | 1310 for handler in self._handlers: 1311 if handler.level in self._log_levels: 1312 self._logger.removeHandler(handler) 1316 for handler in self._handlers: 1317 self._logger.addHandler(handler)
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | OptionSetter.java | 392 final Handler handler = getHandlerOrTimeVal(field, optionSource); in setOptionValue() local 395 Object value = handler.translate(valueText); in setOptionValue() 398 if (handler.isMap()) { in setOptionValue() 410 if (handler.isMap()) { in setOptionValue() 411 key = ((MapHandler)handler).translateKey(keyText); in setOptionValue()
|
/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/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/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/tests/src/com/android/tradefed/testtype/suite/params/ |
D | ModuleParametersHelperTest.java | 32 IModuleParameter handler = in testHandlersExists() local 34 assertNotNull(handler); in testHandlersExists()
|
/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/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/repohooks/tools/ |
D | spelling.txt | 554 hander||handler
|
/tools/dexter/testdata/expected/ |
D | large.rewrite | 2727 .params "gestureDescription", "callback", "handler" 2738 …-object v3, v0, android.accessibilityservice.AccessibilityService$GestureResultCallbackInfo.handler 4596 .params "listener", "handler" 4697 .local v10, "handler", android.os.Handler 5244 .params "listener", "handler" 5345 .local v2, "handler", android.os.Handler 5567 .params "service", "conn", "flags", "handler", "user" 8846 .params "gesture", "callback", "handler" 9207 …-object v2, v0, android.accessibilityservice.AccessibilityService$GestureResultCallbackInfo.handler 9210 …-object v2, v0, android.accessibilityservice.AccessibilityService$GestureResultCallbackInfo.handler [all …]
|