/foundation/filemanagement/file_api/interfaces/kits/cj/src/ |
H A D | copy.cpp | 46 static int OpenSrcFile(const std::string &srcPth, std::shared_ptr<FileInfos> infos, int32_t &srcFd) in OpenSrcFile() argument 48 Uri uri(infos->srcUri); in OpenSrcFile() 77 std::shared_ptr<FileInfos> infos) in SendFileCore() 100 if (infos != nullptr && infos->taskSignal != nullptr) { in SendFileCore() 101 if (infos->taskSignal->CheckCancelIfNeed(infos->srcPath)) { in SendFileCore() 178 bool CopyImpl::CheckFileValid(const std::string &filePath, std::shared_ptr<FileInfos> infos) in CheckFileValid() argument 180 return infos->filePaths.count(filePath) != 0; in CheckFileValid() 228 int CopyImpl::CopySubDir(const std::string &srcPath, const std::string &destPath, std::shared_ptr<FileInfos> infos) in CopySubDir() argument 75 SendFileCore(std::unique_ptr<DistributedFS::FDGuard> srcFdg, std::unique_ptr<DistributedFS::FDGuard> destFdg, std::shared_ptr<FileInfos> infos) SendFileCore() argument 264 RecurCopyDir(const std::string &srcPath, const std::string &destPath, std::shared_ptr<FileInfos> infos) RecurCopyDir() argument 305 CopyDirFunc(const std::string &src, const std::string &dest, std::shared_ptr<FileInfos> infos) CopyDirFunc() argument 321 GetDirSize(std::shared_ptr<FileInfos> infos, std::string path) GetDirSize() argument 353 auto infos = FileManagement::CreateSharedPtr<FileInfos>(); InitCjFileInfo() local 379 ReceiveComplete(CProgress data, std::shared_ptr<FileInfos> infos, std::shared_ptr<CjCallbackObject> callback) ReceiveComplete() argument 399 OnFileReceive(std::shared_ptr<FileInfos> infos) OnFileReceive() argument 422 CopyFile(const std::string &src, const std::string &dest, std::shared_ptr<FileInfos> infos) CopyFile() argument 447 GetRegisteredListener(std::shared_ptr<FileInfos> infos) GetRegisteredListener() argument 458 HandleProgress( inotify_event *event, std::shared_ptr<FileInfos> infos, std::shared_ptr<CjCallbackObject> callback) HandleProgress() argument 488 ReadNotifyEvent(std::shared_ptr<FileInfos> infos) ReadNotifyEvent() argument 520 GetNotifyEvent(std::shared_ptr<FileInfos> infos) GetNotifyEvent() argument 553 StartNotify(std::shared_ptr<FileInfos> infos, std::shared_ptr<CjCallbackObject> callback) StartNotify() argument 562 ExecCopy(std::shared_ptr<FileInfos> infos) ExecCopy() argument 581 RegisterListener(std::shared_ptr<FileInfos>& infos) RegisterListener() argument 598 UnregisterListener(std::shared_ptr<FileInfos> infos) UnregisterListener() argument 618 DoCopy(std::shared_ptr<FileInfos> infos, std::shared_ptr<CjCallbackObject> callback) DoCopy() argument 640 ExecLocal(std::shared_ptr<FileInfos>& infos, std::shared_ptr<CjCallbackObject>& callback) ExecLocal() argument 661 SubscribeLocalListener(std::shared_ptr<FileInfos>& infos, std::shared_ptr<CjCallbackObject>& callback) SubscribeLocalListener() argument 702 CloseNotifyFd(std::shared_ptr<FileInfos>& infos, std::shared_ptr<CjCallbackObject>& callback) CloseNotifyFd() argument 718 CopyComplete(std::shared_ptr<FileInfos>& infos, std::shared_ptr<CjCallbackObject>& callback) CopyComplete() argument 734 std::shared_ptr<FileInfos> infos = InitCjFileInfo(src, dest, info); Copy() local [all...] |
H A D | copy.h | 105 bool operator==(const FileInfos &infos) const in operator ==() 107 return (srcUri == infos.srcUri && destUri == infos.destUri); in operator ==() 109 bool operator<(const FileInfos &infos) const in operator <() 111 if (srcUri == infos.srcUri) { in operator <() 112 return destUri < infos.destUri; in operator <() 114 return srcUri < infos.srcUri; in operator <() 138 static void StartNotify(std::shared_ptr<FileInfos> infos, std::shared_ptr<CjCallbackObject> callback); 140 static int64_t DoCopy(std::shared_ptr<FileInfos> infos, std::shared_ptr<CjCallbackObject> callback); 141 static int64_t ExecLocal(std::shared_ptr<FileInfos>& infos, st [all...] |
/foundation/multimedia/audio_framework/frameworks/native/audiopolicy/test/unittest/group_manager_test/src/ |
H A D | audio_group_manager_unit_test.cpp | 52 std::vector<sptr<VolumeGroupInfo>> infos; in HWTEST() local 53 AudioSystemManager::GetInstance()->GetVolumeGroups(networkId, infos); in HWTEST() 54 if (infos.size() > 0) { in HWTEST() 55 int32_t groupId = infos[0]->volumeGroupId_; in HWTEST() 83 std::vector<sptr<VolumeGroupInfo>> infos; in HWTEST() local 84 AudioSystemManager::GetInstance()->GetVolumeGroups(networkId, infos); in HWTEST() 85 if (infos.size() > 0) { in HWTEST() 86 int32_t groupId = infos[0]->volumeGroupId_; in HWTEST() 115 std::vector<sptr<VolumeGroupInfo>> infos; in HWTEST() local 116 AudioSystemManager::GetInstance()->GetVolumeGroups(networkId, infos); in HWTEST() 147 std::vector<sptr<VolumeGroupInfo>> infos; HWTEST() local 176 std::vector<sptr<VolumeGroupInfo>> infos; HWTEST() local 198 std::vector<sptr<VolumeGroupInfo>> infos; HWTEST() local 220 std::vector<sptr<VolumeGroupInfo>> infos; HWTEST() local 246 std::vector<sptr<VolumeGroupInfo>> infos; HWTEST() local 271 std::vector<sptr<VolumeGroupInfo>> infos; HWTEST() local 296 std::vector<sptr<VolumeGroupInfo>> infos; HWTEST() local 320 std::vector<sptr<VolumeGroupInfo>> infos; HWTEST() local 342 std::vector<sptr<VolumeGroupInfo>> infos; HWTEST() local 364 std::vector<sptr<VolumeGroupInfo>> infos; HWTEST() local 387 std::vector<sptr<VolumeGroupInfo>> infos; HWTEST() local 410 std::vector<sptr<VolumeGroupInfo>> infos; HWTEST() local 433 std::vector<sptr<VolumeGroupInfo>> infos; HWTEST() local 456 std::vector<sptr<VolumeGroupInfo>> infos; HWTEST() local 476 std::vector<sptr<VolumeGroupInfo>> infos; HWTEST() local 499 std::vector<sptr<VolumeGroupInfo>> infos; HWTEST() local 520 std::vector<sptr<VolumeGroupInfo>> infos; HWTEST() local 548 std::vector<sptr<VolumeGroupInfo>> infos; HWTEST() local 576 std::vector<sptr<VolumeGroupInfo>> infos; HWTEST() local 604 std::vector<sptr<VolumeGroupInfo>> infos; HWTEST() local 632 std::vector<sptr<VolumeGroupInfo>> infos; HWTEST() local 654 std::vector<sptr<VolumeGroupInfo>> infos; HWTEST() local 676 std::vector<sptr<VolumeGroupInfo>> infos; HWTEST() local 698 std::vector<sptr<VolumeGroupInfo>> infos; HWTEST() local 722 std::vector<sptr<VolumeGroupInfo>> infos; HWTEST() local 754 std::vector<sptr<VolumeGroupInfo>> infos; HWTEST() local 778 std::vector<sptr<VolumeGroupInfo>> infos; HWTEST() local 802 std::vector<sptr<VolumeGroupInfo>> infos; HWTEST() local 826 std::vector<sptr<VolumeGroupInfo>> infos; HWTEST() local 848 std::vector<sptr<VolumeGroupInfo>> infos; HWTEST() local [all...] |
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/ |
H A D | copy.cpp | 62 static int OpenSrcFile(const string &srcPth, std::shared_ptr<FileInfos> infos, int32_t &srcFd) in OpenSrcFile() argument 64 Uri uri(infos->srcUri); in OpenSrcFile() 94 std::shared_ptr<FileInfos> infos) in SendFileCore() 117 if (infos != nullptr && infos->taskSignal != nullptr) { in SendFileCore() 118 if (infos->taskSignal->CheckCancelIfNeed(infos->srcPath)) { in SendFileCore() 252 int Copy::CopyFile(const string &src, const string &dest, std::shared_ptr<FileInfos> infos) in CopyFile() argument 256 int32_t ret = OpenSrcFile(src, infos, srcFd); in CopyFile() 274 return SendFileCore(move(srcFdg), move(destFdg), infos); in CopyFile() 92 SendFileCore(std::unique_ptr<DistributedFS::FDGuard> srcFdg, std::unique_ptr<DistributedFS::FDGuard> destFdg, std::shared_ptr<FileInfos> infos) SendFileCore() argument 288 CopySubDir(const string &srcPath, const string &destPath, std::shared_ptr<FileInfos> infos) CopySubDir() argument 369 GetDirSize(std::shared_ptr<FileInfos> infos, std::string path) GetDirSize() argument 398 RecurCopyDir(const string &srcPath, const string &destPath, std::shared_ptr<FileInfos> infos) RecurCopyDir() argument 428 CopyDirFunc(const string &src, const string &dest, std::shared_ptr<FileInfos> infos) CopyDirFunc() argument 444 ExecLocal(std::shared_ptr<FileInfos> infos, std::shared_ptr<JsCallbackObject> callback) ExecLocal() argument 473 SubscribeLocalListener(std::shared_ptr<FileInfos> infos, std::shared_ptr<JsCallbackObject> callback) SubscribeLocalListener() argument 516 RegisterListener(napi_env env, const std::shared_ptr<FileInfos> &infos) RegisterListener() argument 533 UnregisterListener(std::shared_ptr<FileInfos> infos) UnregisterListener() argument 593 GetUVwork(std::shared_ptr<FileInfos> infos) GetUVwork() argument 623 OnFileReceive(std::shared_ptr<FileInfos> infos) OnFileReceive() argument 652 CheckFileValid(const std::string &filePath, std::shared_ptr<FileInfos> infos) CheckFileValid() argument 680 GetRegisteredListener(std::shared_ptr<FileInfos> infos) GetRegisteredListener() argument 691 CloseNotifyFd(std::shared_ptr<FileInfos> infos, std::shared_ptr<JsCallbackObject> callback) CloseNotifyFd() argument 698 HandleProgress( inotify_event *event, std::shared_ptr<FileInfos> infos, std::shared_ptr<JsCallbackObject> callback) HandleProgress() argument 728 ReadNotifyEvent(std::shared_ptr<FileInfos> infos) ReadNotifyEvent() argument 760 GetNotifyEvent(std::shared_ptr<FileInfos> infos) GetNotifyEvent() argument 796 auto infos = CreateSharedPtr<FileInfos>(); CreateFileInfos() local 825 StartNotify(std::shared_ptr<FileInfos> infos, std::shared_ptr<JsCallbackObject> callback) StartNotify() argument 834 ExecCopy(std::shared_ptr<FileInfos> infos) ExecCopy() argument 891 CopyComplete(std::shared_ptr<FileInfos> infos, std::shared_ptr<JsCallbackObject> callback) CopyComplete() argument 902 std::shared_ptr<FileInfos> infos = nullptr; Async() local [all...] |
H A D | copy.h | 96 bool operator==(const FileInfos &infos) const in operator ==() 98 return (srcUri == infos.srcUri && destUri == infos.destUri); in operator ==() 100 bool operator<(const FileInfos &infos) const in operator <() 102 if (srcUri == infos.srcUri) { in operator <() 103 return destUri < infos.destUri; in operator <() 105 return srcUri < infos.srcUri; in operator <() 137 static int ExecLocal(std::shared_ptr<FileInfos> infos, std::shared_ptr<JsCallbackObject> callback); 138 static void CopyComplete(std::shared_ptr<FileInfos> infos, std::shared_ptr<JsCallbackObject> callback); 140 static void ReadNotifyEvent(std::shared_ptr<FileInfos> infos); [all...] |
/foundation/ability/ability_runtime/test/unittest/running_infos_test/ |
H A D | running_infos_test.cpp | 54 * FunctionPoints:query ability running infos 67 std::vector<AbilityRunningInfo> infos; in HWTEST_F() local 68 abilityMs_->GetAbilityRunningInfos(infos); in HWTEST_F() 70 EXPECT_TRUE(infos.size() == infoCount); in HWTEST_F() 71 if (infos.size() == infoCount) { in HWTEST_F() 72 EXPECT_TRUE(infos[0].ability.GetAbilityName() == element.GetAbilityName()); in HWTEST_F() 73 EXPECT_TRUE(infos[0].abilityState == static_cast<int>(AbilityState::INITIAL)); in HWTEST_F() 82 * FunctionPoints:query ability running infos 95 std::vector<AbilityRunningInfo> infos; in HWTEST_F() local 96 abilityMs_->GetAbilityRunningInfos(infos); in HWTEST_F() 123 std::vector<AbilityRunningInfo> infos; HWTEST_F() local 163 std::vector<AbilityRunningInfo> infos; HWTEST_F() local 197 std::vector<AbilityRunningInfo> infos; HWTEST_F() local 239 std::vector<AbilityRunningInfo> infos; HWTEST_F() local 273 std::vector<AbilityRunningInfo> infos; HWTEST_F() local 302 std::vector<ExtensionRunningInfo> infos; HWTEST_F() local 334 std::vector<ExtensionRunningInfo> infos; HWTEST_F() local 361 std::vector<RunningProcessInfo> infos; HWTEST_F() local 384 std::vector<AbilityRunningInfo> infos; HWTEST_F() local 416 std::vector<AbilityRunningInfo> infos; HWTEST_F() local 447 std::vector<ExtensionRunningInfo> infos; HWTEST_F() local 481 std::vector<ExtensionRunningInfo> infos; HWTEST_F() local 513 std::vector<AbilityRunningInfo> infos; HWTEST_F() local 553 std::vector<AbilityRunningInfo> infos; HWTEST_F() local 597 std::vector<AbilityRunningInfo> infos; HWTEST_F() local 637 std::vector<AbilityRunningInfo> infos; HWTEST_F() local 692 std::vector<AbilityRunningInfo> infos; HWTEST_F() local [all...] |
/foundation/communication/netmanager_base/test/netstatsmanager/unittest/net_stats_manager_test/ |
H A D | net_stats_history_test.cpp | 54 std::vector<NetStatsInfo> infos; in HWTEST_F() local 55 int32_t ret = history->GetHistory(infos); in HWTEST_F() 56 std::for_each(infos.begin(), infos.end(), [](const auto &info) { std::cout << info.UidData() << std::endl; }); in HWTEST_F() 63 std::vector<NetStatsInfo> infos; in HWTEST_F() local 65 int32_t ret = history->GetHistory(infos, currentTime - TIME_CYCLE, currentTime + TIME_CYCLE); in HWTEST_F() 66 std::for_each(infos.begin(), infos.end(), [](const auto &info) { std::cout << info.UidData() << std::endl; }); in HWTEST_F() 73 std::vector<NetStatsInfo> infos; in HWTEST_F() local 74 int32_t ret = history->GetHistory(infos, 115 in HWTEST_F() 82 std::vector<NetStatsInfo> infos; HWTEST_F() local 92 std::vector<NetStatsInfo> infos; HWTEST_F() local 101 std::vector<NetStatsInfo> infos; HWTEST_F() local 111 std::vector<NetStatsInfo> infos; HWTEST_F() local 120 std::vector<NetStatsInfo> infos; HWTEST_F() local 130 std::vector<NetStatsInfo> infos; HWTEST_F() local 140 std::vector<NetStatsInfo> infos; HWTEST_F() local [all...] |
H A D | net_stats_data_handler_test.cpp | 166 std::vector<NetStatsInfo> infos; in HWTEST_F() local 167 int32_t ret = handler.ReadStatsData(infos, 0, LONG_MAX); in HWTEST_F() 168 std::cout << "Data size: " << infos.size() << std::endl; in HWTEST_F() 169 std::for_each(infos.begin(), infos.end(), [](const auto &info) { std::cout << info.UidData() << std::endl; }); in HWTEST_F() 176 std::vector<NetStatsInfo> infos; in HWTEST_F() local 178 int32_t ret = handler.ReadStatsData(infos, iface, 0, LONG_MAX); in HWTEST_F() 179 std::cout << "Data size: " << infos.size() << std::endl; in HWTEST_F() 180 std::for_each(infos.begin(), infos in HWTEST_F() 187 std::vector<NetStatsInfo> infos; HWTEST_F() local 198 std::vector<NetStatsInfo> infos; HWTEST_F() local 210 std::vector<NetStatsInfo> infos; HWTEST_F() local 222 std::vector<NetStatsInfo> infos; HWTEST_F() local 233 std::vector<NetStatsInfo> infos; HWTEST_F() local [all...] |
H A D | net_stats_database_helper_test.cpp | 111 std::vector<NetStatsInfo> infos; in HWTEST_F() local 112 int32_t ret = helper->SelectData(infos, UID_TABLE, 0, LONG_MAX); in HWTEST_F() 114 for (auto const &info : infos) { in HWTEST_F() 118 infos.clear(); in HWTEST_F() 120 ret = helper->SelectData(infos, UID_TABLE, date, LONG_MAX); in HWTEST_F() 122 ret = helper->SelectData(infos, "", date, LONG_MAX); in HWTEST_F() 130 std::vector<NetStatsInfo> infos; in HWTEST_F() local 132 int32_t ret = helper->SelectData(uid, 0, LONG_MAX, infos); in HWTEST_F() 134 infos.clear(); in HWTEST_F() 136 ret = helper->SelectData(uid, date, LONG_MAX, infos); in HWTEST_F() 144 std::vector<NetStatsInfo> infos; HWTEST_F() local 158 std::vector<NetStatsInfo> infos; HWTEST_F() local 173 std::vector<NetStatsInfo> infos; HWTEST_F() local 189 std::vector<NetStatsInfo> infos; HWTEST_F() local 208 std::vector<NetStatsInfo> infos; HWTEST_F() local 225 std::vector<NetStatsInfo> infos; HWTEST_F() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/ |
H A D | bms_bundle_install_device_type_test.cpp | 43 static void SetDeviceTypes(std::unordered_map<std::string, InnerBundleInfo> &infos,
79 void BmsBundleInstallDeviceTypeTest::SetDeviceTypes(std::unordered_map<std::string, InnerBundleInfo> &infos,
in SetDeviceTypes() argument 88 infos[TEST_BUNDLE_NAME] = innerBundleInfo;
in SetDeviceTypes() 100 std::unordered_map<std::string, InnerBundleInfo> infos;
in HWTEST_F() local 102 SetDeviceTypes(infos, vec);
in HWTEST_F() 106 auto ret = checker.CheckDeviceType(infos);
in HWTEST_F() 120 std::unordered_map<std::string, InnerBundleInfo> infos;
in HWTEST_F() local 122 SetDeviceTypes(infos, vec);
in HWTEST_F() 127 auto ret = checker.CheckDeviceType(infos);
in HWTEST_F() 141 std::unordered_map<std::string, InnerBundleInfo> infos;
in HWTEST_F() local 162 std::unordered_map<std::string, InnerBundleInfo> infos; HWTEST_F() local 183 std::unordered_map<std::string, InnerBundleInfo> infos; HWTEST_F() local 204 std::unordered_map<std::string, InnerBundleInfo> infos; HWTEST_F() local 225 std::unordered_map<std::string, InnerBundleInfo> infos; HWTEST_F() local 244 std::unordered_map<std::string, InnerBundleInfo> infos; HWTEST_F() local 261 std::unordered_map<std::string, InnerBundleInfo> infos; HWTEST_F() local 278 std::unordered_map<std::string, InnerBundleInfo> infos; HWTEST_F() local 295 std::unordered_map<std::string, InnerBundleInfo> infos; HWTEST_F() local 312 std::unordered_map<std::string, InnerBundleInfo> infos; HWTEST_F() local 329 std::unordered_map<std::string, InnerBundleInfo> infos; HWTEST_F() local 346 std::unordered_map<std::string, InnerBundleInfo> infos; HWTEST_F() local 363 std::unordered_map<std::string, InnerBundleInfo> infos; HWTEST_F() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/default_app/ |
H A D | default_app_rdb.cpp | 48 bool DefaultAppRdb::GetDefaultApplicationInfos(int32_t userId, std::map<std::string, Element>& infos) in GetDefaultApplicationInfos() argument 51 bool ret = GetDataFromDb(userId, infos); in GetDefaultApplicationInfos() 65 std::map<std::string, Element> infos; in GetDefaultApplicationInfo() local 66 bool ret = GetDefaultApplicationInfos(userId, infos); in GetDefaultApplicationInfo() 72 if (infos.find(type) == infos.end()) { in GetDefaultApplicationInfo() 77 element = infos.find(type)->second; in GetDefaultApplicationInfo() 82 bool DefaultAppRdb::SetDefaultApplicationInfos(int32_t userId, const std::map<std::string, Element>& infos) in SetDefaultApplicationInfos() argument 85 bool ret = SaveDataToDb(userId, infos); in SetDefaultApplicationInfos() 98 std::map<std::string, Element> infos; in SetDefaultApplicationInfo() local 134 std::map<std::string, Element> infos; DeleteDefaultApplicationInfo() local 169 std::map<std::string, Element> infos; ConvertMimeTypeToUtd() local 231 std::map<std::string, Element> infos; LoadDefaultApplicationConfig() local 265 GetDataFromDb(int32_t userId, std::map<std::string, Element>& infos) GetDataFromDb() argument 292 SaveDataToDb(int32_t userId, const std::map<std::string, Element>& infos) SaveDataToDb() argument [all...] |
/foundation/ability/ability_runtime/test/moduletest/running_infos_module_test/ |
H A D | running_infos_module_test.cpp | 188 * FunctionPoints:query ability running infos 203 std::vector<AbilityRunningInfo> infos; in HWTEST_F() local 204 abilityMgrServ_->GetAbilityRunningInfos(infos); in HWTEST_F() 206 EXPECT_TRUE(infos.size() == infoCount); in HWTEST_F() 207 if (infos.size() == infoCount) { in HWTEST_F() 208 EXPECT_TRUE(infos[0].ability.GetAbilityName() == abilityName); in HWTEST_F() 209 EXPECT_TRUE(infos[0].abilityState == static_cast<int>(AbilityState::INITIAL)); in HWTEST_F() 217 * FunctionPoints:query ability running infos 231 std::vector<AbilityRunningInfo> infos; in HWTEST_F() local 232 abilityMgrServ_->GetAbilityRunningInfos(infos); in HWTEST_F() 259 std::vector<AbilityRunningInfo> infos; HWTEST_F() local 298 std::vector<AbilityRunningInfo> infos; HWTEST_F() local 334 std::vector<AbilityRunningInfo> infos; HWTEST_F() local 375 std::vector<AbilityRunningInfo> infos; HWTEST_F() local 405 std::vector<ExtensionRunningInfo> infos; HWTEST_F() local 439 std::vector<ExtensionRunningInfo> infos; HWTEST_F() local 467 std::vector<RunningProcessInfo> infos; HWTEST_F() local [all...] |
/foundation/barrierfree/accessibility/frameworks/aafwk/test/unittest/ |
H A D | accessibility_element_operator_callback_impl_extension_test.cpp | 74 std::vector<AccessibilityElementInfo> infos; in HWTEST_F() local 76 infos.push_back(info); in HWTEST_F() 77 instance_->SetSearchElementInfoByAccessibilityIdResult(infos, SEQUENCE_NUM); in HWTEST_F() 95 std::vector<AccessibilityElementInfo> infos; in HWTEST_F() local 97 infos.push_back(info); in HWTEST_F() 98 instance_->SetSearchElementInfoByTextResult(infos, SEQUENCE_NUM); in HWTEST_F() 116 std::vector<AccessibilityElementInfo> infos; in HWTEST_F() local 118 infos.push_back(info); in HWTEST_F() 137 std::vector<AccessibilityElementInfo> infos; in HWTEST_F() local 139 infos in HWTEST_F() 158 std::vector<AccessibilityElementInfo> infos; HWTEST_F() local 181 std::vector<AccessibilityElementInfo> infos; HWTEST_F() local 202 std::vector<AccessibilityElementInfo> infos; HWTEST_F() local 223 std::vector<AccessibilityElementInfo> infos; HWTEST_F() local 244 std::vector<AccessibilityElementInfo> infos; HWTEST_F() local 265 std::vector<AccessibilityElementInfo> infos; HWTEST_F() local [all...] |
H A D | accessibility_element_operator_callback_impl_test.cpp | 73 std::vector<AccessibilityElementInfo> infos; in HWTEST_F() local 75 infos.push_back(info); in HWTEST_F() 76 instance_->SetSearchElementInfoByAccessibilityIdResult(infos, SEQUENCE_NUM); in HWTEST_F() 94 std::vector<AccessibilityElementInfo> infos; in HWTEST_F() local 96 infos.push_back(info); in HWTEST_F() 97 instance_->SetSearchElementInfoByTextResult(infos, SEQUENCE_NUM); in HWTEST_F() 115 std::vector<AccessibilityElementInfo> infos; in HWTEST_F() local 117 infos.push_back(info); in HWTEST_F() 136 std::vector<AccessibilityElementInfo> infos; in HWTEST_F() local 138 infos in HWTEST_F() 157 std::vector<AccessibilityElementInfo> infos; HWTEST_F() local [all...] |
/drivers/hdf_core/adapter/khdf/liteos/platform/src/ |
H A D | platform_trace.c | 89 void PlatformTraceAddUintMsg(int module, int moduleFun, const unsigned int infos[], uint8_t size) in PlatformTraceAddUintMsg() argument 108 infos[PLATFORM_TRACE_UINT_PARAM_SIZE_1 - 1]); in PlatformTraceAddUintMsg() 112 infos[PLATFORM_TRACE_UINT_PARAM_SIZE_1 - 1], infos[PLATFORM_TRACE_UINT_PARAM_SIZE_2 - 1]); in PlatformTraceAddUintMsg() 116 infos[PLATFORM_TRACE_UINT_PARAM_SIZE_1 - 1], infos[PLATFORM_TRACE_UINT_PARAM_SIZE_2 - 1], in PlatformTraceAddUintMsg() 117 infos[PLATFORM_TRACE_UINT_PARAM_SIZE_3 - 1]); in PlatformTraceAddUintMsg() 121 infos[PLATFORM_TRACE_UINT_PARAM_SIZE_1 - 1], infos[PLATFORM_TRACE_UINT_PARAM_SIZE_2 - 1], in PlatformTraceAddUintMsg() 122 infos[PLATFORM_TRACE_UINT_PARAM_SIZE_ in PlatformTraceAddUintMsg() [all...] |
/drivers/peripheral/camera/test/common/v1_1/src/ |
H A D | hdi_common_v1_1.cpp | 100 void HdiCommonV1_1::DefaultPreview(std::shared_ptr<StreamInfo_V1_1> &infos)
in DefaultPreview() argument 102 infos->v1_0.streamId_ = streamIdPreview;
in DefaultPreview() 103 infos->v1_0.width_ = previewWidth;
in DefaultPreview() 104 infos->v1_0.height_ = previewHeight;
in DefaultPreview() 105 infos->v1_0.format_ = previewFormat;
in DefaultPreview() 106 infos->v1_0.dataspace_ = UT_DATA_SIZE;
in DefaultPreview() 107 infos->v1_0.intent_ = StreamIntent::PREVIEW;
in DefaultPreview() 108 infos->v1_0.tunneledMode_ = UT_TUNNEL_MODE;
in DefaultPreview() 111 void HdiCommonV1_1::DefaultCapture(std::shared_ptr<StreamInfo_V1_1> &infos)
in DefaultCapture() argument 113 infos in DefaultCapture() 122 DefaultInfosPreview(std::shared_ptr<StreamInfo_V1_1> &infos) DefaultInfosPreview() argument 133 DefaultInfosCapture(std::shared_ptr<StreamInfo_V1_1> &infos) DefaultInfosCapture() argument 144 DefaultInfosVideo(std::shared_ptr<StreamInfo_V1_1> &infos) DefaultInfosVideo() argument 162 DefaultInfosAnalyze(std::shared_ptr<StreamInfo_V1_1> &infos) DefaultInfosAnalyze() argument [all...] |
/foundation/multimedia/av_session/services/session/server/test/ |
H A D | focus_session_strategy_test.cpp | 61 AudioRendererChangeInfos infos; in HWTEST_F() local 62 infos.push_back(std::move(info)); in HWTEST_F() 64 focusSessionStrategy.HandleAudioRenderStateChangeEvent(infos); in HWTEST_F() 81 AudioRendererChangeInfos infos; in HWTEST_F() local 82 infos.push_back(std::move(info)); in HWTEST_F() 86 focusSessionStrategy.HandleAudioRenderStateChangeEvent(infos); in HWTEST_F() 103 AudioRendererChangeInfos infos; in HWTEST_F() local 104 infos.push_back(std::move(info)); in HWTEST_F() 106 focusSessionStrategy.HandleAudioRenderStateChangeEvent(infos); in HWTEST_F() 123 AudioRendererChangeInfos infos; in HWTEST_F() local 151 AudioRendererChangeInfos infos; HWTEST_F() local 173 AudioRendererChangeInfos infos; HWTEST_F() local 205 AudioRendererChangeInfos infos; HWTEST_F() local [all...] |
/drivers/peripheral/camera/test/common/v1_0/src/ |
H A D | hdi_common.cpp | 149 void HdiCommon::DefaultPreview(std::shared_ptr<StreamInfo> &infos)
in DefaultPreview() argument 151 infos->streamId_ = streamIdPreview;
in DefaultPreview() 152 infos->width_ = previewWidth;
in DefaultPreview() 153 infos->height_ = previewHeight;
in DefaultPreview() 154 infos->format_ = previewFormat;
in DefaultPreview() 155 infos->dataspace_ = UT_DATA_SIZE;
in DefaultPreview() 156 infos->intent_ = StreamIntent::PREVIEW;
in DefaultPreview() 157 infos->tunneledMode_ = UT_TUNNEL_MODE;
in DefaultPreview() 160 void HdiCommon::DefaultCapture(std::shared_ptr<StreamInfo> &infos)
in DefaultCapture() argument 162 infos in DefaultCapture() 171 DefaultInfosPreview(std::shared_ptr<StreamInfo> &infos) DefaultInfosPreview() argument 183 DefaultInfosCapture(std::shared_ptr<StreamInfo> &infos) DefaultInfosCapture() argument 195 DefaultInfosVideo(std::shared_ptr<StreamInfo> &infos) DefaultInfosVideo() argument 214 DefaultInfosAnalyze(std::shared_ptr<StreamInfo> &infos) DefaultInfosAnalyze() argument 434 OnCaptureEnded( int32_t captureId, const std::vector<CaptureEndedInfo> &infos) OnCaptureEnded() argument 444 OnCaptureError( int32_t captureId, const std::vector<CaptureErrorInfo> &infos) OnCaptureError() argument [all...] |
/foundation/multimedia/media_library/frameworks/services/media_thumbnail/src/ |
H A D | thumbnail_generate_helper.cpp | 83 vector<ThumbnailData> infos; in CreateThumbnailBackground() local 84 int32_t err = GetNoThumbnailData(opts, infos); in CreateThumbnailBackground() 90 if (infos.empty()) { in CreateThumbnailBackground() 95 for (uint32_t i = 0; i < infos.size(); i++) { in CreateThumbnailBackground() 96 opts.row = infos[i].id; in CreateThumbnailBackground() 97 infos[i].loaderOpts.loadingStates = infos[i].isLocalFile ? SourceLoader::LOCAL_SOURCE_LOADING_STATES : in CreateThumbnailBackground() 100 opts, infos[i], ThumbnailTaskType::BACKGROUND, ThumbnailTaskPriority::LOW); in CreateThumbnailBackground() 114 vector<ThumbnailData> infos; in CreateAstcBackground() local 115 int32_t err = GetNoAstcData(opts, infos); in CreateAstcBackground() 194 vector<ThumbnailData> infos; CreateAstcBatchOnDemand() local 228 vector<ThumbnailData> infos; CreateLcdBackground() local 606 vector<ThumbnailData> infos; GenerateHighlightThumbnailBackground() local 656 vector<ThumbnailData> infos; UpgradeThumbnailBackground() local 685 vector<ThumbnailData> infos; RestoreAstcDualFrame() local [all...] |
/foundation/deviceprofile/device_info_manager/old/services/core/test/unittest/ |
H A D | subscribe_info_checker_test.cpp | 72 std::list<SubscribeInfo> infos(1, subInfo); in HWTEST_F() 73 bool ret = SubscribeInfoChecker::GetInstance().Check(infos); in HWTEST_F() 91 std::list<SubscribeInfo> infos(1, subInfo); in HWTEST_F() 92 bool ret = SubscribeInfoChecker::GetInstance().Check(infos); in HWTEST_F() 110 std::list<SubscribeInfo> infos(1, subInfo); in HWTEST_F() 111 bool ret = SubscribeInfoChecker::GetInstance().Check(infos); in HWTEST_F() 129 std::list<SubscribeInfo> infos(1, subInfo); in HWTEST_F() 130 bool ret = SubscribeInfoChecker::GetInstance().Check(infos); in HWTEST_F() 147 std::list<SubscribeInfo> infos(1, subInfo); in HWTEST_F() 148 bool ret = SubscribeInfoChecker::GetInstance().Check(infos); in HWTEST_F() [all...] |
/foundation/communication/netmanager_base/services/netstatsmanager/src/ |
H A D | net_stats_data_handler.cpp | 29 int32_t NetStatsDataHandler::ReadStatsData(std::vector<NetStatsInfo> &infos, uint64_t start, uint64_t end) in ReadStatsData() argument 36 return helper->SelectData(infos, UID_TABLE, start, end); in ReadStatsData() 39 int32_t NetStatsDataHandler::ReadStatsData(std::vector<NetStatsInfo> &infos, uint64_t uid, uint64_t start, uint64_t end) in ReadStatsData() argument 46 return helper->SelectData(uid, start, end, infos); in ReadStatsData() 49 int32_t NetStatsDataHandler::ReadStatsData(std::vector<NetStatsInfo> &infos, const std::string &iface, uint64_t start, in ReadStatsData() argument 61 return helper->SelectData(iface, start, end, infos); in ReadStatsData() 64 int32_t NetStatsDataHandler::ReadStatsData(std::vector<NetStatsInfo> &infos, const std::string &iface, in ReadStatsData() argument 76 return helper->SelectData(iface, uid, start, end, infos); in ReadStatsData() 79 int32_t NetStatsDataHandler::ReadStatsDataByIdent(std::vector<NetStatsInfo> &infos, const std::string &ident, in ReadStatsDataByIdent() argument 90 ret1 = helper->QueryData(UID_TABLE, ident, start, end, infos); in ReadStatsDataByIdent() 101 ReadStatsData(std::vector<NetStatsInfo> &infos, uint32_t uid, const std::string &ident, uint64_t start, uint64_t end) ReadStatsData() argument 129 WriteStatsData(const std::vector<NetStatsInfo> &infos, const std::string &tableName) WriteStatsData() argument [all...] |
/foundation/ability/ability_runtime/test/unittest/js_ui_service_proxy_test/ |
H A D | js_ui_service_proxy_test.cpp | 160 auto infos = std::make_shared<AAFwk::JsUIServiceProxy>(impl, hostProxy); in HWTEST_F() local 162 napi_value result = infos->CreateJsUIServiceProxy(env_, impl, connectionId, hostProxy); in HWTEST_F() 177 auto infos = std::make_shared<AAFwk::JsUIServiceProxy>(impl, hostProxy); in HWTEST_F() local 184 napi_value result = infos->CreateJsUIServiceProxy(env, impl, connectionId, hostProxy); in HWTEST_F() 199 auto infos = std::make_shared<AAFwk::JsUIServiceProxy>(impl, hostProxy); in HWTEST_F() local 200 infos->Finalizer(env_, nullptr, nullptr); in HWTEST_F() 201 EXPECT_NE(infos, nullptr); in HWTEST_F() 215 auto infos = std::make_shared<AAFwk::JsUIServiceProxy>(impl, hostProxy); in HWTEST_F() local 217 napi_value result = infos->SendData(env_, info); in HWTEST_F() 232 auto infos in HWTEST_F() local 252 auto infos = std::make_shared<AAFwk::JsUIServiceProxy>(impl, hostProxy); HWTEST_F() local 271 auto infos = std::make_shared<AAFwk::JsUIServiceProxy>(impl, hostProxy); HWTEST_F() local [all...] |
/foundation/ability/ability_runtime/test/unittest/window_visibility_changed_listener_test/ |
H A D | window_visibility_changed_listener_test.cpp | 92 auto infos = new (std::nothrow) Rosen::WindowVisibilityInfo(); in HWTEST_F() local 93 EXPECT_NE(infos, nullptr); in HWTEST_F() 94 infos->windowId_ = WINDOW_ID; in HWTEST_F() 95 infos->pid_ = PID; in HWTEST_F() 96 infos->visibilityState_ = Rosen::WindowVisibilityState::WINDOW_VISIBILITY_STATE_NO_OCCLUSION; in HWTEST_F() 97 windowVisibilityInfos.push_back(infos); in HWTEST_F() 117 auto infos = new (std::nothrow) Rosen::WindowVisibilityInfo(); in HWTEST_F() local 118 EXPECT_NE(infos, nullptr); in HWTEST_F() 119 infos->windowId_ = WINDOW_ID; in HWTEST_F() 120 infos in HWTEST_F() [all...] |
/foundation/window/window_manager/test/demo/ |
H A D | demo_system_sub_window.cpp | 44 void OutputWindowInfos(const std::vector<sptr<AccessibilityWindowInfo>>& infos) in OutputWindowInfos() argument 46 std::cout << "window tree infos length :" << infos.size() << std::endl; in OutputWindowInfos() 48 for (auto info: infos) { in OutputWindowInfos() 61 std::vector<sptr<AccessibilityWindowInfo>> infos; in main() local 62 WindowManager::GetInstance().GetAccessibilityWindowInfo(infos); in main() 64 OutputWindowInfos(infos); in main() 88 infos.clear(); in main() 89 WindowManager::GetInstance().GetAccessibilityWindowInfo(infos); in main() 91 OutputWindowInfos(infos); in main() [all...] |
/foundation/multimedia/ringtone_library/services/ringtone_restore/src/ |
H A D | ringtone_restore.cpp | 98 vector<FileInfo> infos = {}; in ConvertToFileInfos() local 100 infos.emplace_back(*meta); in ConvertToFileInfos() 102 return infos; in ConvertToFileInfos() 105 void RingtoneRestore::CheckRestoreFileInfos(vector<FileInfo> &infos) in CheckRestoreFileInfos() argument 107 for (auto it = infos.begin(); it != infos.end();) { in CheckRestoreFileInfos() 117 infos.erase(it); in CheckRestoreFileInfos() 133 auto infos = QueryFileInfos(INVALID_QUERY_OFFSET); in StartRestore() local 134 if ((!infos.empty()) && (infos in StartRestore() 197 OnFinished(vector<FileInfo> &infos) OnFinished() argument [all...] |