Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DIdmap.cpp118 std::unique_ptr<const LoadedIdmap> LoadedIdmap::Load(const StringPiece& idmap_data) { in Load() argument
120 if (!IsValidIdmapHeader(idmap_data)) { in Load()
124 const Idmap_header* header = reinterpret_cast<const Idmap_header*>(idmap_data.data()); in Load()
129 const uint8_t* data_ptr = reinterpret_cast<const uint8_t*>(idmap_data.data()) + sizeof(*header); in Load()
130 size_t data_size = idmap_data.size() - sizeof(*header); in Load()
DApkAssets.cpp62 const StringPiece idmap_data( in LoadOverlay()
65 std::unique_ptr<const LoadedIdmap> loaded_idmap = LoadedIdmap::Load(idmap_data); in LoadOverlay()
/frameworks/base/libs/androidfw/tests/
DApkAssets_test.cpp96 util::unique_cptr<void> idmap_data; in TEST() local
103 idmap_data.reset(temp_data); in TEST()
106 ASSERT_TRUE(base::WriteFully(tf.fd, idmap_data.get(), idmap_len)); in TEST()
/frameworks/base/libs/androidfw/include/androidfw/
DIdmap.h42 static std::unique_ptr<const LoadedIdmap> Load(const StringPiece& idmap_data);