Home
last modified time | relevance | path

Searched refs:policy_flags (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/tools/aapt2/format/binary/
DTableFlattener.cpp483 uint32_t policy_flags = 0; in FlattenOverlayable() local
485 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()
506 auto policy = overlayable_chunk->policy_ids.find(policy_flags); in FlattenOverlayable()
511 std::make_pair(policy_flags, std::set<ResourceId>{id})); in FlattenOverlayable()
[all …]
DBinaryResourceParser.cpp459 if (policy_header->policy_flags & ResTable_overlayable_policy_header::POLICY_PUBLIC) { in ParseOverlayable()
462 if (policy_header->policy_flags in ParseOverlayable()
466 if (policy_header->policy_flags in ParseOverlayable()
470 if (policy_header->policy_flags in ParseOverlayable()
474 if (policy_header->policy_flags in ParseOverlayable()
478 if (policy_header->policy_flags in ParseOverlayable()
482 if (policy_header->policy_flags in ParseOverlayable()
/frameworks/base/libs/androidfw/tests/
DLoadedArsc_test.cpp299 EXPECT_THAT(info->policy_flags, Eq(ResTable_overlayable_policy_header::POLICY_PUBLIC)); in TEST()
305 EXPECT_THAT(info->policy_flags, in TEST()
313 EXPECT_THAT(info->policy_flags, in TEST()
321 EXPECT_THAT(info->policy_flags, Eq(ResTable_overlayable_policy_header::POLICY_PUBLIC)); in TEST()
/frameworks/base/libs/androidfw/include/androidfw/
DLoadedArsc.h84 uint32_t policy_flags; member
DResourceTypes.h1663 uint32_t policy_flags; member
/frameworks/base/cmds/idmap2/libidmap2/
DIdmap.cpp313 if ((overlayable_info->policy_flags & fulfilled_policies) == 0) { in CheckOverlayable()
316 ConcatPolicies(BitmaskToPolicies(overlayable_info->policy_flags)).c_str()); in CheckOverlayable()
/frameworks/base/libs/androidfw/
DLoadedArsc.cpp641 overlayable_info.policy_flags = policy_header->policy_flags; in Load()