Home
last modified time | relevance | path

Searched refs:WriteState (Results 1 – 8 of 8) sorted by relevance

/system/teeui/libteeui/include/teeui/
Dcbor.h165 class WriteState {
167 WriteState() : data_(nullptr), size_(0), error_(Error::OK) {}
168 WriteState(uint8_t* buffer, size_t size) : data_(buffer), size_(size), error_(Error::OK) {}
169 WriteState(uint8_t* buffer, size_t size, Error error)
172 WriteState(uint8_t (&buffer)[size]) : data_(buffer), size_(size), error_(Error::OK) {}
174 WriteState& operator++() {
183 WriteState& operator+=(size_t offset) {
199 WriteState writeHeader(WriteState wState, Type type, const uint64_t value);
202 template <typename T> WriteState writeNumber(WriteState wState, const T& v) {
211 inline WriteState write(const WriteState& wState, const uint8_t& v) {
[all …]
Dgeneric_operation.h96 auto state = write(WriteState(formattedMessageBuffer_), in init()
/system/teeui/libteeui/src/
Dcbor.cpp29 WriteState writeBytes(WriteState state, uint64_t value, uint8_t size) { in writeBytes()
57 WriteState writeHeader(WriteState wState, Type type, const uint64_t value) { in writeHeader()
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot_stats.h60 virtual bool WriteState() = 0;
86 bool WriteState() override;
Dmock_snapshot_merge_stats.h47 MOCK_METHOD(bool, WriteState, (), (override));
/system/core/fs_mgr/libsnapshot/
Dsnapshot_stats.cpp47 bool SnapshotMergeStats::WriteState() { in WriteState() function in android::snapshot::SnapshotMergeStats
84 return WriteState(); in Start()
Dsnapshot_stub.cpp142 bool WriteState() override { return false; } in WriteState() function in android::snapshot::SnapshotMergeStatsStub
/system/update_engine/aosp/
Dcleanup_previous_update_action.cc415 if (!merge_stats_->WriteState()) { in InitiateMergeAndWait()