/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_toolkit/unittest/ |
H A D | wifi_app_parser_test.cpp | 109 std::string appName = "gameApp"; in HWTEST_F() local 110 EXPECT_TRUE(m_appXmlParser->IsLowLatencyApp(appName)); in HWTEST_F() 116 std::string appName = "other"; in HWTEST_F() local 117 EXPECT_FALSE(m_appXmlParser->IsLowLatencyApp(appName)); in HWTEST_F() 123 std::string appName = "whiteListApp"; in HWTEST_F() local 124 EXPECT_TRUE(m_appXmlParser->IsWhiteListApp(appName)); in HWTEST_F() 130 std::string appName = "other"; in HWTEST_F() local 131 EXPECT_FALSE(m_appXmlParser->IsWhiteListApp(appName)); in HWTEST_F() 137 std::string appName = "blackListApp"; in HWTEST_F() local 138 EXPECT_TRUE(m_appXmlParser->IsBlackListApp(appName)); in HWTEST_F() 144 std::string appName = "other"; HWTEST_F() local 151 std::string appName = "chariotApp"; HWTEST_F() local 158 std::string appName = "other"; HWTEST_F() local 165 std::string appName = "other"; HWTEST_F() local [all...] |
/foundation/ability/ability_runtime/test/moduletest/on_new_want_module_test/ |
H A D | on_new_want_module_test.cpp | 45 AbilityInfo CreateAbilityInfo(const std::string& name, const std::string& appName, const std::string& bundleName, 47 ApplicationInfo CreateAppInfo(const std::string& appName, const std::string& name); 50 AbilityInfo OnNewWantModuleTest::CreateAbilityInfo(const std::string& name, const std::string& appName, in CreateAbilityInfo() argument 56 abilityInfo.applicationName = appName; in CreateAbilityInfo() 74 ApplicationInfo OnNewWantModuleTest::CreateAppInfo(const std::string& appName, const std::string& bundleName) in CreateAppInfo() argument 77 appInfo.name = appName; in CreateAppInfo() 105 std::string appName = "test_app"; in HWTEST_F() local 115 abilityRequest.abilityInfo = CreateAbilityInfo(abilityName, appName, bundleName, moduleName, true); in HWTEST_F() 116 abilityRequest.appInfo = CreateAppInfo(appName, bundleName); in HWTEST_F() 146 std::string appName in HWTEST_F() local [all...] |
/foundation/ability/ability_runtime/test/moduletest/common/ams/specified_ability_service_test/ |
H A D | specified_ability_service_test.cpp | 45 AbilityInfo CreateAbilityInfo(const std::string& name, const std::string& appName, const std::string& bundleName); 46 ApplicationInfo CreateAppInfo(const std::string& appName, const std::string& name); 59 const std::string& name, const std::string& appName, const std::string& bundleName) in CreateAbilityInfo() 64 abilityInfo.applicationName = appName; in CreateAbilityInfo() 75 ApplicationInfo SpecifiedAbilityServiceTest::CreateAppInfo(const std::string& appName, const std::string& bundleName) in CreateAppInfo() argument 78 appInfo.name = appName; in CreateAppInfo() 103 std::string appName = "test_app"; in HWTEST_F() local 108 abilityRequest.abilityInfo = CreateAbilityInfo(abilityName + "1", appName, bundleName); in HWTEST_F() 109 abilityRequest.appInfo = CreateAppInfo(appName, bundleName); in HWTEST_F() 58 CreateAbilityInfo( const std::string& name, const std::string& appName, const std::string& bundleName) CreateAbilityInfo() argument
|
/foundation/communication/ipc/ipc/test/auxiliary/native/src/ |
H A D | ipc_test_helper.cpp | 269 void IPCTestHelper::AddTestAppPid(const std::string &appName, const int &pid) in AddTestAppPid() argument 272 testPids_.insert(std::make_pair(appName, pid)); in AddTestAppPid() 275 void IPCTestHelper::RemoveTestAppPid(const std::string &appName) in RemoveTestAppPid() argument 278 auto it = testPids_.find(appName); in RemoveTestAppPid() 280 testPids_.erase(appName); in RemoveTestAppPid() 287 std::string appName = GetTestAppName(appId); in StartTestApp() local 288 if (!appName.empty()) { in StartTestApp() 290 pid = StartExecutable(appName, std::to_string(cmdId)); in StartTestApp() 292 pid = StartExecutable(appName); in StartTestApp() 297 RemoveTestAppPid(appName); // shoul in StartTestApp() 307 std::string appName = GetTestAppName(appId); StopTestApp() local 327 std::string appName = GetTestAppName(appId); GetTestAppPid() local [all...] |
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/acts_bms_kit_system_test/ |
H A D | acts_bms_kit_system_test.cpp | 541 std::string appName = BASE_BUNDLE_NAME + "1"; in HWTEST_F() local 548 bool getInfoResult = bundleMgrProxy->GetBundleInfo(appName, 0, bundleInfo, USERID); in HWTEST_F() 552 Uninstall(appName, resvec); in HWTEST_F() 571 std::string appName = BASE_BUNDLE_NAME + "2"; in HWTEST_F() local 581 bundleMgrProxy->GetBundleInfo(appName, BundleFlag::GET_BUNDLE_WITH_ABILITIES, bundleInfo, USERID); in HWTEST_F() 583 EXPECT_EQ(bundleInfo.name, appName); in HWTEST_F() 585 Uninstall(appName, resvec); in HWTEST_F() 604 std::string appName = BASE_BUNDLE_NAME + "3"; in HWTEST_F() local 615 bundleMgrProxy->GetBundleInfo(appName, BundleFlag::GET_BUNDLE_WITH_ABILITIES, bundleInfo, USERID); in HWTEST_F() 617 EXPECT_EQ(bundleInfo.name, appName); in HWTEST_F() 639 std::string appName = BASE_BUNDLE_NAME + "5"; HWTEST_F() local 680 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 802 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 836 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 868 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 900 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 933 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 967 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 1001 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 1036 std::string appName = "com.example.ohosproject.hmservice"; HWTEST_F() local 1072 std::string appName = "com.example.ohosproject.hmservice"; HWTEST_F() local 1106 std::string appName = "com.example.ohosproject.hmservice"; HWTEST_F() local 1143 std::string appName = "com.example.ohosproject.hmservice"; HWTEST_F() local 1177 std::string appName = "com.example.ohosproject.hmservice"; HWTEST_F() local 1212 std::string appName = "com.example.ohosproject.hmservice"; HWTEST_F() local 1247 std::string appName = "com.example.ohosproject.hmservice"; HWTEST_F() local 1284 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 1361 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 1414 std::string appName = BASE_BUNDLE_NAME + std::to_string(i); HWTEST_F() local 1514 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 1562 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 1610 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 1659 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 1706 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 1740 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 1788 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 1853 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 1889 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 1943 std::string appName = "com.example.ohosproject.hmservice"; HWTEST_F() local 1979 std::string appName = "com.example.ohosproject.hmservice"; HWTEST_F() local 2023 std::string appName = BASE_BUNDLE_NAME + std::to_string(i - 5); HWTEST_F() local 2135 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 2176 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 2255 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 2455 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 2523 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 2600 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 2661 std::string appName = BASE_BUNDLE_NAME + "5"; HWTEST_F() local 2701 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 2749 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 2798 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 2859 std::string appName = BASE_BUNDLE_NAME + "5"; HWTEST_F() local 2900 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 2954 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 3011 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 3063 std::string appName = BASE_BUNDLE_NAME + "2"; HWTEST_F() local 3134 std::string appName = BASE_BUNDLE_NAME + "5"; HWTEST_F() local 3268 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 3323 std::string appName = BASE_BUNDLE_NAME + "2"; HWTEST_F() local 3383 std::string appName = BASE_BUNDLE_NAME + "2"; HWTEST_F() local 3443 std::string appName = BASE_BUNDLE_NAME + "2"; HWTEST_F() local 3501 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 3775 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 3830 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 3884 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 3940 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 3993 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 4036 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 4083 std::string appName = "com.third.hiworld.example6"; HWTEST_F() local 4180 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 4261 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 4386 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 4510 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 4546 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 4595 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 4639 std::string appName = "com.ohos.systemui"; HWTEST_F() local 4673 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 4779 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 4812 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 4859 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 4896 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 4940 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 4990 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 5029 std::string appName = BASE_BUNDLE_NAME + std::to_string(i); HWTEST_F() local 5038 std::string appName = BASE_BUNDLE_NAME + std::to_string(i); HWTEST_F() local 5097 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 5163 std::string appName = BASE_BUNDLE_NAME + std::to_string(i); HWTEST_F() local 5197 std::string appName = BASE_BUNDLE_NAME + '1'; HWTEST_F() local 5237 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 5266 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 5309 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 5341 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 5371 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 5402 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 5434 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 5470 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 5508 std::string appName = "com.example.ohosproject.hmservice"; HWTEST_F() local 5564 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 5602 std::string appName = "com.example.ohosproject.hmservice"; HWTEST_F() local 5659 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 5696 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 5739 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 5770 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 5801 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 5852 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 5890 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 5930 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 5983 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 6039 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 6065 std::string appName = ""; HWTEST_F() local 6083 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 6115 std::string appName = "com.example.ohosproject.hmservice"; HWTEST_F() local 6153 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 6204 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 6350 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 6387 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 6422 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 6460 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 6510 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 6699 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 6728 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 6761 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 7201 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 7489 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 7561 std::string appName = "com.example.ohosproject.hmservice"; HWTEST_F() local 7616 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 7656 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 8053 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 8198 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 8247 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 8337 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 8367 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 8405 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 8450 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 8480 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 8817 std::string appName = BASE_BUNDLE_NAME + std::to_string(i); HWTEST_F() local 8856 std::string appName = BASE_BUNDLE_NAME + std::to_string(i); HWTEST_F() local 8867 std::string appName = BASE_BUNDLE_NAME + std::to_string(i); HWTEST_F() local 8895 std::string appName = "com.example.ohosproject.hmservice"; HWTEST_F() local 8938 std::string appName = "com.example.ohosproject.hmservice"; HWTEST_F() local 8981 std::string appName = "com.example.ohosproject.hmservice"; HWTEST_F() local 9024 std::string appName = "com.example.ohosproject.hmservice"; HWTEST_F() local 9082 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 9123 std::string appName = "com.example.ohosproject.hmservice"; HWTEST_F() local 9180 std::string appName = "com.example.ohosproject.hmservice"; HWTEST_F() local 9214 std::string appName = "com.example.ohosproject.hmservice"; HWTEST_F() local 9246 std::string appName = "com.example.ohosproject.hmservice"; HWTEST_F() local 9278 std::string appName = "com.example.ohosproject.hmservice"; HWTEST_F() local 9354 std::string appName = "com.example.ohosproject.hmservice"; HWTEST_F() local 9395 std::string appName = "com.example.ohosproject.hmservice"; HWTEST_F() local 9523 std::string appName = "com.example.ohosproject.hmservice"; HWTEST_F() local 9576 std::string appName = BASE_BUNDLE_NAME + "2"; HWTEST_F() local 9655 std::string appName = BASE_BUNDLE_NAME + "2"; HWTEST_F() local [all...] |
/foundation/ability/ability_runtime/test/unittest/ui_extension_record_factory_test/ |
H A D | ui_extension_record_factory_test.cpp | 44 const std::string& appName, const std::string& bundleName, const std::string& moduleName); 61 const std::string& abilityName, const std::string& appName, const std::string& bundleName, in GenerateAbilityRequest() 70 abilityInfo.applicationName = appName; in GenerateAbilityRequest() 77 appinfo.name = appName; in GenerateAbilityRequest() 113 std::string appName = "hiservcie"; in HWTEST_F() local 116 abilityRequest = GenerateAbilityRequest(deviceName, abilityName, appName, bundleName, moduleName); in HWTEST_F() 135 std::string appName = "hiservcie"; in HWTEST_F() local 138 abilityRequest = GenerateAbilityRequest(deviceName, abilityName, appName, bundleName, moduleName); in HWTEST_F() 158 std::string appName = "hiservcie"; in HWTEST_F() local 161 abilityRequest = GenerateAbilityRequest(deviceName, abilityName, appName, bundleNam in HWTEST_F() 60 GenerateAbilityRequest(const std::string& deviceName, const std::string& abilityName, const std::string& appName, const std::string& bundleName, const std::string& moduleName) GenerateAbilityRequest() argument [all...] |
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_search_system_test/ |
H A D | bms_search_system_test.cpp | 192 std::string appName = BASE_BUNDLE_NAME + "1"; in SetUpTestCase() local 320 std::string appName = BASE_BUNDLE_NAME + "1"; in HWTEST_F() local 332 bundleMgrProxy->GetBundleInfo(appName, BundleFlag::GET_BUNDLE_DEFAULT, bundleInfo, USERID); in HWTEST_F() 334 EXPECT_EQ(bundleInfo.name, appName); in HWTEST_F() 360 std::string appName = BASE_BUNDLE_NAME + "1"; in HWTEST_F() local 370 bundleMgrProxy->GetBundleInfo(appName, BundleFlag::GET_BUNDLE_WITH_ABILITIES, bundleInfo, USERID); in HWTEST_F() 372 EXPECT_EQ(bundleInfo.name, appName); in HWTEST_F() 395 std::string appName = BASE_BUNDLE_NAME + "1"; in HWTEST_F() local 404 appName = BASE_BUNDLE_NAME + "e"; in HWTEST_F() 407 bundleMgrProxy->GetBundleInfo(appName, BundleFla in HWTEST_F() 425 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 452 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 484 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 514 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 542 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 579 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 660 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 753 std::string appName = BASE_BUNDLE_NAME + std::to_string(i); HWTEST_F() local 827 std::string appName = BASE_BUNDLE_NAME + std::to_string(i - 5); HWTEST_F() local 848 std::string appName = BASE_BUNDLE_NAME + std::to_string(i); HWTEST_F() local 888 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 909 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 931 std::string appName = BASE_BUNDLE_NAME + "6"; HWTEST_F() local 963 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 986 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 1019 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 1050 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 1080 std::string appName = BASE_BUNDLE_NAME + "1"; HWTEST_F() local 1117 std::string appName = BASE_BUNDLE_NAME + "2"; HWTEST_F() local [all...] |
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_information/getapplicationinfo_fuzzer/ |
H A D | getapplicationinfo_fuzzer.cpp | 29 std::string appName (reinterpret_cast<const char*>(data), size); in DoSomethingInterestingWithMyAPI() 32 bundleMgrProxy.GetApplicationInfo(appName, flag, reinterpret_cast<uintptr_t>(data), appInfo); in DoSomethingInterestingWithMyAPI() 33 bundleMgrProxy.GetApplicationInfo(appName, reinterpret_cast<uintptr_t>(data), in DoSomethingInterestingWithMyAPI() 35 bundleMgrProxy.GetApplicationInfoV9(appName, reinterpret_cast<uintptr_t>(data), in DoSomethingInterestingWithMyAPI()
|
/foundation/resourceschedule/memmgr/test/unittest/phone/ |
H A D | reclaim_strategy_manager_test.cpp | 66 std::string appName = "com.test"; in HWTEST_F() local 69 std::shared_ptr<ReclaimParam> para = std::make_shared<ReclaimParam>(pid, appId, appName, userId, score, in HWTEST_F() 80 std::string appName = "com.test"; in HWTEST_F() local 83 std::shared_ptr<ReclaimParam> para = std::make_shared<ReclaimParam>(pid, appId, appName, userId, score, in HWTEST_F() 100 std::string appName = "com.test"; in HWTEST_F() local 107 std::shared_ptr<ReclaimParam> para = std::make_shared<ReclaimParam>(pid, appId, appName, userId, score, in HWTEST_F() 131 std::string appName = "com.test"; in HWTEST_F() local 134 std::shared_ptr<ReclaimParam> para = std::make_shared<ReclaimParam>(pid, appId, appName, userId, score, in HWTEST_F() 178 std::string appName = "com.test"; in HWTEST_F() local 182 std::shared_ptr<ReclaimParam> para = std::make_shared<ReclaimParam>(pid, appId, appName, userI in HWTEST_F() 196 std::string appName = "com.test"; HWTEST_F() local 213 std::string appName = "com.test"; HWTEST_F() local [all...] |
/foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/libs/appexecfwk_core/src/bundlemgr/ |
H A D | mock_bundle_manager.cpp | 53 const std::string& appName, const ApplicationFlag flag, const int userId, ApplicationInfo& appInfo) in GetApplicationInfo() 55 if (appName.empty()) { in GetApplicationInfo() 60 if (appName.compare("com.test.crowdtest") == 0) { in GetApplicationInfo() 158 const std::string& appName, const ApplicationFlag flag, const int userId, ApplicationInfo& appInfo) in GetApplicationInfo() 160 if (appName.empty()) { in GetApplicationInfo() 163 appInfo.name = appName; in GetApplicationInfo() 164 appInfo.bundleName = appName; in GetApplicationInfo() 166 if (appName.compare("com.test.crowdtest") == 0) { in GetApplicationInfo() 170 if (appName.compare("com.test.control") == 0) { in GetApplicationInfo() 173 if (appName in GetApplicationInfo() 52 GetApplicationInfo( const std::string& appName, const ApplicationFlag flag, const int userId, ApplicationInfo& appInfo) GetApplicationInfo() argument 157 GetApplicationInfo( const std::string& appName, const ApplicationFlag flag, const int userId, ApplicationInfo& appInfo) GetApplicationInfo() argument [all...] |
/foundation/multimedia/av_codec/test/unittest/dfx_test/ |
H A D | media_dfx_test.cpp | 37 dmuxerDfxInfo.appName = "appName"; in HWTEST_F() 50 muxerFaultInfo.appName = "appName"; in HWTEST_F() 63 audioCodecFaultInfo.appName = "appName"; in HWTEST_F() 74 videoCodecFaultInfo.appName = "appName"; in HWTEST_F() 85 audioSourceFaultInfo.appName = "appName"; in HWTEST_F() [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_state_storage.cpp | 159 std::string appName; in SaveBundleStateStorage() local 160 NameAndUserIdToKey(bundleName, userId, appName); in SaveBundleStateStorage() 169 rootJson[appName] = bundleUserInfo; in SaveBundleStateStorage() 192 std::string appName; in GetBundleStateStorage() local 193 NameAndUserIdToKey(bundleName, userId, appName); in GetBundleStateStorage() 200 if (jParse.find(appName) == jParse.end()) { in GetBundleStateStorage() 201 APP_LOGE("not find appName = %{public}s", appName.c_str()); in GetBundleStateStorage() 205 bundleUserInfo = jParse.at(appName).get<BundleUserInfo>(); in GetBundleStateStorage() 218 std::string appName; in DeleteBundleState() local [all...] |
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/ |
H A D | mock_bundle_manager.cpp | 26 const std::string& appName, const ApplicationFlag flag, const int userId, ApplicationInfo& appInfo) in GetApplicationInfo() 29 if (appName.empty()) { in GetApplicationInfo() 83 const std::string& appName, const ApplicationFlag flag, const int userId, ApplicationInfo& appInfo) in GetApplicationInfo() 85 if (appName.empty()) { in GetApplicationInfo() 90 if (appName == "com.crowdtest.expired") { in GetApplicationInfo() 94 if (appName == "com.crowdtest.unexpired") { in GetApplicationInfo() 25 GetApplicationInfo( const std::string& appName, const ApplicationFlag flag, const int userId, ApplicationInfo& appInfo) GetApplicationInfo() argument 82 GetApplicationInfo( const std::string& appName, const ApplicationFlag flag, const int userId, ApplicationInfo& appInfo) GetApplicationInfo() argument
|
/foundation/graphic/graphic_surface/utils/hebc_white_list/test/unittest/ |
H A D | hebc_white_list_test.cpp | 50 std::string appName = ""; in HWTEST_F() local 51 HebcWhiteList::GetInstance().GetApplicationName(appName); in HWTEST_F() 52 bool isInHebcList = HebcWhiteList::GetInstance().Check(appName); in HWTEST_F()
|
/foundation/ability/ability_lite/services/abilitymgr_lite/src/slite/ |
H A D | ability_record.cpp | 34 AdapterFree(appName); in ~AbilityRecord() 46 AdapterFree(appName); in SetAppName() 47 appName = Utils::Strdup(name); in SetAppName()
|
H A D | ability_list.cpp | 76 if (record == nullptr || record->appName == nullptr) { in Get() 79 if (strcmp(bundleName, record->appName) == 0) { in Get() 181 missionInfoList->missionInfos[i++].SetAppName(it->value_->appName); in GetMissionInfos() 228 if (excludedBundleName != nullptr && strcmp(record->appName, excludedBundleName) == 0) { in PopAllAbility() 232 AbilityRecordObserverManager::GetInstance().NotifyAbilityRecordCleanup(record->appName); in PopAllAbility() 248 if (abilityRecord.appName == nullptr) { in IsPermanentAbility() 254 if (strcmp(abilityRecord.appName, MAIN_BUNDLE_NAME) == 0) { in IsPermanentAbility()
|
H A D | native_ability_thread.cpp | 63 if (abilityRecord->appName == nullptr) { in InitAbilityThread() 64 HILOG_ERROR(HILOG_MODULE_AAFWK, "NativeAbilityThread init fail, appName is null"); in InitAbilityThread() 102 abilityRecord->appName); in InitAbilityThread() 104 if (strcmp(abilityRecord->appName, LAUNCHER_BUNDLE_NAME) == 0) { in InitAbilityThread() 107 abilityRecord->appName); in InitAbilityThread() 112 abilityRecord->appName); in InitAbilityThread()
|
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/ |
H A D | app_process_data.cpp | 38 std::string appName = Str16ToStr8(parcel.ReadString16()); in ReadFromParcelAppData() local 40 appDataInfo.appName = appName; in ReadFromParcelAppData() 59 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(appDatas[i].appName)); in Marshalling()
|
/foundation/ability/ability_runtime/test/mock/common/include/ |
H A D | mock_bundle_manager_proxy.h | 78 bool GetApplicationInfo(const std::string &appName, const AppExecFwk::ApplicationFlag flag, const int userId, in GetApplicationInfo() argument 81 if (appName.empty()) { in GetApplicationInfo() 84 appInfo.name = appName; in GetApplicationInfo() 85 appInfo.bundleName = appName; in GetApplicationInfo() 87 if (appName.compare("com.test.crowdtest") == 0) { in GetApplicationInfo() 91 if (appName.compare("com.test.atomicservice") == 0) { in GetApplicationInfo()
|
H A D | mock_bundle_manager_service.h | 80 bool GetApplicationInfo(const std::string &appName, const AppExecFwk::ApplicationFlag flag, const int userId, in GetApplicationInfo() argument 83 if (appName.empty()) { in GetApplicationInfo() 86 appInfo.name = appName; in GetApplicationInfo() 87 appInfo.bundleName = appName; in GetApplicationInfo() 89 if (appName.compare("com.test.crowdtest") == 0) { in GetApplicationInfo() 93 if (appName.compare("com.test.atomicservice") == 0) { in GetApplicationInfo()
|
/foundation/multimedia/av_codec/services/dfx/include/ |
H A D | avcodec_sysevent.h | 51 std::string appName; member 61 std::string appName; member 72 std::string appName; member 80 std::string appName; member 88 std::string appName; member
|
/foundation/multimedia/media_library/frameworks/js/src/ |
H A D | photoaccesshelperinf.js | 145 let appName = ''; 151 return appName; 155 appName = await resourceMgr.getStringValue(labelId); 156 console.info(`photoAccessHelper appName: ${appName}`); 161 return appName; 177 const appName = await getAppName(); 178 if (appName.length === 0) { 179 console.info(`photoAccessHelper appName not found`); 184 return photoAccessHelper.createDeleteRequest(getContext(this), appName, uriLis [all...] |
/foundation/bundlemanager/bundle_framework/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo1/src/ |
H A D | pageAbilityDemo.cpp | 25 const std::string appName = "com.third.hiworld.example1"; in OnStart() local 26 const std::string testCacheFileNamE1 = BUNDLE_DATA_ROOT_PATH + appName + "/cache/name1.txt"; in OnStart() 27 const std::string testCacheFileNamE2 = BUNDLE_DATA_ROOT_PATH + appName + "/cache/name2.txt"; in OnStart()
|
/foundation/bundlemanager/bundle_framework/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo2/src/ |
H A D | pageAbilityDemo.cpp | 24 const std::string appName = "com.third.hiworld.example2"; in OnStart() local 25 const std::string testCacheDiR1 = BUNDLE_DATA_ROOT_PATH + appName + "/cache/testDir1"; in OnStart() 26 const std::string testCacheDiR2 = BUNDLE_DATA_ROOT_PATH + appName + "/cache/testDir2"; in OnStart()
|
/foundation/multimedia/av_codec/services/dfx/ |
H A D | avcodec_sysevent.cpp | 92 "APP_NAME", demuxerFaultInfo.appName, in FaultDemuxerEventWrite() 105 "APP_NAME", audioCodecFaultInfo.appName, in FaultAudioCodecEventWrite() 116 "APP_NAME", videoCodecFaultInfo.appName, in FaultVideoCodecEventWrite() 127 "APP_NAME", muxerFaultInfo.appName, in FaultMuxerEventWrite() 140 "APP_NAME", audioSourceFaultInfo.appName, in FaultRecordAudioEventWrite()
|