Searched refs:attr_name (Results 1 – 6 of 6) sorted by relevance
/system/core/libprocessgroup/include/processgroup/ |
D | processgroup.h | 29 bool CgroupGetAttributePath(const std::string& attr_name, std::string* path); 30 bool CgroupGetAttributePathForTask(const std::string& attr_name, int tid, std::string* path); 70 bool getAttributePathForTask(const std::string& attr_name, int tid, std::string* path);
|
/system/core/libprocessgroup/ |
D | processgroup.cpp | 72 bool CgroupGetAttributePath(const std::string& attr_name, std::string* path) { in CgroupGetAttributePath() argument 74 const ProfileAttribute* attr = tp.GetAttribute(attr_name); in CgroupGetAttributePath() 87 bool CgroupGetAttributePathForTask(const std::string& attr_name, int tid, std::string* path) { in CgroupGetAttributePathForTask() argument 89 const ProfileAttribute* attr = tp.GetAttribute(attr_name); in CgroupGetAttributePathForTask() 479 static bool SetProcessGroupValue(int tid, const std::string& attr_name, int64_t value) { in SetProcessGroupValue() argument 486 if (!CgroupGetAttributePathForTask(attr_name, tid, &path)) { in SetProcessGroupValue() 487 PLOG(ERROR) << "Failed to find attribute '" << attr_name << "'"; in SetProcessGroupValue() 510 bool getAttributePathForTask(const std::string& attr_name, int tid, std::string* path) { in getAttributePathForTask() argument 511 return CgroupGetAttributePathForTask(attr_name, tid, path); in getAttributePathForTask()
|
D | task_profiles.cpp | 488 std::string attr_name = params_val["Name"].asString(); in Load() local 491 auto iter = attributes_.find(attr_name); in Load() 496 LOG(WARNING) << "SetAttribute: unknown attribute: " << attr_name; in Load()
|
/system/media/audio_route/ |
D | audio_route.c | 471 const XML_Char *attr_name = NULL; in start_tag() local 488 attr_name = attr[i + 1]; in start_tag() 497 if (attr_name == NULL) { in start_tag() 502 state->path = path_create(ar, (char *)attr_name); in start_tag() 507 struct mixer_path *sub_path = path_get_by_name(ar, attr_name); in start_tag() 509 ALOGW("unable to find sub path '%s'", attr_name); in start_tag() 517 ctl = mixer_get_ctl_by_name(ar->mixer, attr_name); in start_tag() 519 ALOGW("Control '%s' doesn't exist - skipping", attr_name); in start_tag() 526 ALOGE("No value specified for ctl %s", attr_name); in start_tag() 536 ALOGE("No value specified for ctl %s", attr_name); in start_tag() [all …]
|
/system/sepolicy/tools/ |
D | checkfc.c | 72 static int get_attr_bit(policydb_t *policydb, const char *attr_name) in get_attr_bit() argument 74 struct type_datum *attr = hashtab_search(policydb->p_types.table, (char *)attr_name); in get_attr_bit() 76 fprintf(stderr, "Error: \"%s\" is not defined in this policy.\n", attr_name); in get_attr_bit() 81 fprintf(stderr, "Error: \"%s\" is not an attribute in this policy.\n", attr_name); in get_attr_bit()
|
/system/bt/gd/rust/linux/stack/btif_macros/src/ |
D | lib.rs | 82 let attr_name = i.ident; in btif_callbacks_generator() localVariable 83 arg_names = quote! { #arg_names #attr_name, }; in btif_callbacks_generator()
|