Home
last modified time | relevance | path

Searched refs:new_value (Results 1 – 5 of 5) sorted by relevance

/system/extras/kcmdlinectrl/
Dkcmdlinectrl.cc87 int StoreProperty(const char* property_name, const char* new_value) { in StoreProperty() argument
105 if (!strcmp(new_value, "rust")) { in StoreProperty()
107 } else if (!strcmp(new_value, "c")) { in StoreProperty()
110 LOG(ERROR) << "Binder property can only be 'c' or 'rust', but got " << new_value; in StoreProperty()
127 char *action, *property_name, *new_value; in main() local
132 new_value = NULL; in main()
136 new_value = NULL; in main()
140 new_value = argv[3]; in main()
148 } else if (!strcmp(action, "get") && property_name != NULL && new_value == NULL) { in main()
150 } else if (!strcmp(action, "store") && property_name != NULL && new_value != NULL) { in main()
[all …]
/system/media/audio_route/
Daudio_route.c52 union ctl_values new_value; member
417 memcpy(ar->mixer_state[ctl_index].new_value.ptr, path->setting[i].value.ptr, in path_apply()
440 memcpy(ar->mixer_state[ctl_index].new_value.ptr, in path_reset()
598 ar->mixer_state[ctl_index].new_value.bytes[id] = value_array[0]; in start_tag()
600 ar->mixer_state[ctl_index].new_value.integer[id] = value_array[0]; in start_tag()
602 ar->mixer_state[ctl_index].new_value.enumerated[id] = value; in start_tag()
604 ar->mixer_state[ctl_index].new_value.integer[id] = value; in start_tag()
612 ar->mixer_state[ctl_index].new_value.bytes[i] = value_array[i]; in start_tag()
614 ar->mixer_state[ctl_index].new_value.integer[i] = value_array[i]; in start_tag()
616 ar->mixer_state[ctl_index].new_value.enumerated[i] = value; in start_tag()
[all …]
/system/libbase/include/android-base/
Dunique_fd.h78 [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); }
108 void reset(int new_value, void* previous_tag) { in reset() argument
115 fd_ = new_value; in reset()
116 if (new_value != -1) { in reset()
117 tag(new_value, previous_tag, this); in reset()
/system/tools/aidl/
Daidl_checkapi.cpp158 const string new_value = new_c->ValueString(AidlConstantValueDecorator); in are_compatible_constants() local
159 if (old_value != new_value) { in are_compatible_constants()
161 << old_c->GetName() << " from " << old_value << " to " << new_value << "."; in are_compatible_constants()
274 const string new_value = new_field->ValueString(AidlConstantValueDecorator); in are_compatible_parcelables() local
275 if (old_value == new_value) { in are_compatible_parcelables()
284 AIDL_ERROR(new_field) << "Changed default value: " << old_value << " to " << new_value << "."; in are_compatible_parcelables()
385 const string new_value = in are_compatible_enums() local
387 if (old_value != new_value) { in are_compatible_enums()
389 << " from " << old_value << " to " << new_value << "."; in are_compatible_enums()
/system/core/healthd/
Dhealthd_mode_charger.cpp856 std::string new_value = root + *value + ".png"; in set_resource_root_for() local
859 if (!backup_root.empty() && access(new_value.data(), F_OK) == -1) { in set_resource_root_for()
860 new_value = backup_root + *value + ".png"; in set_resource_root_for()
863 *value = new_value; in set_resource_root_for()