Searched refs:idmap_data (Results 1 – 5 of 5) sorted by relevance
422 auto idmap_data = TestIdmapDataFromApkAssets("/target/target.apk", "/overlay/overlay.apk", in TEST() local426 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() local448 ASSERT_TRUE(idmap_data) << idmap_data.GetErrorMessage(); in TEST()449 auto& data = *idmap_data; in TEST()
398 auto idmap_data = IdmapData::FromResourceMapping(*resource_mapping); in FromContainers() local399 if (!idmap_data) { in FromContainers()400 return idmap_data.GetError(); in FromContainers()406 idmap->data_.push_back(std::move(*idmap_data)); in FromContainers()
73 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()
282 std::unique_ptr<LoadedIdmap> LoadedIdmap::Load(StringPiece idmap_path, StringPiece idmap_data) { in Load() argument284 size_t data_size = idmap_data.size(); in Load()285 auto data_ptr = reinterpret_cast<const uint8_t*>(idmap_data.data()); in Load()
161 static std::unique_ptr<LoadedIdmap> Load(StringPiece idmap_path, StringPiece idmap_data);