Home
last modified time | relevance | path

Searched refs:GetPackageId (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/libs/androidfw/tests/
DLoadedArsc_test.cpp61 EXPECT_THAT(package->GetPackageId(), Eq(0x7f)); in TEST()
143 EXPECT_THAT(packages[0]->GetPackageId(), Eq(0)); in TEST()
164 EXPECT_THAT(packages[0]->GetPackageId(), Eq(0x7f)); in TEST()
191 EXPECT_THAT(packages[0]->GetPackageId(), Eq(0x7f)); in TEST()
389 EXPECT_THAT(package->GetPackageId(), Eq(0x7f)); in TEST()
/frameworks/base/tools/aapt2/process/
DIResourceTableConsumer.h50 virtual uint8_t GetPackageId() = 0;
/frameworks/base/cmds/idmap2/libidmap2/
DResourceContainer.cpp54 return loaded_arsc->GetPackageById(packages[0]->GetPackageId()); in GetPackageAtIndex0()
187 const uint8_t package_id = overlay_package->GetPackageId(); in CreateResourceMapping()
414 return REWRITE_PACKAGE(*id, (*state)->package->GetPackageId()); in GetResourceId()
/frameworks/base/tools/aapt2/optimize/
DMultiApkGenerator.cpp79 uint8_t GetPackageId() override { in GetPackageId() function in aapt::ContextWrapper
80 return context_->GetPackageId(); in GetPackageId()
/frameworks/base/tools/aapt2/test/
DContext.h59 uint8_t GetPackageId() override { in GetPackageId() function
/frameworks/base/libs/androidfw/include/androidfw/
DLoadedArsc.h192 int GetPackageId() const { in GetPackageId() function
/frameworks/base/tools/aapt2/cmd/
DLink.cpp133 uint8_t GetPackageId() override { in GetPackageId() function in aapt::LinkContext
1774 context_->GetPackageId() != kAppPackageId && in WriteApk()
1775 context_->GetPackageId() != kFrameworkPackageId) in WriteApk()
1776 || (!options_.allow_reserved_package_id && context_->GetPackageId() > kAppPackageId); in WriteApk()
1807 table->included_packages_.erase(context_->GetPackageId()); in WriteApk()
1888 context_->GetPackageId())); in Run()
1924 if (context_->GetPackageId() == kAndroidPackageId && in Run()
DDump.cpp100 uint8_t GetPackageId() override { in GetPackageId() function in aapt::__anon06c516f60111::DumpContext
DConvert.cpp227 uint8_t GetPackageId() override { in GetPackageId() function in aapt::Context
DOptimize.cpp86 uint8_t GetPackageId() override { in GetPackageId() function in aapt::OptimizeContext
DDiff.cpp44 uint8_t GetPackageId() override { in GetPackageId() function in aapt::DiffContext
DCompile.cpp614 uint8_t GetPackageId() override { in GetPackageId() function in aapt::CompileContext
/frameworks/base/tools/aapt2/compile/
DIdAssigner.cpp127 IdAssignerContext assigned_ids(context->GetCompilationPackage(), context->GetPackageId()); in Consume()
/frameworks/base/libs/androidfw/
DAssetManager2.cpp179 package_id = package->GetPackageId(); in BuildDynamicRefTable()
196 ref_table->mAppAsLib = package->IsDynamic() && package->GetPackageId() == 0x7f; in BuildDynamicRefTable()
261 loaded_package->GetPackageId(), in DumpToLog()
DLoadedArsc.cpp416 if (loaded_package->GetPackageId() == package_id) { in GetPackageById()
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener_test.cpp307 const ResourceId resid(context->GetPackageId(), 0x02, static_cast<uint16_t>(i)); in BuildTableWithSparseEntries()