Home
last modified time | relevance | path

Searched refs:item (Results 1 – 25 of 63) sorted by relevance

123

/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_CmdQueue.cpp81 void MessageQueue::enqueue(Message *item) in enqueue() argument
85 Tail = item; in enqueue()
86 Head = item; in enqueue()
93 Head->setnext(item); in enqueue()
97 Tail->setnext(item); in enqueue()
99 Tail = item; in enqueue()
124 Message *item = NULL; in Process() local
151 item = MsgQueueInternal->dequeue(); in Process()
152 if(item == NULL) in Process()
154 item = MsgQueueExternal->dequeue(); in Process()
[all …]
DIPACM_EvtDispatcher.cpp58 Message *item = NULL; in PostEvt() local
77 item = new Message(); in PostEvt()
78 if(item == NULL) in PostEvt()
84 item->evt.callback_ptr = IPACM_EvtDispatcher::ProcessEvt; in PostEvt()
85 memcpy(&item->evt.data, data, sizeof(ipacm_cmd_q_data)); in PostEvt()
94 MsgQueue->enqueue(item); in PostEvt()
95 IPACMDBG("Enqueued item %p\n", item); in PostEvt()
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_CmdQueue.cpp81 void MessageQueue::enqueue(Message *item) in enqueue() argument
85 Tail = item; in enqueue()
86 Head = item; in enqueue()
93 Head->setnext(item); in enqueue()
97 Tail->setnext(item); in enqueue()
99 Tail = item; in enqueue()
124 Message *item = NULL; in Process() local
152 item = MsgQueueInternal->dequeue(); in Process()
153 if(item == NULL) in Process()
155 item = MsgQueueExternal->dequeue(); in Process()
[all …]
DIPACM_EvtDispatcher.cpp58 Message *item = NULL; in PostEvt() local
77 item = new Message(); in PostEvt()
78 if(item == NULL) in PostEvt()
84 item->evt.callback_ptr = IPACM_EvtDispatcher::ProcessEvt; in PostEvt()
85 memcpy(&item->evt.data, data, sizeof(ipacm_cmd_q_data)); in PostEvt()
94 MsgQueue->enqueue(item); in PostEvt()
95 IPACMDBG("Enqueued item %pK\n", item); in PostEvt()
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/
DIPACM_CmdQueue.cpp81 void MessageQueue::enqueue(Message *item) in enqueue() argument
85 Tail = item; in enqueue()
86 Head = item; in enqueue()
93 Head->setnext(item); in enqueue()
97 Tail->setnext(item); in enqueue()
99 Tail = item; in enqueue()
124 Message *item = NULL; in Process() local
152 item = MsgQueueInternal->dequeue(); in Process()
153 if(item == NULL) in Process()
155 item = MsgQueueExternal->dequeue(); in Process()
[all …]
DIPACM_EvtDispatcher.cpp58 Message *item = NULL; in PostEvt() local
77 item = new Message(); in PostEvt()
78 if(item == NULL) in PostEvt()
84 item->evt.callback_ptr = IPACM_EvtDispatcher::ProcessEvt; in PostEvt()
85 memcpy(&item->evt.data, data, sizeof(ipacm_cmd_q_data)); in PostEvt()
94 MsgQueue->enqueue(item); in PostEvt()
95 IPACMDBG("Enqueued item %pK\n", item); in PostEvt()
/hardware/interfaces/identity/support/src/
Dcppbor_parse.cpp59 std::unique_ptr<Item> item = std::make_unique<Uint>(value); in handleUint() local
61 parseClient->item(item, hdrBegin, hdrEnd /* valueBegin */, hdrEnd /* itemEnd */)}; in handleUint()
71 std::unique_ptr<Item> item = std::make_unique<Nint>(-1 - static_cast<uint64_t>(value)); in handleNint() local
73 parseClient->item(item, hdrBegin, hdrEnd /* valueBegin */, hdrEnd /* itemEnd */)}; in handleNint()
79 std::unique_ptr<Item> item = std::make_unique<Bool>(value == TRUE); in handleBool() local
81 parseClient->item(item, hdrBegin, hdrEnd /* valueBegin */, hdrEnd /* itemEnd */)}; in handleBool()
86 std::unique_ptr<Item> item = std::make_unique<Null>(); in handleNull() local
88 parseClient->item(item, hdrBegin, hdrEnd /* valueBegin */, hdrEnd /* itemEnd */)}; in handleNull()
101 std::unique_ptr<Item> item = std::make_unique<T>(valueBegin, valueBegin + length); in handleString() local
103 parseClient->item(item, hdrBegin, valueBegin, valueBegin + length)}; in handleString()
[all …]
DIdentityCredentialSupport.cpp187 static bool cborPrettyPrintInternal(const cppbor::Item* item, string& out, size_t indent, in cborPrettyPrintInternal() argument
193 switch (item->type()) { in cborPrettyPrintInternal()
195 snprintf(buf, sizeof(buf), "%" PRIu64, item->asUint()->unsignedValue()); in cborPrettyPrintInternal()
200 snprintf(buf, sizeof(buf), "%" PRId64, item->asNint()->value()); in cborPrettyPrintInternal()
205 const cppbor::Bstr* bstr = item->asBstr(); in cborPrettyPrintInternal()
236 out.append(item->asTstr()->value().c_str()); in cborPrettyPrintInternal()
242 const cppbor::Array* array = item->asArray(); in cborPrettyPrintInternal()
270 const cppbor::Map* map = item->asMap(); in cborPrettyPrintInternal()
303 const cppbor::Semantic* semantic = item->asSemantic(); in cborPrettyPrintInternal()
311 const cppbor::Bool* asBool = item->asSimple()->asBool(); in cborPrettyPrintInternal()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/stack/common/
Dcam_list.h54 static inline void cam_list_add_tail_node(struct cam_list *item, in cam_list_add_tail_node() argument
59 head->prev = item; in cam_list_add_tail_node()
60 item->next = head; in cam_list_add_tail_node()
61 item->prev = prev; in cam_list_add_tail_node()
62 prev->next = item; in cam_list_add_tail_node()
65 static inline void cam_list_insert_before_node(struct cam_list *item, in cam_list_insert_before_node() argument
68 item->next = node; in cam_list_insert_before_node()
69 item->prev = node->prev; in cam_list_insert_before_node()
70 item->prev->next = item; in cam_list_insert_before_node()
71 node->prev = item; in cam_list_insert_before_node()
/hardware/interfaces/identity/support/tests/
Dcppbor_test.cpp554 unique_ptr<Item> item = details::makeItem(10); in TEST() local
556 EXPECT_EQ(UINT, item->type()); in TEST()
557 EXPECT_NE(nullptr, item->asInt()); in TEST()
558 EXPECT_NE(nullptr, item->asUint()); in TEST()
559 EXPECT_EQ(nullptr, item->asNint()); in TEST()
560 EXPECT_EQ(nullptr, item->asTstr()); in TEST()
561 EXPECT_EQ(nullptr, item->asBstr()); in TEST()
562 EXPECT_EQ(nullptr, item->asSimple()); in TEST()
563 EXPECT_EQ(nullptr, item->asMap()); in TEST()
564 EXPECT_EQ(nullptr, item->asArray()); in TEST()
[all …]
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/inc/
DIPACM_CmdQueue.h77 void setnext(Message *item) { m_next = item; } in setnext() argument
100 void enqueue(Message *item);
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/
DIPACM_CmdQueue.h77 void setnext(Message *item) { m_next = item; } in setnext() argument
100 void enqueue(Message *item);
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/inc/
DIPACM_CmdQueue.h77 void setnext(Message *item) { m_next = item; } in setnext() argument
100 void enqueue(Message *item);
/hardware/interfaces/identity/support/include/cppbor/
Dcppbor_parse.h108 virtual ParseClient* item(std::unique_ptr<Item>& item, const uint8_t* hdrBegin,
122 virtual ParseClient* itemEnd(std::unique_ptr<Item>& item, const uint8_t* hdrBegin,
/hardware/google/pixel/health/
DLowBatteryShutdownMetrics.cpp57 for (const auto &item : android::base::Split(prop_contents, ",")) { in uploadVoltageAvg() local
58 if (!(voltage_avg = stoi(item))) { in uploadVoltageAvg()
59 LOG(ERROR) << "Couldn't process voltage value " << item; in uploadVoltageAvg()
/hardware/google/av/media/sfplugin/
DCCodecConfig.cpp117 C2Value mapFromMessage(const AMessage::ItemData &item) const { in mapFromMessage()
123 if (item.find(&int32Value)) { in mapFromMessage()
125 } else if (item.find(&int64Value)) { in mapFromMessage()
127 } else if (item.find(&floatValue)) { in mapFromMessage()
129 } else if (item.find(&doubleValue)) { in mapFromMessage()
140 AMessage::ItemData item; in mapToMessage() local
150 item.set(int32Value); in mapToMessage()
153 item.set((int32_t)uint32Value); in mapToMessage()
155 item.set(int64Value); in mapToMessage()
158 item.set((int64_t)uint64Value); in mapToMessage()
[all …]
/hardware/interfaces/identity/aidl/vts/
DVtsIdentityTestUtils.cpp250 RequestDataItem item; in buildRequestNamespaces() local
251 item.name = testEntry.name; in buildRequestNamespaces()
252 item.size = testEntry.valueCbor.size(); in buildRequestNamespaces()
253 item.accessControlProfileIds = testEntry.profileIds; in buildRequestNamespaces()
254 curNs.items.push_back(item); in buildRequestNamespaces()
/hardware/interfaces/identity/aidl/default/
DIdentityCredential.cpp46 auto [item, _, message] = cppbor::parse(credentialData_); in initialize()
47 if (item == nullptr) { in initialize()
52 const cppbor::Array* arrayItem = item->asArray(); in initialize()
276 auto [item, _, message] = cppbor::parse(sessionTranscript); in startRetrieval()
277 if (item == nullptr) { in startRetrieval()
282 sessionTranscriptItem_ = std::move(item); in startRetrieval()
373 auto [item, _, message] = cppbor::parse(itemsRequest); in startRetrieval()
374 if (item == nullptr) { in startRetrieval()
381 const cppbor::Map* map = item->asMap(); in startRetrieval()
591 for (const RequestDataItem& item : itemsToInclude) { in calcDeviceNameSpacesSize() local
[all …]
/hardware/qcom/sm8150/gps/core/
DSystemStatusOsObserver.cpp42 for (auto item : inContainer) { in containerTransfer() local
43 outContainer.insert(outContainer.begin(), item); in containerTransfer()
303 for (auto item : mDiVec) { in notify() local
304 delete item; in notify()
312 for (auto item : mDiVec) { in notify() local
313 if (mParent->updateCache(item)) { in notify()
314 dataItemIdsToBeSent.insert(item->getId()); in notify()
/hardware/qcom/sdm845/gps/sdm845/core/
DSystemStatusOsObserver.cpp42 for (auto item : inContainer) { in containerTransfer() local
43 outContainer.insert(outContainer.begin(), item); in containerTransfer()
304 for (auto item : mDiVec) { in notify() local
305 delete item; in notify()
313 for (auto item : mDiVec) { in notify() local
314 if (mParent->updateCache(item)) { in notify()
315 dataItemIdsToBeSent.insert(item->getId()); in notify()
/hardware/libhardware/modules/radio/
Dradio_hw.c286 struct listnode *item; in callback_thread_loop() local
307 list_for_each_safe(item, tmp, &tuner->command_list) { in callback_thread_loop()
308 cmd = node_to_item(item, struct thread_command, node); in callback_thread_loop()
313 list_remove(item); in callback_thread_loop()
324 list_remove(item); in callback_thread_loop()
488 list_for_each_safe(item, tmp, &tuner->command_list) { in callback_thread_loop()
489 cmd = node_to_item(item, struct thread_command, node); in callback_thread_loop()
491 list_remove(item); in callback_thread_loop()
537 struct listnode *item; in tuner_get_configuration() local
548 list_for_each(item, &stub_tuner->command_list) { in tuner_get_configuration()
[all …]
/hardware/google/av/codec2/include/
DC2Enum.h91 for (auto &item : items) { in customEnumValues()
92 namedValues.emplace_back(item.first, item.second); in customEnumValues()
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DConcurrentQueue.h52 void push(T&& item) { in push() argument
58 mQueue.push(std::move(item)); in push()
/hardware/google/av/codec2/hidl/1.0/utils/
DComponentStore.cpp258 const auto item = mStructDescriptors.find(coreIndex); in getStructDescriptors() local
259 if (item == mStructDescriptors.end()) { in getStructDescriptors()
273 } else if (item->second) { in getStructDescriptors()
274 objcpy(&descriptors[dstIx++], *item->second); in getStructDescriptors()
/hardware/interfaces/radio/1.0/vts/functional/
Dradio_hidl_hal_misc.cpp604 NvWriteItem item; in TEST_P() local
605 memset(&item, 0, sizeof(item)); in TEST_P()
606 item.value = hidl_string(); in TEST_P()
608 radio->nvWriteItem(serial, item); in TEST_P()
665 SelectUiccSub item; in TEST_P() local
666 memset(&item, 0, sizeof(item)); in TEST_P()
668 radio->setUiccSubscription(serial, item); in TEST_P()

123