Home
last modified time | relevance | path

Searched refs:mapping (Results 1 – 25 of 26) sorted by relevance

12

/system/core/libmemunreachable/
DProcessMappings.cpp44 Mapping mapping{}; in ProcessMappings() local
46 &mapping.begin, &mapping.end, perms, &name_pos) == 3) { in ProcessMappings()
48 mapping.read = true; in ProcessMappings()
51 mapping.write = true; in ProcessMappings()
54 mapping.execute = true; in ProcessMappings()
57 mapping.priv = true; in ProcessMappings()
60 strlcpy(mapping.name, line + name_pos, sizeof(mapping.name)); in ProcessMappings()
62 mappings.emplace_back(mapping); in ProcessMappings()
DREADME.md41 5. Registers contents, active stack areas, and memory mapping information are collected.
/system/extras/simpleperf/scripts/
Dpprof_proto_generator.py73 print('%d mappings' % len(p.mapping))
74 for i in range(len(p.mapping)):
76 self.show_mapping(p.mapping[i], sub_space)
130 mapping = self.profile.mapping[mapping_id - 1]
131 self.show_mapping(mapping, space)
133 def show_mapping(self, mapping, space=''): argument
134 print('%sid: %d' % (space, mapping.id))
135 print('%smemory_start: %x' % (space, mapping.memory_start))
136 print('%smemory_limit: %x' % (space, mapping.memory_limit))
137 print('%sfile_offset: %x' % (space, mapping.file_offset))
[all …]
Dsimpleperf_report_lib.py116 self.mapping = symbol.mapping
/system/sepolicy/tools/
Dversion_policy.c86 bool mapping = false; in main() local
115 mapping = true; in main()
137 if (num == NULL || base == NULL || (mapping == false && tgt_policy == NULL)) { in main()
149 if (mapping && tgt_policy) { in main()
163 if (mapping) { in main()
DREADME37 A helper script for mapping tags in the signature stanzas of
/system/netd/tests/dns_responder/
Ddns_responder_client.cpp140 for (const auto& mapping : mappings) { in SetupDNSServers() local
141 d->addMapping(mapping.entry.c_str(), ns_type::ns_t_a, mapping.ip4.c_str()); in SetupDNSServers()
142 d->addMapping(mapping.entry.c_str(), ns_type::ns_t_aaaa, mapping.ip6.c_str()); in SetupDNSServers()
/system/update_engine/payload_generator/
Dblock_mapping.cc146 BlockMapping mapping(block_size); in MapPartitionBlocks() local
147 if (mapping.AddBlock(brillo::Blob(block_size, '\0')) != 0) in MapPartitionBlocks()
154 TEST_AND_RETURN_FALSE(mapping.AddManyDiskBlocks( in MapPartitionBlocks()
156 TEST_AND_RETURN_FALSE(mapping.AddManyDiskBlocks( in MapPartitionBlocks()
/system/extras/simpleperf/
Dreport_lib_interface.cpp61 Mapping* mapping; member
263 current_symbol_.mapping = AddMapping(*map); in GetSymbolOfCurrentSample()
310 entry.symbol.mapping = AddMapping(*map); in GetCallChainOfCurrentSample()
324 Mapping* mapping = current_mappings_.back().get(); in AddMapping() local
325 mapping->start = map.start_addr; in AddMapping()
326 mapping->end = map.start_addr + map.len; in AddMapping()
327 mapping->pgoff = map.pgoff; in AddMapping()
328 return mapping; in AddMapping()
/system/extras/librank/
Dlibrank.c128 struct mapping_info *mapping; in get_mapping() local
146 mapping = calloc(1, sizeof(*mapping)); in get_mapping()
147 if (!mapping) { in get_mapping()
151 mapping->proc = proc; in get_mapping()
152 pm_memusage_zero(&mapping->usage); in get_mapping()
154 library->mappings[library->mappings_count++] = mapping; in get_mapping()
156 return mapping; in get_mapping()
/system/netd/tests/
Dnetd_test.cpp239 auto& mapping = mappings[ofs]; in RunGetAddrInfoStressTest_Binder() local
241 int rv = getaddrinfo(mapping.host.c_str(), nullptr, nullptr, &result); in RunGetAddrInfoStressTest_Binder()
245 EXPECT_TRUE(result_str == mapping.ip4 || result_str == mapping.ip6) in RunGetAddrInfoStressTest_Binder()
246 << "result='" << result_str << "', ip4='" << mapping.ip4 in RunGetAddrInfoStressTest_Binder()
247 << "', ip6='" << mapping.ip6; in RunGetAddrInfoStressTest_Binder()
329 const Mapping& mapping = mappings[0]; in TEST_F() local
333 const hostent* result = gethostbyname(mapping.host.c_str()); in TEST_F()
335 [this, &mapping](size_t total, auto& d) { in TEST_F()
336 return total + GetNumQueriesForType(*d, ns_type::ns_t_a, mapping.entry.c_str()); in TEST_F()
343 EXPECT_EQ(mapping.ip4, ToString(result)); in TEST_F()
/system/netd/tests/benchmarks/
Ddns_benchmark.cpp123 const auto& mapping = getMappings()[ofs]; in getaddrinfo_until_done() local
125 if (getaddrinfo(mapping.host.c_str(), nullptr, nullptr, &result)) { in getaddrinfo_until_done()
/system/media/camera/docs/
Dmetadata_helpers.py429 mapping = {
438 return mapping.get(type_name, type_name)
471 mapping = {
480 base_type = mapping[metadata_type]
543 mapping = {
553 return mapping[what]
/system/core/bootstat/
Dbootstat.cpp176 auto mapping = kBootReasonMap.find(boot_reason); in BootReasonStrToEnum() local
177 if (mapping != kBootReasonMap.end()) { in BootReasonStrToEnum()
178 return mapping->second; in BootReasonStrToEnum()
/system/sepolicy/
DREADME57 as well as mapping a public base16 signing key with an arbitrary seinfo
69 Is a helper script for mapping arbitrary tags in the signature stanzas of
77 The keys.conf file is used for controlling the mapping of "tags" found in
81 The script allows for mapping any string contained in TARGET_BUILD_VARIANT
DAndroid.mk359 LOCAL_MODULE_PATH := $(TARGET_OUT)/etc/selinux/mapping
363 current_mapping.cil := $(intermediates)/mapping/$(PLATFORM_SEPOLICY_VERSION).cil
373 prebuilt_mapping_files := $(wildcard $(addsuffix /mapping/$(BOARD_SEPOLICY_VERS).cil, $(PLAT_PRIVAT…
/system/libhidl/libhidlmemory/
DAndroid.bp37 "mapping.cpp"
/system/libhidl/transport/memory/1.0/
DIMapper.hal26 * This will be null if mapping fails.
/system/sepolicy/public/
Dlogd.te38 # event tag mapping while in the untrusted_app domain.
/system/core/libutils/
DREADME168 Resource ID mapping
174 an overlay package. To translate between the two, a resource ID mapping
177 mapping is stored in /data/resource-cache, with a @idmap file name
/system/tools/aidl/docs/
Daidl-cpp.md29 - cross-language type mapping
209 // equivalent without duplicating the mapping between the C++ and Java types.
/system/sepolicy/private/
Dsystem_server.te715 -dalvikcache_data_file #mapping with PROT_EXEC
Dfile_contexts259 /system/etc/selinux/mapping/[0-9]+\.[0-9]+\.cil u:object_r:sepolicy_file:s0
/system/media/audio_utils/
DDoxyfile226 # A mapping has the form "name=value". For example adding "class=itcl::class"
261 # extension. Doxygen has a built-in mapping, but you can override or extend it
1529 # unique id set via EXTERNAL_SEARCH_ID. The search mapping then maps the id of
DDoxyfile.orig226 # A mapping has the form "name=value". For example adding "class=itcl::class"
261 # extension. Doxygen has a built-in mapping, but you can override or extend it
1529 # unique id set via EXTERNAL_SEARCH_ID. The search mapping then maps the id of

12