/hardware/interfaces/media/bufferpool/aidl/default/ |
D | DataHelper.h | 30 auto iter = mapOfSet->find(key); in insert() local 31 if (iter == mapOfSet->end()) { in insert() 35 } else if (iter->second.find(value) == iter->second.end()) { in insert() 36 iter->second.insert(value); in insert() 46 auto iter = mapOfSet->find(key); in erase() local 47 if (iter != mapOfSet->end()) { in erase() 48 if (iter->second.erase(value) > 0) { in erase() 51 if (iter->second.size() == 0) { in erase() 52 mapOfSet->erase(iter); in erase() 61 auto iter = mapOfSet->find(key); in contains() local [all …]
|
D | BufferPool.cpp | 184 auto iter = mBuffers.find(bufferId); in handleOwnBuffer() local 185 iter->second->mOwnerCount++; in handleOwnBuffer() 195 auto iter = mBuffers.find(bufferId); in handleReleaseBuffer() local 196 iter->second->mOwnerCount--; in handleReleaseBuffer() 197 if (iter->second->mOwnerCount == 0 && in handleReleaseBuffer() 198 iter->second->mTransactionCount == 0) { in handleReleaseBuffer() 199 if (!iter->second->mInvalidated) { in handleReleaseBuffer() 200 mStats.onBufferUnused(iter->second->mAllocSize); in handleReleaseBuffer() 203 mStats.onBufferUnused(iter->second->mAllocSize); in handleReleaseBuffer() 204 mStats.onBufferEvicted(iter->second->mAllocSize); in handleReleaseBuffer() [all …]
|
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
D | hwcomposer.cpp | 202 auto iter = displays.find(display); in Hwc2ImplDestroyVirtualDisplay() local 204 if (iter == displays.end()) { in Hwc2ImplDestroyVirtualDisplay() 208 if (iter->second.IsPhysical()) { in Hwc2ImplDestroyVirtualDisplay() 216 displays.erase(iter); in Hwc2ImplDestroyVirtualDisplay() 271 auto iter = displays.find(display); in Hwc2ImplCreateLayer() local 273 if (iter == displays.end()) { in Hwc2ImplCreateLayer() 277 *out_layer = iter->second.CreateLayer(); in Hwc2ImplCreateLayer() 284 auto iter = displays.find(display); in Hwc2ImplDestroyLayer() local 286 if (iter == displays.end()) { in Hwc2ImplDestroyLayer() 290 iter->second.DestroyLayer(layer); in Hwc2ImplDestroyLayer() [all …]
|
/hardware/interfaces/power/1.2/vts/functional/ |
D | VtsHalPowerV1_2TargetTest.cpp | 68 for (auto iter = hints2.begin(); iter != hints2.end(); iter++) { in TEST_P() local 69 ret = power->powerHintAsync_1_2(*iter, 0); in TEST_P() 72 for (auto iter = hints2.begin(); iter != hints2.end(); iter++) { in TEST_P() local 73 ret = power->powerHintAsync_1_2(*iter, 30000); in TEST_P()
|
/hardware/google/aemu/host-common/ |
D | MultiDisplay.cpp | 257 for (const auto iter : mMultiDisplay) { in translateCoordination() local 258 if (iter.first != 0 && iter.second.cb == 0) { in translateCoordination() 264 pos_x = iter.second.pos_x; in translateCoordination() 265 pos_y = totalH - iter.second.height - iter.second.pos_y; in translateCoordination() 266 w = iter.second.width; in translateCoordination() 267 h = iter.second.height; in translateCoordination() 271 *displayId = iter.first; in translateCoordination() 497 for (const auto& iter : mMultiDisplay) { in getColorBufferDisplay() local 498 if (iter.second.cb == colorBuffer) { in getColorBufferDisplay() 499 *displayId = iter.first; in getColorBufferDisplay() [all …]
|
D | MediaTexturePool.cpp | 103 auto iter = m_Frame_to_PoolHandle.find(tframe); in putTextureFrame() local 104 if (iter != m_Frame_to_PoolHandle.end()) { in putTextureFrame() 105 PoolHandle phandle = iter->second; in putTextureFrame() 131 for (auto iter : m_WH_to_PoolHandle) { in cleanUpTextures() local 132 auto& myFramePool = *(iter.second); in cleanUpTextures()
|
D | MediaVpxDecoder.cpp | 82 auto iter = mDecoders.find(key); in getDecoder() local 83 if (iter != mDecoders.end()) { in getDecoder() 84 return iter->second; in getDecoder() 106 auto iter = mDecoders.find(key); in removeDecoder() local 107 if (iter != mDecoders.end()) { in removeDecoder() 110 mDecoders.erase(iter); in removeDecoder()
|
D | MediaH264DecoderDefault.cpp | 57 auto iter = mDecoders.find(key); in getDecoder() local 58 if (iter != mDecoders.end()) { in getDecoder() 59 return iter->second; in getDecoder() 98 auto iter = mDecoders.find(key); in removeDecoder() local 99 if (iter != mDecoders.end()) { in removeDecoder() 102 mDecoders.erase(iter); in removeDecoder()
|
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | rb_tree.h | 272 #define rb_tree_foreach(type, iter, T, field) \ argument 273 for (type *iter, *__node = (type *)rb_tree_first(T); \ 275 (iter = rb_node_data(type, (struct rb_node *)__node, field), true); \ 289 #define rb_tree_foreach_safe(type, iter, T, field) \ argument 290 for (type *iter, \ 294 (iter = rb_node_data(type, (struct rb_node *)__node, field), true); \ 309 #define rb_tree_foreach_rev(type, iter, T, field) \ argument 310 for (type *iter, *__node = (type *)rb_tree_last(T); \ 312 (iter = rb_node_data(type, (struct rb_node *)__node, field), true); \ 326 #define rb_tree_foreach_rev_safe(type, iter, T, field) \ argument [all …]
|
/hardware/google/gfxstream/guest/mesa/src/vulkan/util/ |
D | vk_util.h | 58 struct vk_pnext_iterator iter; in vk_pnext_iterator_init() local 60 iter.pos = (VkBaseOutStructure *)start; in vk_pnext_iterator_init() 62 iter.half_pos = (VkBaseOutStructure *)start; in vk_pnext_iterator_init() 63 iter.idx = 0; in vk_pnext_iterator_init() 65 iter.done = false; in vk_pnext_iterator_init() 67 return iter; in vk_pnext_iterator_init() 77 vk_pnext_iterator_next(struct vk_pnext_iterator *iter) in vk_pnext_iterator_next() argument 79 iter->pos = iter->pos->pNext; in vk_pnext_iterator_next() 82 if (iter->idx++ & 1) { in vk_pnext_iterator_next() 91 iter->half_pos = iter->half_pos->pNext; in vk_pnext_iterator_next() [all …]
|
/hardware/qcom/sm7150/gps/utils/ |
D | LocUnorderedSetMap.h | 80 bool trimOrRemove(typename unordered_map<KEY, unordered_set<VAL>>::iterator iter, in trimOrRemove() argument 82 trimSet<VAL>(iter->second, rVals, goneVals); in trimOrRemove() 83 bool removeEntry = (iter->second.empty()); in trimOrRemove() 85 mMap.erase(iter); in trimOrRemove() 134 auto iter = mMap.find(key); in trimOrRemove() local 135 if (iter != mMap.end() && trimOrRemove(iter, rVals, goneVals) && nullptr != goneKeys) { in trimOrRemove() 136 goneKeys->insert(iter->first); in trimOrRemove() 146 auto iter = mMap.find(key); in add() local 147 if (iter != mMap.end()) { in add() 148 iter->second.insert(newVals.begin(), newVals.end()); in add()
|
/hardware/qcom/sm8150/gps/utils/ |
D | LocUnorderedSetMap.h | 86 bool trimOrRemove(typename unordered_map<KEY, unordered_set<VAL>>::iterator iter, in trimOrRemove() argument 88 trimSet<VAL>(iter->second, rVals, goneVals); in trimOrRemove() 89 bool removeEntry = (iter->second.empty()); in trimOrRemove() 91 mMap.erase(iter); in trimOrRemove() 143 auto iter = mMap.find(key); in trimOrRemove() local 144 if (iter != mMap.end() && trimOrRemove(iter, rVals, goneVals) && nullptr != goneKeys) { in trimOrRemove() 145 goneKeys->insert(iter->first); in trimOrRemove() 155 auto iter = mMap.find(key); in add() local 156 if (iter != mMap.end()) { in add() 157 iter->second.insert(newVals.begin(), newVals.end()); in add()
|
/hardware/qcom/sm7250/gps/utils/ |
D | LocUnorderedSetMap.h | 86 bool trimOrRemove(typename unordered_map<KEY, unordered_set<VAL>>::iterator iter, in trimOrRemove() argument 88 trimSet<VAL>(iter->second, rVals, goneVals); in trimOrRemove() 89 bool removeEntry = (iter->second.empty()); in trimOrRemove() 91 mMap.erase(iter); in trimOrRemove() 143 auto iter = mMap.find(key); in trimOrRemove() local 144 if (iter != mMap.end() && trimOrRemove(iter, rVals, goneVals) && nullptr != goneKeys) { in trimOrRemove() 145 goneKeys->insert(iter->first); in trimOrRemove() 155 auto iter = mMap.find(key); in add() local 156 if (iter != mMap.end()) { in add() 157 iter->second.insert(newVals.begin(), newVals.end()); in add()
|
/hardware/qcom/sm8150p/gps/utils/ |
D | LocUnorderedSetMap.h | 80 bool trimOrRemove(typename unordered_map<KEY, unordered_set<VAL>>::iterator iter, in trimOrRemove() argument 82 trimSet<VAL>(iter->second, rVals, goneVals); in trimOrRemove() 83 bool removeEntry = (iter->second.empty()); in trimOrRemove() 85 mMap.erase(iter); in trimOrRemove() 134 auto iter = mMap.find(key); in trimOrRemove() local 135 if (iter != mMap.end() && trimOrRemove(iter, rVals, goneVals) && nullptr != goneKeys) { in trimOrRemove() 136 goneKeys->insert(iter->first); in trimOrRemove() 146 auto iter = mMap.find(key); in add() local 147 if (iter != mMap.end()) { in add() 148 iter->second.insert(newVals.begin(), newVals.end()); in add()
|
/hardware/interfaces/power/1.1/vts/functional/ |
D | VtsHalPowerV1_1TargetTest.cpp | 83 for (auto iter = hints2.begin(); iter != hints2.end(); iter++) { in TEST_P() local 84 ret = power->powerHintAsync(*iter, 0); in TEST_P() 87 for (auto iter = hints2.begin(); iter != hints2.end(); iter++) { in TEST_P() local 88 ret = power->powerHintAsync(*iter, 30000); in TEST_P()
|
/hardware/interfaces/audio/common/all-versions/default/service/ |
D | service.cpp | 149 auto iter = listIter.begin(); in main() local 150 const std::string& interfaceFamilyName = *iter++; in main() 151 LOG_ALWAYS_FATAL_IF(!registerPassthroughServiceImplementations(iter, listIter.end()), in main() 156 auto iter = listIter.begin(); in main() local 157 const std::string& interfaceFamilyName = *iter++; in main() 158 ALOGW_IF(!registerPassthroughServiceImplementations(iter, listIter.end()), in main()
|
/hardware/interfaces/gnss/aidl/default/ |
D | GnssNavigationMessageInterface.cpp | 93 for (auto iter = mThreads.begin(); iter != mThreads.end();) { in stop() local 94 if (iter->joinable()) { in stop() 96 std::thread threadToMove = std::move(*iter); in stop() 104 iter = mThreads.erase(iter); in stop()
|
D | GnssMeasurementInterface.cpp | 149 for (auto iter = mThreads.begin(); iter != mThreads.end();) { in stop() local 150 if (iter->joinable()) { in stop() 152 std::thread threadToMove = std::move(*iter); in stop() 160 iter = mThreads.erase(iter); in stop()
|
/hardware/interfaces/power/1.0/vts/functional/ |
D | VtsHalPowerV1_0TargetTest.cpp | 131 for (auto iter = hints2.begin(); iter != hints2.end(); iter++) { in TEST_P() local 132 ret = power->powerHint(*iter, 0); in TEST_P() 135 for (auto iter = hints2.begin(); iter != hints2.end(); iter++) { in TEST_P() local 136 ret = power->powerHint(*iter, 30000); in TEST_P()
|
/hardware/google/camera/common/hal/google_camera_hal/ |
D | realtime_zsl_result_processor.cc | 93 auto iter = requested_lens_shading_map_modes_.find(frameNumber); in HandleLsResultForHdrplus() local 94 if (iter == requested_lens_shading_map_modes_.end()) { in HandleLsResultForHdrplus() 99 if (iter->second == ANDROID_STATISTICS_LENS_SHADING_MAP_MODE_OFF) { in HandleLsResultForHdrplus() 105 requested_lens_shading_map_modes_.erase(iter); in HandleLsResultForHdrplus() 134 auto iter = requested_face_detect_modes_.find(frameNumber); in HandleFdResultForHdrplus() local 135 if (iter == requested_face_detect_modes_.end()) { in HandleFdResultForHdrplus() 140 if (iter->second == ANDROID_STATISTICS_FACE_DETECT_MODE_OFF) { in HandleFdResultForHdrplus() 146 requested_face_detect_modes_.erase(iter); in HandleFdResultForHdrplus()
|
/hardware/google/aemu/base/ |
D | LayoutResolver.cpp | 74 for (const auto& iter : row) { in computeCoordinatesPerRow() local 75 uint32_t displayId = iter.id; in computeCoordinatesPerRow() 78 for (auto id : iter.children) { in computeCoordinatesPerRow() 82 width += iter.width; in computeCoordinatesPerRow() 100 for (const auto& iter : rect) { in resolveLayout() local 101 uint32_t width = iter.second.first; in resolveLayout() 102 uint32_t height = iter.second.second; in resolveLayout() 103 rectangles.emplace_back(iter.first, 0, 0, width, height); in resolveLayout()
|
/hardware/google/av/media/eco/ |
D | ECOService.cpp | 73 SanitizeSession([&](MapIterType iter) { in obtainSession() argument 74 if (iter->first == newCfg) { in obtainSession() 75 std::shared_ptr<ECOSession> session = iter->second.lock(); in obtainSession() 116 SanitizeSession([&](MapIterType iter) { in getSessions() argument 117 std::shared_ptr<ECOSession> session = iter->second.lock(); in getSessions()
|
/hardware/google/gfxstream/host/gl/gl-host-common/opengl/ |
D | NativeGpuInfo_darwin.cpp | 66 io_iterator_t iter; in GetGPUInfoMac() local 72 &iter); in GetGPUInfoMac() 76 while ((serv = IOIteratorNext(iter)) != 0) { in GetGPUInfoMac()
|
/hardware/interfaces/graphics/composer/2.2/utils/resources/ |
D | ComposerResources.cpp | 59 auto iter = mDisplayResources.find(display); in getDisplayReadbackBuffer() local 60 if (iter == mDisplayResources.end()) { in getDisplayReadbackBuffer() 65 *static_cast<ComposerDisplayResource*>(iter->second.get()); in getDisplayReadbackBuffer()
|
/hardware/qcom/sm7250/display/sde-drm/ |
D | drm_encoder.cpp | 129 auto iter = encoder_pool_.find(encoder_id); in GetEncoderInfo() local 131 if (iter != encoder_pool_.end()) { in GetEncoderInfo() 193 auto iter = encoder_pool_.find(token->encoder_id); in Free() local 194 if (iter != encoder_pool_.end()) { in Free() 195 iter->second->Unlock(); in Free()
|