/foundation/ability/ability_runtime/test/unittest/app_mgr_client_test/ |
H A D | app_mgr_client_test.cpp | 99 auto appMgrClient = std::make_unique<AppMgrClient>(); in HWTEST_F() local 100 EXPECT_NE(appMgrClient, nullptr); in HWTEST_F() 102 auto result = appMgrClient->ConnectAppMgrService(); in HWTEST_F() 105 int ret = appMgrClient->PreStartNWebSpawnProcess(); in HWTEST_F() 119 auto appMgrClient = std::make_unique<AppMgrClient>(); in HWTEST_F() local 120 EXPECT_NE(appMgrClient, nullptr); in HWTEST_F() 122 auto result = appMgrClient->ConnectAppMgrService(); in HWTEST_F() 125 int ret = appMgrClient->UpdateExtensionState(token, state); in HWTEST_F() 138 auto appMgrClient = std::make_unique<AppMgrClient>(); in HWTEST_F() local 139 EXPECT_NE(appMgrClient, nullpt in HWTEST_F() 175 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 194 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 213 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 241 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 258 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 279 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 296 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 321 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 350 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 376 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 402 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 420 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 439 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 456 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 471 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 487 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 504 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 521 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 539 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 556 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 575 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 595 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 615 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 632 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 649 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 667 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 684 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 702 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 718 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 731 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 744 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 761 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 779 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 795 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 811 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 828 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 851 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 874 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 898 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 916 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 934 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 950 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 965 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 988 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 1013 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 1029 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 1044 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 1059 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 1078 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 1092 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 1108 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 1122 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 1143 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 1156 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 1170 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 1183 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 1197 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 1209 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 1222 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 1235 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 1247 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 1260 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 1272 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 1285 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 1298 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 1312 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 1326 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 1339 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 1352 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 1364 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 1378 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 1390 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 1408 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 1426 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 1440 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 1453 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local [all...] |
/foundation/ability/ability_runtime/test/moduletest/app_mgr_client_test/ |
H A D | app_mgr_client_test.cpp | 68 auto appMgrClient = std::make_unique<AppMgrClient>(); in HWTEST_F() local 69 EXPECT_NE(appMgrClient, nullptr); in HWTEST_F() 71 auto result = appMgrClient->ConnectAppMgrService(); in HWTEST_F() 75 result = appMgrClient->GetProcessRunningInfosByUserId(info, USER_ID); in HWTEST_F() 93 auto appMgrClient = std::make_unique<AppMgrClient>(); in HWTEST_F() local 94 EXPECT_NE(appMgrClient, nullptr); in HWTEST_F() 96 auto result = appMgrClient->ConnectAppMgrService(); in HWTEST_F() 100 result = appMgrClient->GetConfiguration(config); in HWTEST_F() 116 auto appMgrClient = std::make_unique<AppMgrClient>(); in HWTEST_F() local 117 EXPECT_NE(appMgrClient, nullpt in HWTEST_F() 148 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 186 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 223 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local [all...] |
/foundation/ability/ability_runtime/test/unittest/app_mgr_client_first_test/ |
H A D | app_mgr_client_first_test.cpp | 111 auto appMgrClient = std::make_unique<AppMgrClient>(); in HWTEST_F() local 112 EXPECT_NE(appMgrClient, nullptr); in HWTEST_F() 117 appMgrClient->ForceKillApplication(bundleName, userId, appIndex); in HWTEST_F() 130 auto appMgrClient = std::make_unique<AppMgrClient>(); in HWTEST_F() local 131 EXPECT_NE(appMgrClient, nullptr); in HWTEST_F() 133 auto result = appMgrClient->NotifyProcMemoryLevel(procLevelMap); in HWTEST_F() 146 auto appMgrClient = std::make_unique<AppMgrClient>(); in HWTEST_F() local 148 auto result = appMgrClient->IsKilledForUpgradeWeb(bundleName); in HWTEST_F() 161 auto appMgrClient = std::make_unique<AppMgrClient>(); in HWTEST_F() local 163 auto result = appMgrClient in HWTEST_F() 176 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 191 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local 206 auto appMgrClient = std::make_unique<AppMgrClient>(); HWTEST_F() local [all...] |
/foundation/ability/ability_runtime/test/unittest/ams_ipc_interface_test/ |
H A D | ams_ipc_appmgr_interface_test.cpp | 72 sptr<IAppMgr> appMgrClient = iface_cast<IAppMgr>(mockAppMgr); in HWTEST_F() local 77 appMgrClient->AttachApplication(app); in HWTEST_F() 93 sptr<IAppMgr> appMgrClient = iface_cast<IAppMgr>(mockAppMgr); in HWTEST_F() local 98 appMgrClient->ApplicationForegrounded(recordId); in HWTEST_F() 114 sptr<IAppMgr> appMgrClient = iface_cast<IAppMgr>(mockAppMgr); in HWTEST_F() local 119 appMgrClient->ApplicationBackgrounded(recordId); in HWTEST_F() 135 sptr<IAppMgr> appMgrClient = iface_cast<IAppMgr>(mockAppMgr); in HWTEST_F() local 140 appMgrClient->ApplicationTerminated(recordId); in HWTEST_F() 157 sptr<IAppMgr> appMgrClient = iface_cast<IAppMgr>(mockAppMgr); in HWTEST_F() local 161 appMgrClient in HWTEST_F() 178 sptr<IAppMgr> appMgrClient = iface_cast<IAppMgr>(mockAppMgr); HWTEST_F() local 206 sptr<IAppMgr> appMgrClient = iface_cast<IAppMgr>(mockAppMgr); HWTEST_F() local 230 sptr<IAppMgr> appMgrClient = iface_cast<IAppMgr>(mockAppMgr); HWTEST_F() local 251 sptr<IAppMgr> appMgrClient = iface_cast<IAppMgr>(mockAppMgr); HWTEST_F() local 272 sptr<IAppMgr> appMgrClient = iface_cast<IAppMgr>(mockAppMgr); HWTEST_F() local 293 sptr<IAppMgr> appMgrClient = iface_cast<IAppMgr>(mockAppMgr); HWTEST_F() local 315 sptr<IAppMgr> appMgrClient = iface_cast<IAppMgr>(mockAppMgr); HWTEST_F() local [all...] |
/foundation/ability/ability_runtime/test/fuzztest/updateconfiguration_fuzzer/ |
H A D | updateconfiguration_fuzzer.cpp | 35 AppMgrClient* appMgrClient = new AppMgrClient(); in DoSomethingInterestingWithMyAPI() local 36 if (!appMgrClient) { in DoSomethingInterestingWithMyAPI() 46 if (appMgrClient->UpdateConfiguration(config) != 0) { in DoSomethingInterestingWithMyAPI() 49 if (appMgrClient) { in DoSomethingInterestingWithMyAPI() 50 delete appMgrClient; in DoSomethingInterestingWithMyAPI() 51 appMgrClient = nullptr; in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/test/moduletest/common/ams/ipc_app_mgr_test/ |
H A D | ams_ipc_app_mgr_module_test.cpp | 78 sptr<IAppMgr> appMgrClient = iface_cast<IAppMgr>(mockAppMgr); in HWTEST_F() local 83 appMgrClient->AttachApplication(app); in HWTEST_F() 100 sptr<IAppMgr> appMgrClient = iface_cast<IAppMgr>(mockAppMgr); in HWTEST_F() local 105 appMgrClient->ApplicationForegrounded(recordId); in HWTEST_F() 122 sptr<IAppMgr> appMgrClient = iface_cast<IAppMgr>(mockAppMgr); in HWTEST_F() local 127 appMgrClient->ApplicationBackgrounded(recordId); in HWTEST_F() 144 sptr<IAppMgr> appMgrClient = iface_cast<IAppMgr>(mockAppMgr); in HWTEST_F() local 149 appMgrClient->ApplicationTerminated(recordId); in HWTEST_F() 166 sptr<IAppMgr> appMgrClient = iface_cast<IAppMgr>(mockAppMgr); in HWTEST_F() local 171 appMgrClient in HWTEST_F() 188 sptr<IAppMgr> appMgrClient = iface_cast<IAppMgr>(mockMockAppMgr); HWTEST_F() local 215 sptr<IAppMgr> appMgrClient = iface_cast<IAppMgr>(mockMockAppMgr); HWTEST_F() local 251 sptr<IAppMgr> appMgrClient = iface_cast<IAppMgr>(mockMockAppMgr); HWTEST_F() local [all...] |
/foundation/ability/ability_runtime/test/fuzztest/updateabilitystate_fuzzer/ |
H A D | updateabilitystate_fuzzer.cpp | 51 AppMgrClient* appMgrClient = new AppMgrClient(); in DoSomethingInterestingWithMyAPI() local 52 if (!appMgrClient) { in DoSomethingInterestingWithMyAPI() 63 if (appMgrClient->UpdateAbilityState(token, state) != AppMgrResultCode::RESULT_OK) { in DoSomethingInterestingWithMyAPI() 66 if (appMgrClient) { in DoSomethingInterestingWithMyAPI() 67 delete appMgrClient; in DoSomethingInterestingWithMyAPI() 68 appMgrClient = nullptr; in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/test/fuzztest/updateextensionstate_fuzzer/ |
H A D | updateextensionstate_fuzzer.cpp | 51 AppMgrClient* appMgrClient = new AppMgrClient(); in DoSomethingInterestingWithMyAPI() local 52 if (!appMgrClient) { in DoSomethingInterestingWithMyAPI() 63 if (appMgrClient->UpdateExtensionState(token, state) != AppMgrResultCode::RESULT_OK) { in DoSomethingInterestingWithMyAPI() 66 if (appMgrClient) { in DoSomethingInterestingWithMyAPI() 67 delete appMgrClient; in DoSomethingInterestingWithMyAPI() 68 appMgrClient = nullptr; in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/test/fuzztest/appmgrclientrest_fuzzer/ |
H A D | appmgrclientrest_fuzzer.cpp | 50 AppMgrClient* appMgrClient = new AppMgrClient(); in DoSomethingInterestingWithMyAPI() local 51 if (!appMgrClient) { in DoSomethingInterestingWithMyAPI() 55 appMgrClient->RegisterAppStateCallback(callback); in DoSomethingInterestingWithMyAPI() 58 appMgrClient->KillApplicationByUid(bundleName, uid); in DoSomethingInterestingWithMyAPI() 60 appMgrClient->RegisterStartSpecifiedAbilityResponse(response); in DoSomethingInterestingWithMyAPI() 61 appMgrClient->GetRemoteObject(); in DoSomethingInterestingWithMyAPI()
|
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | exception_handler.cpp | 29 auto appMgrClient = std::make_unique<AppExecFwk::AppMgrClient>(); in KillApplicationByUid() local 30 CHECK_NULL_VOID(appMgrClient); in KillApplicationByUid() 31 auto result = appMgrClient->ConnectAppMgrService(); in KillApplicationByUid() 36 auto ret = appMgrClient->KillApplicationSelf(); in KillApplicationByUid()
|
/foundation/ability/form_fwk/services/src/ |
H A D | form_ams_helper.cpp | 177 auto appMgrClient = std::make_unique<AppMgrClient>(); in RegisterConfigurationObserver() local 178 if (appMgrClient == nullptr) { in RegisterConfigurationObserver() 179 HILOG_ERROR("create appMgrClient failed"); in RegisterConfigurationObserver() 182 appMgrClient->RegisterConfigurationObserver(configurationObserver); in RegisterConfigurationObserver() 193 auto appMgrClient = std::make_unique<AppMgrClient>(); in UnRegisterConfigurationObserver() local 194 if (appMgrClient == nullptr) { in UnRegisterConfigurationObserver() 195 HILOG_ERROR("create appMgrClient failed"); in UnRegisterConfigurationObserver() 198 appMgrClient->UnregisterConfigurationObserver(configurationObserver); in UnRegisterConfigurationObserver()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bundle_resource/ |
H A D | bundle_resource_register.cpp | 38 auto appMgrClient = std::make_unique<AppMgrClient>(); in RegisterConfigurationObserver() local 39 if (appMgrClient == nullptr) { in RegisterConfigurationObserver() 40 APP_LOGE("fail to create appMgrClient"); in RegisterConfigurationObserver() 43 appMgrClient->RegisterConfigurationObserver(observer); in RegisterConfigurationObserver()
|
/foundation/ability/ability_runtime/test/fuzztest/prestartnwebspawnprocess_fuzzer/ |
H A D | prestartnwebspawnprocess_fuzzer.cpp | 38 std::shared_ptr<AppMgrClient> appMgrClient = std::make_shared<AppMgrClient>(); in DoSomethingInterestingWithMyAPI() local 39 if (!appMgrClient) { in DoSomethingInterestingWithMyAPI() 43 if (appMgrClient->PreStartNWebSpawnProcess() != 0) { in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/test/fuzztest/killapplicationself_fuzzer/ |
H A D | killapplicationself_fuzzer.cpp | 36 std::shared_ptr<AppMgrClient> appMgrClient = std::make_shared<AppMgrClient>(); in DoSomethingInterestingWithMyAPI() local 37 if (!appMgrClient) { in DoSomethingInterestingWithMyAPI() 41 if (appMgrClient->KillApplicationSelf() != AppMgrResultCode::RESULT_OK) { in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/test/fuzztest/loadability_fuzzer/ |
H A D | loadability_fuzzer.cpp | 68 AppMgrClient* appMgrClient = new AppMgrClient(); in DoSomethingInterestingWithMyAPI() local 69 if (!appMgrClient) { in DoSomethingInterestingWithMyAPI() 96 appMgrClient->LoadAbility(abilityInfo, appInfo, *want, loadParam); in DoSomethingInterestingWithMyAPI() 100 delete appMgrClient; in DoSomethingInterestingWithMyAPI() 101 appMgrClient = nullptr; in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/test/moduletest/common/ams/ipc_ams_mgr_test/ |
H A D | ams_ipc_ams_mgr_module_test.cpp | 149 sptr<IAppMgr> appMgrClient = iface_cast<IAppMgr>(mockMockAppMgr); in HWTEST_F() local 158 auto amsMgrScheduler_ = appMgrClient->GetAmsMgr(); in HWTEST_F() 188 sptr<IAppMgr> appMgrClient = iface_cast<IAppMgr>(mockMockAppMgr); in HWTEST_F() local 197 auto amsMgrScheduler_ = appMgrClient->GetAmsMgr(); in HWTEST_F() 230 sptr<IAppMgr> appMgrClient = iface_cast<IAppMgr>(mockMockAppMgr); in HWTEST_F() local 239 auto amsMgrScheduler_ = appMgrClient->GetAmsMgr(); in HWTEST_F() 269 sptr<IAppMgr> appMgrClient = iface_cast<IAppMgr>(mockMockAppMgr); in HWTEST_F() local 278 auto amsMgrScheduler_ = appMgrClient->GetAmsMgr(); in HWTEST_F() 307 sptr<IAppMgr> appMgrClient = iface_cast<IAppMgr>(mockMockAppMgr); in HWTEST_F() local 316 auto amsMgrScheduler_ = appMgrClient in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/test/fuzztest/getprocessrunninginfosbyuserid_fuzzer/ |
H A D | getprocessrunninginfosbyuserid_fuzzer.cpp | 41 std::shared_ptr<AppMgrClient> appMgrClient = std::make_shared<AppMgrClient>(); in DoSomethingInterestingWithMyAPI() local 42 if (!appMgrClient) { in DoSomethingInterestingWithMyAPI() 49 if (appMgrClient->GetProcessRunningInfosByUserId(infos, userId) != 0) { in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/test/fuzztest/getapplicationinfobyprocessid_fuzzer/ |
H A D | getapplicationinfobyprocessid_fuzzer.cpp | 42 std::shared_ptr<AppMgrClient> appMgrClient = std::make_shared<AppMgrClient>(); in DoSomethingInterestingWithMyAPI() local 43 if (!appMgrClient) { in DoSomethingInterestingWithMyAPI() 51 if (appMgrClient->GetApplicationInfoByProcessID(pid, application, debug) != 0) { in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/test/fuzztest/scheduleacceptwantdone_fuzzer/ |
H A D | scheduleacceptwantdone_fuzzer.cpp | 38 std::shared_ptr<AppMgrClient> appMgrClient = std::make_shared<AppMgrClient>(); in DoSomethingInterestingWithMyAPI() local 39 if (!appMgrClient) { in DoSomethingInterestingWithMyAPI() 55 appMgrClient->ScheduleAcceptWantDone(recordId, *want, flag); in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/test/fuzztest/startrenderprocess_fuzzer/ |
H A D | startrenderprocess_fuzzer.cpp | 38 std::shared_ptr<AppMgrClient> appMgrClient = std::make_shared<AppMgrClient>(); in DoSomethingInterestingWithMyAPI() local 39 if (!appMgrClient) { in DoSomethingInterestingWithMyAPI() 49 if (appMgrClient->StartRenderProcess(renderParam, ipcFd, sharedFd, crashFd, in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/test/fuzztest/registerconfigurationobserver_fuzzer/ |
H A D | registerconfigurationobserver_fuzzer.cpp | 38 std::shared_ptr<AppMgrClient> appMgrClient = std::make_shared<AppMgrClient>(); in DoSomethingInterestingWithMyAPI() local 39 if (!appMgrClient) { in DoSomethingInterestingWithMyAPI() 45 if (appMgrClient->RegisterConfigurationObserver(observer) != 0) { in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/test/fuzztest/killapplication_fuzzer/ |
H A D | killapplication_fuzzer.cpp | 36 std::shared_ptr<AppMgrClient> appMgrClient = std::make_shared<AppMgrClient>(); in DoSomethingInterestingWithMyAPI() local 38 if (!appMgrClient) { in DoSomethingInterestingWithMyAPI() 44 if (appMgrClient->KillApplication(bundleName) != AppMgrResultCode::RESULT_OK) { in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/test/fuzztest/getconfiguration_fuzzer/ |
H A D | getconfiguration_fuzzer.cpp | 38 std::shared_ptr<AppMgrClient> appMgrClient = std::make_shared<AppMgrClient>(); in DoSomethingInterestingWithMyAPI() local 39 if (!appMgrClient) { in DoSomethingInterestingWithMyAPI() 48 if (appMgrClient->GetConfiguration(config) != 0) { in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/test/fuzztest/killprocessesbyuserid_fuzzer/ |
H A D | killprocessesbyuserid_fuzzer.cpp | 41 std::shared_ptr<AppMgrClient> appMgrClient = std::make_shared<AppMgrClient>(); in DoSomethingInterestingWithMyAPI() local 42 if (!appMgrClient) { in DoSomethingInterestingWithMyAPI() 48 if (appMgrClient->KillProcessesByUserId(userId) != AppMgrResultCode::RESULT_OK) { in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/test/fuzztest/notifymemorylevel_fuzzer/ |
H A D | notifymemorylevel_fuzzer.cpp | 36 std::shared_ptr<AppMgrClient> appMgrClient = std::make_shared<AppMgrClient>(); in DoSomethingInterestingWithMyAPI() local 37 if (!appMgrClient) { in DoSomethingInterestingWithMyAPI() 41 if (appMgrClient->NotifyMemoryLevel(level) != 0) { in DoSomethingInterestingWithMyAPI()
|