/hardware/libhardware/tests/input/evdev/ |
D | InputMocks.cpp | 30 auto node = new MockInputDeviceNode(); in getElanTouchscreen() local 31 node->setPath("/dev/input/event0"); in getElanTouchscreen() 32 node->setName("elan-touchscreen"); in getElanTouchscreen() 35 node->setBusType(0); in getElanTouchscreen() 36 node->setVendorId(0); in getElanTouchscreen() 37 node->setProductId(0); in getElanTouchscreen() 38 node->setVersion(0); in getElanTouchscreen() 42 node->addAbsAxis(ABS_MT_SLOT, nullptr); in getElanTouchscreen() 43 node->addAbsAxis(ABS_MT_TOUCH_MAJOR, nullptr); in getElanTouchscreen() 44 node->addAbsAxis(ABS_MT_POSITION_X, nullptr); in getElanTouchscreen() [all …]
|
D | InputDevice_test.cpp | 68 auto node = std::make_shared<MockInputDeviceNode>(); in TEST_F() local 69 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F() 84 auto node = std::make_shared<MockInputDeviceNode>(); in TEST_F() local 85 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F() 101 auto node = std::shared_ptr<MockInputDeviceNode>(MockNexus7v2::getElanTouchscreen()); in TEST_F() local 102 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F() 108 auto node = std::shared_ptr<MockInputDeviceNode>(MockNexus7v2::getButtonJack()); in TEST_F() local 109 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F() 122 auto node = std::shared_ptr<MockInputDeviceNode>(MockNexus7v2::getHeadsetJack()); in TEST_F() local 123 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F() [all …]
|
D | InputHub_test.cpp | 57 virtual void onInputEvent(const std::shared_ptr<InputDeviceNode>& node, InputEvent& event, in onInputEvent() argument 59 mInputCb(node, event, event_time); in onInputEvent() 61 virtual void onDeviceAdded(const std::shared_ptr<InputDeviceNode>& node) override { in onDeviceAdded() argument 62 mDeviceAddedCb(node); in onDeviceAdded() 64 virtual void onDeviceRemoved(const std::shared_ptr<InputDeviceNode>& node) override { in onDeviceRemoved() argument 65 mDeviceRemovedCb(node); in onDeviceRemoved() 101 [&](const std::shared_ptr<InputDeviceNode>& node) { in TEST_F() argument 102 pathname = node->getPath(); in TEST_F() 136 [&](const std::shared_ptr<InputDeviceNode>& node) { in TEST_F() argument 137 tempNode = node; in TEST_F() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/util/ |
D | QCameraQueue.cpp | 147 camera_q_node *node = in enqueue() local 149 if (NULL == node) { in enqueue() 154 memset(node, 0, sizeof(camera_q_node)); in enqueue() 155 node->data = data; in enqueue() 159 cam_list_add_tail_node(&node->list, &m_head.list); in enqueue() 163 free(node); in enqueue() 184 camera_q_node *node = in enqueueWithPriority() local 186 if (NULL == node) { in enqueueWithPriority() 191 memset(node, 0, sizeof(camera_q_node)); in enqueueWithPriority() 192 node->data = data; in enqueueWithPriority() [all …]
|
D | QCameraCmdThread.cpp | 141 camera_cmd_t *node = (camera_cmd_t *)malloc(sizeof(camera_cmd_t)); in sendCmd() local 142 if (NULL == node) { in sendCmd() 146 memset(node, 0, sizeof(camera_cmd_t)); in sendCmd() 147 node->cmd = cmd; in sendCmd() 150 if (!cmd_queue.enqueueWithPriority((void *)node)) { in sendCmd() 151 free(node); in sendCmd() 152 node = NULL; in sendCmd() 155 if (!cmd_queue.enqueue((void *)node)) { in sendCmd() 156 free(node); in sendCmd() 157 node = NULL; in sendCmd() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg_queue.c | 47 mm_jpeg_q_node_t* node = in mm_jpeg_queue_enq() local 49 if (NULL == node) { in mm_jpeg_queue_enq() 54 memset(node, 0, sizeof(mm_jpeg_q_node_t)); in mm_jpeg_queue_enq() 55 node->data = data; in mm_jpeg_queue_enq() 58 cam_list_add_tail_node(&node->list, &queue->head.list); in mm_jpeg_queue_enq() 70 mm_jpeg_q_node_t* node = in mm_jpeg_queue_enq_head() local 72 if (NULL == node) { in mm_jpeg_queue_enq_head() 77 memset(node, 0, sizeof(mm_jpeg_q_node_t)); in mm_jpeg_queue_enq_head() 78 node->data = data; in mm_jpeg_queue_enq_head() 84 cam_list_insert_before_node(&node->list, pos); in mm_jpeg_queue_enq_head() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/stack/common/ |
D | cam_queue.h | 57 cam_node_t *node = in cam_queue_enq() local 59 if (NULL == node) { in cam_queue_enq() 63 memset(node, 0, sizeof(cam_node_t)); in cam_queue_enq() 64 node->data = data; in cam_queue_enq() 67 cam_list_add_tail_node(&node->list, &queue->head.list); in cam_queue_enq() 76 cam_node_t *node = NULL; in cam_queue_deq() local 85 node = member_of(pos, cam_node_t, list); in cam_queue_deq() 86 cam_list_del_node(&node->list); in cam_queue_deq() 91 if (NULL != node) { in cam_queue_deq() 92 data = node->data; in cam_queue_deq() [all …]
|
/hardware/libhardware/modules/input/evdev/ |
D | InputDeviceManager.cpp | 28 void InputDeviceManager::onInputEvent(const std::shared_ptr<InputDeviceNode>& node, InputEvent& eve… in onInputEvent() argument 30 if (mDevices[node] == nullptr) { in onInputEvent() 31 ALOGE("got input event for unknown node %s", node->getPath().c_str()); in onInputEvent() 34 mDevices[node]->processInput(event, event_time); in onInputEvent() 37 void InputDeviceManager::onDeviceAdded(const std::shared_ptr<InputDeviceNode>& node) { in onDeviceAdded() argument 38 mDevices[node] = std::make_shared<EvdevDevice>(mHost, node); in onDeviceAdded() 41 void InputDeviceManager::onDeviceRemoved(const std::shared_ptr<InputDeviceNode>& node) { in onDeviceRemoved() argument 42 if (mDevices[node] == nullptr) { in onDeviceRemoved() 43 ALOGE("could not remove unknown node %s", node->getPath().c_str()); in onDeviceRemoved() 49 mDevices.erase(node); in onDeviceRemoved()
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_queue.c | 85 camera_q_node *node = in mm_qcamera_queue_enqueue() local 87 if (NULL == node) { in mm_qcamera_queue_enqueue() 92 memset(node, 0, sizeof(camera_q_node)); in mm_qcamera_queue_enqueue() 93 node->data = data; in mm_qcamera_queue_enqueue() 96 cam_list_add_tail_node(&node->list, &queue->m_head.list); in mm_qcamera_queue_enqueue() 109 camera_q_node* node = NULL; in mm_qcamera_queue_dequeue() local 122 node = member_of(pos, camera_q_node, list); in mm_qcamera_queue_dequeue() 123 cam_list_del_node(&node->list); in mm_qcamera_queue_dequeue() 128 if (NULL != node) { in mm_qcamera_queue_dequeue() 129 data = node->data; in mm_qcamera_queue_dequeue() [all …]
|
/hardware/qcom/neuralnetworks/hvxservice/1.0/ |
D | HexagonModel.cpp | 135 uint32_t node = getNextNode(); in createTensorInternal() local 136 bool success = hexagon::Controller::getInstance().append_const_node(mGraphId, node, B, H, W, D, in createTensorInternal() 139 return {.src_id = node, .output_idx = 0}; in createTensorInternal() 286 uint32_t node = getNextNode(); in addOperationInternal() local 287 return hexagon::Controller::getInstance().append_node(mGraphId, node, op, pad, inputs.data(), in addOperationInternal() 290 ? node in addOperationInternal() 307 bool Model::registerHexagonInputs(const std::vector<uint32_t>& operands, uint32_t node) { in registerHexagonInputs() argument 313 operand.hexagon_input = {.src_id = node, .output_idx = idx++}; in registerHexagonInputs() 315 operand.hexagon_input_min = {.src_id = node, .output_idx = idx++}; in registerHexagonInputs() 316 operand.hexagon_input_max = {.src_id = node, .output_idx = idx++}; in registerHexagonInputs() [all …]
|
/hardware/qcom/sdm845/gps/sdm845/utils/ |
D | LocHeap.cpp | 46 void swap(LocHeapNode& node); 51 void push(LocHeapNode& node); 62 inline bool outRanks(LocHeapNode& node) { return mData->outRanks(*node.mData); } in outRanks() argument 88 void LocHeapNode::swap(LocHeapNode& node) { in swap() argument 89 LocRankable* tmpData = node.mData; in swap() 90 node.mData = mData; in swap() 107 void LocHeapNode::push(LocHeapNode& node) { in push() argument 109 if (node.outRanks(*this)) { in push() 110 swap(node); in push() 115 mLeft = &node; in push() [all …]
|
/hardware/qcom/sdm845/gps/msm8996/utils/ |
D | LocHeap.cpp | 46 void swap(LocHeapNode& node); 51 void push(LocHeapNode& node); 62 inline bool outRanks(LocHeapNode& node) { return mData->outRanks(*node.mData); } in outRanks() argument 88 void LocHeapNode::swap(LocHeapNode& node) { in swap() argument 89 LocRankable* tmpData = node.mData; in swap() 90 node.mData = mData; in swap() 107 void LocHeapNode::push(LocHeapNode& node) { in push() argument 109 if (node.outRanks(*this)) { in push() 110 swap(node); in push() 115 mLeft = &node; in push() [all …]
|
/hardware/qcom/sm8150/gps/utils/ |
D | LocHeap.cpp | 46 void swap(LocHeapNode& node); 51 void push(LocHeapNode& node); 62 inline bool outRanks(LocHeapNode& node) { return mData->outRanks(*node.mData); } in outRanks() argument 88 void LocHeapNode::swap(LocHeapNode& node) { in swap() argument 89 LocRankable* tmpData = node.mData; in swap() 90 node.mData = mData; in swap() 107 void LocHeapNode::push(LocHeapNode& node) { in push() argument 109 if (node.outRanks(*this)) { in push() 110 swap(node); in push() 115 mLeft = &node; in push() [all …]
|
/hardware/qcom/gps/msm8996/utils/ |
D | LocHeap.cpp | 46 void swap(LocHeapNode& node); 51 void push(LocHeapNode& node); 62 inline bool outRanks(LocHeapNode& node) { return mData->outRanks(*node.mData); } in outRanks() argument 88 void LocHeapNode::swap(LocHeapNode& node) { in swap() argument 89 LocRankable* tmpData = node.mData; in swap() 90 node.mData = mData; in swap() 107 void LocHeapNode::push(LocHeapNode& node) { in push() argument 109 if (node.outRanks(*this)) { in push() 110 swap(node); in push() 115 mLeft = &node; in push() [all …]
|
/hardware/qcom/gps/msm8909w_3100/utils/ |
D | LocHeap.cpp | 46 void swap(LocHeapNode& node); 51 void push(LocHeapNode& node); 62 inline bool outRanks(LocHeapNode& node) { return mData->outRanks(*node.mData); } in outRanks() argument 88 void LocHeapNode::swap(LocHeapNode& node) { in swap() argument 89 LocRankable* tmpData = node.mData; in swap() 90 node.mData = mData; in swap() 107 void LocHeapNode::push(LocHeapNode& node) { in push() argument 109 if (node.outRanks(*this)) { in push() 110 swap(node); in push() 115 mLeft = &node; in push() [all …]
|
/hardware/qcom/sdm845/gps/msm8998/utils/ |
D | LocHeap.cpp | 46 void swap(LocHeapNode& node); 51 void push(LocHeapNode& node); 62 inline bool outRanks(LocHeapNode& node) { return mData->outRanks(*node.mData); } in outRanks() argument 88 void LocHeapNode::swap(LocHeapNode& node) { in swap() argument 89 LocRankable* tmpData = node.mData; in swap() 90 node.mData = mData; in swap() 107 void LocHeapNode::push(LocHeapNode& node) { in push() argument 109 if (node.outRanks(*this)) { in push() 110 swap(node); in push() 115 mLeft = &node; in push() [all …]
|
/hardware/qcom/gps/msm8998/utils/ |
D | LocHeap.cpp | 46 void swap(LocHeapNode& node); 51 void push(LocHeapNode& node); 62 inline bool outRanks(LocHeapNode& node) { return mData->outRanks(*node.mData); } in outRanks() argument 88 void LocHeapNode::swap(LocHeapNode& node) { in swap() argument 89 LocRankable* tmpData = node.mData; in swap() 90 node.mData = mData; in swap() 107 void LocHeapNode::push(LocHeapNode& node) { in push() argument 109 if (node.outRanks(*this)) { in push() 110 swap(node); in push() 115 mLeft = &node; in push() [all …]
|
/hardware/qcom/sdm845/gps/msm8909/utils/ |
D | LocHeap.cpp | 46 void swap(LocHeapNode& node); 51 void push(LocHeapNode& node); 62 inline bool outRanks(LocHeapNode& node) { return mData->outRanks(*node.mData); } in outRanks() argument 88 void LocHeapNode::swap(LocHeapNode& node) { in swap() argument 89 LocRankable* tmpData = node.mData; in swap() 90 node.mData = mData; in swap() 107 void LocHeapNode::push(LocHeapNode& node) { in push() argument 109 if (node.outRanks(*this)) { in push() 110 swap(node); in push() 115 mLeft = &node; in push() [all …]
|
/hardware/qcom/gps/msm8909/utils/ |
D | LocHeap.cpp | 46 void swap(LocHeapNode& node); 51 void push(LocHeapNode& node); 62 inline bool outRanks(LocHeapNode& node) { return mData->outRanks(*node.mData); } in outRanks() argument 88 void LocHeapNode::swap(LocHeapNode& node) { in swap() argument 89 LocRankable* tmpData = node.mData; in swap() 90 node.mData = mData; in swap() 107 void LocHeapNode::push(LocHeapNode& node) { in push() argument 109 if (node.outRanks(*this)) { in push() 110 swap(node); in push() 115 mLeft = &node; in push() [all …]
|
/hardware/qcom/sm8150/media/libarbitrarybytes/inc/ |
D | Map.h | 36 struct node { struct 39 node* prev; argument 40 node* next; argument 41 node(T t, T2 t2,node* p, node* n) : in node() argument 44 node* head; 45 node* tail; 46 node* tmp; 68 node* temp(head); in ~Map() 148 tail = new node(data, data2,tail, NULL); in insert() 167 node* prevnode = tmp; in erase() [all …]
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/inc/ |
D | Map.h | 37 struct node struct 41 node* prev; argument 42 node* next; argument 43 node(T t, T2 t2,node* p, node* n) : in node() argument 46 node* head; 47 node* tail; 48 node* tmp; 68 node* temp(head); in ~Map() 144 tail = new node(data, data2,tail, NULL); in insert() 162 node* prevnode = tmp; in erase() [all …]
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/ |
D | Map.h | 36 struct node { struct 39 node* prev; argument 40 node* next; argument 41 node(T t, T2 t2,node* p, node* n) : in node() function 44 node* head; 45 node* tail; 46 node* tmp; 68 node* temp(head); in ~Map() 148 tail = new node(data, data2,tail, NULL); in insert() 167 node* prevnode = tmp; in erase() [all …]
|
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/inc/ |
D | Map.h | 36 struct node { struct 39 node* prev; argument 40 node* next; argument 41 node(T t, T2 t2,node* p, node* n) : in node() argument 44 node* head; 45 node* tail; 46 node* tmp; 68 node* temp(head); in ~Map() 148 tail = new node(data, data2,tail, NULL); in insert() 167 node* prevnode = tmp; in erase() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/ |
D | Map.h | 37 struct node { struct 40 node* prev; argument 41 node* next; argument 42 node(T t, T2 t2,node* p, node* n) : in node() argument 45 node* head; 46 node* tail; 47 node* tmp; 69 node* temp(head); in ~Map() 149 tail = new node(data, data2,tail, NULL); in insert() 168 node* prevnode = tmp; in erase() [all …]
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/ |
D | Map.h | 36 struct node { struct 39 node* prev; argument 40 node* next; argument 41 node(T t, T2 t2,node* p, node* n) : in node() function 44 node* head; 45 node* tail; 46 node* tmp; 68 node* temp(head); in ~Map() 148 tail = new node(data, data2,tail, NULL); in insert() 167 node* prevnode = tmp; in erase() [all …]
|