Home
last modified time | relevance | path

Searched refs:idmap_data (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/cmds/idmap2/tests/
DIdmapTests.cpp422 auto idmap_data = TestIdmapDataFromApkAssets("/target/target.apk", "/overlay/overlay.apk", in TEST() local
426 ASSERT_TRUE(idmap_data) << idmap_data.GetErrorMessage(); in TEST()
427 auto& data = *idmap_data; in TEST()
444 auto idmap_data = TestIdmapDataFromApkAssets("/target/target.apk", "/overlay/overlay.apk", in TEST() local
448 ASSERT_TRUE(idmap_data) << idmap_data.GetErrorMessage(); in TEST()
449 auto& data = *idmap_data; in TEST()
/frameworks/base/cmds/idmap2/libidmap2/
DIdmap.cpp398 auto idmap_data = IdmapData::FromResourceMapping(*resource_mapping); in FromContainers() local
399 if (!idmap_data) { in FromContainers()
400 return idmap_data.GetError(); in FromContainers()
406 idmap->data_.push_back(std::move(*idmap_data)); in FromContainers()
/frameworks/base/libs/androidfw/
DApkAssets.cpp73 StringPiece idmap_data(reinterpret_cast<const char*>(idmap_asset->getBuffer(true /* aligned */)), in LoadOverlay()
75 auto loaded_idmap = LoadedIdmap::Load(idmap_path, idmap_data); in LoadOverlay()
DIdmap.cpp282 std::unique_ptr<LoadedIdmap> LoadedIdmap::Load(StringPiece idmap_path, StringPiece idmap_data) { in Load() argument
284 size_t data_size = idmap_data.size(); in Load()
285 auto data_ptr = reinterpret_cast<const uint8_t*>(idmap_data.data()); in Load()
/frameworks/base/libs/androidfw/include/androidfw/
DIdmap.h161 static std::unique_ptr<LoadedIdmap> Load(StringPiece idmap_path, StringPiece idmap_data);