/hardware/intel/img/hwcomposer/merrifield/common/buffers/ |
H A D | BufferCache.cpp | 37 ssize_t index = mBufferPool.indexOfKey(handle); local 38 if (index >= 0) { 44 index = mBufferPool.add(handle, mapper); 45 if (index < 0) { 46 ETRACE("failed to add mapper. err = %d", (int)index); 55 ssize_t index; local 62 index = mBufferPool.removeItem(mapper->getKey()); 63 if (index < 0) { 64 WTRACE("failed to remove mapper. err = %d", (int)index); 73 ssize_t index local 86 getMapper(uint32_t index) argument [all...] |
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/buffers/ |
H A D | BufferCache.cpp | 37 ssize_t index = mBufferPool.indexOfKey(handle); local 38 if (index >= 0) { 44 index = mBufferPool.add(handle, mapper); 45 if (index < 0) { 46 ELOGTRACE("failed to add mapper. err = %d", index); 55 ssize_t index; local 62 index = mBufferPool.removeItem(mapper->getKey()); 63 if (index < 0) { 64 WLOGTRACE("failed to remove mapper. err = %d", index); 73 ssize_t index local 86 getMapper(size_t index) argument [all...] |
/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
H A D | QCamera3StreamMem.h | 56 int getFd(uint32_t index); 57 ssize_t getSize(uint32_t index); 58 int invalidateCache(uint32_t index); 59 int cleanInvalidateCache(uint32_t index); 60 int cleanCache(uint32_t index); 62 mm_camera_buf_def_t &bufDef, uint32_t index, 64 void *getPtr(uint32_t index); 66 bool valid(uint32_t index); 70 int unregisterBuffer(uint32_t index); 72 void *getBufferHandle(uint32_t index); [all...] |
H A D | QCamera3Mem.cpp | 98 * @index : index of the buffer 106 int QCamera3Memory::cacheOpsInternal(uint32_t index, unsigned int cmd, void *vaddr) argument 115 if (MM_CAMERA_MAX_NUM_FRAMES <= index) { 116 LOGE("index %d out of bound [0, %d)", 117 index, MM_CAMERA_MAX_NUM_FRAMES); 121 if (0 == mMemInfo[index].handle) { 122 LOGE("Buffer at %d not registered", index); 129 cache_inv_data.fd = mMemInfo[index].fd; 130 cache_inv_data.handle = mMemInfo[index] 156 getFd(uint32_t index) argument 181 getSize(uint32_t index) argument 227 getBufDef(const cam_frame_len_offset_t &offset, mm_camera_buf_def_t &bufDef, uint32_t index, bool virtualAddr) argument 394 getPtrLocked(uint32_t index) argument 419 markFrameNumber(uint32_t index, uint32_t frameNumber) argument 454 getFrameNumber(uint32_t index) argument 546 getPtr(uint32_t index) argument 693 cacheOps(uint32_t index, unsigned int cmd) argument 969 markFrameNumber(uint32_t index, uint32_t frameNumber) argument 1007 getFrameNumber(uint32_t index) argument 1101 cacheOps(uint32_t index, unsigned int cmd) argument 1151 int index = -1; local 1179 int index = -1; local 1208 getPtrLocked(uint32_t index) argument 1257 getPtr(uint32_t index) argument 1274 getBufferHandle(uint32_t index) argument [all...] |
H A D | QCamera3StreamMem.cpp | 119 * @index : index of the buffer 123 int QCamera3StreamMem::getFd(uint32_t index) argument 127 if (index < mMaxHeapBuffers) 128 return mHeapMem.getFd(index); 130 return mGrallocMem.getFd(index); 139 * @index : index of the buffer 143 ssize_t QCamera3StreamMem::getSize(uint32_t index) argument 147 if (index < mMaxHeapBuffer 165 invalidateCache(uint32_t index) argument 187 cleanInvalidateCache(uint32_t index) argument 209 cleanCache(uint32_t index) argument 235 getBufDef(const cam_frame_len_offset_t &offset, mm_camera_buf_def_t &bufDef, uint32_t index, bool virtualAddr) argument 260 getPtr(uint32_t index) argument 280 valid(uint32_t index) argument 357 getBufferHandle(uint32_t index) argument 435 markFrameNumber(uint32_t index, uint32_t frameNumber) argument 499 getFrameNumber(uint32_t index) argument 523 int32_t index = mGrallocMem.getBufferIndex(frameNumber); local 542 int32_t index = mHeapMem.getBufferIndex(frameNumber); local 562 int32_t index = mGrallocMem.getBufferIndex(frameNumber); local [all...] |
H A D | QCamera3Mem.h | 52 int cleanCache(uint32_t index) argument 54 return cacheOps(index, ION_IOC_CLEAN_CACHES); 56 int invalidateCache(uint32_t index) argument 58 return cacheOps(index, ION_IOC_INV_CACHES); 60 int cleanInvalidateCache(uint32_t index) argument 62 return cacheOps(index, ION_IOC_CLEAN_INV_CACHES); 64 int getFd(uint32_t index); 65 ssize_t getSize(uint32_t index); 68 virtual int cacheOps(uint32_t index, unsigned int cmd) = 0; 70 virtual void *getPtr(uint32_t index) [all...] |
/hardware/qcom/display/msm8960/liboverlay/ |
H A D | overlay.h | 79 /* set the framebuffer index for external display */ 81 /* Returns framebuffer index of the current external display */ 91 /*Validate index range, abort if invalid */ 92 void validate(int index); 111 static void setUse(int index); 112 static void resetUse(int index); 113 static bool isUsed(int index); 114 static bool isNotUsed(int index); 117 static void setAllocation(int index); 118 static void resetAllocation(int index); 153 validate(int index) argument 187 setUse(int index) argument 191 resetUse(int index) argument 195 isUsed(int index) argument 199 isNotUsed(int index) argument 207 setAllocation(int index) argument 211 resetAllocation(int index) argument 215 isAllocated(int index) argument 219 isNotAllocated(int index) argument [all...] |
H A D | overlay.cpp | 103 int index = (int)dest; local 106 mPipeBook[index].mDisplay = dpy; 107 if(not mPipeBook[index].valid()) { 108 mPipeBook[index].mPipe = new GenericPipe(dpy); 124 int index = (int)dest; local 125 validate(index); 127 if(mPipeBook[index].mPipe->commit()) { 132 int dpy = mPipeBook[index].mDisplay; 142 int index = (int)dest; local 144 validate(index); 154 int index = (int)dest; local 161 int index = (int)dest; local 168 int index = (int)dest; local 179 int index = (int)dest; local 199 int index = (int)dest; local 223 int index = 0; local 256 int index = minfo->pndx; local [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp2/parser/ |
H A D | viddec_mpeg2_frame_attr.c | 13 unsigned int index = 0; local 25 for (index = 0; index < attr->mpeg2.number_of_frame_center_offsets; index++) 27 MPEG2_FA_DEB("\tPan_Scan_Offset_%d= %dx%d\n", index, 28 attr->mpeg2.frame_center_offset[index].horz, 29 attr->mpeg2.frame_center_offset[index].vert); 39 unsigned int index = 0; local 42 for (index = 0; index < MPEG2_MAX_VID_OFFSET 101 unsigned int index = 0; local [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/ |
H A D | viddec_pm_tags.c | 131 uint32_t index=0, t_index=0; local 139 index++; 143 while( (index < list->num_items) && (list->data[index].edpos <= (uint32_t)list->total_bytes)) 145 pend->pending_tags[t_index] = list->sc_ibuf[index].id; 146 index++;t_index++; 148 if( (index < list->num_items) && (list->data[index].stpos < (uint32_t)list->total_bytes)) 150 pend->pending_tags[t_index] = list->sc_ibuf[index].id; 155 static inline void viddec_pm_emit_pending_tag_item(viddec_emitter *emit, vidded_pm_pending_tags_t *pend, uint32_t index, uint32_ argument 179 uint32_t first_slice = false, index = 0; local 216 uint32_t first_slice = false, index = 0; local 251 uint32_t not_first_slice = false, index = 0; local 281 uint32_t index=0; local [all...] |
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/ |
H A D | Obd2SensorStore.cpp | 36 void Obd2SensorStore::BitmaskInVector::set(size_t index, bool value) { argument 37 const size_t byteIndex = index / 8; 38 const size_t bitIndex = index % 8; 44 bool Obd2SensorStore::BitmaskInVector::get(size_t index) const { 45 const size_t byteIndex = index / 8; 46 const size_t bitIndex = index % 8; 56 // because the last index is valid *inclusive* 65 StatusCode Obd2SensorStore::setIntegerSensor(DiagnosticIntegerSensorIndex index, int32_t value) { argument 66 return setIntegerSensor(toInt(index), value); 68 StatusCode Obd2SensorStore::setFloatSensor(DiagnosticFloatSensorIndex index, floa argument 72 setIntegerSensor(size_t index, int32_t value) argument 78 setFloatSensor(size_t index, float value) argument [all...] |
/hardware/interfaces/automotive/vehicle/2.0/default/tests/ |
H A D | VehiclePropConfigIndex_test.cpp | 45 VehiclePropConfigIndex index(configs); 47 ASSERT_TRUE(index.hasConfig(toInt(VehicleProperty::HVAC_FAN_SPEED))); 48 ASSERT_TRUE(index.hasConfig(toInt(VehicleProperty::INFO_MAKE))); 49 ASSERT_TRUE(index.hasConfig(toInt(VehicleProperty::INFO_FUEL_CAPACITY))); 51 ASSERT_FALSE(index.hasConfig(toInt(VehicleProperty::INVALID))); 55 VehiclePropConfigIndex index(configs); 57 std::vector<VehiclePropConfig> actualConfigs = index.getAllConfigs(); 66 VehiclePropConfigIndex index(configs); 67 auto actualConfig = index.getConfig(toInt(VehicleProperty::HVAC_FAN_SPEED));
|
/hardware/intel/img/hwcomposer/merrifield/ips/penwell/ |
H A D | PnwOverlayPlane.cpp | 26 PnwOverlayPlane::PnwOverlayPlane(int index, int disp) argument 27 : OverlayPlaneBase(index, disp)
|
H A D | PnwSpritePlane.cpp | 25 PnwSpritePlane::PnwSpritePlane(int index, int disp) argument 26 : SpritePlaneBase(index, disp)
|
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/ |
H A D | HidLocal.cpp | 27 uint32_t HidLocal::getUsage(size_t index) const { 31 return (index >= usage.size()) ? usage.back() : usage[index]; 34 uint32_t HidLocal::getDesignator(size_t index) const { 38 return (index >= designator.size()) ? designator.back() : designator[index]; 41 uint32_t HidLocal::getString(size_t index) const { 45 return (index >= string.size()) ? string.back() : string[index];
|
H A D | HidLocal.h | 35 uint32_t getUsage(size_t index) const; 36 uint32_t getDesignator(size_t index) const; 37 uint32_t getString(size_t index) const;
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/ |
H A D | IPACM_Config.h | 153 inline void increaseFltRuleCount(int index, ipa_ip_type iptype, int increment) argument 155 if((index >= IPA_CLIENT_CONS - IPA_CLIENT_PROD) || (index < 0)) 157 IPACMERR("Index is out of range: %d.\n", index); 162 flt_rule_count_v4[index] += increment; 163 IPACMDBG_H("Now num of v4 flt rules on client %d is %d.\n", index, flt_rule_count_v4[index]); 167 flt_rule_count_v6[index] += increment; 168 IPACMDBG_H("Now num of v6 flt rules on client %d is %d.\n", index, flt_rule_count_v6[index]); 173 decreaseFltRuleCount(int index, ipa_ip_type iptype, int decrement) argument 193 getFltRuleCount(int index, ipa_ip_type iptype) argument [all...] |
/hardware/qcom/audio/legacy/libalsa-intf/ |
H A D | alsa_ucm.c | 110 int verb_index, list_size, index = 0; local 126 while(strncmp(uc_mgr->card_ctxt_ptr->verb_list[index], 128 ALOGV("Index:%d Verb:%s", index, 129 uc_mgr->card_ctxt_ptr->verb_list[index]); 130 index++; 134 return index; 144 verb_list[index].use_case_name, 145 (strlen(verb_list[index].use_case_name)+1))) { 146 index++; 148 verb_index = index; 270 int index, verb_index = 0, ret = 0; local 468 int index, list_size, ret = -EINVAL; local 542 int index = 0, list_size = 0, rx_dev_status = 0, tx_dev_status = 0; local 582 int list_size, index, verb_index, ret = 0, voice_acdb = 0, rx_id, tx_id; local 707 int ret = 0, index = 0, verb_index; local 761 int i, ret = 0, index = 0, verb_index, mixer_count; local 962 int list_size, index, uc_index, ret = 0, intdev_flag = 0; local 1056 int list_size, index, dev_index, uc_index, ret = 0; local 1117 int list_size, index = 0, ret = -ENODEV, flag = 0, intdev_flag = 0; local 1284 int ret = -EINVAL, index = 0; local 1386 int verb_index, list_size, index = 0, ret = -EINVAL; local 1611 int verb_index, list_size, index = 0, ret = -EINVAL; local 1883 int index, ret = -EINVAL; local 2038 int index, list_size, ret = 0; local 2123 int fd, index = 0, ret = 0, rc = 0; local 2282 int fd, verb_count, index = 0, ret = 0, rc; local 2454 int verb_count = 0, device_count = 0, mod_count = 0, index = -1, ret = 0; local 2870 snd_ucm_parse_verb(snd_use_case_mgr_t **uc_mgr, const char *file_name, int index) argument 3482 int ret = -EINVAL, i, index = 0, count = 0; local 3585 int case_index = 0, index = 0, mindex = 0; local 3649 int index = 0, verb_index = 0; local 3766 snd_ucm_get_device_node(struct snd_ucm_ident_node *head, int index) argument 3814 snd_ucm_get_value_at_index(struct snd_ucm_ident_node *head, int index) argument 3841 int index = 0; local 3858 int index = 0; local [all...] |
/hardware/intel/img/hwcomposer/merrifield/ips/common/ |
H A D | SpritePlaneBase.cpp | 23 SpritePlaneBase::SpritePlaneBase(int index, int disp) argument 24 : DisplayPlane(index, PLANE_SPRITE, disp),
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/ |
H A D | SpritePlaneBase.cpp | 23 SpritePlaneBase::SpritePlaneBase(int index, int disp) argument 24 : DisplayPlane(index, PLANE_SPRITE, disp),
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/ |
H A D | Obd2SensorStore.h | 40 StatusCode setIntegerSensor(DiagnosticIntegerSensorIndex index, int32_t value); 42 StatusCode setIntegerSensor(size_t index, int32_t value); 45 StatusCode setFloatSensor(DiagnosticFloatSensorIndex index, float value); 47 StatusCode setFloatSensor(size_t index, float value); 64 bool get(size_t index) const; 65 void set(size_t index, bool value);
|
/hardware/qcom/display/msm8084/liboverlay/ |
H A D | overlay.h | 154 /*Validate index range, abort if invalid */ 155 void validate(int index); 193 static void setUse(int index); 194 static void resetUse(int index); 195 static bool isUsed(int index); 196 static bool isNotUsed(int index); 199 static void setAllocation(int index); 200 static void resetAllocation(int index); 201 static bool isAllocated(int index); 202 static bool isNotAllocated(int index); 247 validate(int index) argument 331 setUse(int index) argument 335 resetUse(int index) argument 339 isUsed(int index) argument 343 isNotUsed(int index) argument 351 setAllocation(int index) argument 355 resetAllocation(int index) argument 359 isAllocated(int index) argument 363 isNotAllocated(int index) argument [all...] |
/hardware/qcom/display/msm8226/liboverlay/ |
H A D | overlay.h | 159 /*Validate index range, abort if invalid */ 160 void validate(int index); 201 static void setUse(int index); 202 static void resetUse(int index); 203 static bool isUsed(int index); 204 static bool isNotUsed(int index); 207 static void setAllocation(int index); 208 static void resetAllocation(int index); 209 static bool isAllocated(int index); 210 static bool isNotAllocated(int index); 255 validate(int index) argument 352 setUse(int index) argument 356 resetUse(int index) argument 360 isUsed(int index) argument 364 isNotUsed(int index) argument 372 setAllocation(int index) argument 376 resetAllocation(int index) argument 380 isAllocated(int index) argument 384 isNotAllocated(int index) argument [all...] |
/hardware/qcom/display/msm8994/liboverlay/ |
H A D | overlay.h | 165 /*Validate index range, abort if invalid */ 166 void validate(int index); 215 static void setUse(int index); 216 static void resetUse(int index); 217 static bool isUsed(int index); 218 static bool isNotUsed(int index); 221 static void setAllocation(int index); 222 static void resetAllocation(int index); 223 static bool isAllocated(int index); 224 static bool isNotAllocated(int index); 274 validate(int index) argument 384 setUse(int index) argument 388 resetUse(int index) argument 392 isUsed(int index) argument 396 isNotUsed(int index) argument 404 setAllocation(int index) argument 408 resetAllocation(int index) argument 412 isAllocated(int index) argument 416 isNotAllocated(int index) argument [all...] |
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
H A D | QCameraMem.h | 91 int cleanCache(uint32_t index) argument 93 return cacheOps(index, ION_IOC_CLEAN_CACHES); 95 int invalidateCache(uint32_t index) argument 97 return cacheOps(index, ION_IOC_INV_CACHES); 99 int cleanInvalidateCache(uint32_t index) argument 101 return cacheOps(index, ION_IOC_CLEAN_INV_CACHES); 103 int getFd(uint32_t index) const; 104 ssize_t getSize(uint32_t index) const; 112 virtual int cacheOps(uint32_t index, unsigned int cmd) = 0; 114 virtual camera_memory_t *getMemory(uint32_t index, 308 isBufSkipped(uint32_t index) argument [all...] |