Home
last modified time | relevance | path

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

12

/hardware/libhardware/modules/camera/
DMetadata.cpp31 mData(NULL) in Metadata()
42 if (m == mData) { in replace()
46 if (mData) in replace()
47 free_camera_metadata(mData); in replace()
48 mData = m; in replace()
139 if (NULL == mData) { in add()
143 entry_capacity = get_camera_metadata_entry_count(mData) + 1; in add()
144 data_capacity = get_camera_metadata_data_count(mData) + size; in add()
148 if (mData && !add_camera_metadata_entry(mData, tag, tag_data, count)) in add()
158 if (NULL != mData) { in add()
[all …]
DMetadata.h49 camera_metadata_t* mData;
/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/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/libhardware/modules/usbcamera/
DMetadata.cpp31 mData(NULL) { in Metadata()
39 if (m == mData) { in replace()
42 if (mData) in replace()
43 free_camera_metadata(mData); in replace()
44 mData = m; in replace()
119 if (!add_camera_metadata_entry(mData, tag, tag_data, count)) { in add()
127 size_t entry_capacity = get_camera_metadata_entry_count(mData) + 1; in add()
128 size_t data_capacity = get_camera_metadata_data_count(mData) + size; in add()
138 res = append_camera_metadata(tmp, mData); in add()
141 __func__, mData, tmp); in add()
[all …]
DMetadata.h49 camera_metadata_t* mData;
/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/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/ti/omap4-aah/libtiutils/
DDebugUtils.cpp61 const int newSize = (mData.get() ? mData->threads.size() : 0) + size; in grow()
67 if ( mData.get() ) in grow()
68 newData->threads.insertVectorAt(mData->threads, 0); in grow()
75 mData = newData; in grow()
DDebugUtils.h99 android::sp<Data> mData; variable
256 android::sp<Data> data = mData; in findCurrentThreadInfo()
282 data = mData; in findCurrentThreadInfo()
/hardware/libhardware/modules/sensors/
DSensorEventQueue.cpp29 mData = new sensors_event_t[mCapacity]; in SensorEventQueue()
34 delete[] mData; in ~SensorEventQueue()
35 mData = NULL; in ~SensorEventQueue()
57 *out = &mData[firstWritable]; in getWritableRegion()
71 return &mData[mStart]; in peek()
DSensorEventQueue.h37 sensors_event_t* mData; variable
/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/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/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()
DoverlayGenPipe.h81 Data *mData; variable
/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()
DoverlayGenPipe.h81 Data *mData; variable
/hardware/qcom/display/msm8909/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()
DoverlayGenPipe.h81 Data *mData; variable
/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()
/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/display/msm8084/liboverlay/pipes/
DoverlayGenPipe.cpp36 pipeState(CLOSED), mCtrl(new Ctrl(dpy)), mData(new Data(dpy)) { in GenericPipe()
41 delete mData; in ~GenericPipe()
95 mData->setPipeId(pipeId); in queueBuffer()
97 return mData->queueBuffer(fd, offset); in queueBuffer()
118 mData->dump(); in dump()
124 mData->getDump(buf, len); in getDump()
DoverlayGenPipe.h97 Data *mData; variable
/hardware/libhardware_legacy/audio/
DA2dpAudioInterface.cpp226 mFd(-1), mStandby(true), mStartCount(0), mRetryCount(0), mData(NULL), in A2dpAudioStreamOut()
303 status = a2dp_write(mData, buffer, remaining); in write()
339 if (!mData) { in init()
340 status_t status = a2dp_init(44100, 2, &mData); in init()
343 mData = NULL; in init()
346 a2dp_set_sink(mData, mA2dpAddress); in init()
366 result = a2dp_stop(mData); in standby_l()
444 if (mData) in setAddress()
445 a2dp_set_sink(mData, mA2dpAddress); in setAddress()
481 if (mData) { in close_l()
[all …]

12