Home
last modified time | relevance | path

Searched refs:sequence (Results 1 – 25 of 35) sorted by relevance

12

/system/core/logd/
DLogReader.cpp119 uint64_t sequence = 1; in onDataAvailable() local
127 uint64_t &sequence; in onDataAvailable() member in LogReader::onDataAvailable::LogFindStart
132 … LogFindStart(unsigned logMask, pid_t pid, log_time &start, uint64_t &sequence, bool isMonotonic) : in onDataAvailable() argument
137 sequence(sequence), in onDataAvailable()
138 last(sequence), in onDataAvailable()
147 me->sequence = element->getSequence(); in onDataAvailable()
153 me->sequence = me->last; in onDataAvailable()
166 } logFindStart(logMask, pid, start, sequence, in onDataAvailable()
169 logbuf().flushTo(cli, sequence, FlushCommand::hasReadLogs(cli), in onDataAvailable()
178 sequence = LogBufferElement::getCurrentSequence(); in onDataAvailable()
[all …]
Dlibaudit.c86 static int16_t sequence = 0; in audit_send() local
132 req.nlh.nlmsg_seq = ++sequence; in audit_send()
150 rc = get_ack(fd, sequence); in audit_send()
153 rc = (rc == 0) ? (int) sequence : rc; in audit_send()
157 if (sequence < 0) { in audit_send()
159 sequence = 0; in audit_send()
DLogBufferElement.h51 static atomic_int_fast64_t sequence; variable
77 static uint64_t getCurrentSequence(void) { return sequence.load(memory_order_relaxed); } in getCurrentSequence()
DLogBufferElement.cpp35 atomic_int_fast64_t LogBufferElement::sequence(1); member in LogBufferElement
45 mSequence(sequence.fetch_add(1, memory_order_relaxed)), in LogBufferElement()
/system/connectivity/shill/net/
Drtnl_handler_unittest.cc94 void SetRequestSequence(uint32_t sequence) { in SetRequestSequence() argument
95 RTNLHandler::GetInstance()->request_sequence_ = sequence; in SetRequestSequence()
98 bool IsSequenceInErrorMaskWindow(uint32_t sequence) { in IsSequenceInErrorMaskWindow() argument
99 return RTNLHandler::GetInstance()->IsSequenceInErrorMaskWindow(sequence); in IsSequenceInErrorMaskWindow()
102 void SetErrorMask(uint32_t sequence, in SetErrorMask() argument
104 return RTNLHandler::GetInstance()->SetErrorMask(sequence, error_mask); in SetErrorMask()
107 RTNLHandler::ErrorMask GetAndClearErrorMask(uint32_t sequence) { in GetAndClearErrorMask() argument
108 return RTNLHandler::GetInstance()->GetAndClearErrorMask(sequence); in GetAndClearErrorMask()
126 void ReturnError(uint32_t sequence, int error_number);
181 void RTNLHandlerTest::ReturnError(uint32_t sequence, int error_number) { in ReturnError() argument
[all …]
Drtnl_handler.cc488 bool RTNLHandler::IsSequenceInErrorMaskWindow(uint32_t sequence) { in IsSequenceInErrorMaskWindow() argument
489 return (request_sequence_ - sequence) < kErrorWindowSize; in IsSequenceInErrorMaskWindow()
492 void RTNLHandler::SetErrorMask(uint32_t sequence, const ErrorMask& error_mask) { in SetErrorMask() argument
493 if (IsSequenceInErrorMaskWindow(sequence)) { in SetErrorMask()
494 error_mask_window_[sequence % kErrorWindowSize] = error_mask; in SetErrorMask()
498 RTNLHandler::ErrorMask RTNLHandler::GetAndClearErrorMask(uint32_t sequence) { in GetAndClearErrorMask() argument
500 if (IsSequenceInErrorMaskWindow(sequence)) { in GetAndClearErrorMask()
501 error_mask.swap(error_mask_window_[sequence % kErrorWindowSize]); in GetAndClearErrorMask()
Drtnl_handler.h170 bool IsSequenceInErrorMaskWindow(uint32_t sequence);
173 void SetErrorMask(uint32_t sequence, const ErrorMask& error_mask);
178 ErrorMask GetAndClearErrorMask(uint32_t sequence);
Dnetlink_packet.cc131 void MutableNetlinkPacket::SetMessageSequence(uint32_t sequence) { in SetMessageSequence() argument
132 mutable_header()->nlmsg_seq = sequence; in SetMessageSequence()
Dnetlink_packet.h120 void SetMessageSequence(uint32_t sequence);
/system/core/fastboot/
Dudp_test.cpp37 static std::string ErrorPacket(uint16_t sequence, const std::string& message = "", in ErrorPacket() argument
39 return std::string{kIdError, flags} + PacketValue(sequence) + message; in ErrorPacket()
43 static std::string QueryPacket(uint16_t sequence) { in QueryPacket() argument
44 return std::string{kIdDeviceQuery, kFlagNone} + PacketValue(sequence); in QueryPacket()
48 static std::string QueryPacket(uint16_t sequence, uint16_t new_sequence) { in QueryPacket() argument
49 return std::string{kIdDeviceQuery, kFlagNone} + PacketValue(sequence) + in QueryPacket()
54 static std::string InitPacket(uint16_t sequence, uint16_t version, uint16_t max_packet_size) { in InitPacket() argument
55 return std::string{kIdInitialization, kFlagNone} + PacketValue(sequence) + in InitPacket()
60 static std::string FastbootPacket(uint16_t sequence, const std::string& data = "", in FastbootPacket() argument
62 return std::string{kIdFastboot, flags} + PacketValue(sequence) + data; in FastbootPacket()
Dudp.cpp73 void Set(uint8_t id, uint16_t sequence, Flag flag);
86 void Header::Set(uint8_t id, uint16_t sequence, Flag flag) { in Set() argument
89 bytes_[kIndexSeqH] = sequence >> 8; in Set()
90 bytes_[kIndexSeqL] = sequence; in Set()
Dfastboot_protocol.txt257 Seq # 2-byte packet sequence number (big-endian). The host will increment
259 corresponding sequence number in the response packets.
265 The host will not know the current sequence number, so the device must
266 respond to all query packets regardless of sequence number.
269 giving the next expected sequence number.
329 Given a next expected sequence number S and a received packet P, the device
333 else if P has sequence == S:
335 * create a response packet R with the same ID and sequence as P, containing
339 else if P has sequence == S - 1:
345 In the examples below, S indicates the starting client sequence number.
/system/extras/verity/
DBootSignature.java94 ASN1Sequence sequence = (ASN1Sequence) stream.readObject(); in BootSignature() local
96 formatVersion = (ASN1Integer) sequence.getObjectAt(0); in BootSignature()
101 certificate = sequence.getObjectAt(1); in BootSignature()
109 ASN1Sequence algId = (ASN1Sequence) sequence.getObjectAt(2); in BootSignature()
113 ASN1Sequence attrs = (ASN1Sequence) sequence.getObjectAt(3); in BootSignature()
117 this.signature = (DEROctetString) sequence.getObjectAt(4); in BootSignature()
DKeystoreSigner.java126 ASN1Sequence sequence = (ASN1Sequence) stream.readObject(); in parse() local
128 formatVersion = (ASN1Integer) sequence.getObjectAt(0); in parse()
133 ASN1Sequence keys = (ASN1Sequence) sequence.getObjectAt(1); in parse()
139 ASN1Object sig = sequence.getObjectAt(2).toASN1Primitive(); in parse()
/system/connectivity/shill/
Drouting_table.h53 Query() : sequence(0), tag(0), table_id(0) {} in Query()
58 : sequence(sequence_in), in Query()
63 uint32_t sequence; member
Drouting_table.cc356 << ", next query seq: " << route_queries_.front().sequence; in RouteMsgHandler()
362 while (route_queries_.front().sequence - message.seq() > kuint32max / 2) { in RouteMsgHandler()
364 << route_queries_.front().sequence in RouteMsgHandler()
372 if (query.sequence == message.seq()) { in RouteMsgHandler()
Dicmp.cc84 icmp_header.un.echo.sequence = seq_num; in TransmitEchoRequest()
Dicmp_session.cc196 uint16_t received_seq_num = received_icmp_header->un.echo.sequence; in OnEchoReplyReceived()
Dicmp_unittest.cc173 icmp_header.un.echo.sequence = 1; in TEST_F()
/system/core/liblog/
Dpmsg_reader.c498 size_t sequence, tag_len; in __android_log_pmsg_file_read() local
505 sequence = 0; in __android_log_pmsg_file_read()
530 while (sequence < content->entry.nsec) { in __android_log_pmsg_file_read()
538 sequence += ANDROID_LOG_PMSG_FILE_SEQUENCE; in __android_log_pmsg_file_read()
560 sequence = content->entry.nsec + ANDROID_LOG_PMSG_FILE_SEQUENCE; in __android_log_pmsg_file_read()
/system/tpm/trunks/
Dresource_manager_test.cc232 TPMS_CONTEXT CreateContext(UINT64 sequence) { in CreateContext() argument
235 context.sequence = sequence; in CreateContext()
240 std::string CreateContextParameter(UINT64 sequence) { in CreateContextParameter() argument
242 Serialize_TPMS_CONTEXT(CreateContext(sequence), &buffer); in CreateContextParameter()
761 EXPECT_CALL(tpm_, ContextLoadSync(Field(&TPMS_CONTEXT::sequence, Eq(1u)), in TEST_F()
/system/tpm/trunks/generator/
Draw_commands.txt1194 since the first command is required to be TPM2_Startup(), the expected sequence will be that
2188 A Shutdown/Startup sequence determines the way in which the TPM will operate in response to
2226 Additional actions are performed based on the Shutdown/Startup sequence.
2252 the object context sequence number is reset to zero,
2306 If a CRTM Event sequence is active, extend the PCR designated by the platform-specific
2493 start up type is not compatible with previous shutdown sequence
2538 // Translate the TPM2_ShutDown and TPM2_Startup sequence into the startup
5517 If objectHandle references a sequence object, the TPM shall return TPM_RC_SEQUENCE.
5658 can not read the public area of a sequence object
5680 // Can not read public area of a sequence object
[all …]
Draw_commands_fixed.txt1194 since the first command is required to be TPM2_Startup(), the expected sequence will be that
2188 A Shutdown/Startup sequence determines the way in which the TPM will operate in response to
2226 Additional actions are performed based on the Shutdown/Startup sequence.
2252 the object context sequence number is reset to zero,
2306 If a CRTM Event sequence is active, extend the PCR designated by the platform-specific
2493 start up type is not compatible with previous shutdown sequence
2538 // Translate the TPM2_ShutDown and TPM2_Startup sequence into the startup
5519 If objectHandle references a sequence object, the TPM shall return TPM_RC_SEQUENCE.
5660 can not read the public area of a sequence object
5682 // Can not read public area of a sequence object
[all …]
/system/core/libmemunreachable/
DREADME.md35 The sequence of steps required to perform a leak detection pass is divided into three processes - t…
/system/core/init/
Dreadme.txt89 Each action in the queue is dequeued in sequence and each command in
90 that action is executed in sequence. Init handles other activities
471 the boot sequence has finished, the trace report is obtained from the device

12