Searched refs:node (Results 1 - 25 of 92) sorted by relevance

1234

/hardware/libhardware/tests/input/evdev/
H A DInputMocks.cpp30 auto node = new MockInputDeviceNode(); local
31 node->setPath("/dev/input/event0");
32 node->setName("elan-touchscreen");
35 node->setBusType(0);
36 node->setVendorId(0);
37 node->setProductId(0);
38 node->setVersion(0);
42 node->addAbsAxis(ABS_MT_SLOT, nullptr);
43 node->addAbsAxis(ABS_MT_TOUCH_MAJOR, nullptr);
44 node
55 auto node = new MockInputDeviceNode(); local
74 auto node = new MockInputDeviceNode(); local
93 auto node = new MockInputDeviceNode(); local
117 auto node = new MockInputDeviceNode(); local
135 auto node = new MockInputDeviceNode(); local
157 auto node = new MockInputDeviceNode(); local
175 auto node = new MockInputDeviceNode(); local
193 auto node = new MockInputDeviceNode(); local
212 auto node = new MockInputDeviceNode(); local
[all...]
H A DInputDevice_test.cpp70 auto node = std::make_shared<MockInputDeviceNode>(); local
71 auto device = std::make_unique<EvdevDevice>(&mHost, node);
99 auto node = std::make_shared<MockInputDeviceNode>(); local
100 auto device = std::make_unique<EvdevDevice>(&mHost, node);
115 auto node = std::make_shared<MockInputDeviceNode>(); local
116 auto device = std::make_unique<EvdevDevice>(&mHost, node);
132 auto node = std::shared_ptr<MockInputDeviceNode>(MockNexus7v2::getElanTouchscreen()); local
133 auto device = std::make_unique<EvdevDevice>(&mHost, node);
139 auto node = std::shared_ptr<MockInputDeviceNode>(MockNexus7v2::getButtonJack()); local
140 auto device = std::make_unique<EvdevDevice>(&mHost, node);
153 auto node = std::shared_ptr<MockInputDeviceNode>(MockNexus7v2::getHeadsetJack()); local
159 auto node = std::shared_ptr<MockInputDeviceNode>(MockNexus7v2::getH2wButton()); local
165 auto node = std::shared_ptr<MockInputDeviceNode>(MockNexus7v2::getGpioKeys()); local
171 auto node = std::shared_ptr<MockInputDeviceNode>(MockNexusPlayer::getGpioKeys()); local
177 auto node = std::shared_ptr<MockInputDeviceNode>(MockNexusPlayer::getMidPowerBtn()); local
183 auto node = std::shared_ptr<MockInputDeviceNode>(MockNexusPlayer::getNexusRemote()); local
189 auto node = std::shared_ptr<MockInputDeviceNode>(MockNexusPlayer::getAsusGamepad()); local
195 auto node = std::make_shared<MockInputDeviceNode>(); local
[all...]
H A DInputHub_test.cpp57 virtual void onInputEvent(const std::shared_ptr<InputDeviceNode>& node, InputEvent& event,
59 mInputCb(node, event, event_time);
61 virtual void onDeviceAdded(const std::shared_ptr<InputDeviceNode>& node) override {
62 mDeviceAddedCb(node); variable
64 virtual void onDeviceRemoved(const std::shared_ptr<InputDeviceNode>& node) override {
65 mDeviceRemovedCb(node); variable
101 [&](const std::shared_ptr<InputDeviceNode>& node) {
102 pathname = node->getPath();
136 [&](const std::shared_ptr<InputDeviceNode>& node) {
137 tempNode = node;
[all...]
/hardware/libhardware/modules/input/evdev/
H A DInputDeviceManager.cpp28 void InputDeviceManager::onInputEvent(const std::shared_ptr<InputDeviceNode>& node, InputEvent& event, argument
30 if (mDevices[node] == nullptr) {
31 ALOGE("got input event for unknown node %s", node->getPath().c_str());
34 mDevices[node]->processInput(event, event_time);
37 void InputDeviceManager::onDeviceAdded(const std::shared_ptr<InputDeviceNode>& node) { argument
38 mDevices[node] = std::make_shared<EvdevDevice>(mHost, node);
41 void InputDeviceManager::onDeviceRemoved(const std::shared_ptr<InputDeviceNode>& node) { argument
42 if (mDevices[node]
[all...]
H A DInputDeviceManager.h43 virtual void onInputEvent(const std::shared_ptr<InputDeviceNode>& node, InputEvent& event,
45 virtual void onDeviceAdded(const std::shared_ptr<InputDeviceNode>& node) override;
46 virtual void onDeviceRemoved(const std::shared_ptr<InputDeviceNode>& node) override;
/hardware/qcom/camera/QCamera2/util/
H A DQCameraQueue.cpp68 * @data_rel_fn : function ptr to release node data internal resource
147 camera_q_node *node = local
149 if (NULL == node) {
154 memset(node, 0, sizeof(camera_q_node));
155 node->data = data;
159 cam_list_add_tail_node(&node->list, &m_head.list);
163 free(node);
184 camera_q_node *node = local
186 if (NULL == node) {
191 memset(node,
224 camera_q_node* node = NULL; local
259 camera_q_node* node = NULL; local
300 camera_q_node* node = NULL; local
344 camera_q_node* node = NULL; local
386 camera_q_node* node = NULL; local
431 camera_q_node* node = NULL; local
[all...]
H A DQCameraCmdThread.cpp140 camera_cmd_t *node = (camera_cmd_t *)malloc(sizeof(camera_cmd_t)); local
141 if (NULL == node) {
145 memset(node, 0, sizeof(camera_cmd_t));
146 node->cmd = cmd;
149 if (!cmd_queue.enqueueWithPriority((void *)node)) {
150 free(node);
151 node = NULL;
154 if (!cmd_queue.enqueue((void *)node)) {
155 free(node);
156 node
180 camera_cmd_t *node = (camera_cmd_t *)cmd_queue.dequeue(); local
[all...]
/hardware/qcom/camera/QCamera2/stack/common/
H A Dcam_queue.h57 cam_node_t *node = local
59 if (NULL == node) {
63 memset(node, 0, sizeof(cam_node_t));
64 node->data = data;
67 cam_list_add_tail_node(&node->list, &queue->head.list);
76 cam_node_t *node = NULL; local
85 node = member_of(pos, cam_node_t, list);
86 cam_list_del_node(&node->list);
91 if (NULL != node) {
92 data = node
101 cam_node_t *node = NULL; local
[all...]
H A Dcam_list.h65 struct cam_list *node)
67 item->next = node;
68 item->prev = node->prev;
70 node->prev = item;
64 cam_list_insert_before_node(struct cam_list *item, struct cam_list *node) argument
/hardware/intel/img/psb_video/src/
H A Dpsb_ws_driver.c51 struct _ValidateNode *node = malloc(sizeof(*node)); local
53 if (node == NULL) return NULL;
55 node->func = func;
56 node->type_id = 1;
57 return node;
62 * Free an allocated validate list node.
66 psb_free(struct _ValidateNode *node) argument
68 if (node->type_id == 0)
69 free(containerOf(node, struc
83 psb_clear(struct _ValidateNode *node) argument
[all...]
H A Dpsb_ws_driver.h51 psbValReq(struct _ValidateNode *node) { argument
52 return &(containerOf(node, struct _PsbDrmValidateNode, base)->
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/
H A Dmm_jpeg_queue.c47 mm_jpeg_q_node_t* node = local
49 if (NULL == node) {
54 memset(node, 0, sizeof(mm_jpeg_q_node_t));
55 node->data = data;
58 cam_list_add_tail_node(&node->list, &queue->head.list);
70 mm_jpeg_q_node_t* node = local
72 if (NULL == node) {
77 memset(node, 0, sizeof(mm_jpeg_q_node_t));
78 node->data = data;
84 cam_list_insert_before_node(&node
94 mm_jpeg_q_node_t* node = NULL; local
139 mm_jpeg_q_node_t* node = NULL; local
168 mm_jpeg_q_node_t* node = NULL; local
[all...]
/hardware/bsp/intel/peripheral/libmraa/src/
H A Ddoxy2swig.py105 def parse(self, node):
106 """Parse a given node. This function in turn calls the
111 pm = getattr(self, "parse_%s" % node.__class__.__name__)
112 pm(node)
114 def parse_Document(self, node):
115 self.parse(node.documentElement)
117 def parse_Text(self, node):
118 txt = node.data
128 def parse_Element(self, node):
135 name = node
[all...]
/hardware/bsp/intel/peripheral/libupm/src/
H A Ddoxy2swig.py105 def parse(self, node):
106 """Parse a given node. This function in turn calls the
111 pm = getattr(self, "parse_%s" % node.__class__.__name__)
112 pm(node)
114 def parse_Document(self, node):
115 self.parse(node.documentElement)
117 def parse_Text(self, node):
118 txt = node.data
128 def parse_Element(self, node):
135 name = node
[all...]
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/
H A Dmm_qcamera_queue.c85 camera_q_node *node = local
87 if (NULL == node) {
92 memset(node, 0, sizeof(camera_q_node));
93 node->data = data;
96 cam_list_add_tail_node(&node->list, &queue->m_head.list);
109 camera_q_node* node = NULL; local
122 node = member_of(pos, camera_q_node, list);
123 cam_list_del_node(&node->list);
128 if (NULL != node) {
129 data = node
138 camera_q_node* node = NULL; local
[all...]
/hardware/bsp/intel/peripheral/libmraa/src/javascript/
H A Dmraajs.i14 if (!node::Buffer::HasInstance($input)) {
15 SWIG_exception_fail(SWIG_ERROR, "Expected a node Buffer");
17 $1 = (char*) node::Buffer::Data($input);
18 $2 = node::Buffer::Length($input);
22 if (!node::Buffer::HasInstance($input)) {
23 SWIG_exception_fail(SWIG_ERROR, "Expected a node Buffer");
25 $1 = (uint8_t*) node::Buffer::Data($input);
26 $2 = node::Buffer::Length($input);
30 if (!node::Buffer::HasInstance($input)) {
31 SWIG_exception_fail(SWIG_ERROR, "Expected a node Buffe
[all...]
/hardware/bsp/intel/peripheral/libmraa/examples/javascript/
H A Disr.js1 #!/usr/bin/env node
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
H A Dwarnings.c40 struct WarningListNode **node = &warning_list->warning_node; local
44 fatal("Unable to allocate warning node.");
50 while (*node != NULL)
51 node = &(*node)->next_warning;
53 *node = new_node;
58 struct WarningListNode *const node = warning_list->warning_node; local
59 warning_list->warning_node = node->next_warning;
60 free(node);
/hardware/qcom/gps/msm8909/utils/
H A DLocHeap.cpp46 void swap(LocHeapNode& node);
50 // push a node into the tree stucture, keeping sorted by rank
51 void push(LocHeapNode& node);
53 // pop the head node out of the tree stucture. keeping sorted by rank
56 // remove a specific node from the tree
57 // returns the pointer to the node removed, which would be either the
62 inline bool outRanks(LocHeapNode& node) { return mData->outRanks(*node.mData); } argument
65 // checks if mSize is correct, AND this node is the highest ranking
88 void LocHeapNode::swap(LocHeapNode& node) { argument
107 push(LocHeapNode& node) argument
228 push(LocRankable& node) argument
[all...]
/hardware/qcom/gps/msm8996/utils/
H A DLocHeap.cpp46 void swap(LocHeapNode& node);
50 // push a node into the tree stucture, keeping sorted by rank
51 void push(LocHeapNode& node);
53 // pop the head node out of the tree stucture. keeping sorted by rank
56 // remove a specific node from the tree
57 // returns the pointer to the node removed, which would be either the
62 inline bool outRanks(LocHeapNode& node) { return mData->outRanks(*node.mData); } argument
65 // checks if mSize is correct, AND this node is the highest ranking
88 void LocHeapNode::swap(LocHeapNode& node) { argument
107 push(LocHeapNode& node) argument
228 push(LocRankable& node) argument
[all...]
/hardware/qcom/audio/msm8909/mm-audio/aenc-aac/qdsp6/inc/
H A DMap.h37 struct node struct in class:Map
41 node* prev;
42 node* next;
43 node(T t, T2 t2,node* p, node* n) : function in struct:Map::node
46 node* head;
47 node* tail;
48 node* tmp;
68 node* tem
[all...]
/hardware/qcom/audio/msm8909/mm-audio/aenc-amrnb/qdsp6/inc/
H A DMap.h37 struct node struct in class:Map
41 node* prev;
42 node* next;
43 node(T t, T2 t2,node* p, node* n) : function in struct:Map::node
46 node* head;
47 node* tail;
48 node* tmp;
68 node* tem
[all...]
/hardware/qcom/audio/msm8909/mm-audio/aenc-evrc/qdsp6/inc/
H A DMap.h37 struct node struct in class:Map
41 node* prev;
42 node* next;
43 node(T t, T2 t2,node* p, node* n) : function in struct:Map::node
46 node* head;
47 node* tail;
48 node* tmp;
68 node* tem
[all...]
/hardware/qcom/audio/msm8909/mm-audio/aenc-qcelp13/qdsp6/inc/
H A DMap.h37 struct node struct in class:Map
41 node* prev;
42 node* next;
43 node(T t, T2 t2,node* p, node* n) : function in struct:Map::node
46 node* head;
47 node* tail;
48 node* tmp;
68 node* tem
[all...]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/inc/
H A DMap.h37 struct node struct in class:Map
41 node* prev;
42 node* next;
43 node(T t, T2 t2,node* p, node* n) : function in struct:Map::node
46 node* head;
47 node* tail;
48 node* tmp;
68 node* tem
[all...]

Completed in 744 milliseconds

1234