Home
last modified time | relevance | path

Searched refs:size (Results 24626 - 24650 of 34193) sorted by relevance

1...<<981982983984985986987988989990>>...1368

/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/source/remote/
H A Dremote_audio_capturer_source.cpp97 int32_t UpdateAppsUid(const int32_t appsUid[PA_MAX_OUTPUTS_PER_SOURCE], const size_t size) final;
254 for (uint32_t port = 0; port < desc->ports.size(); port++) { in Init()
259 CHECK_AND_RETURN_RET_LOG(port != (desc->ports.size() - 1), ERR_INVALID_INDEX, in Init()
732 const size_t size) in UpdateAppsUid()
731 UpdateAppsUid(const int32_t appsUid[PA_MAX_OUTPUTS_PER_SOURCE], const size_t size) UpdateAppsUid() argument
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/audio_encoder/aac/
H A Dffmpeg_aac_encoder_plugin.cpp239 MEDIA_LOG_E("size is 0, but flag is not 1"); in QueueInputBuffer()
283 GetAdtsHeader(header, headerSize, avCodecContext_, avPacket_->size); in ReceivePacketSucc()
295 int32_t outputSize = avPacket_->size + headerSize; in ReceivePacketSucc()
299 auto len = memory->Write(avPacket_->data, avPacket_->size, headerSize); in ReceivePacketSucc()
300 if (len < avPacket_->size) { in ReceivePacketSucc()
517 MEDIA_LOG_I("frame size: %{public}d", avCodecContext_->frame_size); in OpenContext()
645 "SendEncoder buffer size is less than 0. size : %{public}d", memory->GetSize()); in SendEncoder()
647 MEDIA_LOG_E("send input buffer is > allocate size. size in SendEncoder()
[all...]
/foundation/multimedia/audio_framework/frameworks/native/audioadapter/src/
H A Dpulse_audio_service_adapter_impl.cpp397 AUDIO_DEBUG_LOG("end, get [%{public}zu] sinks.", userData->sinkInfos.size()); in GetAllSinks()
405 for (size_t i = 0; i < sinkInfos.size(); i++) { in GetTargetSinks()
531 for (uint32_t i = 0; i < sourOutputs.size(); i ++) { in SetSourceOutputMute()
580 AUDIO_DEBUG_LOG("get:[%{public}zu]", userData->sinkInputList.size()); in GetAllSinkInputs()
/foundation/graphic/graphic_3d/lume/LumeRender/src/node/
H A Drender_node_single_post_process.cpp304 return; // no way to evaluate dispatch size in ExecuteSinglePostProcess()
561 for (uint32_t idx = 0; idx < static_cast<uint32_t>(jsonInputs_.resources.customInputImages.size()); ++idx) { in ParseRenderNodeInputs()
567 for (uint32_t idx = 0; idx < static_cast<uint32_t>(jsonInputs_.resources.customOutputImages.size()); ++idx) { in ParseRenderNodeInputs()
593 if (jsonInputs_.inputIdx < inputResources_.customInputImages.size()) { in UpdateImageData()
596 if (jsonInputs_.outputIdx < inputResources_.customOutputImages.size()) { in UpdateImageData()
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/remote_fast/
H A Dremote_fast_audio_renderer_sink.cpp121 int32_t UpdateAppsUid(const int32_t appsUid[MAX_MIX_CHANNELS], const size_t size) final;
263 for (uint32_t port = 0; port < desc->ports.size(); port++) { in Init()
268 CHECK_AND_RETURN_RET_LOG(port != (desc->ports.size() - 1), ERR_INVALID_INDEX, in Init()
325 int32_t totalBufferInMs = 40; // 5 * (6 + 2 * (1)) = 40ms, the buffer size, not latency. in PrepareMmapBuffer()
760 int32_t RemoteFastAudioRendererSinkInner::UpdateAppsUid(const int32_t appsUid[MAX_MIX_CHANNELS], const size_t size) in UpdateAppsUid() argument
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/fuzztest/rsanimationbase_fuzzer/
H A Drsanimationbase_fuzzer.cpp53 * describe: get data from outside untrusted data(data_) which size is according to sizeof(T)
661 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
668 size_ = size; in DoSomethingInterestingWithMyAPI()
696 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
699 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
/foundation/multimedia/media_foundation/engine/plugin/plugins/hdi_adapter/sink/
H A Dhos_au_sink.cpp93 if (sampleFormats.size() == 1) { in UpdatePluginCapWithPortCap()
101 if (pluginSampleRates.size() == 1) { in UpdatePluginCapWithPortCap()
609 Status HdiSink::GetFrameSize(size_t& size) in GetFrameSize() argument
611 UNUSED_VARIABLE(size); in GetFrameSize()
/foundation/multimedia/media_foundation/services/media_monitor/server/src/
H A Dmedia_monitor_policy.cpp617 MEDIA_LOG_D("eventVector size %{public}zu", eventVector_.size()); in WhetherToHiSysEvent()
618 if (eventVector_.size() >= static_cast<uint32_t>(aggregationFrequency_)) { in WhetherToHiSysEvent()
646 int32_t remainderSize = aggregationFrequency_ - static_cast<int32_t>(eventVector_.size()); in WriteInfo()
651 dumpString += " The current number of eventVector: " + std::to_string(eventVector_.size()); in WriteInfo()
/foundation/multimedia/av_codec/test/unittest/codeclist_test/
H A Dcodeclist_unit_test.cpp733 EXPECT_EQ(sampleRates.size(), 0); in HWTEST_F()
735 EXPECT_EQ(profiles.size(), 0); in HWTEST_F()
737 EXPECT_EQ(pixFormats.size(), 0); in HWTEST_F()
739 EXPECT_EQ(levels.size(), 0); in HWTEST_F()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/portrait_album_update_test/src/
H A Dportrait_album_update_test.cpp330 if (uri.compare(0, PhotoColumn::PHOTO_URI_PREFIX.size(), PhotoColumn::PHOTO_URI_PREFIX) != 0) { in GetPhotoId()
333 string tmp = uri.substr(PhotoColumn::PHOTO_URI_PREFIX.size()); in GetPhotoId()
496 CheckAlbum(albumId, portraits.size(), portraits[expectedCoverId].fileId, CoverSatisfiedType::DEFAULT_SETTING); in TestCoverUpdateByFileIds()
555 CheckAlbum(albumId, portraits.size(), portraits[TEST_INDEX_ONE].fileId, CoverSatisfiedType::DEFAULT_SETTING); in HWTEST_F()
/foundation/multimedia/player_framework/services/engine/histreamer/avmetadatahelper/
H A Dav_thumbnail_generator.cpp140 size_t trackCount = trackInfos.size(); in GetVideoTrackInfo()
461 avBufferConfig.size = avBuffer_->memory_->GetSize(); in GenerateAvBufferFromFCodec()
551 if (GetSbStaticMetadata(source, staticData) && (staticData.size() > 0)) { in CopySurfaceBufferInfo()
554 if (GetSbDynamicMetadata(source, dynamicData) && (dynamicData.size()) > 0) { in CopySurfaceBufferInfo()
/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/src/
H A Dbg_continuous_task_napi_module.cpp169 for (unsigned int i = 0; i < asyncCallbackInfo->bgModes.size(); i++) { in CheckBackgroundMode()
236 taskParam.isBatchApi_, static_cast<uint32_t>(taskParam.bgModeIds_.size())); in UpdateBackgroundRunningExecuteCB()
253 taskParam.isBatchApi_, static_cast<uint32_t>(taskParam.bgModeIds_.size())); in StartBackgroundRunningExecuteCB()
289 if (asyncCallbackInfo->bgModes.size() > 0) { in PromiseCompletedCB()
/foundation/resourceschedule/device_standby/plugins/test/unittest/
H A Dstandby_plugin_unit_test.cpp623 EXPECT_TRUE(DelayedSingleton<StateManagerAdapter>::GetInstance()->indexToState_.size() != 0); in HWTEST_F()
821 EXPECT_TRUE(argsInStr.size() != 0); in HWTEST_F()
842 EXPECT_TRUE(argsInStr.size() != 0); in HWTEST_F()
867 EXPECT_TRUE(argsInStr.size() != 0); in HWTEST_F()
/foundation/communication/netmanager_base/services/netpolicymanager/src/stub/
H A Dnet_policy_service_stub.cpp785 int32_t size = 0; in OnSetNicTrafficAllowed() local
786 if (!data.ReadBool(status) || !data.ReadInt32(size)) { in OnSetNicTrafficAllowed()
787 NETMGR_LOG_E("OnSetNicTrafficAllowed read status or size failed"); in OnSetNicTrafficAllowed()
790 if (size > static_cast<int32_t>(MAX_IFACENAMES_SIZE)) { in OnSetNicTrafficAllowed()
791 NETMGR_LOG_E("OnSetNicTrafficAllowed read data size too big"); in OnSetNicTrafficAllowed()
796 for (int32_t index = 0; index < size; index++) { in OnSetNicTrafficAllowed()
799 NETMGR_LOG_E("OnSetNicTrafficAllowed ifaceName is empty, size mismatch"); in OnSetNicTrafficAllowed()
/foundation/communication/nfc/services/src/nci_adapter/nci_native_default/src/
H A Dtag_nci_adapter_rw.cpp470 if (receivedData_.size() > 0) { in Reselect()
472 IsT2TNackRsp(receivedData_.data(), receivedData_.size())) { in Reselect()
479 response = KITS::NfcSdkCommon::BytesVecToHexString(receivedData_.data(), receivedData_.size()); in Reselect()
848 uint32_t len = static_cast<uint32_t>(receivedData_.size()); in Reselect()
/foundation/communication/nfc/frameworks/js/napi/tag/
H A Dnfc_napi_foreground_dispatch.cpp160 uint32_t length = tagInfo.GetTechExtrasDataList().size(); in SetTagExtraData()
222 // parse ndef message/type/max size/read mode for ndef tag in SetTagExtraData()
258 napi_create_array_with_length(env, techList.size(), &techValue); in CreateResult()
259 for (uint32_t i = 0; i < techList.size(); i++) { in CreateResult()
398 if (dataVec.size() == 0) { in ParseDiscTechVector()
399 ErrorLog("ParseDiscTechVector: size = 0"); in ParseDiscTechVector()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/
H A Dkvdb_service_stub.cpp123 ZLOGE("Marshal status:0x%{public}d storeIds:%{public}zu", status, storeIds.size()); in OnGetStoreIds()
158 password.assign(password.size(), 0); in OnAfterCreate()
435 password.assign(password.size(), 0); in OnGetBackupPassword()
438 password.assign(password.size(), 0); in OnGetBackupPassword()
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/test/unittest/
H A Dkv_utils_test.cpp725 EXPECT_EQ(entries.size(), 2); in HWTEST_F()
763 EXPECT_EQ(keys.size(), kvKeys.size()); in HWTEST_F()
764 for (size_t i = 0; i < keys.size(); i++) { in HWTEST_F()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dkvdb_service_test.cpp357 EXPECT_EQ(result.size(), 2); in HWTEST_F()
375 EXPECT_EQ(result.size(), 3); in HWTEST_F()
391 EXPECT_EQ(result.size(), 0); in HWTEST_F()
398 EXPECT_EQ(result.size(), 0); in HWTEST_F()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/
H A Dmulti_ver_natural_store_commit_storage.cpp402 if (commitId.size() != 0) { in SetHeader()
707 size_t valueLength = value.size(); in TransferValueToCommit()
842 if (commitEntry.GetLeftParentId().size() != 0) { in CheckAddedCommit()
848 if (commitEntry.GetRightParentId().size() != 0) { in CheckAddedCommit()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/store/
H A Druntime_store.cpp157 if (records.size() != TEMP_UDATA_RECORD_SIZE) { in GetDetailsFromUData()
181 auto size = std::get<int64_t>(item.second); in GetSummaryFromDetails() local
182 summary.summary[item.first] = size; in GetSummaryFromDetails()
183 summary.totalSize += size; in GetSummaryFromDetails()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/
H A Dcommit_history_sync.cpp247 LOGD("CommitHistorySync::commitMap size = %zu, dst=%s{private}", commitMap.size(), context->GetDeviceId().c_str()); in SyncStart()
316 context->SetCommitsSize(static_cast<int>(commits.size())); in AckRecvCallback()
318 commits.size(), context->GetDeviceId().c_str(), ver, SOFTWARE_VERSION_CURRENT); in AckRecvCallback()
353 int errCode = parcel.WriteUInt64(commitMap.size()); in RequestPacketSerialization()
394 LOGE("CommitHistorySync::RequestPacketDeSerialization : commitMap size too large = %" PRIu64, len); in RequestPacketDeSerialization()
/foundation/distributeddatamgr/pasteboard/services/dfx/src/
H A Dhiview_adapter.cpp192 if (static_cast<int>(copyTimeConsumingStat_.size()) <= dataLevel) { in CopyTimeConsumingCount()
206 if (static_cast<int>(pasteTimeConsumingStat_.size()) <= dataLevel) { in PasteTimeConsumingCount()
220 if (static_cast<int>(remotePasteTimeConsumingStat_.size()) <= dataLevel) { in RemotePasteTimeConsumingCount()
336 for (std::int32_t i = 0; i < static_cast<int>(timeConsumingStat.size()); ++i) { in ReportStatisticEvent()
/foundation/distributeddatamgr/relational_store/test/js/relationalstore/unittest/src/
H A DRdbstoreLockRowJsunit.test.js38 size: "size1",
47 size: "size2",
56 size: "size3",
65 size: "size4",
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_insert_test.cpp232 EXPECT_EQ(3, static_cast<int>(blob.size())); in CheckBlob()
479 EXPECT_EQ(3, static_cast<int>(blob.size())); in HWTEST_F()
537 EXPECT_EQ(3, static_cast<int>(blob.size())); in HWTEST_F()
754 EXPECT_EQ(3, static_cast<int>(blob.size())); in HWTEST_F()

Completed in 46 milliseconds

1...<<981982983984985986987988989990>>...1368