Home
last modified time | relevance | path

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

123

/system/core/logd/
DSerializedFlushToStateTest.cpp41 auto sequence_to_log_id = [&](uint64_t sequence) -> int { in TestReport() argument
43 if (std::find(sequences.begin(), sequences.end(), sequence) != sequences.end()) { in TestReport()
54 for (uint64_t sequence : missing_expected) { in TestReport() local
55 int log_id = sequence_to_log_id(sequence); in TestReport()
56 missing_sequences[log_id].emplace_back(sequence); in TestReport()
63 for (uint64_t sequence : extra_read) { in TestReport() local
64 int log_id = sequence_to_log_id(sequence); in TestReport()
65 extra_sequences[log_id].emplace_back(sequence); in TestReport()
88 for (uint64_t sequence = 0; sequence < max_sequence; ++sequence) { in TestAllReading() local
90 auto state = SerializedFlushToState{sequence, mask}; in TestAllReading()
[all …]
Dlibaudit.cpp98 static uint32_t sequence = 0; in audit_send() local
99 if (sequence == std::numeric_limits<uint32_t>::max()) { in audit_send()
100 sequence = 1; in audit_send()
102 sequence++; in audit_send()
104 req.nlh.nlmsg_seq = sequence; in audit_send()
120 rc = (rc == 0) ? (int)sequence : rc; in audit_send()
DLogReader.cpp169 uint64_t sequence = 1; in onDataAvailable() local
173 uint64_t last = sequence; in onDataAvailable()
174 auto log_find_start = [pid, start, &sequence, &start_time_set, &last]( in onDataAvailable()
181 sequence = element_sequence; in onDataAvailable()
186 sequence = last; in onDataAvailable()
194 auto flush_to_state = log_buffer_->CreateFlushToState(sequence, logMask); in onDataAvailable()
201 sequence = log_buffer_->sequence(); in onDataAvailable()
218 logMask, pid, start, sequence, deadline); in onDataAvailable()
DLogReaderThread.h41 LogMask log_mask, pid_t pid, log_time start_time, uint64_t sequence,
68 FilterResult FilterFirstPass(log_id_t log_id, pid_t pid, uint64_t sequence, log_time realtime);
69 FilterResult FilterSecondPass(log_id_t log_id, pid_t pid, uint64_t sequence, log_time realtime);
DSimpleLogBuffer.cpp98 auto sequence = sequence_.fetch_add(1, std::memory_order_relaxed); in Log() local
99 LogInternal(LogBufferElement(log_id, realtime, uid, pid, tid, sequence, msg, len)); in Log()
136 const std::function<FilterResult(log_id_t log_id, pid_t pid, uint64_t sequence, in FlushTo() argument
152 if (it->sequence() == state.start()) { in FlushTo()
154 } else if (it->sequence() < state.start()) { in FlushTo()
164 state.set_start(element.sequence()); in FlushTo()
176 filter(element.log_id(), element.pid(), element.sequence(), element.realtime()); in FlushTo()
306 if (oldest && oldest->start() <= element.sequence()) { in Prune()
DSerializedLogEntry.h36 SerializedLogEntry(uid_t uid, pid_t pid, pid_t tid, uint64_t sequence, log_time realtime, in SerializedLogEntry() argument
41 sequence_(sequence), in SerializedLogEntry()
85 uint64_t sequence() const { return sequence_; } in sequence() function
DSerializedLogChunk.cpp106 SerializedLogEntry* SerializedLogChunk::Log(uint64_t sequence, log_time realtime, uid_t uid, in Log() argument
109 auto* entry = new (new_log_address) SerializedLogEntry(uid, pid, tid, sequence, realtime, len); in Log()
112 highest_sequence_number_ = sequence; in Log()
DLogReaderThread.cpp72 [this](log_id_t log_id, pid_t pid, uint64_t sequence, log_time realtime) { in ThreadFunction() argument
73 return FilterFirstPass(log_id, pid, sequence, realtime); in ThreadFunction()
78 [this](log_id_t log_id, pid_t pid, uint64_t sequence, log_time realtime) { in ThreadFunction() argument
79 return FilterSecondPass(log_id, pid, sequence, realtime); in ThreadFunction()
DSerializedFlushToState.h40 return entry->sequence() > rhs.entry->sequence();
DSerializedLogBuffer.cpp82 auto sequence = sequence_.fetch_add(1, std::memory_order_relaxed); in Log() local
96 auto entry = logs_[log_id].back().Log(sequence, realtime, uid, pid, tid, msg, len); in Log()
223 const std::function<FilterResult(log_id_t log_id, pid_t pid, uint64_t sequence, in FlushTo() argument
235 if (entry->sequence() < state.start()) { in FlushTo()
238 state.set_start(entry->sequence()); in FlushTo()
245 auto ret = filter(log_id, entry->pid(), entry->sequence(), entry->realtime()); in FlushTo()
DLogBuffer.h67 const std::function<FilterResult(log_id_t log_id, pid_t pid, uint64_t sequence,
74 virtual uint64_t sequence() const = 0;
DLogBufferElement.h38 uint64_t sequence, const char* msg, uint16_t len);
56 uint64_t sequence() const { return sequence_; } in sequence() function
DSerializedLogBuffer.h46 const std::function<FilterResult(log_id_t log_id, pid_t pid, uint64_t sequence,
53 uint64_t sequence() const override { return sequence_.load(std::memory_order_relaxed); } in sequence() function
DSimpleLogBuffer.h40 const std::function<FilterResult(log_id_t log_id, pid_t pid, uint64_t sequence,
47 uint64_t sequence() const override { return sequence_.load(std::memory_order_relaxed); } in sequence() function
/system/tools/xsdc/tests/resources/simple_complex_content/
Dsimple_complex_content.xsd4 <xs:sequence>
10 </xs:sequence>
16 <xs:sequence>
19 </xs:sequence>
26 <xs:sequence>
30 </xs:sequence>
48 <xs:sequence>
53 </xs:sequence>
58 <xs:sequence>
65 </xs:sequence>
/system/tools/xsdc/tests/resources/nested_type/
Dnested_type.xsd4 <xs:sequence>
9 <xs:sequence>
15 <xs:sequence>
18 </xs:sequence>
29 </xs:sequence>
33 </xs:sequence>
/system/tools/xsdc/tests/resources/group/
Dgroup.xsd3 <xs:sequence>
6 </xs:sequence>
9 <xs:sequence>
11 </xs:sequence>
/system/tools/xsdc/tests/resources/predefined_types/
Dpredefined_types.xsd3 <xs:sequence>
15 </xs:sequence>
18 <xs:sequence>
28 </xs:sequence>
31 <xs:sequence>
46 </xs:sequence>
49 <xs:sequence>
60 </xs:sequence>
63 <xs:sequence>
99 </xs:sequence>
[all …]
/system/tools/xsdc/
DREADME.md17 <xs:sequence>
19 </xs:sequence>
29 <xs:sequence>
31 </xs:sequence>
54 <xs:sequence>
56 </xs:sequence>
66 <xs:sequence>
70 </xs:sequence>
167 "xsd:sequence": [
/system/tools/xsdc/tests/resources/reference/
Dreference.xsd6 <xs:sequence>
8 </xs:sequence>
/system/tools/xsdc/tests/resources/attr_group_simple/
Dattr_group_simple.xsd12 <xs:sequence>
14 </xs:sequence>
/system/vold/
DCheckpoint.cpp420 uint32_t sequence; member
573 if (index == 0 && ls.sequence != 0) { in restoreSector()
635 LOG(INFO) << action << " " << original_ls.sequence << " log sectors"; in cp_restoreCheckpoint()
637 for (int sequence = original_ls.sequence; sequence >= 0 && status.isOk(); sequence--) { in cp_restoreCheckpoint() local
655 if ((int)ls.sequence != sequence) { in cp_restoreCheckpoint()
656 status = error(EINVAL, "Expecting log sector " + std::to_string(sequence) + in cp_restoreCheckpoint()
657 " but got " + std::to_string(ls.sequence)); in cp_restoreCheckpoint()
661 LOG(INFO) << action << " from log sector " << ls.sequence; in cp_restoreCheckpoint()
/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()
/system/extras/verity/
DBootSignature.java105 ASN1Sequence sequence = (ASN1Sequence) stream.readObject(); in BootSignature() local
107 formatVersion = (ASN1Integer) sequence.getObjectAt(0); in BootSignature()
112 certificate = sequence.getObjectAt(1); in BootSignature()
120 ASN1Sequence algId = (ASN1Sequence) sequence.getObjectAt(2); in BootSignature()
124 ASN1Sequence attrs = (ASN1Sequence) sequence.getObjectAt(3); in BootSignature()
128 this.signature = (DEROctetString) sequence.getObjectAt(4); in BootSignature()
/system/chre/host/msm/daemon/idl/
Dchre_slpi.idl33 long get_message_to_host(rout sequence<octet> buffer,
36 long deliver_message_from_host(in sequence<octet> message);

123