/system/nvram/core/ |
D | persistence.cpp | 46 storage::Status EncodeObject(const Object& object, Blob* blob) { in EncodeObject() 53 return storage::Status::kStorageError; in EncodeObject() 55 return storage::Status::kSuccess; in EncodeObject() 67 storage::Status DecodeObject(const Blob& blob, Object* object) { in DecodeObject() 74 return storage::Status::kStorageError; in DecodeObject() 76 return storage::Status::kSuccess; in DecodeObject() 99 storage::Status LoadHeader(NvramHeader* header) { in LoadHeader() 101 storage::Status status = storage::LoadHeader(&blob); in LoadHeader() 102 if (status != storage::Status::kSuccess) { in LoadHeader() 108 storage::Status StoreHeader(const NvramHeader& header) { in StoreHeader() [all …]
|
D | nvram_manager.cpp | 28 using namespace nvram::storage; 93 storage::Status SanitizeStorageStatus(storage::Status status) { in SanitizeStorageStatus() 95 case storage::Status::kSuccess: in SanitizeStorageStatus() 96 return storage::Status::kSuccess; in SanitizeStorageStatus() 97 case storage::Status::kNotFound: in SanitizeStorageStatus() 98 return storage::Status::kNotFound; in SanitizeStorageStatus() 99 case storage::Status::kStorageError: in SanitizeStorageStatus() 100 return storage::Status::kStorageError; in SanitizeStorageStatus() 103 return storage::Status::kStorageError; in SanitizeStorageStatus() 352 case storage::Status::kStorageError: in DeleteSpace() [all …]
|
/system/nvram/hal/ |
D | fake_nvram_storage.cpp | 65 nvram::storage::Status DeleteFile(const char* name) { in DeleteFile() 68 return nvram::storage::Status::kNotFound; in DeleteFile() 71 return nvram::storage::Status::kStorageError; in DeleteFile() 74 return nvram::storage::Status::kSuccess; in DeleteFile() 78 nvram::storage::Status LoadFile(const char* name, nvram::Blob* blob) { in LoadFile() 83 return nvram::storage::Status::kNotFound; in LoadFile() 86 return nvram::storage::Status::kStorageError; in LoadFile() 92 return nvram::storage::Status::kStorageError; in LoadFile() 97 return nvram::storage::Status::kStorageError; in LoadFile() 102 return nvram::storage::Status::kStorageError; in LoadFile() [all …]
|
/system/nvram/core/tests/ |
D | nvram_manager_test.cpp | 36 storage::Clear(); in NvramManagerTest() 44 ASSERT_EQ(storage::Status::kSuccess, persistence::StoreHeader(header)); in SetupHeader() 85 ASSERT_EQ(storage::Status::kSuccess, persistence::StoreSpace(1, space)); in TEST_F() 87 ASSERT_EQ(storage::Status::kSuccess, storage::LoadSpace(1, &space_blob)); in TEST_F() 89 ASSERT_EQ(storage::Status::kSuccess, storage::StoreSpace(1, space_blob)); in TEST_F() 96 ASSERT_EQ(storage::Status::kSuccess, persistence::StoreHeader(header)); in TEST_F() 98 ASSERT_EQ(storage::Status::kSuccess, storage::LoadHeader(&header_blob)); in TEST_F() 100 ASSERT_EQ(storage::Status::kSuccess, storage::StoreHeader(header_blob)); in TEST_F() 125 ASSERT_EQ(storage::Status::kSuccess, persistence::StoreSpace(1, space)); in TEST_F() 127 ASSERT_EQ(storage::Status::kSuccess, persistence::StoreSpace(2, space)); in TEST_F() [all …]
|
D | fake_storage.h | 23 namespace storage {
|
/system/core/liblog/ |
D | log_event_list.c | 45 uint8_t storage[LOGGER_ENTRY_MAX_PAYLOAD]; member 63 context->storage[context->pos + 0] = EVENT_TYPE_LIST; in create_android_logger() 81 memcpy(context->storage, msg, len); in create_android_log_parser() 126 context->storage[context->pos + 0] = EVENT_TYPE_LIST; in android_log_write_list_begin() 127 context->storage[context->pos + 1] = 0; in android_log_write_list_begin() 159 context->storage[context->pos + 0] = EVENT_TYPE_INT; in android_log_write_int32() 160 copy4LE(&context->storage[context->pos + 1], value); in android_log_write_int32() 194 context->storage[context->pos + 0] = EVENT_TYPE_LONG; in android_log_write_int64() 195 copy8LE(&context->storage[context->pos + 1], value); in android_log_write_int64() 228 context->storage[context->pos + 0] = EVENT_TYPE_STRING; in android_log_write_string8_len() [all …]
|
/system/nvram/core/include/nvram/core/ |
D | persistence.h | 131 storage::Status LoadHeader(NvramHeader* header); 134 storage::Status StoreHeader(const NvramHeader& header); 137 storage::Status LoadSpace(uint32_t index, NvramSpace* space); 140 storage::Status StoreSpace(uint32_t index, const NvramSpace& space); 143 storage::Status DeleteSpace(uint32_t index);
|
D | storage.h | 27 namespace storage {
|
/system/update_engine/ |
D | metrics_utils_unittest.cc | 153 int64_t storage = 0; in TEST() local 165 &storage, in TEST() 170 &storage, in TEST() 177 &storage, in TEST() 181 &storage, in TEST() 189 &storage, in TEST() 193 &storage, in TEST() 200 &storage, in TEST() 204 &storage, in TEST()
|
/system/chre/util/include/chre/util/ |
D | memory_impl.h | 114 auto *storage = static_cast<T *>(memoryAlloc(sizeof(T))); in memoryAlloc() local 115 if (storage != nullptr) { in memoryAlloc() 116 new(storage) T(std::forward<Args>(args)...); in memoryAlloc() 119 return storage; in memoryAlloc()
|
/system/core/libcutils/ |
D | native_handle.cpp | 25 native_handle_t* native_handle_init(char* storage, int numFds, int numInts) { in native_handle_init() argument 26 if ((uintptr_t) storage % alignof(native_handle_t)) { in native_handle_init() 31 native_handle_t* handle = (native_handle_t*) storage; in native_handle_init()
|
/system/core/libstats/ |
D | stats_event_list.c | 37 uint8_t storage[LOGGER_ENTRY_MAX_PAYLOAD]; member 62 context->storage[context->pos + 0] = EVENT_TYPE_LIST; in reset_log_context() 82 context->storage[1] = context->count[0]; in stats_write_list() 84 msg = (const char*)context->storage; in stats_write_list()
|
/system/core/libutils/include/utils/ |
D | VectorImpl.h | 102 virtual void do_construct(void* storage, size_t num) const = 0; 103 virtual void do_destroy(void* storage, size_t num) const = 0; 113 inline void _do_construct(void* storage, size_t num) const; 114 inline void _do_destroy(void* storage, size_t num) const;
|
D | SortedVector.h | 145 virtual void do_construct(void* storage, size_t num) const; 146 virtual void do_destroy(void* storage, size_t num) const; 257 UTILS_VECTOR_NO_CFI void SortedVector<TYPE>::do_construct(void* storage, size_t num) const { in do_construct() argument 258 construct_type( reinterpret_cast<TYPE*>(storage), num ); in do_construct() 262 void SortedVector<TYPE>::do_destroy(void* storage, size_t num) const { in do_destroy() argument 263 destroy_type( reinterpret_cast<TYPE*>(storage), num ); in do_destroy()
|
D | Vector.h | 216 virtual void do_construct(void* storage, size_t num) const; 217 virtual void do_destroy(void* storage, size_t num) const; 399 UTILS_VECTOR_NO_CFI void Vector<TYPE>::do_construct(void* storage, size_t num) const { in do_construct() argument 400 construct_type( reinterpret_cast<TYPE*>(storage), num ); in do_construct() 404 void Vector<TYPE>::do_destroy(void* storage, size_t num) const { in do_destroy() argument 405 destroy_type( reinterpret_cast<TYPE*>(storage), num ); in do_destroy()
|
/system/nvram/ |
D | README.md | 9 require a trusted storage location for critical data that an attacker can't 29 Note that the reference implementation leaves persistent storage to be handled 30 by the embedding code, which needs to provide an implementation of the storage 32 [system/nvram/core/include/nvram/core/storage.h](core/include/nvram/core/storage.h).
|
/system/core/trusty/ |
D | Android.bp | 5 "storage/*",
|
/system/tools/hidl/test/error_test/enum_storage/1.0/ |
D | required_error | 1 Must explicitly specify enum storage type
|
/system/chre/ash/platform/linux/ |
D | ash.cc | 24 bool ashLoadCalibrationParams(uint8_t sensorType, uint8_t storage, in ashLoadCalibrationParams() argument
|
/system/core/rootdir/ |
D | init.environ.rc.in | 7 export ANDROID_STORAGE /storage
|
/system/sepolicy/prebuilts/api/26.0/private/ |
D | adbd.te | 116 # Allow access to external storage; we have several visible mount points under /storage 117 # and symlinks to primary storage at places like /storage/sdcard0 and /mnt/user/0/primary
|
/system/sepolicy/prebuilts/api/27.0/private/ |
D | adbd.te | 118 # Allow access to external storage; we have several visible mount points under /storage 119 # and symlinks to primary storage at places like /storage/sdcard0 and /mnt/user/0/primary
|
/system/extras/boottime_tools/bootio/sepolicy/ |
D | bootio.te | 7 # Allow persistent storage in /data/misc/bootio.
|
/system/sepolicy/prebuilts/api/27.0/public/ |
D | bootstat.te | 7 # Allow persistent storage in /data/misc/bootstat.
|
/system/sepolicy/prebuilts/api/26.0/public/ |
D | bootstat.te | 7 # Allow persistent storage in /data/misc/bootstat.
|