Searched refs:prop_value (Results 1 – 10 of 10) sorted by relevance
/system/core/libcutils/ |
D | android_reboot.cpp | 29 char* prop_value; in android_reboot() local 45 ret = asprintf(&prop_value, "%s,%s", restart_cmd, arg); in android_reboot() 47 ret = asprintf(&prop_value, "%s", restart_cmd); in android_reboot() 50 ret = property_set(ANDROID_RB_PROPERTY, prop_value); in android_reboot() 51 free(prop_value); in android_reboot()
|
/system/linkerconfig/modules/ |
D | variables.cc | 35 std::string prop_value = android::base::GetProperty(variable, ""); in GetValue() local 36 if (!prop_value.empty()) { in GetValue() 37 return {prop_value}; in GetValue()
|
/system/bt/hci/src/ |
D | hci_layer_linux.cc | 172 char prop_value[PROPERTY_VALUE_MAX]; in hci_initialize() local 173 osi_property_get("bluetooth.interface", prop_value, "0"); in hci_initialize() 176 if (memcmp(prop_value, "hci", 3)) in hci_initialize() 177 hci_interface = strtol(prop_value, NULL, 10); in hci_initialize() 179 hci_interface = strtol(prop_value + 3, NULL, 10); in hci_initialize() 184 osi_property_get("bluetooth.rfkill", prop_value, "1"); in hci_initialize() 186 rfkill_en = atoi(prop_value); in hci_initialize()
|
/system/keymaster/android_keymaster/ |
D | keymaster_configuration.cpp | 58 std::string prop_value; in wait_and_get_property() local 63 prop_value = android::base::GetProperty(prop, "" /* default */); in wait_and_get_property() 65 return prop_value; in wait_and_get_property()
|
/system/core/init/ |
D | action.cpp | 201 std::string prop_value = android::base::GetProperty(trigger_name, ""); in CheckPropertyTriggers() local 202 if (trigger_value == "*" && !prop_value.empty()) { in CheckPropertyTriggers() 205 if (trigger_value != prop_value) return false; in CheckPropertyTriggers()
|
D | action_parser.cpp | 70 std::string prop_value(prop_name.substr(equal_pos + 1)); in ParsePropertyTrigger() local 77 if (auto [it, inserted] = property_triggers->emplace(prop_name, prop_value); !inserted) { in ParsePropertyTrigger()
|
D | property_service.cpp | 547 char prop_value[PROP_VALUE_MAX]; in handle_property_set_fd() local 550 !socket.RecvChars(prop_value, PROP_VALUE_MAX, &timeout_ms)) { in handle_property_set_fd() 556 prop_value[PROP_VALUE_MAX-1] = 0; in handle_property_set_fd() 567 HandlePropertySet(prop_name, prop_value, source_context, cr, nullptr, &error); in handle_property_set_fd()
|
/system/netd/client/ |
D | NetdClient.cpp | 84 char prop_value[PROP_VALUE_MAX] = {0}; in propertyValueIsTrue() local 85 if (__system_property_get(prop_name, prop_value) > 0) { in propertyValueIsTrue() 86 if (strcmp(prop_value, "true") == 0) { in propertyValueIsTrue()
|
/system/extras/simpleperf/ |
D | environment.cpp | 342 std::string prop_value = android::base::GetProperty(prop_name, ""); in CheckPerfEventLimit() local 343 if (prop_value.empty()) { in CheckPerfEventLimit() 347 if (prop_value == "0") { in CheckPerfEventLimit()
|
D | cmd_record_test.cpp | 278 std::string prop_value = android::base::GetProperty("ro.build.flavor", ""); in InCloudAndroid() local 279 if (android::base::StartsWith(prop_value, "cf_x86_phone") || in InCloudAndroid() 280 android::base::StartsWith(prop_value, "aosp_cf_x86_phone")) { in InCloudAndroid()
|