/system/weaved/libweaved/ |
service.h | 26 #include <libweaved/command.h> 44 base::Callback<void(std::unique_ptr<Command> command)>; 66 // |command_name| is the name of the command to handle (e.g. "reboot"). 67 // |trait_name| is the name of a trait the command belongs to (e.g. "base"). 68 // Each command can have no more than one handler. 127 // invocation of the callback (along with registering command handlers, etc).
|
/external/autotest/frontend/client/src/autotest/tko/ |
SpreadsheetDataProcessor.java | 15 import com.google.gwt.user.client.Command; 33 private Command onFinished; 93 return false; // render will re-add us to the command queue 149 public void refresh(JSONObject condition, Command onFinished) {
|
/external/libweave/examples/daemon/light/ |
light.cc | 172 // LightHandler is a command handler example that shows 199 void OnBrightnessSetConfig(const std::weak_ptr<weave::Command>& command) { 200 auto cmd = command.lock(); 203 LOG(INFO) << "received command: " << cmd->GetName(); 207 // Display this command in terminal. 223 void OnOnOffSetConfig(const std::weak_ptr<weave::Command>& command) { 224 auto cmd = command.lock(); 227 LOG(INFO) << "received command: " << cmd->GetName() [all...] |
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/server/ |
AbstractFtpServer.java | 21 import org.mockftpserver.core.command.Command;
22 import org.mockftpserver.core.command.CommandHandler;
40 * server commands (e.g. RETR, DELE, LIST). These handlers implement the {@link org.mockftpserver.core.command.CommandHandler}
50 * <h4>Command Handlers</h4>
51 * You can set the existing {@link CommandHandler} defined for an FTP server command
53 * in the FTP server command name and {@link CommandHandler} instance.
54 * You can also replace multiple command handlers at once by using the {@link #setCommandHandlers(Map)}
57 * You can retrieve the existing {@link CommandHandler} defined for an FTP server command by
58 * calling the {@link #getCommandHandler(String)} method, passing in the FTP server command name. [all...] |
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/core/command/ |
SimpleCompositeCommandHandlerTest.java | 16 package org.mockftpserver.core.command;
25 import org.mockftpserver.core.command.Command;
26 import org.mockftpserver.core.command.CommandHandler;
27 import org.mockftpserver.core.command.SimpleCompositeCommandHandler;
45 private Command command;
field in class:SimpleCompositeCommandHandlerTest 56 commandHandler1.handleCommand(command, session);
59 simpleCompositeCommandHandler.handleCommand(command, session);
70 commandHandler1.handleCommand(command, session); [all...] |
/external/v8/tools/release/ |
auto_roll.py | 126 self.Command("gclient", "sync --nohooks", cwd=cwd) 142 if self.Command("roll-dep-svn", "v8 %s" % 178 Command("rm", "-f %s*" % self._config["PERSISTFILE_BASENAME"])
|
/frameworks/av/media/libmedia/ |
IStreamSource.cpp | 162 Command cmd, bool synchronous, const sp<AMessage> &msg) { 197 Command cmd = static_cast<Command>(data.readInt32());
|
/frameworks/av/services/audioflinger/ |
FastCapture.cpp | 75 bool FastCapture::isSubClassCommand(FastThreadState::Command command) 77 switch ((FastCaptureState::Command) command) { 163 const FastCaptureState::Command command = mCommand; local 166 if ((command & FastCaptureState::READ) /*&& isWarm*/) { 187 if (command & FastCaptureState::WRITE) {
|
/prebuilts/gdb/darwin-x86/share/gdb/python/gdb/command/ |
pretty_printers.py | 25 """Internal utility to parse a pretty-printer command argv. 28 arg: The arguments to the command. The format is: 84 class InfoPrettyPrinter(gdb.Command): 85 """GDB command to list all registered pretty-printers. 153 """GDB calls this to perform the command.""" 316 class EnablePrettyPrinter (gdb.Command): 317 """GDB command to enable the specified pretty-printer. 335 """GDB calls this to perform the command.""" 339 class DisablePrettyPrinter (gdb.Command): 340 """GDB command to disable the specified pretty-printer [all...] |
/prebuilts/gdb/linux-x86/share/gdb/python/gdb/command/ |
pretty_printers.py | 25 """Internal utility to parse a pretty-printer command argv. 28 arg: The arguments to the command. The format is: 84 class InfoPrettyPrinter(gdb.Command): 85 """GDB command to list all registered pretty-printers. 153 """GDB calls this to perform the command.""" 316 class EnablePrettyPrinter (gdb.Command): 317 """GDB command to enable the specified pretty-printer. 335 """GDB calls this to perform the command.""" 339 class DisablePrettyPrinter (gdb.Command): 340 """GDB command to disable the specified pretty-printer [all...] |
/system/extras/simpleperf/ |
cmd_dumprecord.cpp | 27 #include "command.h" 36 class DumpRecordCommand : public Command { 39 : Command("dump", "dump perf record file", 214 RegisterCommand("dump", [] { return std::unique_ptr<Command>(new DumpRecordCommand); });
|
/external/libweave/src/ |
component_manager_unittest.cc | 691 manager_.ParseCommandInstance(*command1, Command::Origin::kLocal, 697 manager_.ParseCommandInstance(*command1, Command::Origin::kLocal, 709 manager_.ParseCommandInstance(*command2, Command::Origin::kLocal, 722 manager_.ParseCommandInstance(*command3, Command::Origin::kLocal, 733 *command4, Command::Origin::kLocal, UserRole::kOwner, &id, nullptr); 743 *command5, Command::Origin::kLocal, UserRole::kOwner, &id, nullptr); 747 // Cannot route the command, no component with 'trait3'. 754 manager_.ParseCommandInstance(*command6, Command::Origin::kLocal, 778 auto command = CreateDictionaryValue(kCommand); local 780 *command, Command::Origin::kLocal, UserRole::kUser, &id, nullptr) [all...] |
/frameworks/base/tools/aapt/ |
Bundle.h | 4 // State bundle. Used to pass around stuff like command-line args. 22 typedef enum Command { 33 } Command; 45 * Bundle of goodies, including everything specified on the command line. 75 * Set the command value. Returns "false" if it was previously set. 77 Command getCommand(void) const { return mCmd; } 78 void setCommand(Command cmd) { mCmd = cmd; } 81 * Command modifiers. Not all modifiers are appropriate for all 257 * the command line. If neither, it's not available since 281 Command mCmd [all...] |
/external/lzma/CPP/7zip/UI/Console/ |
Main.cpp | 85 " <command> [<switches>...] <archive_name> [<file_names>...]\n"
118 " -slt : show technical information for l (List) command\n"
133 static const char *kUserErrorMessage = "Incorrect command line";
486 bool isExtractGroupCommand = options.Command.IsFromExtractGroup();
490 || options.Command.CommandType == NCommandType::kList
491 || options.Command.IsFromUpdateGroup()))
512 || options.Command.CommandType == NCommandType::kHash
513 || options.Command.CommandType == NCommandType::kBenchmark)
526 if (options.Command.CommandType == NCommandType::kInfo)
643 else if (options.Command.CommandType == NCommandType::kBenchmark) [all...] |
/external/lzma/CPP/7zip/UI/Common/ |
ArchiveCommandLine.cpp | 236 // static const char *kUserErrorMessage = "Incorrect command line";
240 // static const char *kIncorrectWildcardInCommandLine = "Incorrect wildcard in command line";
297 static bool ParseArchiveCommand(const UString &commandString, CArcCommand &command)
308 command.CommandType = (NCommandType::EEnum)index;
313 command.CommandType = (NCommandType::kRename);
360 throw CArcCmdLineException("Unsupported rename command:", val);
448 const char *k_IncorrectMapCommand = "Incorrect Map command";
670 static bool ParseUpdateCommandString2(const UString &command,
673 for (unsigned i = 0; i < command.Len();)
675 wchar_t c = MyCharLower_Ascii(command[i]); [all...] |
/external/autotest/frontend/client/src/autotest/afe/ |
JobDetailView.java | 32 import com.google.gwt.user.client.Command; 300 menu.addItem("Abort hosts", new Command() { 306 menu.addItem("Clone job on selected hosts", new Command() { 405 menu.addItem("Reuse any similar hosts (default)", new Command() { 410 menu.addItem("Reuse same specific hosts", new Command() { 415 menu.addItem("Use failed and aborted hosts", new Command() {
|
/external/boringssl/src/util/ |
all_tests.go | 100 valgrindArgs = append(valgrindArgs, "--db-attach=yes", "--db-command=xterm -e gdb -nw %f %p") 105 return exec.Command("valgrind", valgrindArgs...) 113 return exec.Command("xterm", xtermArgs...) 133 cmd = exec.Command(prog, args...)
|
/external/antlr/antlr-3.4/runtime/Python/ |
setup.py | 9 from distutils.command.clean import clean as _clean 10 from distutils.cmd import Command 62 # Options for 'CmdUnitTest' command 65 class unittest(Command): 150 class functest(Command):
|
/external/autotest/server/site_tests/network_DiskFull/ |
network_DiskFull.py | 90 with remote_command.Command(self._client, disk_filler_command) \
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/commands/ |
config.py | 15 """Implementation of config command for creating a gsutil configuration file.""" 39 from gslib.command import Command 63 The gsutil config command obtains access credentials for Google Cloud 70 to ~/.boto.bak; if that attempt fails the command will exit. A different 153 values found in there tend to be of more specialized use than command line 331 # Note: 'gsutil -d' sets debug to 2 for that one command run. 459 # 'use_magicfile' specifies if the 'file --mime-type <filename>' command should 499 # the gsutil command supports this API for the provider, it will be used 574 class ConfigCommand(Command) [all...] |
cp.py | 16 """Implementation of Unix-like cp command for cloud storage providers.""" 26 from gslib.command import Command 58 The gsutil cp command allows you to copy data between your local file 80 command line arguments by using the -I option. This allows you to use gsutil 96 The gsutil cp command strives to name objects in a way consistent with how 104 recursive processing. For example, the command: 112 by the final path component of the source files. For example, the command: 128 if gs://my_bucket/subdir exists as a subdirectory, the command: 133 if gs://my_bucket/subdir does not exist, this same gsutil cp command wil [all...] |
/external/clang/tools/driver/ |
driver.cpp | 78 /// '#': Silence information about the changes to the command line arguments. 80 /// '^': Add FOO as a new argument at the beginning of the command line. 82 /// '+': Add FOO as a new argument at the end of the command line. 84 /// 's/XXX/YYY/': Substitute the regular expression XXX with YYY in the command 93 /// at the end of the command line. 96 /// \param Args - The vector of command line arguments. 97 /// \param Edit - The override command to perform. 143 OS << "### Invalid X edit, end of command line!\n"; 336 // clang-cl or cl, or --driver-mode=cl is on the command line. The normal 337 // command line parsing can't happen until after response file parsing, so w [all...] |
/external/libweave/include/weave/test/ |
mock_device.h | 60 MOCK_METHOD1(FindCommand, Command*(const std::string&));
|
/external/llvm/ |
Android.mk | 99 # LLVM Command Line Tools 140 # LLVM Command Line Utilities
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/command/ |
_AbstractStaticReplyCommandHandlerTest.java | 16 package org.mockftpserver.core.command;
143 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) throws Exception {
|