Home
last modified time | relevance | path

Searched refs:available_size (Results 1 – 10 of 10) sorted by relevance

/system/nvram/hal/tests/
Dnvram_hal_test.cc212 uint64_t available_size = 0; in TEST() local
213 ASSERT_EQ(NV_RESULT_SUCCESS, device.GetAvailableSizeInBytes(&available_size)); in TEST()
216 EXPECT_LE(available_size, total_size); in TEST()
316 uint64_t available_size = 0; in TEST() local
317 ASSERT_EQ(NV_RESULT_SUCCESS, device.GetAvailableSizeInBytes(&available_size)); in TEST()
319 std::min(max_space_size, available_size)); in TEST()
Dscoped_nvram_device.cc76 uint64_t* available_size) { in GetAvailableSizeInBytes() argument
80 return device_->get_available_size_in_bytes(device_, available_size); in GetAvailableSizeInBytes()
/system/nvram/hal/include/nvram/hal/tests/
Dscoped_nvram_device.h44 virtual nvram_result_t GetAvailableSizeInBytes(uint64_t* available_size);
/system/nvram/client/
Dnvram_client.c115 uint64_t available_size = 0; in HandleGetAvailableSize() local
117 device->get_available_size_in_bytes(device, &available_size); in HandleGetAvailableSize()
122 printf("%" PRIu64 "\n", available_size); in HandleGetAvailableSize()
/system/nvram/hal/
Dnvram_device_adapter.cpp72 uint64_t* available_size) { in device_get_available_size_in_bytes() argument
77 *available_size = get_info_response.available_size; in device_get_available_size_in_bytes()
/system/extras/ext4_utils/
Dcontents.c384 size_t available_size = xattr_free_space(first, block_end); in xattr_addto_range() local
387 if (needed_size > available_size) in xattr_addto_range()
399 char *val = (char *) new_entry + available_size - EXT4_XATTR_SIZE(value_len); in xattr_addto_range()
/system/nvram/messages/include/nvram/messages/
Dnvram_messages.h55 uint64_t available_size = 0; member
/system/nvram/messages/
Dnvram_messages.cpp37 MakeField(2, &GetInfoResponse::available_size),
/system/nvram/messages/tests/
Dnvram_messages_test.cpp56 response_payload.available_size = 4096; in TEST()
75 EXPECT_EQ(4096ULL, decoded_payload->available_size); in TEST()
/system/nvram/core/
Dnvram_manager.cpp176 response->available_size = kMaxSpaceSize * (kMaxSpaces - num_spaces_); in GetInfo()