Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DIdmap.cpp221 const StringPiece& idmap_data) { in Load() argument
223 if (!IsValidIdmapHeader(idmap_data)) { in Load()
227 auto header = reinterpret_cast<const Idmap_header*>(idmap_data.data()); in Load()
228 const uint8_t* data_ptr = reinterpret_cast<const uint8_t*>(idmap_data.data()) + header->Size(); in Load()
229 size_t data_size = idmap_data.size() - header->Size(); in Load()
DApkAssets.cpp385 const StringPiece idmap_data( in LoadOverlay()
388 std::unique_ptr<const LoadedIdmap> loaded_idmap = LoadedIdmap::Load(idmap_path, idmap_data); in LoadOverlay()
/frameworks/base/cmds/idmap2/tests/
DIdmapTests.cpp314 auto idmap_data = TestIdmapDataFromApkAssets("/target/target.apk", "/overlay/overlay.apk", info, in TEST() local
318 ASSERT_TRUE(idmap_data) << idmap_data.GetErrorMessage(); in TEST()
319 auto& data = *idmap_data; in TEST()
338 auto idmap_data = TestIdmapDataFromApkAssets("/target/target.apk", "/overlay/overlay.apk", info, in TEST() local
342 ASSERT_TRUE(idmap_data) << idmap_data.GetErrorMessage(); in TEST()
343 auto& data = *idmap_data; in TEST()
/frameworks/base/cmds/idmap2/libidmap2/
DIdmap.cpp382 auto idmap_data = IdmapData::FromResourceMapping(*resource_mapping); in FromApkAssets() local
383 if (!idmap_data) { in FromApkAssets()
384 return idmap_data.GetError(); in FromApkAssets()
390 idmap->data_.push_back(std::move(*idmap_data)); in FromApkAssets()
/frameworks/base/libs/androidfw/include/androidfw/
DIdmap.h146 const StringPiece& idmap_data);