/system/bt/service/ |
H A D | logging_helpers.cc | 104 const char* BtPropertyText(const bt_property_type_t prop) { argument 105 switch (prop) {
|
/system/core/adb/daemon/ |
H A D | main.cpp | 80 std::string prop = android::base::GetProperty("service.adb.root", ""); local 81 bool adb_root = (prop == "1"); 82 bool adb_unroot = (prop == "0");
|
/system/update_engine/ |
H A D | image_properties_android.cc | 41 const char kPrefsImgPropChannelName[] = "img-prop-channel-name"; 42 const char kPrefsImgPropPowerwashAllowed[] = "img-prop-powerwash-allowed"; 79 char prop[PROPERTY_VALUE_MAX]; local 80 property_get(kPropProductName, prop, "brillo"); 81 result.board = prop; 83 property_get(kPropBuildFingerprint, prop, "none"); 84 result.build_fingerprint = prop;
|
/system/core/storaged/ |
H A D | storaged.cpp | 164 static inline charger_stat_t is_charger_on(int64_t prop) { argument 165 return (prop == BATTERY_STATUS_CHARGING || prop == BATTERY_STATUS_FULL) ?
|
/system/libufdt/tests/src/ |
H A D | ufdt_gen_test_dts.c | 109 static void output_prop_str(FILE *fp, const char *prop, const char *value) { argument 111 fprintf(fp, "%s=\"%s\";\n", prop, value); 114 static void output_nodes(FILE *fp, int count, const char *prop, const char *value) { argument 118 output_prop_str(fp, prop, value); 124 const char *prop, const char *value) { 128 output_prop_str(fp, prop, value); 123 output_ref_nodes(FILE *fp, int start_id, int count, const char *prop, const char *value) argument
|
/system/libufdt/ |
H A D | ufdt_prop_dict.c | 51 const struct fdt_property *prop = *prop_ptr; local 52 if (prop == NULL) return prop_ptr; 54 const char *prop_name = fdt_string(dict->fdtp, fdt32_to_cpu(prop->nameoff)); 63 struct ufdt_prop_dict *dict, const struct fdt_property *prop) { 64 const char *name = fdt_string(dict->fdtp, fdt32_to_cpu(prop->nameoff)); 108 const struct fdt_property *prop = dict->props[i]; local 109 if (prop == NULL) continue; 111 _ufdt_prop_dict_find_index(&temp_dict, prop); 117 *new_prop_ptr = prop; 129 const struct fdt_property *prop) { 62 _ufdt_prop_dict_find_index( struct ufdt_prop_dict *dict, const struct fdt_property *prop) argument 128 ufdt_prop_dict_add(struct ufdt_prop_dict *dict, const struct fdt_property *prop) argument [all...] |
H A D | ufdt_node.c | 40 const struct fdt_property *prop = (const struct fdt_property *)fdt_tag_ptr; local 45 res->name = fdt_string(fdtp, fdt32_to_cpu(prop->nameoff)); 132 const struct fdt_property *prop = (struct fdt_property *)node->fdt_tag_ptr; local 134 *out_len = fdt32_to_cpu(prop->len); 136 return (char *)prop->data;
|
/system/libvintf/ |
H A D | RuntimeInfo-target.cpp | 203 char prop[PROPERTY_VALUE_MAX]; local 204 property_get("ro.boot.vbmeta.avb_version", prop, "0.0"); 205 if (!parse(prop, &mRuntimeInfo->mBootVbmetaAvbVersion)) { 208 property_get("ro.boot.avb_version", prop, "0.0"); 209 if (!parse(prop, &mRuntimeInfo->mBootAvbVersion)) {
|
/system/core/logd/ |
H A D | main.cpp | 177 static bool check_flag(const char* prop, const char* flag) { argument 178 const char* cp = strcasestr(prop, flag); 184 if ((cp != prop) && !strchr(sep, cp[-1])) {
|
/system/libufdt/utils/src/ |
H A D | mkdtimg_core.c | 130 static fdt32_t get_fdt32_from_prop(void *fdt, const char *path, const char *prop) { argument 138 fdt32_t *prop_value_ptr = (fdt32_t *)fdt_getprop(fdt, node_off, prop, &len); 140 fprintf(stderr, "Can not find property: %s:%s\n", path, prop); 146 if (DEBUG) printf("%s:%s => %08x\n", path, prop, fdt32_to_cpu(value)); 153 char *path, *prop; local 154 if (parse_path(&path, &prop, value_str) != 0) { 158 return get_fdt32_from_prop(fdt, path, prop);
|
/system/core/liblog/ |
H A D | properties.c | 406 static bool check_flag(const char* prop, const char* flag) { argument 407 const char* cp = strcasestr(prop, flag); 413 if ((cp != prop) && !strchr(sep, cp[-1])) {
|
/system/bt/bta/gatt/ |
H A D | bta_gattc_cache.cc | 91 APPL_TRACE_ERROR("\t Attr handle[%d] uuid[0x%04x] type[%s] prop[0x%1x]", 1081 uint8_t prop) { 1087 p_attr->properties = prop; 1176 p_cur_srvc->s_handle, p_cur_srvc->uuid, 0 /* prop */); 1301 p_attr->prop); 1307 p_attr->prop, p_attr->incl_srvc_handle, 1327 uint8_t prop, uint16_t incl_srvc_handle, 1334 p_attr->prop = prop; 1077 bta_gattc_fill_gatt_db_el(btgatt_db_element_t* p_attr, bt_gatt_db_attribute_type_t type, uint16_t att_handle, uint16_t s_handle, uint16_t e_handle, uint16_t id, tBT_UUID uuid, uint8_t prop) argument 1325 bta_gattc_fill_nv_attr(tBTA_GATTC_NV_ATTR* p_attr, uint8_t type, uint16_t s_handle, uint16_t e_handle, tBT_UUID uuid, uint8_t prop, uint16_t incl_srvc_handle, bool is_primary) argument
|
/system/bt/btif/src/ |
H A D | btif_core.cc | 97 bt_property_t prop; member in struct:__anon622 401 bt_property_t prop; local 402 prop.type = BT_PROPERTY_BDADDR; 403 prop.val = (void*)&local_bd_addr; 404 prop.len = sizeof(bt_bdaddr_t); 406 &prop); 718 bt_property_t* p_prop = &(p_req->write_req.prop); 729 bt_property_t prop; local 730 prop.type = p_req->read_req.type; 731 prop 785 bt_property_t prop; local [all...] |
H A D | btif_storage.cc | 181 static int prop2cfg(bt_bdaddr_t* remote_bd_addr, bt_property_t* prop) { argument 184 BTIF_TRACE_DEBUG("in, bd addr:%s, prop type:%d, len:%d", bdstr, prop->type, 185 prop->len); 187 if (prop->len <= 0 || prop->len > (int)sizeof(value) - 1) { 188 BTIF_TRACE_ERROR("property type:%d, len:%d is invalid", prop->type, 189 prop->len); 192 switch (prop->type) { 198 strncpy(value, (char*)prop 267 cfg2prop(bt_bdaddr_t* remote_bd_addr, bt_property_t* prop) argument [all...] |
H A D | btif_dm.cc | 1108 bt_property_t prop; local 1115 prop.type = BT_PROPERTY_UUIDS; 1116 prop.val = uuid.uu; 1117 prop.len = MAX_UUID_SIZE; 1121 &bd_addr, 1, &prop); 1392 bt_property_t prop; local 1410 prop.type = BT_PROPERTY_UUIDS; 1411 prop.len = 0; 1414 prop.val = p_data->disc_res.p_uuid_list; 1415 prop 1476 bt_property_t prop[2]; local 1545 bt_property_t prop; local 1595 bt_property_t prop; local 1854 bt_property_t prop; local 2461 btif_dm_get_adapter_property(bt_property_t* prop) argument [all...] |
/system/bt/bta/include/ |
H A D | bta_gatt_api.h | 218 uint8_t prop; /* used when attribute type is characteristic */ member in struct:__anon323
|