platform_build/tools/aconfig
Dennis Shen 808bf915a8 aconfig: update aconfig_storage_read_api c++ lib
Now the read api lib no longer owns the memory mapped file. The rust lib
aconfig_storage_read_api api to get memory mapped file just returns an
Mmap rust struct. However cxx does not support Mmap data type, so we
cannot export the api to get memory mapped file from rust to c++. This
means we have to implement c++ apis to get memory mapped files.

This change is basically implementing c++ api to get memory mapped files,
mirroring the rust implementation. In addition, the integration test is
also updated to lock down the new c++ api implementation.

Bug: b/321077378
Test: atest aconfig_storage_read_api.test.cpp
Change-Id: I5e93a220cdd05cc0e5b0eb441284ac3e9dc34da7
2024-03-13 20:29:13 +00:00
..
aconfig aconfig: add storage file type into storage file serialization 2024-03-12 12:43:31 +00:00
aconfig_protos aconfig_proto: add document for container filed 2024-03-06 15:36:34 +00:00
aconfig_storage_file aconfig: update aconfig_storage_file crate unit test to lockdown file 2024-03-12 22:40:53 +00:00
aconfig_storage_read_api aconfig: update aconfig_storage_read_api c++ lib 2024-03-13 20:29:13 +00:00
aconfig_storage_write_api aconfig: add rust integration test for aconfig_storage_write_api 2024-03-12 19:09:04 +00:00
aflags Merge "aflags: show staged values for each flag." into main 2024-03-13 17:01:14 +00:00
fake_device_config Modify dependencies of fake_device_config 2024-02-13 06:54:49 +00:00
overrideflags overrideflags: change local override list name 2023-10-23 18:19:29 +00:00
printflags printflags: print flags declared in mainline module 2024-03-04 22:03:05 +00:00
.gitignore aconfig: add support for cargo 2023-05-03 09:41:11 +02:00
Cargo.toml aconfig: create aconfig_storage_write_api crate 2024-03-11 14:26:38 +00:00
MODULE_LICENSE_APACHE2
OWNERS aconfig: update aconfig owners 2023-12-08 19:14:17 +00:00
PREUPLOAD.cfg
rustfmt.toml
TEST_MAPPING aconfig: add rust integration test for aconfig_storage_write_api 2024-03-12 19:09:04 +00:00