Home
last modified time | relevance | path

Searched refs:prop (Results 1 – 25 of 29) sorted by relevance

12

/system/media/camera/docs/
Dmetadata_template.mako70 <%def name="insert_entry(prop)">
71 % if prop.is_clone():
72 <clone entry="${prop.name}" kind="${prop.target_kind}">
74 % if prop.details is not None:
75 <details>${prop.details}</details>
78 % if prop.hal_details is not None:
79 <hal_details>${prop.hal_details}</hal_details>
82 % for tag in prop.tags:
88 <entry name="${prop.name_short}" type="${prop.type}"
89 % if prop.visibility:
[all …]
Dhtml.mako150 def entry_cols(prop):
152 if prop.details: cols = cols + 2
153 if prop.hal_details: cols = cols + 2
249 <%def name="insert_entry(prop)">
250 <tr class="entry" id="${prop.kind}_${prop.name}">
252 % if prop.deprecated:
255 " rowspan="${entry_cols(prop)}">
256 ${prop.name | wbr}
259 % if prop.enum:
260 <span class="entry_type_name entry_type_name_enum">${prop.type}</span>
[all …]
Dmetadata_parser_xml.py277 prop = find_child_tag(entry, i)
279 if prop is not None:
280 d[i] = prop.string
/system/libufdt/
Dufdt_prop_dict.c51 const struct fdt_property *prop = *prop_ptr; in _ufdt_prop_dict_find_index_by_name() local
52 if (prop == NULL) return prop_ptr; in _ufdt_prop_dict_find_index_by_name()
54 const char *prop_name = fdt_string(dict->fdtp, fdt32_to_cpu(prop->nameoff)); in _ufdt_prop_dict_find_index_by_name()
63 struct ufdt_prop_dict *dict, const struct fdt_property *prop) { in _ufdt_prop_dict_find_index() argument
64 const char *name = fdt_string(dict->fdtp, fdt32_to_cpu(prop->nameoff)); in _ufdt_prop_dict_find_index()
108 const struct fdt_property *prop = dict->props[i]; in _ufdt_prop_dict_enlarge_if_needed() local
109 if (prop == NULL) continue; in _ufdt_prop_dict_enlarge_if_needed()
111 _ufdt_prop_dict_find_index(&temp_dict, prop); in _ufdt_prop_dict_enlarge_if_needed()
117 *new_prop_ptr = prop; in _ufdt_prop_dict_enlarge_if_needed()
129 const struct fdt_property *prop) { in ufdt_prop_dict_add() argument
[all …]
Dufdt_node.c26 const struct fdt_property *prop = (const struct fdt_property *)fdt_tag_ptr; in ufdt_node_construct() local
31 res->name = fdt_string(fdtp, fdt32_to_cpu(prop->nameoff)); in ufdt_node_construct()
119 const struct fdt_property *prop = (struct fdt_property *)node->fdt_tag_ptr; in ufdt_node_get_fdt_prop_data() local
121 *out_len = fdt32_to_cpu(prop->len); in ufdt_node_get_fdt_prop_data()
123 return (char *)prop->data; in ufdt_node_get_fdt_prop_data()
Dufdt_prop_dict.h50 const struct fdt_property *prop);
/system/bt/btif/src/
Dbtif_storage.cc181 static int prop2cfg(const RawAddress* remote_bd_addr, bt_property_t* prop) { in prop2cfg() argument
189 BTIF_TRACE_DEBUG("in, bd addr:%s, prop type:%d, len:%d", bdstr, prop->type, in prop2cfg()
190 prop->len); in prop2cfg()
192 if (prop->len <= 0 || prop->len > (int)sizeof(value) - 1) { in prop2cfg()
193 BTIF_TRACE_ERROR("property type:%d, len:%d is invalid", prop->type, in prop2cfg()
194 prop->len); in prop2cfg()
197 switch (prop->type) { in prop2cfg()
203 strncpy(value, (char*)prop->val, prop->len); in prop2cfg()
204 value[prop->len] = '\0'; in prop2cfg()
211 strncpy(value, (char*)prop->val, prop->len); in prop2cfg()
[all …]
Dbtif_core.cc97 bt_property_t prop; member
405 bt_property_t prop; in btif_enable_bluetooth_evt() local
406 prop.type = BT_PROPERTY_BDADDR; in btif_enable_bluetooth_evt()
407 prop.val = (void*)&local_bd_addr; in btif_enable_bluetooth_evt()
408 prop.len = sizeof(RawAddress); in btif_enable_bluetooth_evt()
410 &prop); in btif_enable_bluetooth_evt()
728 bt_property_t* p_prop = &(p_req->write_req.prop); in execute_storage_request()
739 bt_property_t prop; in execute_storage_request() local
740 prop.type = p_req->read_req.type; in execute_storage_request()
741 prop.val = (void*)buf; in execute_storage_request()
[all …]
Dbtif_dm.cc1086 bt_property_t prop; in btif_dm_auth_cmpl_evt() local
1093 prop.type = BT_PROPERTY_UUIDS; in btif_dm_auth_cmpl_evt()
1094 prop.val = uuid.uu; in btif_dm_auth_cmpl_evt()
1095 prop.len = MAX_UUID_SIZE; in btif_dm_auth_cmpl_evt()
1099 &bd_addr, 1, &prop); in btif_dm_auth_cmpl_evt()
1378 bt_property_t prop; in btif_dm_search_services_evt() local
1395 prop.type = BT_PROPERTY_UUIDS; in btif_dm_search_services_evt()
1396 prop.len = 0; in btif_dm_search_services_evt()
1399 prop.val = p_data->disc_res.p_uuid_list; in btif_dm_search_services_evt()
1400 prop.len = p_data->disc_res.num_uuids * MAX_UUID_SIZE; in btif_dm_search_services_evt()
[all …]
/system/update_engine/
Dimage_properties_android.cc100 char prop[PROPERTY_VALUE_MAX]; in LoadImageProperties() local
101 property_get(kPropProductName, prop, "brillo"); in LoadImageProperties()
102 result.board = prop; in LoadImageProperties()
104 property_get(kPropBuildFingerprint, prop, "none"); in LoadImageProperties()
105 result.build_fingerprint = prop; in LoadImageProperties()
107 property_get(kPropBuildType, prop, ""); in LoadImageProperties()
108 result.build_type = prop; in LoadImageProperties()
/system/libufdt/tests/src/
Dufdt_gen_test_dts.c109 static void output_prop_str(FILE *fp, const char *prop, const char *value) { in output_prop_str() argument
111 fprintf(fp, "%s=\"%s\";\n", prop, value); in output_prop_str()
114 static void output_nodes(FILE *fp, int count, const char *prop, const char *value) { in output_nodes() argument
118 output_prop_str(fp, prop, value); in output_nodes()
124 const char *prop, const char *value) { in output_ref_nodes() argument
128 output_prop_str(fp, prop, value); in output_ref_nodes()
/system/libvintf/
DRuntimeInfo-target.cpp150 char prop[PROPERTY_VALUE_MAX]; in fetchAvb() local
151 property_get("ro.boot.vbmeta.avb_version", prop, "0.0"); in fetchAvb()
152 if (!parse(prop, &mRuntimeInfo->mBootVbmetaAvbVersion)) { in fetchAvb()
155 property_get("ro.boot.avb_version", prop, "0.0"); in fetchAvb()
156 if (!parse(prop, &mRuntimeInfo->mBootAvbVersion)) { in fetchAvb()
/system/libufdt/utils/src/
Dmkdtimg_core.c135 static fdt32_t get_fdt32_from_prop(void *fdt, const char *path, const char *prop) { in get_fdt32_from_prop() argument
143 fdt32_t *prop_value_ptr = (fdt32_t *)fdt_getprop(fdt, node_off, prop, &len); in get_fdt32_from_prop()
145 fprintf(stderr, "Can not find property: %s:%s\n", path, prop); in get_fdt32_from_prop()
151 if (DEBUG) printf("%s:%s => %08x\n", path, prop, fdt32_to_cpu(value)); in get_fdt32_from_prop()
158 char *path, *prop; in get_fdt32_from_number_or_prop() local
159 if (parse_path(&path, &prop, value_str) != 0) { in get_fdt32_from_number_or_prop()
163 return get_fdt32_from_prop(fdt, path, prop); in get_fdt32_from_number_or_prop()
/system/core/adb/daemon/
Dmain.cpp80 std::string prop = android::base::GetProperty("service.adb.root", ""); in should_drop_privileges() local
81 bool adb_root = (prop == "1"); in should_drop_privileges()
82 bool adb_unroot = (prop == "0"); in should_drop_privileges()
/system/bt/service/
Dlogging_helpers.cc104 const char* BtPropertyText(const bt_property_type_t prop) { in BtPropertyText() argument
105 switch (prop) { in BtPropertyText()
Dlogging_helpers.h40 const char* BtPropertyText(const bt_property_type_t prop);
/system/core/
DCleanSpec.mk54 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/default.prop)
55 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/recovery/root/default.prop)
/system/core/storaged/
Dstoraged.cpp164 static inline charger_stat_t is_charger_on(int64_t prop) { in is_charger_on() argument
165 return (prop == BATTERY_STATUS_CHARGING || prop == BATTERY_STATUS_FULL) ? in is_charger_on()
/system/core/logd/
Dmain.cpp177 static bool check_flag(const char* prop, const char* flag) { in check_flag() argument
178 const char* cp = strcasestr(prop, flag); in check_flag()
184 if ((cp != prop) && !strchr(sep, cp[-1])) { in check_flag()
/system/bt/btif/include/
Dbtif_api.h321 bt_status_t btif_dm_get_adapter_property(bt_property_t* prop);
/system/core/liblog/
Dproperties.c406 static bool check_flag(const char* prop, const char* flag) { in check_flag() argument
407 const char* cp = strcasestr(prop, flag); in check_flag()
413 if ((cp != prop) && !strchr(sep, cp[-1])) { in check_flag()
/system/bt/bta/gatt/
Dbta_gattc_cache.cc1082 uint8_t prop) { in bta_gattc_fill_gatt_db_el() argument
1088 p_attr->properties = prop; in bta_gattc_fill_gatt_db_el()
1306 p_attr->prop); in bta_gattc_rebuild_cache()
1312 p_attr->prop, p_attr->incl_srvc_handle, in bta_gattc_rebuild_cache()
1332 uint8_t prop, uint16_t incl_srvc_handle, in bta_gattc_fill_nv_attr() argument
1339 p_attr->prop = prop; in bta_gattc_fill_nv_attr()
/system/core/adb/
Dadb.cpp225 for (const auto& prop : cnxn_props) { in get_connection_string() local
226 std::string value = std::string(prop) + "=" + android::base::GetProperty(prop, ""); in get_connection_string()
282 for (const auto& prop : android::base::Split(props, ";")) { in parse_banner() local
284 if (prop.empty()) continue; in parse_banner()
286 std::vector<std::string> key_value = android::base::Split(prop, "="); in parse_banner()
/system/sepolicy/private/
Dproperty_contexts83 # ro.build.fingerprint is either set in /system/build.prop, or is
/system/sepolicy/prebuilts/api/26.0/private/
Dproperty_contexts82 # ro.build.fingerprint is either set in /system/build.prop, or is

12