HomeSort by relevance Sort by last modified time
    Searched defs:nvram (Results 1 - 25 of 33) sorted by null

1 2

  /system/nvram/messages/tests/
io_test.cpp 22 #include <nvram/messages/io.h>
24 namespace nvram { namespace
346 } // namespace nvram
nvram_messages_test.cpp 22 #include <nvram/messages/nvram_messages.h>
24 namespace nvram { namespace
418 } // namespace nvram
  /system/nvram/core/
crypto.h 25 namespace nvram { namespace
43 } // namespace nvram
crypto_boringssl.cpp 26 namespace nvram { namespace
48 } // namespace nvram
persistence.cpp 17 #include "nvram/core/persistence.h"
19 #include <nvram/messages/io.h>
20 #include <nvram/messages/proto.hpp>
22 #include <nvram/core/logger.h>
24 namespace nvram { namespace
140 } // namespace nvram
  /system/nvram/core/tests/
fake_storage.h 20 #include <nvram/core/storage.h>
22 namespace nvram { namespace
43 } // namespace nvram
  /system/nvram/hal/include/nvram/hal/tests/
scoped_nvram_device.h 24 #include <hardware/nvram.h>
26 namespace nvram { namespace
80 } // namespace nvram
  /system/nvram/messages/
nvram_messages.cpp 17 #include <nvram/messages/nvram_messages.h>
19 #include <nvram/messages/blob.h>
20 #include <nvram/messages/io.h>
21 #include <nvram/messages/proto.hpp>
23 namespace nvram { namespace
179 return nvram::proto::Encode(msg, &stream) && stream.Truncate();
185 if (!nvram::proto::Encode(msg, &stream)) {
195 return nvram::proto::Decode(msg, &stream) && stream.Done();
207 } // namespace nvram
blob.cpp 17 #include <nvram/messages/blob.h>
24 namespace nvram { namespace
77 } // namespace nvram
io.cpp 17 #include <nvram/messages/io.h>
23 #include <nvram/messages/compiler.h>
25 namespace nvram { namespace
326 } // namespace nvram
message_codec.cpp 17 #include <nvram/messages/message_codec.h>
19 namespace nvram { namespace
138 } // namespace nvram
  /system/nvram/core/include/nvram/core/
storage.h 24 #include <nvram/messages/blob.h>
26 namespace nvram { namespace
36 // Load NVRAM header from storage. See the comment on LoadSpace() for details on
40 // Write the binary-encoded NVRAM header |blob| to storage. See the comment on
44 // Load NVRAM space data for a given index from storage.
57 // Write the NVRAM space data for the given index to storage.
76 // Delete the stored NVRAM space data for the given index.
78 // This function must atomically delete the storage corresponding to the NVRAM
94 } // namespace nvram
nvram_manager.h 20 #include <nvram/messages/nvram_messages.h>
22 #include <nvram/core/persistence.h>
24 namespace nvram { namespace
27 // NVRAM HAL backend. It keeps track of the allocated spaces and their state,
61 // NVRAM when a user invokes a full hardware reset. Note that in regular
63 // NVRAM.
65 // If a full hardware reset can conveniently clear the access-controlled NVRAM
72 // area used by access-controlled NVRAM, the wiping commands are provided to
87 // Holds transient state corresponding to an allocated NVRAM space, i.e. meta
141 // Maximum number of NVRAM spaces we're willing to allocate
    [all...]
persistence.h 24 #include <nvram/messages/optional.h>
25 #include <nvram/messages/struct.h>
26 #include <nvram/messages/vector.h>
28 #include <nvram/core/storage.h>
30 namespace nvram { namespace
32 // The NVRAM header data structure, which holds global information used by the
33 // NVRAM service, such as version and a list of defined spaces.
89 // All data corresponding to a single NVRAM space is held in an NvramSpace
130 // Load NVRAM header from storage.
133 // Write the NVRAM header to storage
    [all...]
  /system/nvram/hal/include/nvram/hal/
nvram_device_adapter.h 22 #include <hardware/nvram.h>
23 #include <nvram/messages/nvram_messages.h>
25 namespace nvram { namespace
27 // |NvramImplementation| subclasses provide an implementation of the NVRAM HAL
33 // This function services all operations defined for the NVRAM HAL. The input
36 virtual void Execute(const nvram::Request& request,
37 nvram::Response* response) = 0;
41 // into an |nvram_device_t| as defined by the NVRAM HAL C API. This is intended
65 } // namespace nvram
  /system/nvram/messages/include/nvram/messages/
blob.h 25 #include <nvram/messages/compiler.h>
27 namespace nvram { namespace
72 } // namespace nvram
optional.h 20 namespace nvram { namespace
49 } // namespace nvram
type_traits.h 28 namespace nvram { namespace
92 } // namespace nvram
message_codec.h 25 #include <nvram/messages/compiler.h>
26 #include <nvram/messages/io.h>
28 namespace nvram { namespace
142 } // namespace nvram
struct.h 106 #include <nvram/messages/type_traits.h>
108 namespace nvram { namespace
281 } // namespace nvram
vector.h 28 #include <nvram/messages/compiler.h>
30 namespace nvram { namespace
167 } // namespace nvram
tagged_union.h 97 #include <nvram/messages/compiler.h>
99 namespace nvram { namespace
301 } // namespace nvram
  /system/nvram/hal/
fake_nvram_storage.cpp 17 #include <nvram/core/storage.h>
30 #include <nvram/core/logger.h>
32 // An NVRAM storage layer implementation backed by the file system.
35 // access-controlled NVRAM implementations, since the file system can't provide
65 nvram::storage::Status DeleteFile(const char* name) {
68 return nvram::storage::Status::kNotFound;
71 return nvram::storage::Status::kStorageError;
74 return nvram::storage::Status::kSuccess;
78 nvram::storage::Status LoadFile(const char* name, nvram::Blob* blob)
167 namespace nvram { namespace
    [all...]
memory_storage.cpp 17 #include <nvram/core/storage.h>
19 namespace nvram { namespace
121 } // namespace nvram
  /system/nvram/hal/tests/
scoped_nvram_device.cc 17 #include "nvram/hal/tests/scoped_nvram_device.h"
21 #include <hardware/nvram.h>
35 namespace nvram { namespace
41 LOG(ERROR) << "Failed to load NVRAM module: " << result;
46 LOG(ERROR) << "Failed to open NVRAM device: " << result;
51 LOG(ERROR) << "Unsupported NVRAM HAL version.";
62 LOG(WARNING) << "Failed to close NVRAM device: " << result;
236 } // namespace nvram

Completed in 294 milliseconds

1 2