/hardware/google/av/codec2/include/ |
D | C2Enum.h | 62 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/ |
D | HidParserExample.cpp | 31 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/65xx/libsensors_iio/software/core/mllite/linux/ |
D | ml_sysfs_helper.h | 22 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);
|
D | ml_sysfs_helper.c | 57 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/invensense/6515/libsensors_iio/software/core/mllite/linux/ |
D | ml_sysfs_helper.h | 22 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);
|
D | ml_sysfs_helper.c | 65 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/intel/common/utils/ISV/profile/ |
D | isv_profile.cpp | 119 int ISVProfile::getFilterID(const char * name) in getFilterID() argument 123 if (strcmp(name, "ProcFilterNoiseReduction") == 0) in getFilterID() 125 else if (strcmp(name, "ProcFilterDeinterlacing") == 0) in getFilterID() 127 else if (strcmp(name, "ProcFilterSharpening") == 0) in getFilterID() 129 else if (strcmp(name, "ProcFilterColorBalance") == 0) in getFilterID() 131 else if (strcmp(name, "ProcFilterDeblocking") == 0) in getFilterID() 133 else if (strcmp(name, "ProcFilterFrameRateConversion") == 0) in getFilterID() 135 else if (strcmp(name, "ProcFilterSkinToneEnhancement") == 0) in getFilterID() 137 else if (strcmp(name, "ProcFilterTotalColorCorrection") == 0) in getFilterID() 139 else if (strcmp(name, "ProcFilterNonLinearAnamorphicScaling") == 0) in getFilterID() [all …]
|
/hardware/google/av/codec2/vndk/util/ |
D | C2ParamUtils.cpp | 62 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/qcom/gps/msm8960/core/ |
D | LocDualContext.cpp | 63 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/ |
D | hw_info.c | 31 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/ |
D | ALSAControl.cpp | 54 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/intel/common/utils/media_resource_manager/arbitrator/ |
D | MediaResourceArbitrator.cpp | 308 CodecType MediaResourceArbitrator::MapCodecTypeFromName(const char* name) { in MapCodecTypeFromName() argument 309 if (strcmp(name, "CODEC_TYPE_AVC") == 0) { in MapCodecTypeFromName() 311 } else if (strcmp(name, "CODEC_TYPE_HEVC") == 0) { in MapCodecTypeFromName() 313 } else if (strcmp(name, "CODEC_TYPE_VP8") == 0) { in MapCodecTypeFromName() 315 } else if (strcmp(name, "CODEC_TYPE_VP9") == 0) { in MapCodecTypeFromName() 317 } else if (strcmp(name, "CODEC_TYPE_MPEG2") == 0) { in MapCodecTypeFromName() 319 } else if (strcmp(name, "CODEC_TYPE_MPEG4") == 0){ in MapCodecTypeFromName() 321 } else if (strcmp(name, "CODEC_TYPE_H263") == 0) { in MapCodecTypeFromName() 323 } else if (strcmp(name, "CODEC_TYPE_WMV") == 0) { in MapCodecTypeFromName() 325 } else if (strcmp(name, "CODEC_TYPE_VC1") == 0) { in MapCodecTypeFromName() [all …]
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/vc1/include/ |
D | vc1common.h | 21 #define GET_BLSB( name, bitf ) BLSB_MFD_##name##_##bitf argument 22 #define GET_BMSK( name, bitf ) BMSK_MFD_##name##_##bitf argument 24 #define BF_READ( name, bitf, value ) ((value & GET_BMSK(name, bitf) ) >> GET_BLSB(name, bitf) ) argument 25 #define BF_WRITE( name, bitf, value, data ) value = ((value & ~GET_BMSK(name, bitf)) | ((data) << G… argument
|
/hardware/qcom/gps/msm8909w_3100/core/ |
D | LocDualContext.h | 45 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/ |
D | LocDualContext.h | 45 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/ |
D | LocDualContext.h | 45 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/msm8998/core/ |
D | LocDualContext.h | 47 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/intel/common/utils/ituxd/src/com/intel/thermal/ |
D | ThermalSensor.java | 132 public void setSensorName(String name) { in setSensorName() argument 133 mSensorName = name; in setSensorName() 153 public void setInputTempPath(String name) { in setInputTempPath() argument 160 if (name != null && name.equalsIgnoreCase("auto")) { in setInputTempPath() 161 name = "temp"; in setInputTempPath() 163 mInputTempPath = mSensorPath + name; in setInputTempPath() 178 public void setHighTempPath(String name) { in setHighTempPath() argument 179 if (name != null && name.equalsIgnoreCase("auto")) { in setHighTempPath() 185 mHighTempPath = mSensorPath + name; in setHighTempPath() 194 public void setLowTempPath(String name) { in setLowTempPath() argument [all …]
|
D | ThermalUtils.java | 42 private native static int native_getThermalZoneIndex(String name); in native_getThermalZoneIndex() argument 43 private native static int native_getThermalZoneIndexContains(String name); in native_getThermalZoneIndexContains() argument 44 private native static int native_getCoolingDeviceIndex(String name); in native_getCoolingDeviceIndex() argument 45 private native static int native_getCoolingDeviceIndexContains(String name); in native_getCoolingDeviceIndexContains() argument 46 private native static boolean native_isFileExists(String name); in native_isFileExists() argument 76 public static int getThermalZoneIndex(String name) { in getThermalZoneIndex() argument 78 return native_getThermalZoneIndex(name); in getThermalZoneIndex() 85 public static int getThermalZoneIndexContains(String name) { in getThermalZoneIndexContains() argument 87 return native_getThermalZoneIndexContains(name); in getThermalZoneIndexContains() 94 public static int getCoolingDeviceIndex(String name) { in getCoolingDeviceIndex() argument [all …]
|
/hardware/qcom/gps/msm8084/core/ |
D | LocDualContext.cpp | 65 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/camera/msm8998/QCamera2/util/ |
D | QCameraTrace.h | 55 #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/include/core/all-versions/default/ |
D | ParametersUtil.impl.h | 46 Result ParametersUtil::getParam(const char* name, bool* value) { in getParam() argument 48 Result retval = getParam(name, &halValue); in getParam() 59 Result ParametersUtil::getParam(const char* name, int* value) { in getParam() argument 60 const String8 halName(name); in getParam() 67 Result ParametersUtil::getParam(const char* name, String8* value, AudioParameter context) { in getParam() argument 68 const String8 halName(name); in getParam() 115 Result ParametersUtil::setParam(const char* name, const char* value) { in setParam() argument 117 param.add(String8(name), String8(value)); in setParam() 121 Result ParametersUtil::setParam(const char* name, bool value) { in setParam() argument 123 param.add(String8(name), String8(value ? AudioParameter::valueOn : AudioParameter::valueOff)); in setParam() [all …]
|
D | ParametersUtil.h | 39 Result setParam(const char* name, const char* value); 40 Result getParam(const char* name, bool* value); 41 Result getParam(const char* name, int* value); 42 Result getParam(const char* name, String8* value, AudioParameter context = {}); 47 Result setParam(const char* name, bool value); 48 Result setParam(const char* name, int value); 49 Result setParam(const char* name, float value); 53 Result setParam(const char* name, const DeviceAddress& address);
|
/hardware/libhardware/ |
D | hardware.c | 148 static int hw_module_exists(char *path, size_t path_len, const char *name, in hw_module_exists() argument 152 HAL_LIBRARY_PATH3, name, subname); in hw_module_exists() 157 HAL_LIBRARY_PATH2, name, subname); in hw_module_exists() 163 HAL_LIBRARY_PATH1, name, subname); in hw_module_exists() 177 char name[PATH_MAX] = {0}; in hw_get_module_by_class() local 182 snprintf(name, PATH_MAX, "%s.%s", class_id, inst); in hw_get_module_by_class() 184 strlcpy(name, class_id, PATH_MAX); in hw_get_module_by_class() 194 snprintf(prop_name, sizeof(prop_name), "ro.hardware.%s", name); in hw_get_module_by_class() 196 if (hw_module_exists(path, sizeof(path), name, prop) == 0) { in hw_get_module_by_class() 206 if (hw_module_exists(path, sizeof(path), name, prop) == 0) { in hw_get_module_by_class() [all …]
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | rb_wrapper.cpp | 42 size_t size_of_buf, int num_bufs, char *name) in rb_init() argument 49 strlcpy(rb_info->name, name, MAX_RB_NAME_SIZE); in rb_init() 64 rb_info->name[0] = '\0'; in rb_deinit() 71 strlcpy((char *)rbs->name, rb_info->name, MAX_RB_NAME_SIZE); in get_rb_status() 83 int is_rb_name_match(struct rb_info *rb_info, char *name) in is_rb_name_match() argument 85 return (strncmp(rb_info->name, name, MAX_RB_NAME_SIZE) == 0); in is_rb_name_match() 100 rb_info->name, status); in ring_buffer_write() 105 rb_info->name, status); in ring_buffer_write() 133 handler.on_ring_buffer_data(rb_info->name, (char *)buf, in push_out_rb_data()
|