Home
last modified time | relevance | path

Searched refs:seq (Results 1 – 25 of 38) sorted by relevance

12

/system/extras/tests/net_test/
Dpackets.py77 def SYN(dport, version, srcaddr, dstaddr, sport=0, seq=TCP_SEQ): argument
84 seq=seq, ack=0,
94 ack=original.seq + was_syn_or_fin, seq=None,
103 ack=original.seq + 1, seq=None,
116 ack=original.seq + ack_delta, seq=original.ack,
128 ack=original.seq + ack_delta, seq=original.ack,
167 icmp(id=PING_IDENT, seq=PING_SEQ) / PING_PAYLOAD)
177 icmp(id=PING_IDENT, seq=PING_SEQ) / PING_PAYLOAD)
Dnetlink.py137 self.seq = 0
144 self.seq += 1
175 nlmsg = NLMsgHdr((length, command, flags, self.seq, self.pid)).Pack()
237 nlmsghdr = NLMsgHdr((length, command, flags, self.seq, self.pid))
Drun_net_test.sh70 for id in $(seq 0 $(( NUMTAPINTERFACES - 1 )) ); do
/system/vold/
Dvdc.cpp86 int seq = getpid(); in do_cmd() local
88 std::string cmd(android::base::StringPrintf("%d ", seq)); in do_cmd()
108 return do_monitor(sock, seq); in do_cmd()
154 int seq = atoi(strtok(nullptr, " ")); in do_monitor() local
155 if (seq == stop_after_seq) { in do_monitor()
/system/core/adb/
Dsysdeps_win32_test.cpp172 for (const auto& seq : multi_byte_sequences) { in TEST() local
176 for (size_t i = 0; i < seq.size() - 1; ++i) { in TEST()
177 buffer.push_back(seq[i]); in TEST()
183 std::vector<char>(seq.begin(), seq.begin() + i + 1)); in TEST()
187 buffer.push_back(seq.back()); in TEST()
/system/extras/perfprofd/
Dperfprofdcore.cc656 int seq; in post_process() local
657 while(fscanf(fp, "%d\n", &seq) > 0) { in post_process()
659 "%s/perf.data.encoded.%d", dest_dir.c_str(),seq).c_str()) == 0) { in post_process()
660 processed.insert(seq); in post_process()
669 int seq; in post_process() local
670 while(fscanf(fp, "%d\n", &seq) > 0) { in post_process()
671 if (processed.find(seq) == processed.end()) { in post_process()
672 produced.insert(seq); in post_process()
704 static PROFILE_RESULT collect_profile(const ConfigReader &config, int seq) in collect_profile() argument
776 "%s.encoded.%d", data_file_path.c_str(), seq); in collect_profile()
[all …]
/system/core/fastboot/
Dudp_test.cpp89 for (uint16_t seq : kTestSequenceNumbers) { in TEST_F() local
91 mock_socket_->AddReceive(QueryPacket(0, seq)); in TEST_F()
92 mock_socket_->ExpectSend(InitPacket(seq, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
93 mock_socket_->AddReceive(InitPacket(seq, kProtocolVersion, 1024)); in TEST_F()
349 for (uint16_t seq : kTestSequenceNumbers) { in TEST_F() local
350 ASSERT_TRUE(InitializeTransport(seq)); in TEST_F()
353 mock_socket_->ExpectSend(FastbootPacket(++seq, "foo")); in TEST_F()
354 mock_socket_->AddReceive(FastbootPacket(seq, "")); in TEST_F()
355 mock_socket_->ExpectSend(FastbootPacket(++seq, "")); in TEST_F()
356 mock_socket_->AddReceive(FastbootPacket(seq, "bar")); in TEST_F()
/system/core/libutils/
DLooper.cpp369 removeFd(fd, response.request.seq); in pollInner()
468 request.seq = mNextRequestSeq++; in addFd()
528 int Looper::removeFd(int fd, int seq) { in removeFd() argument
530 ALOGD("%p ~ removeFd - fd=%d, seq=%d", this, fd, seq); in removeFd()
541 if (seq != -1 && mRequests.valueAt(requestIndex).seq != seq) { in removeFd()
544 this, mRequests.valueAt(requestIndex).seq); in removeFd()
555 if (seq != -1 && (errno == EBADF || errno == ENOENT)) { in removeFd()
/system/connectivity/shill/net/
Drtnl_message.h153 uint32_t seq,
169 uint32_t seq() const { return seq_; } in seq() function
170 void set_seq(uint32_t seq) { seq_ = seq; } in set_seq() argument
Drtnl_handler.cc221 void RTNLHandler::NextRequest(uint32_t seq) { in NextRequest() argument
225 VLOG(2) << "RTNLHandler nextrequest " << seq << " " in NextRequest()
231 if (seq != last_dump_sequence_) in NextRequest()
267 last_dump_sequence_ = msg.seq(); in NextRequest()
Drtnl_handler.h155 void NextRequest(uint32_t seq);
Dnl80211_message.h56 void set_sequence_number(uint32_t seq) { sequence_number_ = seq; } in set_sequence_number() argument
Drtnl_message.cc57 uint32_t seq, in RTNLMessage() argument
64 seq_(seq), in RTNLMessage()
Dattribute_list_unittest.cc94 InSequence seq; in TEST_F() local
/system/core/logd/
Dlibaudit.c39 static int get_ack(int fd, int16_t seq) in get_ack() argument
62 if ((int16_t)rep.nlh.nlmsg_seq != seq) { in get_ack()
64 "expected %u got %u", seq, rep.nlh.nlmsg_seq); in get_ack()
/system/extras/tests/sdcard/
Dprofile_sdcard.sh39 for p in $(seq 1 8); do
/system/core/include/utils/
DLooper.h424 int seq; member
474 int removeFd(int fd, int seq);
/system/bt/test/
Drun_unit_tests.sh102 for i in $(seq 1 ${iterations})
/system/connectivity/shill/
Drouting_table.cc354 SLOG(this, 3) << __func__ << ": Message seq: " << message.seq() in RouteMsgHandler()
362 while (route_queries_.front().sequence - message.seq() > kuint32max / 2) { in RouteMsgHandler()
365 << " (< " << message.seq() << ")"; in RouteMsgHandler()
372 if (query.sequence == message.seq()) { in RouteMsgHandler()
542 route_queries_.push_back(Query(message.seq(), tag, callback, table_id)); in RequestRouteToHost()
Dcrypto_util_proxy_unittest.cc124 InSequence seq; in StartAndCheckShim() local
233 InSequence seq; in TEST_F() local
263 InSequence seq; in TEST_F() local
Darp_client_unittest.cc225 InSequence seq; in TEST_F() local
280 InSequence seq; in TEST_F() local
Dicmp_unittest.cc187 InSequence seq; in TEST_F() local
Drouting_table_unittest.cc95 uint32_t seq,
247 uint32_t seq, in SendRouteEntryWithSeqAndProto() argument
253 seq, in SendRouteEntryWithSeqAndProto()
/system/bt/stack/avdt/
Davdt_scb_act.c254 UINT16 seq; in avdt_scb_hdl_pkt_no_frag() local
265 BE_STREAM_TO_UINT16(seq, p); in avdt_scb_hdl_pkt_no_frag()
307 p_data->p_pkt->layer_specific = seq; in avdt_scb_hdl_pkt_no_frag()
322 p_scb->media_buf_len,time_stamp,seq,m_pt,marker); in avdt_scb_hdl_pkt_no_frag()
428 UINT16 seq; in avdt_scb_hdl_pkt_frag() local
581 BE_STREAM_TO_UINT16(seq, p_payload); in avdt_scb_hdl_pkt_frag()
630 payload_len, time_stamp, seq, m_pt, marker); in avdt_scb_hdl_pkt_frag()
/system/connectivity/shill/cellular/
Dcellular_service_unittest.cc242 InSequence seq; in TEST_F() local
274 InSequence seq; in TEST_F() local
325 InSequence seq; in TEST_F() local

12