Home
last modified time | relevance | path

Searched refs:ResTable_overlayable_policy_header (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tools/aapt2/format/binary/
DBinaryResourceParser.cpp455 const ResTable_overlayable_policy_header* policy_header = in ParseOverlayable()
456 ConvertTo<ResTable_overlayable_policy_header>(parser.chunk()); in ParseOverlayable()
459 if (policy_header->policy_flags & ResTable_overlayable_policy_header::POLICY_PUBLIC) { in ParseOverlayable()
463 & ResTable_overlayable_policy_header::POLICY_SYSTEM_PARTITION) { in ParseOverlayable()
467 & ResTable_overlayable_policy_header::POLICY_VENDOR_PARTITION) { in ParseOverlayable()
471 & ResTable_overlayable_policy_header::POLICY_PRODUCT_PARTITION) { in ParseOverlayable()
475 & ResTable_overlayable_policy_header::POLICY_SIGNATURE) { in ParseOverlayable()
479 & ResTable_overlayable_policy_header::POLICY_ODM_PARTITION) { in ParseOverlayable()
483 & ResTable_overlayable_policy_header::POLICY_OEM_PARTITION) { in ParseOverlayable()
DTableFlattener.cpp485 policy_flags |= ResTable_overlayable_policy_header::POLICY_PUBLIC; in FlattenOverlayable()
488 policy_flags |= ResTable_overlayable_policy_header::POLICY_SYSTEM_PARTITION; in FlattenOverlayable()
491 policy_flags |= ResTable_overlayable_policy_header::POLICY_VENDOR_PARTITION; in FlattenOverlayable()
494 policy_flags |= ResTable_overlayable_policy_header::POLICY_PRODUCT_PARTITION; in FlattenOverlayable()
497 policy_flags |= ResTable_overlayable_policy_header::POLICY_SIGNATURE; in FlattenOverlayable()
500 policy_flags |= ResTable_overlayable_policy_header::POLICY_ODM_PARTITION; in FlattenOverlayable()
503 policy_flags |= ResTable_overlayable_policy_header::POLICY_OEM_PARTITION; in FlattenOverlayable()
547 auto* policy_type = policy_writer.StartChunk<ResTable_overlayable_policy_header>( in FlattenOverlayable()
/frameworks/base/libs/androidfw/tests/
DLoadedArsc_test.cpp299 EXPECT_THAT(info->policy_flags, Eq(ResTable_overlayable_policy_header::POLICY_PUBLIC)); in TEST()
306 Eq(ResTable_overlayable_policy_header::POLICY_SYSTEM_PARTITION in TEST()
307 | ResTable_overlayable_policy_header::POLICY_PRODUCT_PARTITION)); in TEST()
314 Eq(ResTable_overlayable_policy_header::POLICY_VENDOR_PARTITION in TEST()
315 | ResTable_overlayable_policy_header::POLICY_PRODUCT_PARTITION)); in TEST()
321 EXPECT_THAT(info->policy_flags, Eq(ResTable_overlayable_policy_header::POLICY_PUBLIC)); in TEST()
/frameworks/base/cmds/idmap2/include/idmap2/
DPolicies.h37 using PolicyFlags = ResTable_overlayable_policy_header::PolicyFlags;
/frameworks/base/libs/androidfw/
DLoadedArsc.cpp615 const ResTable_overlayable_policy_header* policy_header = in Load()
616 overlayable_child_chunk.header<ResTable_overlayable_policy_header>(); in Load()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h1631 struct ResTable_overlayable_policy_header struct