Home
last modified time | relevance | path

Searched refs:mData (Results 1 – 25 of 55) sorted by relevance

123

/hardware/libhardware/modules/camera/3_0/
DMetadata.cpp33 mData(NULL) in Metadata()
44 if (m == mData) { in replace()
48 if (mData) in replace()
49 free_camera_metadata(mData); in replace()
50 mData = m; in replace()
141 if (NULL == mData) { in add()
145 entry_capacity = get_camera_metadata_entry_count(mData) + 1; in add()
146 data_capacity = get_camera_metadata_data_count(mData) + size; in add()
150 if (mData && !add_camera_metadata_entry(mData, tag, tag_data, count)) in add()
160 if (NULL != mData) { in add()
[all …]
/hardware/qcom/sdm845/gps/sdm845/utils/
DLocHeap.cpp38 LocRankable* mData; member in LocHeapNode
41 mSize(1), mLeft(NULL), mRight(NULL), mData(&data) {} in LocHeapNode()
62 inline bool outRanks(LocHeapNode& node) { return mData->outRanks(*node.mData); } in outRanks()
63 inline bool outRanks(LocRankable& data) { return mData->outRanks(data); } in outRanks()
82 if (mData) { in ~LocHeapNode()
83 mData = NULL; in ~LocHeapNode()
89 LocRankable* tmpData = node.mData; in swap()
90 node.mData = mData; in swap()
91 mData = tmpData; in swap()
96 LocRankable* data = mData; in detachData()
[all …]
/hardware/qcom/sdm845/gps/msm8996/utils/
DLocHeap.cpp38 LocRankable* mData; member in LocHeapNode
41 mSize(1), mLeft(NULL), mRight(NULL), mData(&data) {} in LocHeapNode()
62 inline bool outRanks(LocHeapNode& node) { return mData->outRanks(*node.mData); } in outRanks()
63 inline bool outRanks(LocRankable& data) { return mData->outRanks(data); } in outRanks()
82 if (mData) { in ~LocHeapNode()
83 mData = NULL; in ~LocHeapNode()
89 LocRankable* tmpData = node.mData; in swap()
90 node.mData = mData; in swap()
91 mData = tmpData; in swap()
96 LocRankable* data = mData; in detachData()
[all …]
/hardware/qcom/sm8150/gps/utils/
DLocHeap.cpp38 LocRankable* mData; member in LocHeapNode
41 mSize(1), mLeft(NULL), mRight(NULL), mData(&data) {} in LocHeapNode()
62 inline bool outRanks(LocHeapNode& node) { return mData->outRanks(*node.mData); } in outRanks()
63 inline bool outRanks(LocRankable& data) { return mData->outRanks(data); } in outRanks()
82 if (mData) { in ~LocHeapNode()
83 mData = NULL; in ~LocHeapNode()
89 LocRankable* tmpData = node.mData; in swap()
90 node.mData = mData; in swap()
91 mData = tmpData; in swap()
96 LocRankable* data = mData; in detachData()
[all …]
/hardware/qcom/gps/msm8996/utils/
DLocHeap.cpp38 LocRankable* mData; member in LocHeapNode
41 mSize(1), mLeft(NULL), mRight(NULL), mData(&data) {} in LocHeapNode()
62 inline bool outRanks(LocHeapNode& node) { return mData->outRanks(*node.mData); } in outRanks()
63 inline bool outRanks(LocRankable& data) { return mData->outRanks(data); } in outRanks()
82 if (mData) { in ~LocHeapNode()
83 mData = NULL; in ~LocHeapNode()
89 LocRankable* tmpData = node.mData; in swap()
90 node.mData = mData; in swap()
91 mData = tmpData; in swap()
96 LocRankable* data = mData; in detachData()
[all …]
/hardware/qcom/gps/msm8909w_3100/utils/
DLocHeap.cpp38 LocRankable* mData; member in LocHeapNode
41 mSize(1), mLeft(NULL), mRight(NULL), mData(&data) {} in LocHeapNode()
62 inline bool outRanks(LocHeapNode& node) { return mData->outRanks(*node.mData); } in outRanks()
63 inline bool outRanks(LocRankable& data) { return mData->outRanks(data); } in outRanks()
82 if (mData) { in ~LocHeapNode()
83 mData = NULL; in ~LocHeapNode()
89 LocRankable* tmpData = node.mData; in swap()
90 node.mData = mData; in swap()
91 mData = tmpData; in swap()
96 LocRankable* data = mData; in detachData()
[all …]
/hardware/qcom/sdm845/gps/msm8998/utils/
DLocHeap.cpp38 LocRankable* mData; member in LocHeapNode
41 mSize(1), mLeft(NULL), mRight(NULL), mData(&data) {} in LocHeapNode()
62 inline bool outRanks(LocHeapNode& node) { return mData->outRanks(*node.mData); } in outRanks()
63 inline bool outRanks(LocRankable& data) { return mData->outRanks(data); } in outRanks()
82 if (mData) { in ~LocHeapNode()
83 mData = NULL; in ~LocHeapNode()
89 LocRankable* tmpData = node.mData; in swap()
90 node.mData = mData; in swap()
91 mData = tmpData; in swap()
96 LocRankable* data = mData; in detachData()
[all …]
/hardware/qcom/gps/msm8998/utils/
DLocHeap.cpp38 LocRankable* mData; member in LocHeapNode
41 mSize(1), mLeft(NULL), mRight(NULL), mData(&data) {} in LocHeapNode()
62 inline bool outRanks(LocHeapNode& node) { return mData->outRanks(*node.mData); } in outRanks()
63 inline bool outRanks(LocRankable& data) { return mData->outRanks(data); } in outRanks()
82 if (mData) { in ~LocHeapNode()
83 mData = NULL; in ~LocHeapNode()
89 LocRankable* tmpData = node.mData; in swap()
90 node.mData = mData; in swap()
91 mData = tmpData; in swap()
96 LocRankable* data = mData; in detachData()
[all …]
/hardware/qcom/sdm845/gps/msm8909/utils/
DLocHeap.cpp38 LocRankable* mData; member in LocHeapNode
41 mSize(1), mLeft(NULL), mRight(NULL), mData(&data) {} in LocHeapNode()
62 inline bool outRanks(LocHeapNode& node) { return mData->outRanks(*node.mData); } in outRanks()
63 inline bool outRanks(LocRankable& data) { return mData->outRanks(data); } in outRanks()
82 if (mData) { in ~LocHeapNode()
83 mData = NULL; in ~LocHeapNode()
89 LocRankable* tmpData = node.mData; in swap()
90 node.mData = mData; in swap()
91 mData = tmpData; in swap()
96 LocRankable* data = mData; in detachData()
[all …]
/hardware/qcom/gps/msm8909/utils/
DLocHeap.cpp38 LocRankable* mData; member in LocHeapNode
41 mSize(1), mLeft(NULL), mRight(NULL), mData(&data) {} in LocHeapNode()
62 inline bool outRanks(LocHeapNode& node) { return mData->outRanks(*node.mData); } in outRanks()
63 inline bool outRanks(LocRankable& data) { return mData->outRanks(data); } in outRanks()
82 if (mData) { in ~LocHeapNode()
83 mData = NULL; in ~LocHeapNode()
89 LocRankable* tmpData = node.mData; in swap()
90 node.mData = mData; in swap()
91 mData = tmpData; in swap()
96 LocRankable* data = mData; in detachData()
[all …]
/hardware/libhardware/modules/usbcamera/
DMetadata.cpp34 mData(NULL) { in Metadata()
42 if (m == mData) { in replace()
45 if (mData) in replace()
46 free_camera_metadata(mData); in replace()
47 mData = m; in replace()
122 if (!add_camera_metadata_entry(mData, tag, tag_data, count)) { in add()
130 size_t entry_capacity = get_camera_metadata_entry_count(mData) + 1; in add()
131 size_t data_capacity = get_camera_metadata_data_count(mData) + size; in add()
141 res = append_camera_metadata(tmp, mData); in add()
144 __func__, mData, tmp); in add()
[all …]
/hardware/libhardware/modules/sensors/dynamic_sensor/
DRingBuffer.cpp26 mData((sensors_event_t *)malloc(sizeof(sensors_event_t) * mSize)), in RingBuffer()
32 free(mData); in ~RingBuffer()
33 mData = NULL; in ~RingBuffer()
53 memcpy(&mData[writePos], ev, copy * sizeof(sensors_event_t)); in write()
56 memcpy(mData, &ev[copy], (size - copy) * sizeof(sensors_event_t)); in write()
92 memcpy(ev, &mData[readPos], copy * sizeof(sensors_event_t)); in read()
95 memcpy(&ev[copy], mData, (size - copy) * sizeof(sensors_event_t)); in read()
/hardware/qcom/sdm845/gps/msm8960/loc_api/libloc_api_50001/
Dloc_eng_xtra.cpp60 char* mData; member
65 mData(new char[len]), mLen(len) in LocEngInjectXtraData()
67 memcpy((void*)mData, (void*)data, len); in LocEngInjectXtraData()
72 delete[] mData; in ~LocEngInjectXtraData()
75 mAdapter->setXtraData(mData, mLen); in proc()
78 LOC_LOGV("length: %d\n data: %p", mLen, mData); in locallog()
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/
Dloc_eng_xtra.cpp60 char* mData; member
65 mData(new char[len]), mLen(len) in LocEngInjectXtraData()
67 memcpy((void*)mData, (void*)data, len); in LocEngInjectXtraData()
72 delete[] mData; in ~LocEngInjectXtraData()
75 mAdapter->setXtraData(mData, mLen); in proc()
78 LOC_LOGV("length: %d\n data: %p", mLen, mData); in locallog()
/hardware/qcom/sdm845/gps/msm8084/loc_api/libloc_api_50001/
Dloc_eng_xtra.cpp60 char* mData; member
65 mData(new char[len]), mLen(len) in LocEngInjectXtraData()
67 memcpy((void*)mData, (void*)data, len); in LocEngInjectXtraData()
72 delete[] mData; in ~LocEngInjectXtraData()
75 mAdapter->setXtraData(mData, mLen); in proc()
78 LOC_LOGV("length: %d\n data: %p", mLen, mData); in locallog()
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
Dloc_eng_xtra.cpp60 char* mData; member
65 mData(new char[len]), mLen(len) in LocEngInjectXtraData()
67 memcpy((void*)mData, (void*)data, len); in LocEngInjectXtraData()
72 delete[] mData; in ~LocEngInjectXtraData()
75 mAdapter->setXtraData(mData, mLen); in proc()
78 LOC_LOGV("length: %d\n data: %p", mLen, mData); in locallog()
/hardware/libhardware/modules/sensors/
DSensorEventQueue.cpp31 mData = new sensors_event_t[mCapacity]; in SensorEventQueue()
36 delete[] mData; in ~SensorEventQueue()
37 mData = NULL; in ~SensorEventQueue()
59 *out = &mData[firstWritable]; in getWritableRegion()
73 return &mData[mStart]; in peek()
/hardware/qcom/display/msm8226/liboverlay/pipes/
DoverlayGenPipe.cpp36 mCtrl(new Ctrl(dpy)), mData(new Data(dpy)) { in GenericPipe()
41 delete mData; in ~GenericPipe()
81 mData->setPipeId(pipeId); in queueBuffer()
83 return mData->queueBuffer(fd, offset); in queueBuffer()
99 mData->dump(); in dump()
105 mData->getDump(buf, len); in getDump()
/hardware/qcom/display/msm8994/liboverlay/pipes/
DoverlayGenPipe.cpp36 mCtrl(new Ctrl(dpy)), mData(new Data(dpy)) { in GenericPipe()
41 delete mData; in ~GenericPipe()
81 mData->setPipeId(pipeId); in queueBuffer()
83 return mData->queueBuffer(fd, offset); in queueBuffer()
99 mData->dump(); in dump()
105 mData->getDump(buf, len); in getDump()
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/
Dloc_eng_xtra.cpp60 char* mData; member
65 mData(new char[len]), mLen(len) in LocEngInjectXtraData()
67 memcpy((void*)mData, (void*)data, len); in LocEngInjectXtraData()
72 delete[] mData; in ~LocEngInjectXtraData()
75 mAdapter->setXtraData(mData, mLen); in proc()
78 LOC_LOGV("length: %d\n data: %p", mLen, mData); in locallog()
/hardware/qcom/sdm845/gps/msm8909/loc_api/libloc_api_50001/
Dloc_eng_xtra.cpp60 char* mData; member
65 mData(new char[len]), mLen(len) in LocEngInjectXtraData()
67 memcpy((void*)mData, (void*)data, len); in LocEngInjectXtraData()
72 delete[] mData; in ~LocEngInjectXtraData()
75 mAdapter->setXtraData(mData, mLen); in proc()
78 LOC_LOGV("length: %d\n data: %p", mLen, mData); in locallog()
/hardware/qcom/sdm845/gps/msm8996/loc_api/libloc_api_50001/
Dloc_eng_xtra.cpp60 char* mData; member
65 mData(new char[len]), mLen(len) in LocEngInjectXtraData()
67 memcpy((void*)mData, (void*)data, len); in LocEngInjectXtraData()
72 delete[] mData; in ~LocEngInjectXtraData()
75 mAdapter->setXtraData(mData, mLen); in proc()
78 LOC_LOGV("length: %d\n data: %p", mLen, mData); in locallog()
/hardware/qcom/sdm845/gps/loc_api/libloc_api_50001/
Dloc_eng_xtra.cpp60 char* mData; member
65 mData(new char[len]), mLen(len) in LocEngInjectXtraData()
67 memcpy((void*)mData, (void*)data, len); in LocEngInjectXtraData()
72 delete[] mData; in ~LocEngInjectXtraData()
75 mAdapter->setXtraData(mData, mLen); in proc()
78 LOC_LOGV("length: %d\n data: %p", mLen, mData); in locallog()
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/
Dloc_eng_xtra.cpp60 char* mData; member
65 mData(new char[len]), mLen(len) in LocEngInjectXtraData()
67 memcpy((void*)mData, (void*)data, len); in LocEngInjectXtraData()
72 delete[] mData; in ~LocEngInjectXtraData()
75 mAdapter->setXtraData(mData, mLen); in proc()
78 LOC_LOGV("length: %d\n data: %p", mLen, mData); in locallog()
/hardware/qcom/gps/loc_api/libloc_api_50001/
Dloc_eng_xtra.cpp60 char* mData; member
65 mData(new char[len]), mLen(len) in LocEngInjectXtraData()
67 memcpy((void*)mData, (void*)data, len); in LocEngInjectXtraData()
72 delete[] mData; in ~LocEngInjectXtraData()
75 mAdapter->setXtraData(mData, mLen); in proc()
78 LOC_LOGV("length: %d\n data: %p", mLen, mData); in locallog()

123