Home
last modified time | relevance | path

Searched refs:max_space_size (Results 1 – 9 of 9) sorted by relevance

/system/nvram/hal/tests/
Dnvram_hal_test.cc221 uint64_t max_space_size = 0; in TEST() local
222 ASSERT_EQ(NV_RESULT_SUCCESS, device.GetMaxSpaceSizeInBytes(&max_space_size)); in TEST()
225 EXPECT_LE(max_space_size, total_size); in TEST()
226 EXPECT_GE(max_space_size, 32u); in TEST()
314 uint64_t max_space_size = 0; in TEST() local
315 ASSERT_EQ(NV_RESULT_SUCCESS, device.GetMaxSpaceSizeInBytes(&max_space_size)); in TEST()
319 std::min(max_space_size, available_size)); in TEST()
518 uint64_t max_space_size = 0; in TEST() local
519 ASSERT_EQ(NV_RESULT_SUCCESS, device.GetMaxSpaceSizeInBytes(&max_space_size)); in TEST()
520 if (max_space_size > 32) { in TEST()
[all …]
Dscoped_nvram_device.cc84 uint64_t* max_space_size) { in GetMaxSpaceSizeInBytes() argument
88 return device_->get_max_space_size_in_bytes(device_, max_space_size); in GetMaxSpaceSizeInBytes()
/system/nvram/hal/include/nvram/hal/tests/
Dscoped_nvram_device.h45 virtual nvram_result_t GetMaxSpaceSizeInBytes(uint64_t* max_space_size);
/system/nvram/hal/
Dnvram_device_adapter.cpp82 uint64_t* max_space_size) { in device_get_max_space_size_in_bytes() argument
87 *max_space_size = get_info_response.max_space_size; in device_get_max_space_size_in_bytes()
/system/nvram/client/
Dnvram_client.c128 uint64_t max_space_size = 0; in HandleGetMaxSpaceSize() local
130 device->get_max_space_size_in_bytes(device, &max_space_size); in HandleGetMaxSpaceSize()
135 printf("%" PRIu64 "\n", max_space_size); in HandleGetMaxSpaceSize()
/system/nvram/messages/include/nvram/messages/
Dnvram_messages.h56 uint64_t max_space_size = 0; member
/system/nvram/messages/
Dnvram_messages.cpp40 MakeField(5, &GetInfoResponse::max_space_size),
/system/nvram/messages/tests/
Dnvram_messages_test.cpp57 response_payload.max_space_size = 512; in TEST()
76 EXPECT_EQ(512ULL, decoded_payload->max_space_size); in TEST()
/system/nvram/core/
Dnvram_manager.cpp177 response->max_space_size = kMaxSpaceSize; in GetInfo()