Home
last modified time | relevance | path

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

/system/core/libdiskconfig/
Dconfig_mbr.c70 mk_pri_pentry(struct disk_info *dinfo, struct part_info *pinfo, int pnum, in mk_pri_pentry() argument
96 if (pinfo) { in mk_pri_pentry()
100 if (pinfo->len_kb != (uint32_t)-1) { in mk_pri_pentry()
102 len_lba = ((uint64_t)pinfo->len_kb * 1024); in mk_pri_pentry()
111 cfg_pentry(pentry, ((pinfo->flags & PART_ACTIVE_FLAG) ? in mk_pri_pentry()
113 pinfo->type, *lba, (uint32_t)len_lba); in mk_pri_pentry()
115 pinfo->start_lba = *lba; in mk_pri_pentry()
140 mk_ext_pentry(struct disk_info *dinfo, struct part_info *pinfo, uint32_t *lba, in mk_ext_pentry() argument
161 if (pinfo->len_kb != (uint32_t)-1) in mk_ext_pentry()
162 len = kb_to_lba(pinfo->len_kb, dinfo->sect_size); in mk_ext_pentry()
[all …]
Ddiskconfig.c98 struct part_info *pinfo = &dinfo->part_lst[dinfo->num_parts]; in load_partitions() local
104 pinfo->name = strdup(partnode->name); in load_partitions()
107 pinfo->flags |= PART_ACTIVE_FLAG; in load_partitions()
110 ALOGE("Partition type required: %s", pinfo->name); in load_partitions()
116 pinfo->type = PC_PART_TYPE_LINUX; in load_partitions()
118 pinfo->type = PC_PART_TYPE_FAT32; in load_partitions()
128 pinfo->len_kb = (uint32_t) len; in load_partitions()
130 pinfo->len_kb = 0; in load_partitions()
505 struct part_info *pinfo; in find_part() local
509 pinfo = &dinfo->part_lst[cnt]; in find_part()
[all …]
/system/security/keystore/
Dkeystore_attestation_id.cpp146 status_t build_attestation_package_info(const KeyAttestationPackageInfo& pinfo, in build_attestation_package_info() argument
155 if (!pinfo.package_name()) { in build_attestation_package_info()
160 std::string pkg_name(String8(*pinfo.package_name()).string()); in build_attestation_package_info()
171 if (BN_set_u64(bn_version, static_cast<uint64_t>(pinfo.version_code())) != 1) { in build_attestation_package_info()
205 for (auto pinfo = key_attestation_id.pinfos_begin(); pinfo != key_attestation_id.pinfos_end(); in build_attestation_application_id() local
206 ++pinfo) { in build_attestation_application_id()
207 if (!pinfo->package_name()) { in build_attestation_application_id()
211 std::string package_name(String8(*pinfo->package_name()).string()); in build_attestation_application_id()
213 auto rc = build_attestation_package_info(*pinfo, &attestation_package_info); in build_attestation_application_id()
233 const auto& pinfo = *key_attestation_id.pinfos_begin(); in build_attestation_application_id() local
[all …]
/system/core/fastboot/fuzzy_fastboot/
Dextensions.h72 friend ::std::ostream& operator<<(::std::ostream& os, const PartitionInfo& pinfo) {
73 return os << "<hashable=" << pinfo.hashable << " slots=" << pinfo.slots
74 << " parsed=" << pinfo.parsed << ">";
84 friend ::std::ostream& operator<<(::std::ostream& os, const PackedInfoTest& pinfo) {
86 << "expect=" << EXPECTS_STR.at(pinfo.expect)
87 << " packed_img=" << pinfo.packed_img
88 << " unpacked_dir=" << pinfo.unpacked_dir << ">";
/system/core/liblog/
Dproperties.cpp51 const prop_info* pinfo; member
61 return cache->pinfo && __system_property_serial(cache->pinfo) != cache->serial; in check_cache()
70 if (!cache->cache.pinfo) { in refresh_cache()
71 cache->cache.pinfo = __system_property_find(key); in refresh_cache()
72 if (!cache->cache.pinfo) { in refresh_cache()
76 cache->cache.serial = __system_property_serial(cache->cache.pinfo); in refresh_cache()
77 __system_property_read(cache->cache.pinfo, 0, buf); in refresh_cache()
156 tag_cache[i].cache.pinfo = NULL; in __android_log_level()
187 temp_cache.cache.pinfo = NULL; in __android_log_level()
226 if (temp_cache.cache.pinfo != cache->cache.pinfo) { /* check atomic */ in __android_log_level()
[all …]
/system/core/libmeminfo/
Dprocmeminfo.cpp280 PageAcct& pinfo = PageAcct::Instance(); in ReadVmaStats() local
293 if (!pinfo.InitPageAcct(true)) { in ReadVmaStats()
315 if (!pinfo.PageFlags(page_frame, &pg_flags[i])) { in ReadVmaStats()
324 if (!pinfo.PageMapCount(page_frame, &pg_counts[i])) { in ReadVmaStats()
341 bool is_referenced = use_pageidle ? (pinfo.IsPageIdle(page_frame) == 1) in ReadVmaStats()
/system/core/adb/
Dadb.cpp735 PROCESS_INFORMATION pinfo; in launch_server() local
736 ZeroMemory(&pinfo, sizeof(pinfo)); in launch_server()
750 &pinfo )) { in launch_server()
756 unique_handle process_handle(pinfo.hProcess); in launch_server()
757 pinfo.hProcess = NULL; in launch_server()
760 CloseHandle(pinfo.hThread); in launch_server()
761 pinfo.hThread = NULL; in launch_server()
809 ReportServerStartupFailure(pinfo.dwProcessId); in launch_server()
842 fprintf(stderr, "adb: server is running with process id %lu\n", pinfo.dwProcessId); in launch_server()