Searched refs:prop_name (Results 1 – 7 of 7) sorted by relevance
/system/core/init/ |
D | util.cpp | 528 std::string prop_name; in expand_props() local 537 prop_name = std::string(c, end); in expand_props() 540 prop_name = c; in expand_props() 543 c += prop_name.size(); in expand_props() 546 if (prop_name.empty()) { in expand_props() 551 std::string prop_val = property_get(prop_name.c_str()); in expand_props() 554 prop_name.c_str(), src.c_str()); in expand_props()
|
D | action.cpp | 134 std::string prop_name(trigger.substr(prop_str.length())); in ParsePropertyTrigger() local 135 size_t equal_pos = prop_name.find('='); in ParsePropertyTrigger() 141 std::string prop_value(prop_name.substr(equal_pos + 1)); in ParsePropertyTrigger() 142 prop_name.erase(equal_pos); in ParsePropertyTrigger() 144 auto res = property_triggers_.emplace(prop_name, prop_value); in ParsePropertyTrigger()
|
D | service.cpp | 85 std::string prop_name = StringPrintf("init.svc.%s", name_.c_str()); in NotifyStateChange() local 86 if (prop_name.length() >= PROP_NAME_MAX) { in NotifyStateChange() 93 property_set(prop_name.c_str(), new_state.c_str()); in NotifyStateChange()
|
/system/bt/btif/src/ |
D | btif_dm.c | 415 bt_property_t prop_name; in check_cached_remote_name() local 419 BTIF_STORAGE_FILL_PROPERTY(&prop_name, BT_PROPERTY_BDNAME, in check_cached_remote_name() 422 &remote_bdaddr, &prop_name) == BT_STATUS_SUCCESS) in check_cached_remote_name() 437 bt_property_t prop_name; in get_cod() local 440 BTIF_STORAGE_FILL_PROPERTY(&prop_name, BT_PROPERTY_CLASS_OF_DEVICE, in get_cod() 442 …if (btif_storage_get_remote_device_property((bt_bdaddr_t *)remote_bdaddr, &prop_name) == BT_STATUS… in get_cod() 464 bt_property_t prop_name; in check_hid_le() local 467 BTIF_STORAGE_FILL_PROPERTY(&prop_name,BT_PROPERTY_TYPE_OF_DEVICE, in check_hid_le() 470 &prop_name) == BT_STATUS_SUCCESS) in check_hid_le() 499 bt_property_t prop_name; in check_sdp_bl() local [all …]
|
D | btif_hh.c | 915 bt_property_t prop_name; in btif_hh_upstreams_evt() local 916 BTIF_STORAGE_FILL_PROPERTY(&prop_name, BT_PROPERTY_BDNAME, in btif_hh_upstreams_evt() 919 &p_dev->bd_addr, &prop_name) == BT_STATUS_SUCCESS) in btif_hh_upstreams_evt()
|
/system/core/adb/ |
D | adb.cpp | 191 for (const auto& prop_name : cnxn_props) { in get_connection_string() local 193 property_get(prop_name, value, ""); in get_connection_string() 195 android::base::StringPrintf("%s=%s", prop_name, value)); in get_connection_string()
|
D | test_device.py | 569 prop_name = 'foo.bar' 570 self.device.shell(['setprop', prop_name, '""']) 572 self.device.set_prop(prop_name, 'qux') 574 self.device.shell(['getprop', prop_name])[0].strip(), 'qux')
|