/system/nvram/hal/tests/ |
D | scoped_nvram_device.cc | 158 const std::string& authorization_value) { in CreateSpace() argument 164 StringToBytePtr(authorization_value), authorization_value.size()); in CreateSpace() 169 const std::string& authorization_value) { in DeleteSpace() argument 171 StringToBytePtr(authorization_value), in DeleteSpace() 172 authorization_value.size()); in DeleteSpace() 185 const std::string& authorization_value) { in WriteSpace() argument 190 data.size(), StringToBytePtr(authorization_value), in WriteSpace() 191 authorization_value.size()); in WriteSpace() 197 const std::string& authorization_value, in ReadSpace() argument 205 device_, index, num_bytes_to_read, StringToBytePtr(authorization_value), in ReadSpace() [all …]
|
D | nvram_hal_test.cc | 66 const std::string& authorization_value) override { in CreateSpace() argument 71 authorization_value == kNoAuth || in CreateSpace() 72 authorization_value == kBurnSpaceAuth) in CreateSpace() 75 index, size_in_bytes, control_list, authorization_value); in CreateSpace() 109 const std::string& authorization_value) in ScopedNvramSpace() argument 112 authorization_value_(authorization_value) { in ScopedNvramSpace()
|
/system/nvram/hal/include/nvram/hal/tests/ |
D | scoped_nvram_device.h | 59 const std::string& authorization_value); 61 const std::string& authorization_value); 65 const std::string& authorization_value); 68 const std::string& authorization_value, 72 const std::string& authorization_value); 74 const std::string& authorization_value);
|
/system/nvram/hal/ |
D | nvram_device_adapter.cpp | 178 const uint8_t* authorization_value, in device_create_space() argument 189 if (!create_space_request.authorization_value.Assign( in device_create_space() 190 authorization_value, authorization_value_size)) { in device_create_space() 200 const uint8_t* authorization_value, in device_delete_space() argument 204 if (!delete_space_request.authorization_value.Assign( in device_delete_space() 205 authorization_value, authorization_value_size)) { in device_delete_space() 224 const uint8_t* authorization_value, in device_write_space() argument 229 !write_space_request.authorization_value.Assign( in device_write_space() 230 authorization_value, authorization_value_size)) { in device_write_space() 241 const uint8_t* authorization_value, in device_read_space() argument [all …]
|
/system/nvram/messages/include/nvram/messages/ |
D | nvram_messages.h | 67 Blob authorization_value; member 87 Blob authorization_value; member 101 Blob authorization_value; member 109 Blob authorization_value; member 119 Blob authorization_value; member 127 Blob authorization_value; member
|
/system/nvram/messages/ |
D | nvram_messages.cpp | 49 MakeField(4, &CreateSpaceRequest::authorization_value)); 72 MakeField(2, &DeleteSpaceRequest::authorization_value)); 91 MakeField(3, &WriteSpaceRequest::authorization_value)); 101 MakeField(2, &ReadSpaceRequest::authorization_value)); 112 MakeField(2, &LockSpaceWriteRequest::authorization_value)); 122 MakeField(2, &LockSpaceReadRequest::authorization_value));
|
/system/nvram/core/ |
D | nvram_manager.cpp | 220 if (request.authorization_value.size() > kMaxAuthSize) { in CreateSpace() 259 if (!space.authorization_value.Assign(request.authorization_value.data(), in CreateSpace() 260 request.authorization_value.size())) { in CreateSpace() 338 result = space_record.CheckWriteAccess(request.authorization_value); in DeleteSpace() 407 result = space_record.CheckWriteAccess(request.authorization_value); in WriteSpace() 453 result = space_record.CheckReadAccess(request.authorization_value); in ReadSpace() 482 result = space_record.CheckWriteAccess(request.authorization_value); in LockSpaceWrite() 514 result = space_record.CheckReadAccess(request.authorization_value); in LockSpaceRead() 599 const Blob& authorization_value) { in CheckWriteAccess() argument 616 !ConstantTimeEquals(persistent.authorization_value, in CheckWriteAccess() [all …]
|
D | persistence.cpp | 93 MakeField(3, &NvramSpace::authorization_value),
|
/system/nvram/messages/tests/ |
D | nvram_messages_test.cpp | 95 ASSERT_TRUE(request_payload.authorization_value.Assign(kAuthValue, in TEST() 111 const Blob& decoded_auth_value = decoded_payload->authorization_value; in TEST() 183 ASSERT_TRUE(request_payload.authorization_value.Assign(kAuthValue, in TEST() 195 const Blob& decoded_auth_value = decoded_payload->authorization_value; in TEST() 246 ASSERT_TRUE(request_payload.authorization_value.Assign(kAuthValue, in TEST() 261 const Blob& decoded_auth_value = decoded_payload->authorization_value; in TEST() 286 ASSERT_TRUE(request_payload.authorization_value.Assign(kAuthValue, in TEST() 298 const Blob& decoded_auth_value = decoded_payload->authorization_value; in TEST() 331 ASSERT_TRUE(request_payload.authorization_value.Assign(kAuthValue, in TEST() 343 const Blob& decoded_auth_value = decoded_payload->authorization_value; in TEST() [all …]
|
/system/nvram/core/include/nvram/core/ |
D | nvram_manager.h | 107 nvram_result_t CheckWriteAccess(const Blob& authorization_value); 113 nvram_result_t CheckReadAccess(const Blob& authorization_value);
|
D | persistence.h | 122 Blob authorization_value; member
|
/system/nvram/core/tests/ |
D | nvram_manager_test.cpp | 314 ASSERT_TRUE(create_space_request.authorization_value.Resize(256)); in TEST_F() 469 ASSERT_TRUE(space.authorization_value.Assign(kAuthorizationValue, in TEST_F() 829 ASSERT_TRUE(space.authorization_value.Assign(kAuthorizationValue, in TEST_F() 889 ASSERT_TRUE(space.authorization_value.Assign(kAuthorizationValue, in TEST_F() 924 ASSERT_TRUE(space.authorization_value.Assign(kAuthorizationValue, in TEST_F() 1044 ASSERT_TRUE(space.authorization_value.Assign(kAuthorizationValue, in TEST_F()
|