Home
last modified time | relevance | path

Searched refs:data_capacity (Results 1 – 7 of 7) sorted by relevance

/system/media/camera/tests/
Dcamera_metadata_tests.cpp52 const size_t data_capacity = 32; in TEST() local
54 m = allocate_camera_metadata(entry_capacity, data_capacity); in TEST()
60 EXPECT_EQ(data_capacity, get_camera_metadata_data_capacity(m)); in TEST()
114 const size_t data_capacity = 32; in TEST() local
117 data_capacity); in TEST()
125 m = place_camera_metadata(buf, buf_size, entry_capacity, data_capacity); in TEST()
131 EXPECT_EQ(data_capacity, get_camera_metadata_data_capacity(m)); in TEST()
143 const size_t data_capacity = 32; in TEST() local
146 data_capacity); in TEST()
156 m = place_camera_metadata(buf, buf_size, entry_capacity, data_capacity); in TEST()
[all …]
/system/media/camera/src/
Dcamera_metadata.c102 metadata_size_t data_capacity; member
158 _Static_assert(offsetof(camera_metadata_t, data_capacity) == 28,
250 size_t data_capacity) { in allocate_camera_metadata() argument
253 data_capacity); in allocate_camera_metadata()
256 buffer, memory_needed, entry_capacity, data_capacity); in allocate_camera_metadata()
269 size_t data_capacity) { in place_camera_metadata() argument
273 data_capacity); in place_camera_metadata()
288 metadata->data_capacity = data_capacity; in place_camera_metadata()
342 return metadata->data_capacity; in get_camera_metadata_data_capacity()
482 if (header->data_count > header->data_capacity) { in validate_camera_metadata_structure()
[all …]
/system/core/adb/
Dshell_service_protocol.cpp45 size_t read_length = std::min(bytes_left_, data_capacity()); in Read()
Dshell_protocol.h71 size_t data_capacity() const { return buffer_end_ - data(); } in data_capacity() function
/system/media/camera/include/system/
Dcamera_metadata.h168 size_t data_capacity);
203 size_t data_capacity);
/system/core/adb/client/
Dcommandline.cpp438 size_t l = snprintf(shell->data(), shell->data_capacity(), "%dx%d,%dx%d", in send_window_size_change()
485 buffer_size = args->protocol->data_capacity(); in stdin_read_thread_loop()
/system/core/adb/daemon/
Dshell_service.cpp706 int bytes = adb_read(*sfd, output_->data(), output_->data_capacity()); in PassOutput()