/hardware/qcom/audio/hal/ |
D | platform_info.c | 62 typedef void (* section_process_fn)(const XML_Char **attr); 64 static void process_acdb_id(const XML_Char **attr); 65 static void process_audio_effect(const XML_Char **attr, effect_type_t effect_type); 66 static void process_effect_aec(const XML_Char **attr); 67 static void process_effect_ns(const XML_Char **attr); 68 static void process_pcm_id(const XML_Char **attr); 69 static void process_backend_name(const XML_Char **attr); 70 static void process_config_params(const XML_Char **attr); 71 static void process_root(const XML_Char **attr); 72 static void process_operator_specific(const XML_Char **attr); [all …]
|
/hardware/qcom/audio/hal/audio_extn/ |
D | audiozoom.c | 48 const XML_Char **attr) in start_tag() argument 52 if (!attr) { in start_tag() 58 if (strcmp(attr[0], "id") == 0) { in start_tag() 59 if (attr[1]) in start_tag() 60 qdsp_audiozoom.topo_id = atoi(attr[1]); in start_tag() 63 if (strcmp(attr[0], "id") == 0) { in start_tag() 64 if (attr[1]) in start_tag() 65 qdsp_audiozoom.module_id = atoi(attr[1]); in start_tag() 68 while (attr[index] != NULL) { in start_tag() 69 if (strcmp(attr[index], "zoom_id") == 0) { in start_tag() [all …]
|
/hardware/nxp/nfc/halimpl/hal/ |
D | phNxpNciHal_NfcDepSWPrio.cc | 132 pthread_attr_t attr; in phNxpNciHal_stop_polling_loop() local 133 pthread_attr_init(&attr); in phNxpNciHal_stop_polling_loop() 134 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); in phNxpNciHal_stop_polling_loop() 135 if (pthread_create(&pthread, &attr, tmp_thread, (void*)&discover_type) != 0) { in phNxpNciHal_stop_polling_loop() 138 pthread_attr_destroy(&attr); in phNxpNciHal_stop_polling_loop() 157 pthread_attr_t attr; in phNxpNciHal_resume_polling_loop() local 158 pthread_attr_init(&attr); in phNxpNciHal_resume_polling_loop() 159 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); in phNxpNciHal_resume_polling_loop() 160 if (pthread_create(&pthread, &attr, tmp_thread, (void*)&discover_type) != 0) { in phNxpNciHal_resume_polling_loop() 163 pthread_attr_destroy(&attr); in phNxpNciHal_resume_polling_loop() [all …]
|
/hardware/qcom/sm8150/media/libplatformconfig/ |
D | ConfigParser.cpp | 43 void ConfigParser::processProperty(const XML_Char **attr, ConfigMap &configMap) { in processProperty() argument 44 if (strcmp(attr[0], "name") != 0) { in processProperty() 49 std::string propName(attr[1]); in processProperty() 51 if (strcmp(attr[2], "value") != 0) { in processProperty() 56 std::string propValue(attr[3]); in processProperty() 64 const XML_Char **attr) { in startTag() argument 66 processProperty(attr, *static_cast<ConfigMap *>(userdata)); in startTag()
|
D | ConfigParser.h | 57 static void processProperty(const XML_Char **attr, ConfigMap &confMap); 60 const XML_Char **attr);
|
/hardware/qcom/sdm845/media/libplatformconfig/ |
D | ConfigParser.cpp | 42 void ConfigParser::processProperty(const XML_Char **attr, ConfigMap &configMap) { in processProperty() argument 43 if (strcmp(attr[0], "name") != 0) { in processProperty() 48 std::string propName(attr[1]); in processProperty() 50 if (strcmp(attr[2], "value") != 0) { in processProperty() 55 std::string propValue(attr[3]); in processProperty() 63 const XML_Char **attr) { in startTag() argument 65 processProperty(attr, *static_cast<ConfigMap *>(userdata)); in startTag()
|
D | ConfigParser.h | 57 static void processProperty(const XML_Char **attr, ConfigMap &confMap); 60 const XML_Char **attr);
|
/hardware/interfaces/automotive/can/1.0/default/libnetdevice/ |
D | NetlinkRequest.cpp | 36 auto attr = nlmsg_tail(n); in addattr_l() local 37 attr->rta_len = RTA_SPACE(dataLen); in addattr_l() 38 attr->rta_type = type; in addattr_l() 39 if (dataLen > 0) memcpy(RTA_DATA(attr), data, dataLen); in addattr_l() 42 return attr; in addattr_l()
|
D | NetlinkRequest.h | 76 void addattr(rtattrtype_t type, const A& attr) { in addattr() 78 auto ap = impl::addattr_l(&mRequest.nlmsg, sizeof(mRequest), type, &attr, sizeof(attr)); in addattr() 143 auto attr = impl::addattr_nest(&mRequest.nlmsg, sizeof(mRequest), type); in nestStart() local 144 if (attr == nullptr) mIsGood = false; in nestStart() 145 return attr; in nestStart()
|
/hardware/qcom/bootctrl/ |
D | boot_control.cpp | 95 uint8_t *attr = NULL; in get_partition_attribute() local 113 attr = pentry + AB_FLAG_OFFSET; in get_partition_attribute() 115 retval = !!(*attr & AB_PARTITION_ATTR_SLOT_ACTIVE); in get_partition_attribute() 117 retval = !!(*attr & AB_PARTITION_ATTR_BOOT_SUCCESSFUL); in get_partition_attribute() 119 retval = !!(*attr & AB_PARTITION_ATTR_UNBOOTABLE); in get_partition_attribute() 142 uint8_t *attr = NULL; in update_slot_attribute() local 212 attr = pentry + AB_FLAG_OFFSET; in update_slot_attribute() 215 *attr = (*attr) | AB_PARTITION_ATTR_BOOT_SUCCESSFUL; in update_slot_attribute() 219 *attr = (*attr) | AB_PARTITION_ATTR_UNBOOTABLE; in update_slot_attribute() 222 *attr = (*attr) | AB_PARTITION_ATTR_SLOT_ACTIVE; in update_slot_attribute() [all …]
|
/hardware/qcom/sdm845/gps/msm8960/core/ |
D | MsgTask.cpp | 72 pthread_attr_t attr; in createPThread() local 73 pthread_attr_init(&attr); in createPThread() 74 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); in createPThread() 79 if (!pthread_create(&tid, &attr, loopMain, in createPThread()
|
/hardware/qcom/gps/msm8960/core/ |
D | MsgTask.cpp | 72 pthread_attr_t attr; in createPThread() local 73 pthread_attr_init(&attr); in createPThread() 74 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); in createPThread() 79 if (!pthread_create(&tid, &attr, loopMain, in createPThread()
|
/hardware/qcom/gps/core/ |
D | MsgTask.cpp | 87 pthread_attr_t attr; in createPThread() local 88 pthread_attr_init(&attr); in createPThread() 89 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); in createPThread() 94 if (!pthread_create(&tid, &attr, loopMain, in createPThread()
|
/hardware/qcom/gps/msm8084/core/ |
D | MsgTask.cpp | 87 pthread_attr_t attr; in createPThread() local 88 pthread_attr_init(&attr); in createPThread() 89 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); in createPThread() 94 if (!pthread_create(&tid, &attr, loopMain, in createPThread()
|
/hardware/qcom/sdm845/gps/msm8084/core/ |
D | MsgTask.cpp | 87 pthread_attr_t attr; in createPThread() local 88 pthread_attr_init(&attr); in createPThread() 89 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); in createPThread() 94 if (!pthread_create(&tid, &attr, loopMain, in createPThread()
|
/hardware/qcom/gps/msm8994/core/ |
D | MsgTask.cpp | 87 pthread_attr_t attr; in createPThread() local 88 pthread_attr_init(&attr); in createPThread() 89 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); in createPThread() 94 if (!pthread_create(&tid, &attr, loopMain, in createPThread()
|
/hardware/qcom/sdm845/gps/core/ |
D | MsgTask.cpp | 87 pthread_attr_t attr; in createPThread() local 88 pthread_attr_init(&attr); in createPThread() 89 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); in createPThread() 94 if (!pthread_create(&tid, &attr, loopMain, in createPThread()
|
/hardware/qcom/sdm845/gps/msm8994/core/ |
D | MsgTask.cpp | 87 pthread_attr_t attr; in createPThread() local 88 pthread_attr_init(&attr); in createPThread() 89 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); in createPThread() 94 if (!pthread_create(&tid, &attr, loopMain, in createPThread()
|
/hardware/interfaces/media/omx/1.0/vts/functional/master/ |
D | VtsHalMediaOmxV1_0TargetMasterTest.cpp | 96 for (const auto& attr : attributes) { in validateAttributes() local 98 const auto [nodeIter, inserted] = attributeKeys.insert(attr.key); in validateAttributes() 99 EXPECT_EQ(inserted, true) << "Attribute \"" << attr.key << "\" has duplicates."; in validateAttributes() 103 const auto knownPattern = knownPatterns.find(attr.key); in validateAttributes() 105 EXPECT_EQ(testing::internal::RE::FullMatch(attr.value, knownPattern->second), true) in validateAttributes() 106 << "Attribute \"" << attr.key << "\" has invalid value \"" << attr.value << "."; in validateAttributes() 113 if (testing::internal::RE::PartialMatch(attr.key, unknownPattern.key)) { in validateAttributes() 115 EXPECT_EQ(testing::internal::RE::FullMatch(attr.value, unknownPattern.value), in validateAttributes() 117 << "Attribute \"" << attr.key << "\" has invalid value \"" << attr.value in validateAttributes() 122 std::cout << "Warning, Unrecognized attribute \"" << attr.key << "\" with value \"" in validateAttributes() [all …]
|
/hardware/qcom/sm8150/display/sdm/include/utils/ |
D | locker.h | 130 pthread_mutexattr_t attr; in Locker() local 131 pthread_mutexattr_init(&attr); in Locker() 132 pthread_mutexattr_setrobust(&attr, PTHREAD_MUTEX_ROBUST); in Locker() 133 pthread_mutex_init(&mutex_, &attr); in Locker()
|
/hardware/ril/libril/ |
D | rilSocketQueue.h | 41 pthread_mutexattr_t attr; variable 95 pthread_mutexattr_init(&attr); in Ril_queue() 96 pthread_mutex_init(&mutex_instance, &attr); in Ril_queue()
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | cpp_bindings.h | 112 nl_iterator(struct nlattr *attr) { in nl_iterator() argument 113 pos = (struct nlattr *)nla_data(attr); in nl_iterator() 114 rem = nla_len(attr); in nl_iterator() 196 wifi_error wifi_nla_put(struct nl_msg *msg, int attr, in wifi_nla_put() argument 201 status = nla_put(msg, attr, attrlen, data); in wifi_nla_put() 204 attrlen, attr, status); in wifi_nla_put() 288 void attr_end(struct nlattr *attr) { in attr_end() argument 289 nla_nest_end(mMsg, attr); in attr_end()
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/test/ |
D | QCameraHAL3Test.cpp | 152 pthread_attr_t attr; in processThreadCreate() local 156 pthread_attr_init(&attr); in processThreadCreate() 157 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); in processThreadCreate() 167 ret = pthread_create(&thread.td, &attr, processBuffers, &thread ); in processThreadCreate()
|
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
D | cpp_bindings.h | 115 nl_iterator(struct nlattr *attr) { in nl_iterator() argument 116 pos = (struct nlattr *)nla_data(attr); in nl_iterator() 117 rem = nla_len(attr); in nl_iterator() 227 void attr_end(struct nlattr *attr) { in attr_end() argument 228 nla_nest_end(mMsg, attr); in attr_end()
|
/hardware/qcom/sm8150/display/sdm/libs/core/ |
D | display_pluggable.cpp | 405 AttrVal attr = current_color_attr_->second; in SetColorMode() local 408 if (attr.begin() != attr.end()) { in SetColorMode() 409 for (auto &it : attr) { in SetColorMode() 456 DisplayError DisplayPluggable::GetColorModeAttr(const std::string &color_mode, AttrVal *attr) { in GetColorModeAttr() argument 458 if (!attr) { in GetColorModeAttr() 467 *attr = it->second; in GetColorModeAttr()
|