Home
last modified time | relevance | path

Searched refs:rec (Results 1 – 13 of 13) sorted by relevance

/system/core/fs_mgr/
Dfs_mgr_roots.cpp75 auto rec = GetEntryForPath(fstab, path); in EnsurePathMounted() local
76 if (rec == nullptr) { in EnsurePathMounted()
80 if (rec->fs_type == "ramdisk") { in EnsurePathMounted()
87 if (rec->fs_mgr_flags.logical && !fs_mgr_update_logical_partition(rec)) { in EnsurePathMounted()
98 if (!fs_mgr_update_logical_partition(rec)) { in EnsurePathMounted()
104 const std::string mount_point = mount_pt.empty() ? rec->mount_point : mount_pt; in EnsurePathMounted()
115 if (std::find(supported_fs.begin(), supported_fs.end(), rec->fs_type) == supported_fs.end()) { in EnsurePathMounted()
116 LERROR << "unknown fs_type \"" << rec->fs_type << "\" for " << mount_point; in EnsurePathMounted()
120 int result = fs_mgr_do_mount_one(*rec, mount_point); in EnsurePathMounted()
121 if (result == -1 && rec->fs_mgr_flags.formattable) { in EnsurePathMounted()
[all …]
/system/bt/btif/src/
Dbtif_sdp_server.cc73 static int add_maps_sdp(const bluetooth_sdp_mas_record* rec);
74 static int add_mapc_sdp(const bluetooth_sdp_mns_record* rec);
75 static int add_pbapc_sdp(const bluetooth_sdp_pce_record* rec);
76 static int add_pbaps_sdp(const bluetooth_sdp_pse_record* rec);
77 static int add_opps_sdp(const bluetooth_sdp_ops_record* rec);
78 static int add_saps_sdp(const bluetooth_sdp_sap_record* rec);
375 static int add_maps_sdp(const bluetooth_sdp_mas_record* rec) { in add_maps_sdp() argument
386 __func__, rec->mas_instance_id, rec->hdr.rfcomm_channel_number, in add_maps_sdp()
387 rec->hdr.l2cap_psm, rec->hdr.service_name); in add_maps_sdp()
390 rec->supported_message_types, rec->supported_features); in add_maps_sdp()
[all …]
Dbtif_dm.cc1615 bt_service_record_t rec; in btif_dm_remote_service_record_evt() local
1618 memset(&rec, 0, sizeof(bt_service_record_t)); in btif_dm_remote_service_record_evt()
1624 prop.val = (void*)&rec; in btif_dm_remote_service_record_evt()
1625 prop.len = sizeof(rec); in btif_dm_remote_service_record_evt()
1630 rec.channel = p_data->disc_res.result - 3; in btif_dm_remote_service_record_evt()
1632 rec.name[0] = 0; in btif_dm_remote_service_record_evt()
/system/chre/apps/wifi_offload/
Drpc_log_record.cc39 uint8_t rec = fbs_record.record_type(); in Deserialize() local
40 if ((rec > static_cast<uint8_t>(RpcLogRecordType::CMD_BASE) && in Deserialize()
41 rec < static_cast<uint8_t>(RpcLogRecordType::CMD_LAST_ITEM)) || in Deserialize()
42 (rec > static_cast<uint8_t>(RpcLogRecordType::EVENT_RECVD_BASE) && in Deserialize()
43 rec < static_cast<uint8_t>(RpcLogRecordType::EVENT_RECVD_LAST_ITEM)) || in Deserialize()
44 (rec > static_cast<uint8_t>(RpcLogRecordType::EVENT_SENT_BASE) && in Deserialize()
45 rec < static_cast<uint8_t>(RpcLogRecordType::EVENT_SENT_LAST_ITEM)) || in Deserialize()
46 (rec > static_cast<uint8_t>(RpcLogRecordType::REQ_BASE) && in Deserialize()
47 rec < static_cast<uint8_t>(RpcLogRecordType::REQ_LAST_ITEM))) { in Deserialize()
51 rec); in Deserialize()
/system/core/storaged/
Dstoraged_service.cpp47 for (const auto& rec : merged_entries) { in dumpUidRecords() local
50 rec.first.c_str(), in dumpUidRecords()
51 rec.second.bytes[READ][FOREGROUND][CHARGER_OFF], in dumpUidRecords()
52 rec.second.bytes[WRITE][FOREGROUND][CHARGER_OFF], in dumpUidRecords()
53 rec.second.bytes[READ][BACKGROUND][CHARGER_OFF], in dumpUidRecords()
54 rec.second.bytes[WRITE][BACKGROUND][CHARGER_OFF], in dumpUidRecords()
55 rec.second.bytes[READ][FOREGROUND][CHARGER_ON], in dumpUidRecords()
56 rec.second.bytes[WRITE][FOREGROUND][CHARGER_ON], in dumpUidRecords()
57 rec.second.bytes[READ][BACKGROUND][CHARGER_ON], in dumpUidRecords()
58 rec.second.bytes[WRITE][BACKGROUND][CHARGER_ON]); in dumpUidRecords()
Dstoraged_uid_monitor.cpp278 for (const auto& rec : recs) { in dump() local
279 const io_usage& uid_usage = rec.ios.uid_ios; in dump()
288 filtered.entries.push_back(rec); in dump()
456 [user_id](const uid_record& rec) { in clear_user_history() argument
457 return rec.ios.user_id == user_id;}), in clear_user_history()
485 for (const auto& rec : recs->entries) { in load_uid_io_proto() local
486 if (rec.ios.user_id == user_id) { in load_uid_io_proto()
487 existing_uids.emplace(rec.name); in load_uid_io_proto()
/system/bt/test/headless/sdp/
Dsdp.cc111 tSDP_DISC_REC* rec = SDP_FindServiceInDb(sdp_discovery_db.RawPointer(), in sdp_query_uuid() local
113 if (rec == nullptr) { in sdp_query_uuid()
118 rec->p_first_attr->attr_id, rec->remote_bd_addr.ToString().c_str(), in sdp_query_uuid()
/system/bt/stack/sdp/
Dsdp_api.cc829 SDP_AttrStringCopy(p_device_info->rec.client_executable_url, p_curr_attr, in SDP_GetDiRecord()
835 SDP_AttrStringCopy(p_device_info->rec.service_description, p_curr_attr, in SDP_GetDiRecord()
841 SDP_AttrStringCopy(p_device_info->rec.documentation_url, p_curr_attr, in SDP_GetDiRecord()
853 p_device_info->rec.vendor = p_curr_attr->attr_value.v.u16; in SDP_GetDiRecord()
860 p_device_info->rec.vendor_id_source = p_curr_attr->attr_value.v.u16; in SDP_GetDiRecord()
866 p_device_info->rec.product = p_curr_attr->attr_value.v.u16; in SDP_GetDiRecord()
873 p_device_info->rec.version = p_curr_attr->attr_value.v.u16; in SDP_GetDiRecord()
879 p_device_info->rec.primary_record = (bool)p_curr_attr->attr_value.v.u8; in SDP_GetDiRecord()
Dsdp_utils.cc273 ss << "N:SDP::DIP::" << loghex(di_record.rec.vendor_id_source); in sdpu_log_attribute_metrics()
276 ss.str(), loghex(di_record.rec.vendor), loghex(di_record.rec.product), in sdpu_log_attribute_metrics()
277 loghex(di_record.rec.version), ""); in sdpu_log_attribute_metrics()
282 di_record.rec.vendor); in sdpu_log_attribute_metrics()
284 di_record.rec.product); in sdpu_log_attribute_metrics()
286 di_record.rec.version); in sdpu_log_attribute_metrics()
288 di_record.rec.vendor_id_source); in sdpu_log_attribute_metrics()
/system/sepolicy/tests/
Dpolicy.py407 rec = i.split()
409 t = rec[-1].split(":")[2]
411 self.__FcDict[t].append(rec[0])
413 self.__FcDict[t] = [rec[0]]
/system/bt/stack/include/
Dsdp_api.h158 tSDP_DI_RECORD rec; member
/system/core/rootdir/
Dinit.rc65 mount none /linkerconfig/bootstrap /linkerconfig bind rec
726 mount none /data/data /data/user/0 bind rec
740 mount none /data/user /data_mirror/data_ce/null bind rec
741 mount none /data/user_de /data_mirror/data_de/null bind rec
745 mount none /data/misc/profiles/cur /data_mirror/cur_profiles bind rec
815 mount none /mnt/user/0 /storage bind rec
816 mount none none /storage slave rec
819 mount none /mnt/runtime/default /storage bind rec
820 mount none none /storage slave rec
823 mount none /mnt/runtime/default /storage bind rec
[all …]
/system/bt/bta/hh/
Dbta_hh_act.cc268 bta_hh_update_di_info(p_cb, di_rec.rec.vendor, di_rec.rec.product, in bta_hh_di_sdp_cback()
269 di_rec.rec.version, 0); in bta_hh_di_sdp_cback()