/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/snxxx/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/nxp/nfc/pn8x/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/google/graphics/zuma/libhwc2.1/libresource/ |
D | ExynosResourceManagerModule.cpp | 92 for (auto attr = HWAttrs.begin(); attr != HWAttrs.end(); attr++) { in checkTDMResource() local 93 const LoadSharing_t &loadSharing = attr->second.loadSharing; in checkTDMResource() 94 uint32_t currentAmount = mppSrc->getHWResourceAmount(attr->first); in checkTDMResource() 101 display->mDisplayTDMInfo[TDMInfoIdx].getAvailableAmount(attr->first).totalAmount; in checkTDMResource() 105 attr->second.name.string(), loadSharing, accumulatedAmount[attr->first], in checkTDMResource() 107 if (accumulatedAmount[attr->first] + currentAmount > totalAmount) { in checkTDMResource() 109 currentMPP->mName.string(), attr->second.name.string()); in checkTDMResource() 210 for (auto attr = HWAttrs.begin(); attr != HWAttrs.end(); attr++) { in setDisplaysTDMInfo() local 212 if (attr->second.loadSharing == LS_DPUF) { in setDisplaysTDMInfo() 213 setupHWResource(attr->first, attr->second.name, blockId->first, AXI_DONT_CARE, in setDisplaysTDMInfo() [all …]
|
/hardware/qcom/sm7250/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()
|
/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()
|
/hardware/google/aemu/base/include/aemu/base/testing/ |
D | TestThread.h | 48 pthread_attr_t attr; 49 pthread_attr_init(&attr); 50 pthread_attr_setstacksize(&attr, stackSize); 51 pthread_create(&mThread, &attr, func, funcParam); 52 pthread_attr_destroy(&attr);
|
/hardware/interfaces/automotive/can/1.0/default/libnl++/ |
D | MessageFactory.cpp | 38 auto attr = tail(msg); in add() local 39 attr->nla_len = totalAttrLen; in add() 40 attr->nla_type = type; in add() 41 if (dataLen > 0) memcpy(impl::data<nlattr, void>(attr), data, dataLen); in add() 44 return attr; in add()
|
D | printer.cpp | 99 static void toStream(std::stringstream& ss, const Buffer<nlattr> attr, in toStream() argument 103 const auto attrtype = attrMap[attr->nla_type]; in toStream() 107 if (attrtype.dataType == DataType::Flag && attr.data<uint8_t>().getRaw().len() == 0) return; in toStream() 111 const auto raw = attr.data<uint8_t>(); in toStream() 121 toStream(ss, attr.data<uint8_t>()); in toStream() 126 for (const auto childattr : attr.data<nlattr>()) { in toStream() 136 const auto str = attr.data<char>().getRaw(); in toStream() 146 ss << attr.data<uint64_t>().copyFirst(); in toStream() 151 structToStream(ss, attr); in toStream() 203 for (auto attr : hdr.data<nlattr>(msgDesc.getContentsSize())) { in toStream() local [all …]
|
D | MessageMutator.cpp | 38 uint64_t MessageMutator::read(Buffer<nlattr> attr) const { in read() 39 return attr.data<uint64_t>().copyFirst(); in read() 42 void MessageMutator::write(Buffer<nlattr> attr, uint64_t val) const { in write() argument 43 const auto attrData = attr.data<uint64_t>(); in write()
|
/hardware/google/graphics/common/libacryl/ |
D | acrylic_layer.cpp | 94 bool AcrylicCanvas::setImageBuffer(int a, int r, int g, int b, uint32_t attr) in setImageBuffer() argument 113 mAttributes = (attr & ATTR_ALL_MASK) | ATTR_SOLIDCOLOR; in setImageBuffer() 123 int num_buffers, int fence, uint32_t attr) in setImageBuffer() argument 125 if ((attr & ATTR_OTF) != 0) in setImageBuffer() 126 return setImageOTFBuffer(attr); in setImageBuffer() 164 ALOGE_IF((attr & ~ATTR_ALL_MASK) != 0, in setImageBuffer() 165 "Configured unsupported attribute %#x to setImageBuffer(dmabuf))", attr); in setImageBuffer() 171 mAttributes = attr & ATTR_ALL_MASK; in setImageBuffer() 181 int num_buffers, uint32_t attr) in setImageBuffer() argument 183 if ((attr & ATTR_OTF) != 0) in setImageBuffer() [all …]
|
/hardware/interfaces/automotive/can/1.0/default/libnl++/protocols/ |
D | structs.cpp | 24 return [flags](std::stringstream& ss, const Buffer<nlattr> attr) { in flagsToStream() argument 25 auto value = attr.data<uint64_t>().copyFirst(); in flagsToStream() 48 void hwaddrToStream(std::stringstream& ss, const Buffer<nlattr> attr) { in hwaddrToStream() argument 51 for (const auto byte : attr.data<uint8_t>().getRaw()) { in hwaddrToStream()
|
D | structs.h | 26 void arrayToStream(std::stringstream& ss, const Buffer<nlattr> attr) { in arrayToStream() argument 28 for (const auto it : attr.data<T>().getRaw()) { in arrayToStream() 39 void hwaddrToStream(std::stringstream& ss, const Buffer<nlattr> attr);
|
/hardware/interfaces/automotive/can/1.0/default/libnl++/protocols/route/ |
D | structs.h | 29 void mapToStream(std::stringstream& ss, const Buffer<nlattr> attr); 32 void ifla_cacheinfoToStream(std::stringstream& ss, const Buffer<nlattr> attr); 38 void statsToStream(std::stringstream& ss, const Buffer<nlattr> attr) { in statsToStream() argument 39 const auto& [ok, data] = attr.data<T>().getFirst(); in statsToStream()
|
D | structs.cpp | 21 void mapToStream(std::stringstream& ss, const Buffer<nlattr> attr) { in mapToStream() argument 22 const auto& [ok, data] = attr.data<rtnl_link_ifmap>().getFirst(); in mapToStream() 36 void ifla_cacheinfoToStream(std::stringstream& ss, const Buffer<nlattr> attr) { in ifla_cacheinfoToStream() argument 37 const auto& [ok, data] = attr.data<ifla_cacheinfo>().getFirst(); in ifla_cacheinfoToStream()
|
/hardware/qcom/bootctrl/ |
D | boot_control.cpp | 100 uint8_t *attr = NULL; in get_partition_attribute() local 117 attr = pentry + AB_FLAG_OFFSET; in get_partition_attribute() 119 return !!(*attr & AB_PARTITION_ATTR_SLOT_ACTIVE); in get_partition_attribute() 121 return !!(*attr & AB_PARTITION_ATTR_BOOT_SUCCESSFUL); in get_partition_attribute() 123 return !!(*attr & AB_PARTITION_ATTR_UNBOOTABLE); in get_partition_attribute() 159 uint8_t *attr = NULL; in update_slot_attribute() local 236 attr = pentry + AB_FLAG_OFFSET; in update_slot_attribute() 239 *attr = (*attr) | AB_PARTITION_ATTR_BOOT_SUCCESSFUL; in update_slot_attribute() 243 *attr = (*attr) | AB_PARTITION_ATTR_UNBOOTABLE; in update_slot_attribute() 246 *attr = (*attr) | AB_PARTITION_ATTR_SLOT_ACTIVE; in update_slot_attribute() [all …]
|
/hardware/interfaces/automotive/can/1.0/default/libnl++/include/libnl++/ |
D | MessageFactory.h | 108 void add(nlattrtype_t type, const A& attr) { in add() argument 109 addInternal(type, &attr, sizeof(attr)); in add() 166 auto attr = MessageFactoryBase::add(&mMessage.header, sizeof(mMessage), type, data, len); variable 167 if (attr == nullptr) mIsGood = false; 168 return attr;
|
/hardware/nxp/secure_element/snxxx/libese-spi/src/adaptation/ |
D | CondVar.cpp | 41 pthread_condattr_t attr; in CondVar() local 42 pthread_condattr_init(&attr); in CondVar() 43 pthread_condattr_setclock(&attr, CLOCK_MONOTONIC); in CondVar() 45 int const res = pthread_cond_init(&mCondition, &attr); in CondVar()
|
/hardware/google/pixel/powerstats/dataproviders/ |
D | PowerStatsEnergyConsumer.cpp | 29 bool attr) in PowerStatsEnergyConsumer() argument 30 : kType(type), kName(name), mPowerStats(p), mWithAttribution(attr) {} in PowerStatsEnergyConsumer() 185 EnergyConsumerAttribution attr = { in getEnergyConsumed() local 189 attribution.emplace_back(attr); in getEnergyConsumed() 197 for (auto &attr : attribution) { in getEnergyConsumed() local 198 attr.energyUWs = (int64_t)(attr.energyUWs * powerScale) + in getEnergyConsumed() 199 (mUidEnergySS.count(attr.uid) ? mUidEnergySS.at(attr.uid) : 0); in getEnergyConsumed() 200 mUidEnergySS[attr.uid] = attr.energyUWs; in getEnergyConsumed()
|
/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/ |
D | ExynosDeviceInterface.cpp | 60 ALOGD("attr: 0x%lx", res.attr); in printDppRestriction() 83 if (attrs.find(r.attr) != attrs.end()) in makeDPURestrictions() 86 attrs.insert(r.attr); in makeDPURestrictions() 178 (unsigned long)feature_table[j].attr); in updateFeatureTable() 185 HDEBUGLOGD(eDebugAttrSetting, "DPU attr : (ch:%d), 0x%lx", i, (unsigned long)c_r.attr); in updateFeatureTable() 190 uint64_t attr = 0; in updateFeatureTable() local 193 if (c_r.attr & (1 << dpu_attr_map_table[k].dpp_attr)) { in updateFeatureTable() 194 attr |= dpu_attr_map_table[k].hwc_attr; in updateFeatureTable() 199 attr |= it->second; in updateFeatureTable() 200 feature_table[j].attr = attr; in updateFeatureTable() [all …]
|
/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/google/pixel/power-libperfmgr/aidl/ |
D | PowerSessionManager.cpp | 54 static int sched_setattr(int pid, struct sched_attr *attr, unsigned int flags) { in sched_setattr() argument 59 return syscall(__NR_sched_setattr, pid, attr, flags); in sched_setattr() 67 sched_attr attr = {}; in set_uclamp_min() local 68 attr.size = sizeof(attr); in set_uclamp_min() 70 attr.sched_flags = (SCHED_FLAG_KEEP_ALL | SCHED_FLAG_UTIL_CLAMP_MIN); in set_uclamp_min() 71 attr.sched_util_min = min; in set_uclamp_min() 73 int ret = sched_setattr(tid, &attr, 0); in set_uclamp_min()
|
/hardware/google/aemu/base/ |
D | Thread_pthread.cpp | 51 pthread_attr_t attr; in start() local 53 pthread_attr_init(&attr); in start() 54 pthread_attr_setstacksize(&attr, mStackSize); in start() 57 if (pthread_create(&mThread, mStackSize ? &attr : nullptr, thread_main, in start() 78 pthread_attr_destroy(&attr); in start()
|
/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()
|