Home
last modified time | relevance | path

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

/packages/services/Car/cpp/evs/sampleDriver/hidl/
DConfigManager.cpp529 size_t num_entry = *(reinterpret_cast<size_t*>(p)); in readConfigDataFromBinary() local
536 if (aCamera == nullptr || !aCamera->allocate(num_entry, num_data)) { in readConfigDataFromBinary()
577 for (auto idx = 0; idx < num_entry; ++idx) { in readConfigDataFromBinary()
634 size_t num_entry = *(reinterpret_cast<size_t*>(p)); in readConfigDataFromBinary() local
641 if (aCamera == nullptr || !aCamera->allocate(num_entry, num_data)) { in readConfigDataFromBinary()
678 for (auto idx = 0; idx < num_entry; ++idx) { in readConfigDataFromBinary()
784 size_t num_entry = 0; in writeConfigDataToBinary() local
787 num_entry = get_camera_metadata_entry_count(camInfo->characteristics); in writeConfigDataToBinary()
790 outFile.write(reinterpret_cast<const char*>(&num_entry), sizeof(size_t)); in writeConfigDataToBinary()
794 if (num_entry > 0) { in writeConfigDataToBinary()
[all …]
/packages/services/Car/cpp/evs/sampleDriver/aidl/src/
DConfigManager.cpp528 const size_t num_entry = *(reinterpret_cast<size_t*>(p)); in readConfigDataFromBinary() local
535 if (aCamera == nullptr || !aCamera->allocate(num_entry, num_data)) { in readConfigDataFromBinary()
577 for (size_t idx = 0; idx < num_entry; ++idx) { in readConfigDataFromBinary()
634 const size_t num_entry = *(reinterpret_cast<size_t*>(p)); in readConfigDataFromBinary() local
641 if (aCamera == nullptr || !aCamera->allocate(num_entry, num_data)) { in readConfigDataFromBinary()
679 for (size_t idx = 0; idx < num_entry; ++idx) { in readConfigDataFromBinary()
783 size_t num_entry = 0; in writeConfigDataToBinary() local
786 num_entry = get_camera_metadata_entry_count(camInfo->characteristics); in writeConfigDataToBinary()
789 outFile.write(reinterpret_cast<const char*>(&num_entry), sizeof(size_t)); in writeConfigDataToBinary()
793 if (num_entry > 0) { in writeConfigDataToBinary()
[all …]