Home
last modified time | relevance | path

Searched refs:name (Results 1 – 25 of 1641) sorted by relevance

12345678910>>...66

/hardware/google/av/codec2/include/
DC2Enum.h62 static C2String camelCaseToDashed(C2String name);
98 #define DEFINE_C2_ENUM_VALUE_AUTO_HELPER(name, type, prefix, ...) \ argument
99 _DEFINE_C2_ENUM_VALUE_AUTO_HELPER(__C2_GENERATE_GLOBAL_VARS__, name, type, prefix, \
101 #define _DEFINE_C2_ENUM_VALUE_AUTO_HELPER(enabled, name, type, prefix, ...) \ argument
102 __DEFINE_C2_ENUM_VALUE_AUTO_HELPER(enabled, name, type, prefix, ##__VA_ARGS__)
103 #define __DEFINE_C2_ENUM_VALUE_AUTO_HELPER(enabled, name, type, prefix, ...) \ argument
104 ___DEFINE_C2_ENUM_VALUE_AUTO_HELPER##enabled(name, type, prefix, ##__VA_ARGS__)
105 #define ___DEFINE_C2_ENUM_VALUE_AUTO_HELPER(name, type, prefix, ...) \ argument
107 C2FieldDescriptor::NamedValuesType C2FieldDescriptor::namedValuesFor(const name &r __unused) { \
113 #define ___DEFINE_C2_ENUM_VALUE_AUTO_HELPER__C2_GENERATE_GLOBAL_VARS__(name, type, prefix, ...) argument
[all …]
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/test/
DHidParserExample.cpp31 const char *name = p->name != nullptr ? p->name : "unnamed"; in doParse() local
35 LOG_V << name << " filtered tree: " << LOG_ENDL; in doParse()
39 LOG_E << name << " parsing error!" << LOG_ENDL; in doParse()
53 const char *name = p->name != nullptr ? p->name : "unnamed"; in doParseAndFilter() local
58 LOG_V << name << " filtered tree: " << LOG_ENDL; in doParseAndFilter()
62 LOG_E << name << " parsing error!" << LOG_ENDL; in doParseAndFilter()
84 const char *name = p->name != nullptr ? p->name : "unnamed"; in doDigest() local
88 LOG_E << name << " parsing error!" << LOG_ENDL; in doDigest()
94 LOG_V << name << " digest: " << LOG_ENDL; in doDigest()
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/
Dml_sysfs_helper.h22 int find_type_by_name(const char *name, const char *type);
24 inv_error_t inv_get_sysfs_path(char *name);
25 inv_error_t inv_get_sysfs_abs_path(char *name);
26 inv_error_t inv_get_dmpfile(char *name);
27 inv_error_t inv_get_chip_name(char *name);
29 inv_error_t inv_get_handler_number(const char *name, int *num);
30 inv_error_t inv_get_input_number(const char *name, int *num);
31 inv_error_t inv_get_iio_trigger_path(const char *name);
32 inv_error_t inv_get_iio_device_node(const char *name);
Dml_sysfs_helper.c65 int find_type_by_name(const char *name, const char *type) in find_type_by_name() argument
108 if (strcmp(name, thisname) == 0) in find_type_by_name()
120 static int parsing_proc_input(int mode, char *name){ in parsing_proc_input() argument
164 if(!memcmp(&line[i], name, strlen(name))){ in parsing_proc_input()
425 inv_error_t inv_get_sysfs_path(char *name) in inv_get_sysfs_path() argument
427 if (process_sysfs_request(CMD_GET_SYSFS_PATH, name) < 0) in inv_get_sysfs_path()
433 inv_error_t inv_get_sysfs_abs_path(char *name) in inv_get_sysfs_abs_path() argument
435 strcpy(name, MPU_SYSFS_ABS_PATH); in inv_get_sysfs_abs_path()
447 inv_error_t inv_get_dmpfile(char *name) in inv_get_dmpfile() argument
449 if (process_sysfs_request(CMD_GET_DMP_PATH, name) < 0) in inv_get_dmpfile()
[all …]
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
Dml_sysfs_helper.h22 int find_type_by_name(const char *name, const char *type);
24 inv_error_t inv_get_sysfs_path(char *name);
25 inv_error_t inv_get_sysfs_abs_path(char *name);
26 inv_error_t inv_get_dmpfile(char *name);
27 inv_error_t inv_get_chip_name(char *name);
29 inv_error_t inv_get_handler_number(const char *name, int *num);
30 inv_error_t inv_get_input_number(const char *name, int *num);
31 inv_error_t inv_get_iio_trigger_path(const char *name);
32 inv_error_t inv_get_iio_device_node(const char *name);
Dml_sysfs_helper.c57 int find_type_by_name(const char *name, const char *type) in find_type_by_name() argument
100 if (strcmp(name, thisname) == 0) in find_type_by_name()
112 static int parsing_proc_input(int mode, char *name){ in parsing_proc_input() argument
156 if(!memcmp(&line[i], name, strlen(name))){ in parsing_proc_input()
417 inv_error_t inv_get_sysfs_path(char *name) in inv_get_sysfs_path() argument
419 if (process_sysfs_request(CMD_GET_SYSFS_PATH, name) < 0) in inv_get_sysfs_path()
425 inv_error_t inv_get_sysfs_abs_path(char *name) in inv_get_sysfs_abs_path() argument
427 strcpy(name, MPU_SYSFS_ABS_PATH); in inv_get_sysfs_abs_path()
439 inv_error_t inv_get_dmpfile(char *name) in inv_get_dmpfile() argument
441 if (process_sysfs_request(CMD_GET_DMP_PATH, name) < 0) in inv_get_dmpfile()
[all …]
/hardware/google/av/codec2/vndk/util/
DC2ParamUtils.cpp62 C2String _C2EnumUtils::camelCaseToDashed(C2String name) { in camelCaseToDashed() argument
72 for (size_t ix = 0; ix < name.size(); ++ix) { in camelCaseToDashed()
73 C2_LOG(VERBOSE) << name.substr(0, word_start) << "|" in camelCaseToDashed()
74 << name.substr(word_start, ix - word_start) << "[" in camelCaseToDashed()
75 << name.substr(ix, 1) << "]" << name.substr(ix + 1) in camelCaseToDashed()
77 if (isupper(name[ix])) { in camelCaseToDashed()
79 name.insert(ix++, 1, '-'); in camelCaseToDashed()
82 name[ix] = tolower(name[ix]); in camelCaseToDashed()
84 } else if (islower(name[ix])) { in camelCaseToDashed()
86 name.insert(ix++, 1, '-'); in camelCaseToDashed()
[all …]
/hardware/google/pixel/thermal/utils/
Dconfig_parser.cpp83 const std::string &name = sensors[i]["Name"].asString(); in ParseSensorInfo() local
84 LOG(INFO) << "Sensor[" << i << "]'s Name: " << name; in ParseSensorInfo()
85 if (name.empty()) { in ParseSensorInfo()
92 auto result = sensors_name_parsed.insert(name); in ParseSensorInfo()
100 LOG(INFO) << "Sensor[" << name << "]'s Type: " << sensor_type_str; in ParseSensorInfo()
105 << "Sensor[" << name << "]'s Type: " << sensor_type_str; in ParseSensorInfo()
122 << "Sensor[" << name << "]'s HotThreshold count" << values.size(); in ParseSensorInfo()
132 << "Sensor[" << name << "]'s HotThreshold[j" << j in ParseSensorInfo()
139 LOG(INFO) << "Sensor[" << name << "]'s HotThreshold[" << j in ParseSensorInfo()
147 << "Sensor[" << name << "]'s HotHysteresis, default all to 0.0"; in ParseSensorInfo()
[all …]
/hardware/qcom/sdm845/gps/msm8960/core/
DLocDualContext.cpp63 const char* name) in getMsgTask() argument
66 mMsgTask = new MsgTask(tCreator, name); in getMsgTask()
72 const char* name) in getMsgTask() argument
75 mMsgTask = new MsgTask(tAssociate, name); in getMsgTask()
81 const char* name) in getLocFgContext() argument
84 const MsgTask* msgTask = getMsgTask(tCreator, name); in getLocFgContext()
92 const char* name) in getLocFgContext() argument
95 const MsgTask* msgTask = getMsgTask(tAssociate, name); in getLocFgContext()
104 const char* name) in getLocBgContext() argument
107 const MsgTask* msgTask = getMsgTask(tCreator, name); in getLocBgContext()
[all …]
/hardware/qcom/gps/msm8960/core/
DLocDualContext.cpp63 const char* name) in getMsgTask() argument
66 mMsgTask = new MsgTask(tCreator, name); in getMsgTask()
72 const char* name) in getMsgTask() argument
75 mMsgTask = new MsgTask(tAssociate, name); in getMsgTask()
81 const char* name) in getLocFgContext() argument
84 const MsgTask* msgTask = getMsgTask(tCreator, name); in getLocFgContext()
92 const char* name) in getLocFgContext() argument
95 const MsgTask* msgTask = getMsgTask(tAssociate, name); in getLocFgContext()
104 const char* name) in getLocBgContext() argument
107 const MsgTask* msgTask = getMsgTask(tCreator, name); in getLocBgContext()
[all …]
/hardware/qcom/audio/hal/msm8916/
Dhw_info.c31 char name[HW_INFO_ARRAY_MAX_SIZE]; member
46 strlcpy(hw_info->name, "msm8x16", sizeof(hw_info->name)); in update_hardware_info_8x16()
49 strlcpy(hw_info->name, "msm8909", sizeof(hw_info->name)); in update_hardware_info_8x16()
51 strlcpy(hw_info->name, "msm8909", sizeof(hw_info->name)); in update_hardware_info_8x16()
54 strlcpy(hw_info->name, "msm8952", sizeof(hw_info->name)); in update_hardware_info_8x16()
56 strlcpy(hw_info->name, "msm8952", sizeof(hw_info->name)); in update_hardware_info_8x16()
78 strlcpy(hw_info->name, "", sizeof(hw_info->name)); in hw_info_init()
/hardware/qcom/audio/legacy/alsa_sound/
DALSAControl.cpp54 status_t ALSAControl::get(const char *name, unsigned int &value, int index) in get() argument
63 ctl = mixer_get_control(mHandle, name, index); in get()
71 status_t ALSAControl::set(const char *name, unsigned int value, int index) in set() argument
75 ALOGD("set:: name %s value %d index %d", name, value, index); in set()
82 ctl = mixer_get_control(mHandle, name, 0); in set()
91 status_t ALSAControl::set(const char *name, const char *value) in set() argument
95 ALOGD("set:: name %s value %s", name, value); in set()
102 ctl = mixer_get_control(mHandle, name, 0); in set()
111 status_t ALSAControl::setext(const char *name, int count, char **setValues) in setext() argument
115 ALOGD("setext:: name %s count %d", name, count); in setext()
[all …]
/hardware/qcom/sdm845/gps/msm8909/core/
DLocDualContext.h45 const char* name, bool joinable = true);
46 static const MsgTask* getMsgTask(const char* name, bool joinable = true);
61 const char* name, bool joinable = true);
62 inline static ContextBase* getLocFgContext(const char* name, bool joinable = true) {
63 return getLocFgContext(NULL, NULL, name, joinable);
66 const char* name, bool joinable = true);
67 inline static ContextBase* getLocBgContext(const char* name, bool joinable = true) {
68 return getLocBgContext(NULL, NULL, name, joinable);
/hardware/qcom/gps/msm8909/core/
DLocDualContext.h45 const char* name, bool joinable = true);
46 static const MsgTask* getMsgTask(const char* name, bool joinable = true);
61 const char* name, bool joinable = true);
62 inline static ContextBase* getLocFgContext(const char* name, bool joinable = true) {
63 return getLocFgContext(NULL, NULL, name, joinable);
66 const char* name, bool joinable = true);
67 inline static ContextBase* getLocBgContext(const char* name, bool joinable = true) {
68 return getLocBgContext(NULL, NULL, name, joinable);
/hardware/qcom/gps/msm8909w_3100/core/
DLocDualContext.h45 const char* name, bool joinable = true);
46 static const MsgTask* getMsgTask(const char* name, bool joinable = true);
61 const char* name, bool joinable = true);
62 inline static ContextBase* getLocFgContext(const char* name, bool joinable = true) {
63 return getLocFgContext(NULL, NULL, name, joinable);
66 const char* name, bool joinable = true);
67 inline static ContextBase* getLocBgContext(const char* name, bool joinable = true) {
68 return getLocBgContext(NULL, NULL, name, joinable);
/hardware/qcom/sdm845/gps/sdm845/core/
DLocDualContext.h45 const char* name, bool joinable = true);
46 static const MsgTask* getMsgTask(const char* name, bool joinable = true);
61 const char* name, bool joinable = true);
62 inline static ContextBase* getLocFgContext(const char* name, bool joinable = true) {
63 return getLocFgContext(NULL, NULL, name, joinable);
66 const char* name, bool joinable = true);
67 inline static ContextBase* getLocBgContext(const char* name, bool joinable = true) {
68 return getLocBgContext(NULL, NULL, name, joinable);
/hardware/qcom/sdm845/gps/msm8996/core/
DLocDualContext.h45 const char* name, bool joinable = true);
46 static const MsgTask* getMsgTask(const char* name, bool joinable = true);
61 const char* name, bool joinable = true);
62 inline static ContextBase* getLocFgContext(const char* name, bool joinable = true) {
63 return getLocFgContext(NULL, NULL, name, joinable);
66 const char* name, bool joinable = true);
67 inline static ContextBase* getLocBgContext(const char* name, bool joinable = true) {
68 return getLocBgContext(NULL, NULL, name, joinable);
/hardware/qcom/gps/msm8996/core/
DLocDualContext.h45 const char* name, bool joinable = true);
46 static const MsgTask* getMsgTask(const char* name, bool joinable = true);
61 const char* name, bool joinable = true);
62 inline static ContextBase* getLocFgContext(const char* name, bool joinable = true) {
63 return getLocFgContext(NULL, NULL, name, joinable);
66 const char* name, bool joinable = true);
67 inline static ContextBase* getLocBgContext(const char* name, bool joinable = true) {
68 return getLocBgContext(NULL, NULL, name, joinable);
/hardware/qcom/gps/msm8084/core/
DLocDualContext.cpp65 const char* name) in getMsgTask() argument
68 mMsgTask = new MsgTask(tCreator, name); in getMsgTask()
74 const char* name) in getMsgTask() argument
77 mMsgTask = new MsgTask(tAssociate, name); in getMsgTask()
85 const char* name) in getLocFgContext() argument
88 const MsgTask* msgTask = getMsgTask(tCreator, name); in getLocFgContext()
100 const char* name) in getLocFgContext() argument
103 const MsgTask* msgTask = getMsgTask(tAssociate, name); in getLocFgContext()
117 const char* name) in getLocBgContext() argument
120 const MsgTask* msgTask = getMsgTask(tCreator, name); in getLocBgContext()
[all …]
/hardware/qcom/sdm845/gps/msm8084/core/
DLocDualContext.cpp65 const char* name) in getMsgTask() argument
68 mMsgTask = new MsgTask(tCreator, name); in getMsgTask()
74 const char* name) in getMsgTask() argument
77 mMsgTask = new MsgTask(tAssociate, name); in getMsgTask()
85 const char* name) in getLocFgContext() argument
88 const MsgTask* msgTask = getMsgTask(tCreator, name); in getLocFgContext()
100 const char* name) in getLocFgContext() argument
103 const MsgTask* msgTask = getMsgTask(tAssociate, name); in getLocFgContext()
117 const char* name) in getLocBgContext() argument
120 const MsgTask* msgTask = getMsgTask(tCreator, name); in getLocBgContext()
[all …]
/hardware/qcom/gps/msm8998/core/
DLocDualContext.h47 const char* name, bool joinable = true);
48 static const MsgTask* getMsgTask(const char* name, bool joinable = true);
64 const char* name, bool joinable = true);
65 inline static ContextBase* getLocFgContext(const char* name, bool joinable = true) {
66 return getLocFgContext(NULL, NULL, name, joinable);
69 const char* name, bool joinable = true);
70 inline static ContextBase* getLocBgContext(const char* name, bool joinable = true) {
71 return getLocBgContext(NULL, NULL, name, joinable);
/hardware/qcom/sdm845/gps/msm8998/core/
DLocDualContext.h47 const char* name, bool joinable = true);
48 static const MsgTask* getMsgTask(const char* name, bool joinable = true);
64 const char* name, bool joinable = true);
65 inline static ContextBase* getLocFgContext(const char* name, bool joinable = true) {
66 return getLocFgContext(NULL, NULL, name, joinable);
69 const char* name, bool joinable = true);
70 inline static ContextBase* getLocBgContext(const char* name, bool joinable = true) {
71 return getLocBgContext(NULL, NULL, name, joinable);
/hardware/qcom/camera/msm8998/QCamera2/util/
DQCameraTrace.h55 #define KPI_ATRACE_BEGIN(name) ({\ argument
57 atrace_begin(ATRACE_TAG, name); \
67 #define KPI_ATRACE_INT(name,val) ({\ argument
69 atrace_int(ATRACE_TAG, name, val); \
81 #define ATRACE_BEGIN_DBG(name) ({\ argument
83 atrace_begin(ATRACE_TAG, name); \
93 #define ATRACE_INT_DBG(name,val) ({\ argument
95 atrace_int(ATRACE_TAG, name, val); \
217 #define KPI_ATRACE_CAMSCOPE_INT(name, camscope_name, counter) ({\ argument
218 KPI_ATRACE_INT(name, counter); \
[all …]
/hardware/interfaces/audio/core/all-versions/default/
DParametersUtil.cpp48 Result ParametersUtil::getParam(const char* name, bool* value) { in getParam() argument
50 Result retval = getParam(name, &halValue); in getParam()
61 Result ParametersUtil::getParam(const char* name, int* value) { in getParam() argument
62 const String8 halName(name); in getParam()
69 Result ParametersUtil::getParam(const char* name, String8* value, AudioParameter context) { in getParam() argument
70 const String8 halName(name); in getParam()
117 Result ParametersUtil::setParam(const char* name, const char* value) { in setParam() argument
119 param.add(String8(name), String8(value)); in setParam()
123 Result ParametersUtil::setParam(const char* name, bool value) { in setParam() argument
125 param.add(String8(name), String8(value ? AudioParameter::valueOn : AudioParameter::valueOff)); in setParam()
[all …]
/hardware/interfaces/drm/1.1/
DREADME.md23 <name>android.hardware.drm</name>
27 <name>ICryptoFactory</name>
31 <name>IDrmFactory</name>
50 <name>android.hardware.drm</name>
54 <name>ICryptoFactory</name>
59 <name>IDrmFactory</name>
75 <name>android.hardware.drm</name>

12345678910>>...66