Home
last modified time | relevance | path

Searched refs:arg1 (Results 1 – 15 of 15) sorted by relevance

/system/extras/multinetwork/
Dcommon.cpp105 } else if (arg1 == nullptr) { in parseArguments()
106 arg1 = argv[i]; in parseArguments()
108 arg1 = nullptr; in parseArguments()
113 if (arg1 != nullptr) { in parseArguments()
Ddnschk.cpp44 std::cout << "# " << args.arg1 in main()
51 args.arg1, nullptr, &hints, &result); in main()
62 rval = getaddrinfo(args.arg1, nullptr, &hints, &result); in main()
Dcommon.h37 arg1(nullptr) {} in Arguments()
45 const char* arg1; member
Dhttpurl.cpp49 if (strncmp(args.arg1, HTTP_PREFIX, strlen(HTTP_PREFIX)) != 0) { in parseUrl()
54 parameters->host = std::string(args.arg1).substr(strlen(HTTP_PREFIX)); in parseUrl()
/system/core/adb/
Dadb_utils.cpp193 char arg0[12], arg1[12]; in dump_header() local
213 if (msg->arg1 < 256U) in dump_header()
214 snprintf(arg1, sizeof arg1, "%d", msg->arg1); in dump_header()
216 snprintf(arg1, sizeof arg1, "0x%x", msg->arg1); in dump_header()
218 return android::base::StringPrintf("[%s] arg0=%s arg1=%s (len=%d) ", cmd, arg0, arg1, len); in dump_header()
Dadb.cpp147 label, tag, p->msg.arg0, p->msg.arg1, p->msg.data_length); in print_packet()
174 p->msg.arg1 = remote; in send_ready()
184 p->msg.arg1 = remote; in send_close()
220 cp->msg.arg1 = t->get_max_payload(); in send_connect()
295 t->update_version(p->msg.arg0, p->msg.arg1); in handle_new_connection()
366 if (t->online && p->msg.arg0 != 0 && p->msg.arg1 == 0) { in handle_packet()
387 if (t->online && p->msg.arg0 != 0 && p->msg.arg1 != 0) { in handle_packet()
388 asocket* s = find_local_socket(p->msg.arg1, 0); in handle_packet()
400 p->msg.arg1, s->peer->id, p->msg.arg1, t->serial.c_str()); in handle_packet()
406 send_close(p->msg.arg1, p->msg.arg0, t); in handle_packet()
[all …]
Dtest_adb.py52 def _adb_packet(command: bytes, arg0: int, arg1: int, data: bytes) -> bytes:
54 buf = struct.pack("IIIIII", bin_command, arg0, arg1, len(data), 0,
Dsockets.cpp435 p->msg.arg1 = s->id; in remote_socket_enqueue()
454 p->msg.arg1 = s->id; in remote_socket_ready()
466 p->msg.arg1 = s->id; in remote_socket_shutdown()
Dtypes.h128 uint32_t arg1; /* second argument */ member
DSERVICES.TXT151 shell:command arg1 arg2 ...
152 Run 'command arg1 arg2 ...' in a shell on the device, and return
Dprotocol.txt34 unsigned arg1; /* second argument */
46 detail. Their format is COMMAND(arg0, arg1, payload) where the payload
/system/connectivity/wificond/scanning/offload/
Dhidl_call_util.h61 std::function<void(Arg1T, Arg2T)> saveArgs = [this](Arg1T arg1, Arg2T arg2) {
62 this->saved_values = {arg1, arg2};
/system/sepolicy/tools/
Dsepolicy-check.c43 int check(int op, uint16_t arg1, uint16_t arg2) { in check() argument
46 return arg1 == arg2; in check()
48 return arg1 != arg2; in check()
/system/update_engine/
Ddbus_test_utils.h83 mock_signal_handler->GrabCallbacks(arg0, arg1); in ACTION_P()
/system/connectivity/wificond/tests/
Dnetlink_utils_unittest.cpp284 arg1->push_back(unique_ptr<NL80211Packet>(new NL80211Packet(pkt))); in ACTION_P()