Searched refs:prop_value (Results 1 – 11 of 11) 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/tools/sysprop/tests/ |
D | CppGenIntegrationTest.cpp | 29 #define TEST_API(api_name, prop_name, prop_value, expected_raw_value) \ argument 30 EXPECT_TRUE(api_name(prop_value)); \ 33 EXPECT_EQ(prop_value, api_name().value())
|
/system/core/trusty/keymaster/set_attestation_ids/ |
D | set_attestation_ids.cpp | 66 std::string prop_value = ::android::base::GetProperty(prop, /* default_value = */ ""); in set_from_prop() local 67 if (!prop_value.empty()) { in set_from_prop() 68 buf->Reinitialize(prop_value.data(), prop_value.size()); in set_from_prop()
|
/system/keymint/hal/src/ |
D | env.rs | 41 pub fn extract_truncated_patchlevel(prop_value: &str) -> Result<u32, Error> { in extract_truncated_patchlevel() 46 .captures(prop_value) in extract_truncated_patchlevel() 58 pub fn extract_patchlevel(prop_value: &str) -> Result<u32, Error> { in extract_patchlevel() 63 .captures(prop_value) in extract_patchlevel()
|
/system/keymaster/android_keymaster/ |
D | keymaster_configuration.cpp | 63 std::string prop_value; in wait_and_get_property() local 68 prop_value = android::base::GetProperty(prop, "" /* default */); in wait_and_get_property() 70 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 | 611 char prop_value[PROP_VALUE_MAX]; in handle_property_set_fd() local 614 !socket.RecvChars(prop_value, PROP_VALUE_MAX, &timeout_ms)) { in handle_property_set_fd() 620 prop_value[PROP_VALUE_MAX-1] = 0; in handle_property_set_fd() 630 auto result = HandlePropertySetNoSocket(prop_name, prop_value, source_context, cr, &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 | 293 std::string prop_value = android::base::GetProperty(prop_name, ""); in CheckPerfEventLimit() local 294 if (prop_value.empty()) { in CheckPerfEventLimit() 298 if (prop_value == "0") { in CheckPerfEventLimit()
|