Home
last modified time | relevance | path

Searched refs:pinfo (Results 1 – 8 of 8) 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.cpp147 status_t build_attestation_package_info(const KeyAttestationPackageInfo& pinfo, in build_attestation_package_info() argument
156 if (!pinfo.package_name()) { in build_attestation_package_info()
161 std::string pkg_name(String8(*pinfo.package_name()).string()); in build_attestation_package_info()
172 if (BN_set_u64(bn_version, static_cast<uint64_t>(pinfo.version_code())) != 1) { in build_attestation_package_info()
206 for (auto pinfo = key_attestation_id.pinfos_begin(); pinfo != key_attestation_id.pinfos_end(); in build_attestation_application_id() local
207 ++pinfo) { in build_attestation_application_id()
208 if (!pinfo->package_name()) { in build_attestation_application_id()
212 std::string package_name(String8(*pinfo->package_name()).string()); in build_attestation_application_id()
214 auto rc = build_attestation_package_info(*pinfo, &attestation_package_info); in build_attestation_application_id()
234 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.cpp55 const prop_info* pinfo; member
65 return cache->pinfo && __system_property_serial(cache->pinfo) != cache->serial; in check_cache()
74 if (!cache->cache.pinfo) { in refresh_cache()
75 cache->cache.pinfo = __system_property_find(key); in refresh_cache()
76 if (!cache->cache.pinfo) { in refresh_cache()
80 cache->cache.serial = __system_property_serial(cache->cache.pinfo); in refresh_cache()
81 __system_property_read(cache->cache.pinfo, 0, buf); in refresh_cache()
165 tag_cache[i].cache.pinfo = NULL; in __android_log_level()
196 temp_cache.cache.pinfo = NULL; in __android_log_level()
235 if (temp_cache.cache.pinfo != cache->cache.pinfo) { /* check atomic */ in __android_log_level()
[all …]
/system/core/adb/
Dadb.cpp779 PROCESS_INFORMATION pinfo; in launch_server() local
780 ZeroMemory(&pinfo, sizeof(pinfo)); in launch_server()
794 &pinfo )) { in launch_server()
800 unique_handle process_handle(pinfo.hProcess); in launch_server()
801 pinfo.hProcess = NULL; in launch_server()
804 CloseHandle(pinfo.hThread); in launch_server()
805 pinfo.hThread = NULL; in launch_server()
853 ReportServerStartupFailure(pinfo.dwProcessId); in launch_server()
886 fprintf(stderr, "adb: server is running with process id %lu\n", pinfo.dwProcessId); in launch_server()
Dsysdeps_win32.cpp2870 PROCESS_INFORMATION pinfo = {}; in adb_launch_process() local
2885 &pinfo); in adb_launch_process()
2894 ::CloseHandle(pinfo.hThread); in adb_launch_process()
2895 return Process(pinfo.hProcess); in adb_launch_process()
/system/memory/libmeminfo/
Dprocmeminfo.cpp326 PageAcct& pinfo = PageAcct::Instance(); in ReadVmaStats() local
327 if (get_wss && use_pageidle && !pinfo.InitPageAcct(true)) { in ReadVmaStats()
383 if (!pinfo.PageFlags(page_frame, &cur_page_flags)) { in ReadVmaStats()
393 if (!pinfo.PageMapCount(page_frame, &cur_page_counts)) { in ReadVmaStats()
408 bool is_referenced = use_pageidle ? (pinfo.IsPageIdle(page_frame) == 1) in ReadVmaStats()