Home
last modified time | relevance | path

Searched refs:bitmask (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/cmds/idmap2/libidmap2/
DPolicies.cpp41 PolicyBitmask bitmask = 0; in PoliciesToBitmask() local
45 bitmask |= iter->second; in PoliciesToBitmask()
51 return Result<PolicyBitmask>(bitmask); in PoliciesToBitmask()
54 std::vector<std::string> BitmaskToPolicies(const PolicyBitmask& bitmask) { in BitmaskToPolicies() argument
57 if ((bitmask & PolicyFlags::POLICY_ODM_PARTITION) != 0) { in BitmaskToPolicies()
61 if ((bitmask & PolicyFlags::POLICY_OEM_PARTITION) != 0) { in BitmaskToPolicies()
65 if ((bitmask & PolicyFlags::POLICY_PUBLIC) != 0) { in BitmaskToPolicies()
69 if ((bitmask & PolicyFlags::POLICY_PRODUCT_PARTITION) != 0) { in BitmaskToPolicies()
73 if ((bitmask & PolicyFlags::POLICY_SIGNATURE) != 0) { in BitmaskToPolicies()
77 if ((bitmask & PolicyFlags::POLICY_SYSTEM_PARTITION) != 0) { in BitmaskToPolicies()
[all …]
/frameworks/native/cmds/dumpsys/
Ddumpsys.cpp87 static bool ConvertPriorityTypeToBitmask(const String16& type, int& bitmask) { in ConvertPriorityTypeToBitmask() argument
89 bitmask = IServiceManager::DUMP_FLAG_PRIORITY_CRITICAL; in ConvertPriorityTypeToBitmask()
93 bitmask = IServiceManager::DUMP_FLAG_PRIORITY_HIGH; in ConvertPriorityTypeToBitmask()
97 bitmask = IServiceManager::DUMP_FLAG_PRIORITY_NORMAL; in ConvertPriorityTypeToBitmask()
103 String16 ConvertBitmaskToPriorityType(int bitmask) { in ConvertBitmaskToPriorityType() argument
104 if (bitmask == IServiceManager::DUMP_FLAG_PRIORITY_CRITICAL) { in ConvertBitmaskToPriorityType()
107 if (bitmask == IServiceManager::DUMP_FLAG_PRIORITY_HIGH) { in ConvertBitmaskToPriorityType()
110 if (bitmask == IServiceManager::DUMP_FLAG_PRIORITY_NORMAL) { in ConvertBitmaskToPriorityType()
/frameworks/base/cmds/idmap2/include/idmap2/
DPolicies.h44 std::vector<std::string> BitmaskToPolicies(const PolicyBitmask& bitmask);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataEnabledOverride.java261 int bitmask = 0; in getBitmaskFromString() local
268 bitmask |= OVERRIDE_CONDITION_STRING_MAP.get(conditionStr); in getBitmaskFromString()
272 return bitmask; in getBitmaskFromString()
/frameworks/ml/nn/
DTEST_MAPPING16 // The value here is a bitmask indicating only "pass 10"
/frameworks/native/vulkan/api/templates/
Dvk_xml.tmpl119 …<type{{if $e.Entries}} requires="{{$bits}}"{{end}} category="bitmask">typedef <type>VkFlags</type>…
199 attributes of "enum" or "bitmask" indicate that these values should
275 <enums namespace="VK" name="{{Macro "EnumName" $ | TrimRight "s"}}Bits" type="bitmask">»
/frameworks/compile/mclinker/lib/Target/
DGNULDBackend.cpp1154 uint8_t* bitmask = reinterpret_cast<uint8_t*>(word_array + 4); in emitGNUHashTab() local
1177 uint32_t* maskval = reinterpret_cast<uint32_t*>(bitmask); in emitGNUHashTab()
1181 uint64_t* maskval = reinterpret_cast<uint64_t*>(bitmask); in emitGNUHashTab()
1184 bucket = reinterpret_cast<uint32_t*>(bitmask + in emitGNUHashTab()
1201 bucket = reinterpret_cast<uint32_t*>(bitmask + maskbits / 8); in emitGNUHashTab()
1250 uint32_t* maskval = reinterpret_cast<uint32_t*>(bitmask); in emitGNUHashTab()
1255 uint64_t* maskval = reinterpret_cast<uint64_t*>(bitmask); in emitGNUHashTab()
/frameworks/av/media/extractors/mp4/
DItemTable.cpp901 uint16_t bitmask = (1 << (8 * propIndexSize - 1)); in parse() local
904 .essential = !!(propIndex & bitmask), in parse()
905 .index = (uint16_t) (propIndex & ~bitmask) in parse()
/frameworks/base/tools/aapt2/
DResources.proto411 // A bitmask of types that this XML attribute accepts. Corresponds to the flags in the
/frameworks/base/cmds/statsd/src/
Datoms.proto1476 // A bitmask for the capabilities of this connection.
7804 // A bitmask of all codecs used during the call.
7902 // A bitmask of supported radio technologies.