/hardware/google/av/codec2/1.0/mts/common/ |
H A D | media_c2_hidl_test_common.h | 64 for (hidl_vec<SettingResult>::const_iterator it = 66 it != settingResults.end(); ++it) { 67 processedWork.push_back(*it); 89 android::List<Work>::iterator it = processedWork.begin(); local 90 while (it != processedWork.end()) { 91 if (callBack) callBack(*it); 92 it = processedWork.erase(it);
|
/hardware/google/av/codec2/hidl/1.0/utils/ |
H A D | ComponentStore.cpp | 143 auto it = mStructDescriptors.find(coreIndex); local 144 if (it == mStructDescriptors.end()) { 238 // invalidate unsupported struct descriptors if a new interface is loaded as it may have 302 Component::LocalId it = mComponentRoster.find( local 304 if (it == mComponentRoster.end()) { 307 return it->second.lock();
|
H A D | types.cpp | 577 auto it = baseBlockIndices->find(handle); local 578 if (it != baseBlockIndices->end()) { 579 *index = it->second; 607 auto it = baseBlockIndices->find(bpData.get()); local 608 if (it != baseBlockIndices->end()) { 609 *index = it->second;
|
/hardware/google/av/codec2/hidl/client/ |
H A D | client.cpp | 161 for (auto it = paramPointers.begin(); it != paramPointers.end(); ) { 162 C2Param* paramPointer = *it; 167 ++it; 191 ++it; 199 ++it; 557 // TODO: this is not meant to be exposed as C2ParamReflector on the client side; instead, it 640 auto it = key2Index.find(key); local 641 if (it != key2Index.end()) { 642 indices.push_front(it 816 auto it = mInputBuffers.find(inputIndex); local 913 auto it = mInputBuffers.find(flushedIndex); local [all...] |
/hardware/google/av/codec2/vndk/ |
H A D | C2Buffer.cpp | 788 * For blocks' Impl's crop is always the allotted crop, even if it is a sub block. 865 // fail if it is not on a subsampling boundary 925 * If already mapped and it is currently in use, returns the existing mapping. 935 // if we mapped the region read-only, we cannot remap it read-write 1190 auto it = std::find_if( local 1195 if (it != mNotify.end()) { 1203 auto it = std::find_if( local 1208 if (it == mNotify.end()) { 1211 mNotify.erase(it); 1235 auto it local 1243 auto it = mInfos.find(index.coreIndex()); local [all...] |
H A D | C2Store.cpp | 269 // update platform allocator's store as well if it is alive 367 auto it = mBlockPools.find(blockPoolId); local 368 if (it != mBlockPools.end()) { 369 ptr = it->second.lock(); 371 mBlockPools.erase(it); 548 * This method simply returns the component module if it is already currently loaded, or 549 * attempts to load it if it is not. 688 // capture module so that we ensure we still have it while deleting interface 705 // capture module so that we ensure we still have it whil [all...] |
/hardware/google/av/codec2/vndk/bufferpool/ |
H A D | Accessor.cpp | 41 auto it = mConnectionToCookie.find(connectionId); local 42 if (it != mConnectionToCookie.end()) { 43 uint64_t cookie = it->second; 44 mConnectionToCookie.erase(it); 63 auto it = mCookieToConnections.find(cookie); local 64 if (it != mCookieToConnections.end()) { 65 it->second.insert(connectionId); 80 auto it = mCookieToConnections.find(cookie); local 81 if (it != mCookieToConnections.end()) { 82 for (auto conIt = it [all...] |
H A D | AccessorImpl.cpp | 168 // Since close# will be called after all works are finished, it is OK to 322 // TODO: is it feasible to check ownership here? 521 auto it = mBuffers.find(*freeIt); local 522 if (it != mBuffers.end() && 523 it->second->mOwnerCount == 0 && it->second->mTransactionCount == 0) { 524 mStats.onBufferEvicted(it->second->mAllocSize); 525 mBuffers.erase(it);
|
H A D | ClientManager.cpp | 73 for (auto it = mManagers.begin(); it != mManagers.end();) { 74 const sp<IClientManager> key = it->first.promote(); 78 return it->second; 80 ++it; 82 it = mManagers.erase(it); 167 for (auto it = mCache.mClients.begin(); it != mCache.mClients.end(); ++it) { 227 auto it = mActive.mClients.find(senderId); local 296 auto it = mActive.mClients.find(connectionId); local 321 auto it = mActive.mClients.find(connectionId); local 337 auto it = mActive.mClients.find(connectionId); local 353 auto it = mActive.mClients.find(connectionId); local 367 auto it = mActive.mClients.find(connectionId); local [all...] |
/hardware/google/av/codec2/vndk/util/ |
H A D | C2InterfaceHelper.cpp | 39 auto it = _mStructs.find(paramIndex); local 40 if (it == _mStructs.end()) { 43 return std::make_unique<C2StructDescriptor>(it->second); 127 auto it = mFields.find(_C2FieldId(baseOffs, baseSize)); local 128 if (it == mFields.end()) { 131 return it->second; 211 C2_LOG(WARNING) << "Param " << mName << " has no setter, making it const"; 480 const auto it = _mIndexToHelper.find(ix); local 481 if (it == _mIndexToHelper.end()) { 484 return it 509 auto it = _mDependencyIndex.find(ix); local 633 auto it = dependencies.find(paramDepIx); local 702 auto it = dependencies.find(getDependencyIndex(ix)); local [all...] |
/hardware/google/av/media/codecs/amr_nb_wb/ |
H A D | C2SoftAmrDec.cpp | 310 auto it = frameSizeList.begin(); local 314 if (it == frameSizeList.end()) { 324 if (static_cast<size_t>(numBytesRead + 1) != *it) { 356 inPos += *it; 358 ++it;
|
/hardware/google/av/media/codecs/mp3/ |
H A D | C2SoftMp3Dec.cpp | 392 auto it = decodedSizes.begin(); local 396 if (it == decodedSizes.end()) { 423 mConfig->outputFrameSize = *it / sizeof(int16_t); 451 if (*it != mConfig->outputFrameSize * sizeof(int16_t)) { 459 it++;
|
/hardware/google/av/media/sfplugin/ |
H A D | CCodecBufferChannel.cpp | 132 * shall retain the internal state so that it will honor index and 185 * shall retain the internal state so that it will honor index and 203 * Update the SkipCutBuffer object. No-op if it's never initialized. 287 auto it = std::find_if( local 292 if (it != mPool.end()) { 293 sp<ABuffer> buffer = new VectorBuffer(std::move(*it), shared_from_this()); 294 mPool.erase(it); 337 // it can be recycled. 361 * it in front of the pool. 410 * empty slot, just add one at the end and return it [all...] |
H A D | CCodecConfig.cpp | 156 auto it = mConfigMappers.find(key); local 157 if (it == mConfigMappers.end()) { 161 ALOGV("found %zu eqs for %s", it->second.size(), key.c_str()); 162 return it->second; 173 auto it = mConfigMappers.find(cm.mediaKey()); local 180 it == mConfigMappers.end() ? "adding" : "extending", 182 if (it == mConfigMappers.end()) { 186 it->second.push_back(cm); 672 for (const auto &it : mCurrentConfig) { 673 paramPointers.push_back(it 709 auto it = reflected.find(cm.path()); local 909 auto it = mCurrentConfig.find(ix); local 998 auto it = mCurrentConfig.find(index); local [all...] |
H A D | ReflectedParamUpdater.cpp | 42 for (const auto &it : *this) { 53 if (it.second.find(&c2Value)) { 57 s << "c2::i32 " << it.first << " = " << int32Value; 61 s << "c2::u32 " << it.first << " = " << uint32Value; 66 s << "c2::c32 " << it.first << " = " << uint32Value; 70 s << "c2::i64 " << it.first << " = " << int64Value; 74 s << "c2::u64 " << it.first << " = " << uint64Value; 79 s << "c2::c64 " << it.first << " = " << uint64Value; 83 s << "c2::float " << it.first << " = " << floatValue; 87 s << "c2::unsupported " << it 218 auto it = mParamNames.find(index); local [all...] |
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/ |
H A D | SubscriptionManager.cpp | 53 auto it = mSubscriptions.find(opts.propId); local 54 if (it == mSubscriptions.end()) { 57 const SubscribeOptions& oldOpts = it->second; 60 mSubscriptions.erase(it); 68 auto it = mSubscriptions.find(propId); local 69 if (it == mSubscriptions.end()) { 72 const SubscribeOptions& opts = it->second; 173 auto it = mHalEventSubscribeOptions.find(opts.propId); local 174 if (it == mHalEventSubscribeOptions.end()) { 179 const SubscribeOptions& oldOpts = it 193 auto it = mPropToClients.find(propId); local 206 auto it = mPropToClients.find(propId); local 212 auto it = mClients.find(clientId); local 281 const auto& it = mClients.find(clientId); local [all...] |
H A D | VehicleObjectPool.cpp | 96 auto it = mValueTypePools.find(key); local 98 if (it == mValueTypePools.end()) { 100 it = mValueTypePools.emplace(key, std::move(newPool)).first; 102 return it->second->obtain(); 131 ALOGE("Discarding value for prop 0x%x because it contains "
|
H A D | VehiclePropertyStore.cpp | 66 auto it = mPropertyValues.find(recId); local 67 if (it != mPropertyValues.end()) { 68 mPropertyValues.erase(it); 82 for (auto&& it : mPropertyValues) { 83 allValues.push_back(it.second); 92 for (auto it = range.first; it != range.second; ++it) { 93 values.push_back(it->second); 149 auto it local 160 auto it = mPropertyValues.find(recId); local [all...] |
/hardware/interfaces/broadcastradio/common/tests/ |
H A D | IdentifierIterator_test.cpp | 36 auto it = V2_0::begin(sel); local 39 ASSERT_NE(end, it); 40 EXPECT_EQ(sel.primaryId, *it); 41 ASSERT_NE(end, ++it); 42 EXPECT_EQ(sel.secondaryIds[0], *it); 43 ASSERT_EQ(end, ++it); 49 auto it = V2_0::begin(sel); local 52 ASSERT_NE(end, it++); // primary id is always present 53 ASSERT_EQ(end, it); 69 auto it local 106 auto it = std::find_if(V2_0::begin(sel), end, isRdsPi); local [all...] |
/hardware/interfaces/camera/device/1.0/default/ |
H A D | CameraDevice.cpp | 496 // drop all references, it will be destroyed (as well as the enclosed 839 auto it = mMemoryMap.find(memId); local 840 if (it == mMemoryMap.end() || it->second == nullptr) { 844 camMemory = it->second; 855 // Input handle will be closed by HIDL transport later, so clone it
|
/hardware/interfaces/camera/device/3.2/default/ |
H A D | CameraDeviceSession.cpp | 176 * to AE_LOCK_ON to start cancelling AE precapture. If AE lock is not available, it still overrides 481 auto it = batch->mBatchBufs.find(streamId); local 482 if (it != batch->mBatchBufs.end()) { 483 InflightBatch::BufferBatch& bb = it->second; 499 auto it = batch->mBatchBufs.find(streamId); local 500 if (it == batch->mBatchBufs.end()) { 504 InflightBatch::BufferBatch& bb = it->second; 522 auto it = batch->mBatchBufs.find(streamId); local 523 if (it == batch->mBatchBufs.end()) { 527 InflightBatch::BufferBatch& bb = it 543 auto it = batch->mBatchBufs.find(streamId); local 734 auto it = batch->mBatchBufs.find(buffer.streamId); local 1015 auto it = cbs.find(cache.bufferId); local [all...] |
/hardware/interfaces/camera/device/3.4/default/ |
H A D | CameraDeviceSession.cpp | 153 // In case Hal returns error most likely it was not able to release 226 for(auto it = mStreamMap.begin(); it != mStreamMap.end();) { 227 int id = it->first; 240 it = mStreamMap.erase(it); 242 ++it; 606 auto it = batch->mBatchBufs.find(buffer.streamId); local 607 if (it != batch->mBatchBufs.end()) { 608 InflightBatch::BufferBatch& bb = it [all...] |
H A D | ExternalCameraDevice.cpp | 37 // Only support MJPEG for now as it seems to be the one supports higher fps 804 auto it = std::find ( local 806 if (it != kSupportedFourCCs.end()) {
|
H A D | ExternalCameraDeviceSession.cpp | 918 scaledOutH = scaledOutH & ~0x1; // make it multiple of 2 933 scaledOutW = scaledOutW & ~0x1; // make it multiple of 2 984 auto it = mScaledYu12Frames.find(outSz); local 986 if (it != mScaledYu12Frames.end()) { 987 scaledYu12Buf = it->second; 989 it = mIntermediateBuffers.find(outSz); 990 if (it == mIntermediateBuffers.end()) { 995 scaledYu12Buf = it->second; 1068 /* Compute the one scale factor from (1) above, it will be the smaller of 1273 * CustomJpegDestMgr* when we get it passe 1911 auto it = mIntermediateBuffers.begin(); local 2034 auto it = cbs.find(cache.bufferId); local [all...] |
/hardware/interfaces/camera/provider/2.4/vts/functional/ |
H A D | VtsHalCameraProviderV2_4TargetTest.cpp | 382 auto it = mBufferIdMap.find(buf); local 383 if (it == mBufferIdMap.end()) { 389 return std::make_pair(false, it->second); 1451 // Start and stop preview checking whether it gets enabled in between. 1788 // In case autofocus is supported verify that it can be cancelled. 2094 //In case it is supported verify that torch can be enabled. 2328 // cast the 3.3/3.4 interface, and that lower versions can't be cast to it. 2501 for (auto& it : outputStreams) { 2503 bool isJpeg = static_cast<PixelFormat>(it.format) == PixelFormat::BLOB; 2506 static_cast<uint32_t>(it 3484 auto it = physicalIds.begin(); local [all...] |