/system/netd/server/ |
H A D | NetdCommand.cpp | 19 NetdCommand::NetdCommand(const char *cmd) : argument 20 FrameworkCommand(cmd) {
|
/system/vold/ |
H A D | VoldCommand.cpp | 19 VoldCommand::VoldCommand(const char *cmd) : argument 20 FrameworkCommand(cmd) {
|
/system/core/libsysutils/src/ |
H A D | FrameworkCommand.cpp | 26 FrameworkCommand::FrameworkCommand(const char *cmd) { argument 27 mCommand = cmd;
|
/system/core/init/ |
H A D | keyutils.h | 29 static inline long keyctl(int cmd, ...) { argument 33 va_start(va, cmd); 39 return syscall(__NR_keyctl, cmd, arg2, arg3, arg4, arg5);
|
/system/core/libcutils/ |
H A D | android_reboot.c | 24 int android_reboot(int cmd, int flags __unused, const char* arg) { argument 29 switch (cmd) {
|
/system/core/reboot/ |
H A D | reboot.c | 29 const char *cmd = "reboot"; local 44 cmd = "shutdown"; 60 prop_len = snprintf(property_val, sizeof(property_val), "%s,%s", cmd, optarg);
|
/system/core/trusty/gatekeeper/ |
H A D | gatekeeper_ipc.h | 32 * @cmd: the command, one of ENROLL, VERIFY. Payload must be a serialized 37 uint32_t cmd; member in struct:gatekeeper_message
|
H A D | trusty_gatekeeper_ipc.c | 45 int trusty_gatekeeper_call(uint32_t cmd, void *in, uint32_t in_size, uint8_t *out, argument 54 msg->cmd = cmd; 61 ALOGE("failed to send cmd (%d) to %s: %s\n", cmd, 68 ALOGE("failed to retrieve response for cmd (%d) to %s: %s\n", 69 cmd, GATEKEEPER_PORT, strerror(errno)); 80 if ((cmd | GK_RESP_BIT) != msg->cmd) { 81 ALOGE("invalid command (%d)\n", msg->cmd); [all...] |
/system/extras/simpleperf/ |
H A D | cmd_help.cpp | 40 void PrintLongHelpForOneCommand(const Command& cmd); 47 std::unique_ptr<Command> cmd = CreateCommandInstance(args[0]); local 48 if (cmd == nullptr) { 55 PrintLongHelpForOneCommand(*cmd); 75 std::unique_ptr<Command> cmd = CreateCommandInstance(cmd_name); local 76 printf(" %-20s%s\n", cmd_name.c_str(), cmd->ShortHelpString().c_str());
|
/system/core/toolbox/ |
H A D | toolbox.c | 35 char* cmd = strrchr(argv[0], '/'); local 36 char* name = cmd ? (cmd + 1) : argv[0];
|
/system/core/trusty/keymaster/ |
H A D | trusty_keymaster_ipc.c | 46 int trusty_keymaster_call(uint32_t cmd, void *in, uint32_t in_size, uint8_t *out, argument 55 msg->cmd = cmd; 62 ALOGE("failed to send cmd (%d) to %s: %s\n", cmd, 69 ALOGE("failed to retrieve response for cmd (%d) to %s: %s\n", 70 cmd, KEYMASTER_PORT, strerror(errno)); 81 if ((cmd | KEYMASTER_RESP_BIT) != msg->cmd) { 82 ALOGE("invalid command (%d)", msg->cmd); [all...] |
H A D | keymaster_ipc.h | 49 * @cmd: the command, one of keymaster_command. 53 uint32_t cmd; member in struct:keymaster_message
|
/system/vold/fs/ |
H A D | F2fs.cpp | 44 std::vector<std::string> cmd; local 45 cmd.push_back(kFsckPath); 46 cmd.push_back("-a"); 47 cmd.push_back(source); 50 return ForkExecvp(cmd, sFsckContext); 73 std::vector<std::string> cmd; local 74 cmd.push_back(kMkfsPath); 75 cmd.push_back(source); 77 return ForkExecvp(cmd);
|
/system/bt/bta/hf_client/ |
H A D | bta_hf_client_at.h | 34 tBTA_HF_CLIENT_AT_CMD cmd; member in struct:queued_at_cmd
|
/system/bt/stack/smp/ |
H A D | smp_l2c.cc | 147 uint8_t cmd; local 150 STREAM_TO_UINT8(cmd, p); 153 if ((SMP_OPCODE_MAX < cmd) || (SMP_OPCODE_MIN > cmd)) { 154 SMP_TRACE_WARNING("Ignore received command with RESERVED code 0x%02x", cmd); 160 if (SMP_OPCODE_PAIRING_REQ == cmd || SMP_OPCODE_SEC_REQ == cmd) { 179 if (cmd == SMP_OPCODE_CONFIRM) { 181 "in %s cmd = 0x%02x, peer_auth_req = 0x%02x," 183 __func__, cmd, p_c 284 uint8_t cmd; local [all...] |
/system/core/libbacktrace/ |
H A D | BacktraceMap.cpp | 102 char cmd[sizeof(pid_t)*3 + sizeof("vmmap -w -resident -submap -allSplitLibs -interleaved ") + 1]; local 109 // cmd is guaranteed to always be big enough to hold this string. 110 snprintf(cmd, sizeof(cmd), "vmmap -w -resident -submap -allSplitLibs -interleaved %d", pid_); 111 FILE* fp = popen(cmd, "r");
|
/system/core/logcat/tests/ |
H A D | exec_benchmark.cpp | 25 static void logcat_popen_libc(benchmark::State& state, const char* cmd) { argument 27 FILE* fp = popen(cmd, "r"); 39 static void logcat_popen_liblogcat(benchmark::State& state, const char* cmd) { argument 42 FILE* fp = android_logcat_popen(&ctx, cmd); 54 static void logcat_system_libc(benchmark::State& state, const char* cmd) { argument 56 system(cmd); 65 static void logcat_system_liblogcat(benchmark::State& state, const char* cmd) { argument 67 android_logcat_system(cmd);
|
/system/netd/netutils_wrappers/ |
H A D | NetUtilsWrapper-1.0.cpp | 120 char *cmd; local 121 if (asprintf(&cmd, "%s%s", SYSTEM_DIRNAME, basename) == -1) { 125 argv[0] = cmd; 127 execv(cmd, argv);
|
/system/bt/bta/sys/ |
H A D | utl.cc | 144 * cmd - the fields of the device class to update. 159 bool utl_set_device_class(tBTA_UTL_COD* p_cod, uint8_t cmd) { argument 170 switch (cmd) {
|
/system/bt/btif/co/ |
H A D | bta_gatts_co.cc | 112 * informaiton. The request consists of the cmd and p_req and 115 * Parameter cmd - request command 124 bool bta_gatts_co_srv_chg(UNUSED_ATTR tBTA_GATTS_SRV_CHG_CMD cmd, argument
|
/system/bt/btif/src/ |
H A D | btif_a2dp_control.cc | 57 tA2DP_CTRL_CMD cmd = A2DP_CTRL_CMD_NONE; local 62 cmd = static_cast<tA2DP_CTRL_CMD>(read_cmd); 71 APPL_TRACE_DEBUG("a2dp-ctrl-cmd : %s", audio_a2dp_hw_dump_ctrl_event(cmd)); 72 a2dp_cmd_pending = cmd; 74 switch (cmd) { 78 __func__, audio_a2dp_hw_dump_ctrl_event(cmd)); 88 __func__, audio_a2dp_hw_dump_ctrl_event(cmd)); 106 __func__, audio_a2dp_hw_dump_ctrl_event(cmd)); 136 __func__, audio_a2dp_hw_dump_ctrl_event(cmd)); [all...] |
/system/core/fastboot/ |
H A D | usbtest.cpp | 128 const char *cmd; member in struct:__anon1421 145 for(i = 0; tests[i].cmd; i++) { 146 fprintf(stderr," %-8s %s\n", tests[i].cmd, tests[i].help); 191 for(i = 0; tests[i].cmd; i++) { 192 if(!strcmp(argv[1], tests[i].cmd)) { 197 tests[i].cmd); 201 fprintf(stderr,"usbtest: %s: FAIL\n", tests[i].cmd); 204 fprintf(stderr,"usbtest: %s: OKAY\n", tests[i].cmd);
|
/system/core/logd/ |
H A D | LogCommand.cpp | 27 LogCommand::LogCommand(const char* cmd) : FrameworkCommand(cmd) { argument
|
/system/extras/ext4_utils/ |
H A D | key_control.cpp | 8 static long keyctl(int cmd, ...) argument 13 va_start(va, cmd); 19 return syscall(__NR_keyctl, cmd, arg2, arg3, arg4, arg5);
|
/system/nfc/halimpl/pn54x/tml/ |
H A D | phDal4Nfc_messageQueueLib.c | 109 ** cmd, buf - ignored, included only for Linux queue API 116 int phDal4Nfc_msgctl(intptr_t msqid, int cmd, void* buf) { argument 119 UNUSED(cmd);
|