Home
last modified time | relevance | path

Searched refs:data_bytes (Results 1 – 2 of 2) sorted by relevance

/system/media/camera/src/
Dcamera_metadata.c386 size_t data_bytes = data_count * camera_metadata_type_size[type]; in validate_and_calculate_camera_metadata_entry_data_size() local
389 *data_size = data_bytes <= 4 ? 0 : ALIGN_TO(data_bytes, DATA_ALIGNMENT); in validate_and_calculate_camera_metadata_entry_data_size()
399 size_t data_bytes = data_count * in calculate_camera_metadata_entry_data_size() local
402 return data_bytes <= 4 ? 0 : ALIGN_TO(data_bytes, DATA_ALIGNMENT); in calculate_camera_metadata_entry_data_size()
682 size_t data_bytes = in add_camera_metadata_entry_raw() local
684 if (data_bytes + dst->data_count > dst->data_capacity) return ERROR; in add_camera_metadata_entry_raw()
694 if (data_bytes == 0) { in add_camera_metadata_entry_raw()
701 dst->data_count += data_bytes; in add_camera_metadata_entry_raw()
823 size_t data_bytes = calculate_camera_metadata_entry_data_size(entry->type, in delete_camera_metadata_entry() local
826 if (data_bytes > 0) { in delete_camera_metadata_entry()
[all …]
/system/bt/gd/hci/
Dhci_layer.cc367 void aclDataReceived(hal::HciPacket data_bytes) override { in aclDataReceived()
368 …acket::PacketView<packet::kLittleEndian>(std::make_shared<std::vector<uint8_t>>(move(data_bytes))); in aclDataReceived()
373 void scoDataReceived(hal::HciPacket data_bytes) override { in scoDataReceived()
377 void isoDataReceived(hal::HciPacket data_bytes) override { in isoDataReceived()
378 …acket::PacketView<packet::kLittleEndian>(std::make_shared<std::vector<uint8_t>>(move(data_bytes))); in isoDataReceived()