Home
last modified time | relevance | path

Searched refs:arg1 (Results 1 – 14 of 14) 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.cpp160 label, tag, p->msg.arg0, p->msg.arg1, p->msg.data_length); in print_packet()
187 p->msg.arg1 = remote; in send_ready()
197 p->msg.arg1 = remote; in send_close()
242 cp->msg.arg1 = t->get_max_payload(); in send_connect()
317 t->update_version(p->msg.arg0, p->msg.arg1); in handle_new_connection()
324 ADB_LOG(Connection) << "received CNXN: version=" << p->msg.arg0 << ", maxdata = " << p->msg.arg1 in handle_new_connection()
410 if (t->online && p->msg.arg0 != 0 && p->msg.arg1 == 0) { in handle_packet()
431 if (t->online && p->msg.arg0 != 0 && p->msg.arg1 != 0) { in handle_packet()
432 asocket* s = find_local_socket(p->msg.arg1, 0); in handle_packet()
444 p->msg.arg1, s->peer->id, p->msg.arg1, t->serial.c_str()); in handle_packet()
[all …]
Dsockets.cpp436 p->msg.arg1 = s->id; in remote_socket_enqueue()
455 p->msg.arg1 = s->id; in remote_socket_ready()
467 p->msg.arg1 = s->id; in remote_socket_shutdown()
Dtypes.h126 uint32_t arg1; /* second argument */ member
Dtest_adb.py59 def _adb_packet(command: bytes, arg0: int, arg1: int, data: bytes) -> bytes:
61 buf = struct.pack("IIIIII", bin_command, arg0, arg1, len(data), 0,
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/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.h85 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()