Home
last modified time | relevance | path

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

12345678910>>...71

/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);
/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);
/hardware/interfaces/audio/core/all-versions/vts/functional/
DDeviceManager.h25 sp<Interface> getExisting(const Key& name) { in getExisting() argument
26 auto existing = instances.find(name); in getExisting()
30 sp<Interface> get(const Key& name) { in get() argument
31 auto existing = instances.find(name); in get()
33 auto [inserted, _] = instances.emplace(name, Derived::createInterfaceInstance(name)); in get()
39 bool reset(const Key& name, bool waitForDestruction) __attribute__((warn_unused_result)) { in reset() argument
40 auto iter = instances.find(name); in reset()
73 static sp<IDevicesFactory> createInterfaceInstance(const std::string& name) { in createInterfaceInstance() argument
74 return IDevicesFactory::getService(name); in createInterfaceInstance()
86 auto [factoryName, name] = factoryAndDevice; in createInterfaceInstance()
[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/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/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/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/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/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/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/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/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/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/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/interfaces/audio/policy/1.0/xml/pfw_schemas/
DAndroid.bp2 name: "audio_policy_engine_configurable_configuration_V1_0",
11 name: "audio_policy_engine_configurable_configuration_ComponentLibrary_V1_0",
20 name: "audio_policy_engine_configurable_configuration_ComponentTypeSet_V1_0",
29 name: "audio_policy_engine_configurable_configuration_ConfigurableDomain_V1_0",
38 name: "audio_policy_engine_configurable_configuration_ConfigurableDomains_V1_0",
47 name: "audio_policy_engine_configurable_configuration_FileIncluder_V1_0",
56 name: "audio_policy_engine_configurable_configuration_Parameter_V1_0",
65 name: "audio_policy_engine_configurable_configuration_ParameterFrameworkConfiguration_V1_0",
74 name: "audio_policy_engine_configurable_configuration_ParameterSettings_V1_0",
83 name: "audio_policy_engine_configurable_configuration_Subsystem_V1_0",
[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/libhardware_legacy/
Dpower_test.cpp103 bool findWakeLockInfoByName(const sp<ISuspendControlService>& service, const std::string& name, in findWakeLockInfoByName() argument
108 [&name](const auto& x) { return x.name == name; }); in findWakeLockInfoByName()
122 auto name = std::to_string(rand()); in TEST_F() local
124 android::wakelock::WakeLock wl{name}; in TEST_F()
127 auto success = findWakeLockInfoByName(controlService, name, &info); in TEST_F()
129 ASSERT_EQ(info.name, name); in TEST_F()
138 auto success = findWakeLockInfoByName(controlService, name, &info); in TEST_F()
140 ASSERT_EQ(info.name, name); in TEST_F()
/hardware/st/nfc/st21nfc/adaptation/
Dconfig.cpp46 CNfcParam(const char* name, const string& value);
47 CNfcParam(const char* name, unsigned long value);
64 bool getValue(const char* name, char* pValue, size_t& len) const;
65 bool getValue(const char* name, unsigned long& rValue) const;
66 bool getValue(const char* name, unsigned short& rValue) const;
67 bool getValue(const char* name, char* pValue, long len, long* readlen) const;
73 bool readConfig(const char* name, bool bResetContent);
171 bool CNfcConfig::readConfig(const char* name, bool bResetContent) { in readConfig() argument
193 if ((fd = fopen(name, "rb")) == NULL) { in readConfig()
194 STLOG_HAL_W("%s Cannot open config file %s\n", __func__, name); in readConfig()
[all …]

12345678910>>...71