// Implements request callbacks class AvbManager { public: // AvbManager takes ownership of |storage|, so |storage| will be deleted // when AvbManager is destructed.
AvbManager(SecureStorageInterface* storage) : storage_(storage) {}
void ReadRollbackIndex(const RollbackIndexRequest& request,
RollbackIndexResponse* response); void WriteRollbackIndex(const RollbackIndexRequest& request,
RollbackIndexResponse* response); // Client is responsible for managing versioning, by sending an initial // "GetVersion" request. Note this means that the "GetVersion" request // cannot be versioned. void GetVersion(const GetVersionRequest& request,
GetVersionResponse* response); // The Avb service provides storage for Android Things permanent attributes // structure, but these must still be verified against write-once fuses. void ReadPermanentAttributes(const ReadPermanentAttributesRequest& request,
ReadPermanentAttributesResponse* response); void WritePermanentAttributes( const WritePermanentAttributesRequest& request,
WritePermanentAttributesResponse* response); void ReadLockState(const ReadLockStateRequest& request,
ReadLockStateResponse* response); void WriteLockState(const WriteLockStateRequest& request,
WriteLockStateResponse* response);
private: int DeleteRollbackIndexFiles();
UniquePtr<SecureStorageInterface> storage_;
};
} // namespace avb
#endif// AVB_MANAGER_H_
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.12 Sekunden
(vorverarbeitet am 2026-06-26)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.