Searched refs:PoliciesToBitmask (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/cmds/idmap2/tests/ |
D | PoliciesTests.cpp | 29 const auto bitmask1 = PoliciesToBitmask({"system"}); in TEST() 33 const auto bitmask2 = PoliciesToBitmask({"system", "vendor"}); in TEST() 37 const auto bitmask3 = PoliciesToBitmask({"vendor", "system"}); in TEST() 41 const auto bitmask4 = PoliciesToBitmask({"odm", "oem", "public", "product", "system", "vendor"}); in TEST() 48 const auto bitmask5 = PoliciesToBitmask({"system", "system", "system"}); in TEST() 52 const auto bitmask6 = PoliciesToBitmask({""}); in TEST() 55 const auto bitmask7 = PoliciesToBitmask({"foo"}); in TEST() 58 const auto bitmask8 = PoliciesToBitmask({"system", "foo"}); in TEST() 61 const auto bitmask9 = PoliciesToBitmask({"system", ""}); in TEST() 64 const auto bitmask10 = PoliciesToBitmask({"system "}); in TEST()
|
/frameworks/base/cmds/idmap2/idmap2/ |
D | Create.cpp | 39 using android::idmap2::PoliciesToBitmask; 81 auto conv_result = PoliciesToBitmask(policies); in Create()
|
/frameworks/base/cmds/idmap2/include/idmap2/ |
D | Policies.h | 41 Result<PolicyBitmask> PoliciesToBitmask(const std::vector<std::string>& policies);
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | Policies.cpp | 30 Result<PolicyBitmask> PoliciesToBitmask(const std::vector<std::string>& policies) { in PoliciesToBitmask() function
|