Home
last modified time | relevance | path

Searched refs:index (Results 1 – 25 of 97) sorted by relevance

1234

/hardware/invensense/libsensors/
DMPLSensor.h80 void gyroHandler(sensors_event_t *data, uint32_t *pendmask, int index);
81 void accelHandler(sensors_event_t *data, uint32_t *pendmask, int index);
82 void compassHandler(sensors_event_t *data, uint32_t *pendmask, int index);
83 void rvHandler(sensors_event_t *data, uint32_t *pendmask, int index);
84 void laHandler(sensors_event_t *data, uint32_t *pendmask, int index);
85 void gravHandler(sensors_event_t *data, uint32_t *pendmask, int index);
86 void orienHandler(sensors_event_t *data, uint32_t *pendmask, int index);
DMPLSensor.cpp604 int index) in gyroHandler() argument
614 *pending_mask |= (1 << index); in gyroHandler()
618 int index) in accelHandler() argument
630 *pending_mask |= (1 << index); in accelHandler()
648 int index) in compassHandler() argument
667 *pending_mask |= (1 << index); in compassHandler()
671 int index) in rvHandler() argument
682 *pending_mask &= ~(1 << index); in rvHandler()
685 *pending_mask |= (1 << index); in rvHandler()
716 int index) in laHandler() argument
[all …]
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXZoom.cpp86 status_t OMXCameraAdapter::doZoom(int index) in doZoom() argument
100 if ( ( 0 > index) || ( ( ZOOM_STAGES - 1 ) < index ) ) in doZoom()
102 CAMHAL_LOGEB("Zoom index %d out of range", index); in doZoom()
106 if (mPreviousZoomIndx == index ) in doZoom()
115 zoomControl.xHeight = ZOOM_STEPS[index]; in doZoom()
116 zoomControl.xWidth = ZOOM_STEPS[index]; in doZoom()
129 mPreviousZoomIndx = index; in doZoom()
DOMXCapture.cpp797 for ( int index = 0 ; index < capData->mNumBufs ; index++ ) { in startImageCapture() local
799 ( unsigned int ) capData->mBufferHeader[index]->pBuffer); in startImageCapture()
801 (OMX_BUFFERHEADERTYPE*)capData->mBufferHeader[index]); in startImageCapture()
1009 for ( int index = 0 ; index < imgCaptureData->mNumBufs ; index++) { in disableImagePort() local
1011 ( unsigned int ) imgCaptureData->mBufferHeader[index]->pBuffer); in disableImagePort()
1014 (OMX_BUFFERHEADERTYPE*)imgCaptureData->mBufferHeader[index]); in disableImagePort()
1142 for ( int index = 0 ; index < imgCaptureData->mNumBufs ; index++ ) in UseBuffersCapture() local
1146 (unsigned int)buffers[index], in UseBuffersCapture()
1154 (OMX_U8*)buffers[index]); in UseBuffersCapture()
1159 pBufferHdr->pAppPrivate = (OMX_PTR) index; in UseBuffersCapture()
[all …]
/hardware/ril/mock-ril/src/cpp/
Dmsgheader.pb.h137 inline bool _has_bit(int index) const { in _has_bit() argument
138 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; in _has_bit()
140 inline void _set_bit(int index) { in _set_bit() argument
141 _has_bits_[index / 32] |= (1u << (index % 32)); in _set_bit()
143 inline void _clear_bit(int index) { in _clear_bit() argument
144 _has_bits_[index / 32] &= ~(1u << (index % 32)); in _clear_bit()
Dnode_buffer.cpp543 uint32_t index = args[1]->Uint32Value(); in Unpack() local
557 if (index + 3 >= buffer->length_) return OUT_OF_BOUNDS; in Unpack()
558 uint32 = htonl(*(uint32_t*)(buffer->data() + index)); in Unpack()
560 index += 4; in Unpack()
565 if (index + 1 >= buffer->length_) return OUT_OF_BOUNDS; in Unpack()
566 uint16 = htons(*(uint16_t*)(buffer->data() + index)); in Unpack()
568 index += 2; in Unpack()
573 if (index >= buffer->length_) return OUT_OF_BOUNDS; in Unpack()
574 uint8 = (uint8_t)buffer->data()[index]; in Unpack()
576 index += 1; in Unpack()
/hardware/ril/mock-ril/src/js/
Dsimulated_radio.js62 this.index = 0;
163 this.getCall = function(index) { argument
166 c = calls[index];
209 c.index = i;
225 this.removeCall = function(index) { argument
228 && (index < calls.length)
229 && (typeof calls[index] != 'undefined')) {
230 c = calls[index];
231 delete calls[index];
249 print('c[' + c.index + ']: index=' + c.index + ' state=' + c.state +
[all …]
Dsimulated_radio_tests.js62 simulatedRadio.removeCall(c0.index);
64 simulatedRadio.removeCall(c1.index);
66 simulatedRadio.removeCall(c2.index);
78 simulatedRadio.removeCall(c3.index);
234 simulatedRadio.removeCall(c0.index);
308 simulatedRadio.removeCall(c0.index);
309 simulatedRadio.removeCall(c1.index);
/hardware/ti/omap4xxx/camera/
DCameraParameters.cpp174 const char* CameraProperties::Properties::keyAt(unsigned int index) in keyAt() argument
176 if(index < mProperties->size()) in keyAt()
178 return mProperties->keyAt(index).string(); in keyAt()
183 const char* CameraProperties::Properties::valueAt(unsigned int index) in valueAt() argument
185 if(index < mProperties->size()) in valueAt()
187 return mProperties->valueAt(index).string(); in valueAt()
/hardware/ti/omap4xxx/camera/V4LCameraAdapter/
DV4LCameraAdapter.cpp132 mVideoInfo->buf.index = i; in fillThisBuffer()
250 mVideoInfo->buf.index = i; in UseBuffersPreview()
298 mVideoInfo->buf.index = i; in startPreview()
381 char * V4LCameraAdapter::GetFrame(int &index) in GetFrame() argument
396 index = mVideoInfo->buf.index; in GetFrame()
398 return (char *)mVideoInfo->mem[mVideoInfo->buf.index]; in GetFrame()
521 int index = 0; in previewThread() local
522 char *fp = this->GetFrame(index); in previewThread()
528 uint8_t* ptr = (uint8_t*) mPreviewBufs.keyAt(index); in previewThread()
/hardware/ril/libril/
Dril_event.cpp137 static void removeWatch(struct ril_event * ev, int index) in removeWatch() argument
139 watch_table[index] = NULL; in removeWatch()
140 ev->index = -1; in removeWatch()
258 ev->index = -1; in ril_event_set()
273 ev->index = i; in ril_event_add()
321 if (ev->index < 0 || ev->index >= MAX_FD_EVENTS) { in ril_event_del()
326 removeWatch(ev, ev->index); in ril_event_del()
/hardware/libhardware_legacy/audio/
DAudioPolicyManagerBase.cpp555 ssize_t index = mOutputs.indexOfKey(output); in startOutput() local
556 if (index < 0) { in startOutput()
561 AudioOutputDescriptor *outputDesc = mOutputs.valueAt(index); in startOutput()
602 ssize_t index = mOutputs.indexOfKey(output); in stopOutput() local
603 if (index < 0) { in stopOutput()
608 AudioOutputDescriptor *outputDesc = mOutputs.valueAt(index); in stopOutput()
646 ssize_t index = mOutputs.indexOfKey(output); in releaseOutput() local
647 if (index < 0) { in releaseOutput()
655 AudioOutputDescriptor *outputDesc = mOutputs.valueAt(index); in releaseOutput()
658 delete mOutputs.valueAt(index); in releaseOutput()
[all …]
/hardware/ti/omap3/dspbridge/dspexec/
Ddspexec.c110 UINT index = 0; in main() local
150 while (DSP_SUCCEEDED(DSPManager_EnumProcessorInfo(index,&dspInfo, in main()
155 uProcId = index; in main()
159 index++; in main()
/hardware/qcom/media/mm-video/vidc/venc/src/
Domx_video_base.cpp2250 unsigned int index = 0; in free_input_buffer() local
2260 index = bufferHdr - m_inp_mem_ptr; in free_input_buffer()
2262 if(index < m_sInPortDef.nBufferCountActual && m_pInput_pmem) in free_input_buffer()
2264 if(m_pInput_pmem[index].fd > 0 && input_use_buffer == false) in free_input_buffer()
2267 if(dev_free_buf(&m_pInput_pmem[index],PORT_INDEX_IN) != true) in free_input_buffer()
2271 munmap (m_pInput_pmem[index].buffer,m_pInput_pmem[index].size); in free_input_buffer()
2272 close (m_pInput_pmem[index].fd); in free_input_buffer()
2273 m_pInput_pmem[index].fd = -1; in free_input_buffer()
2275 else if(m_pInput_pmem[index].fd > 0 && (input_use_buffer == true && in free_input_buffer()
2279 if(dev_free_buf(&m_pInput_pmem[index],PORT_INDEX_IN) != true) in free_input_buffer()
[all …]
/hardware/msm7k/libcamera/
DQualcommCameraHardware.cpp87 uint32_t index);
90 uint32_t index);
93 uint32_t index);
96 uint32_t index);
149 uint32_t index);
154 uint32_t index);
159 uint32_t index);
164 uint32_t index);
1162 uint32_t index) in get_preview_mem() argument
1171 uint32_t vaddr = (uint32_t)(base + size*index); in get_preview_mem()
[all …]
DQualcommCameraHardware.h59 void* get_preview_mem(uint32_t size, uint32_t *phy_addr, uint32_t index);
60 void* get_raw_mem(uint32_t size, uint32_t *phy_addr, uint32_t index);
61 void free_preview_mem(uint32_t *phy_addr, uint32_t size, uint32_t index);
62 void free_raw_mem(uint32_t *phy_addr, uint32_t size, uint32_t index);
/hardware/qcom/media/mm-core/omxcore/src/common/
Dqc_omx_core.c272 static int check_lib_unload(int index) in check_lib_unload() argument
279 if(core[index].inst[i]) in check_lib_unload()
619 OMX_IN OMX_U32 index) in OMX_ComponentNameEnum() argument
624 ,(unsigned)index); in OMX_ComponentNameEnum()
625 if(index < SIZE_OF_CORE) in OMX_ComponentNameEnum()
628 strlcpy(componentName, core[index].name,nameLen); in OMX_ComponentNameEnum()
630 strncpy(componentName, core[index].name,nameLen); in OMX_ComponentNameEnum()
/hardware/msm7k/libaudio-qsd8k/
DAudioPolicyManager.cpp236 float AudioPolicyManager::computeVolume(int stream, int index, audio_io_handle_t output, uint32_t d… in computeVolume() argument
241 if (index == mStreams[stream].mIndexMin) { in computeVolume()
242 return AudioPolicyManagerBase::computeVolume(stream, index, output, device); in computeVolume()
254 float volume = AudioPolicyManagerBase::computeVolume(stream, index, output, device); in computeVolume()
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/tests/
DWBAmrDecTest.c518 OMX_INDEXTYPE index; local
1093 error = OMX_GetExtensionIndex(pHandle, "OMX.TI.index.config.wbamrheaderinfo",&index);
1175 error = OMX_GetExtensionIndex(pHandle, "OMX.TI.index.config.wbamrstreamIDinfo",&index);
1454 …error = OMX_GetExtensionIndex(pHandle, "OMX.TI.index.config.wbamr.framelost",&index); …
1455 error = OMX_SetConfig(pHandle, index, NULL);
1907 int index = 45; /* some invalid value*/ local
1927 index = (first_char>>3) & 0xf;
1929 if((index>=0) && (index<10))
1931 size = FrameLength[index];
1936 else if (index == 14) {
[all …]
/hardware/msm7k/libaudio/
DAudioHardware.cpp139 for (size_t index = 0; index < mInputs.size(); index++) { in ~AudioHardware() local
140 closeInputStream((AudioStreamIn*)mInputs[index]); in ~AudioHardware()
228 ssize_t index = mInputs.indexOf((AudioStreamInMSM72xx *)in); in closeInputStream() local
229 if (index < 0) { in closeInputStream()
233 delete mInputs[index]; in closeInputStream()
235 mInputs.removeAt(index); in closeInputStream()
331 static unsigned calculate_audpre_table_index(unsigned index) in calculate_audpre_table_index() argument
333 switch (index) { in calculate_audpre_table_index()
621 for (size_t index = 0; index < mInputs.size(); index++) { in dump() local
622 mInputs[index]->dump(fd, args); in dump()
/hardware/invensense/mlsdk/mllite/
Dmldl.h160 unsigned char inv_get_interrupt_trigger(unsigned char index);
161 void inv_clear_interrupt_trigger(unsigned char index);
Dcompass.c90 adap_filter->index = 0; in adaptive_filter_init()
114 adap_filter->sequence[adap_filter->index++] = in; in adaptive_filter_filter()
118 if (adap_filter->len <= adap_filter->index) { in adaptive_filter_filter()
119 adap_filter->index = 0; in adaptive_filter_filter()
121 adap_filter->sequence[adap_filter->index++] = in; in adaptive_filter_filter()
/hardware/ti/omap3/libstagefrighthw/
DTIOMXPlugin.cpp92 OMX_U32 index) { in enumerateComponents() argument
97 return (*mComponentNameEnum)(name, size, index); in enumerateComponents()
/hardware/ti/omap4xxx/libstagefrighthw/
DTIOMXPlugin.cpp100 OMX_U32 index) { in enumerateComponents() argument
106 return (*mComponentNameEnum)(name, size, index); in enumerateComponents()
/hardware/msm7k/libstagefrighthw/
DQComOMXPlugin.cpp92 OMX_U32 index) { in enumerateComponents() argument
97 return (*mComponentNameEnum)(name, size, index); in enumerateComponents()

1234