Home
last modified time | relevance | path

Searched refs:KillApplication (Results 1 - 25 of 36) sorted by relevance

12

/foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/include/
H A Dmock_app_manager_client.h39 MOCK_METHOD2(KillApplication, AppMgrResultCode(const std::string&, const bool clearPageStack));
/foundation/ability/ability_runtime/test/fuzztest/killapplication_fuzzer/
H A Dkillapplication_fuzzer.cpp44 if (appMgrClient->KillApplication(bundleName) != AppMgrResultCode::RESULT_OK) { in DoSomethingInterestingWithMyAPI()
/foundation/ability/ability_runtime/test/moduletest/mock/include/
H A Dmock_app_mgr_client.h33 MOCK_METHOD2(KillApplication, AppMgrResultCode(const std::string&, const bool clearPageStack));
/foundation/ability/ability_runtime/test/unittest/ams_app_mgr_client_test/
H A Dams_app_mgr_client_test.cpp286 * Function: AppMgrClient::KillApplication
288 * FunctionPoints: AppMgrClient KillApplication interface
300 EXPECT_CALL(*(static_cast<MockAmsMgrScheduler*>(amsMgrScheduler.GetRefPtr())), KillApplication(_, _)) in HWTEST_F()
308 EXPECT_EQ(AppMgrResultCode::RESULT_OK, client_->KillApplication("")); in HWTEST_F()
314 * Function: AppMgrClient::KillApplication
316 * FunctionPoints: AppMgrClient KillApplication interface
327 EXPECT_CALL(*(static_cast<MockAmsMgrScheduler*>(amsMgrScheduler.GetRefPtr())), KillApplication(_, _)) in HWTEST_F()
335 EXPECT_EQ(AppMgrResultCode::ERROR_SERVICE_NOT_READY, client_->KillApplication("")); in HWTEST_F()
343 * FunctionPoints: AppMgrClient KillApplication interface
369 * FunctionPoints: AppMgrClient KillApplication interfac
[all...]
/foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/libs/appexecfwk_core/src/appmgr/
H A Dapp_mgr_client.cpp73 AppMgrResultCode AppMgrClient::KillApplication( in KillApplication() function in OHOS::AppExecFwk::AppMgrClient
H A Dmock_app_scheduler.cpp106 int AppScheduler::KillApplication(const std::string& bundleName, const bool clearPageStack) in KillApplication() function in OHOS::AAFwk::AppScheduler
108 TAG_LOGI(AAFwkTag::TEST, "Test AppScheduler::KillApplication()"); in KillApplication()
/foundation/ability/ability_runtime/test/unittest/app_scheduler_test/
H A Dapp_mgr_client_mock.h40 MOCK_METHOD2(KillApplication, AppMgrResultCode(const std::string&, const bool clearPageStack));
H A Dapp_scheduler_test.cpp592 * Function: KillApplication
594 * FunctionPoints: AppScheduler KillApplication
596 * CaseDescription: Verify KillApplication
600 EXPECT_CALL(*clientMock_, KillApplication(_, _)).Times(1) in HWTEST_F()
604 int res = DelayedSingleton<AppScheduler>::GetInstance()->KillApplication(bundleName); in HWTEST_F()
610 * Function: KillApplication
612 * FunctionPoints: AppScheduler KillApplication
614 * CaseDescription: Verify KillApplication
618 EXPECT_CALL(*clientMock_, KillApplication(_, _)).Times(1) in HWTEST_F()
622 int res = DelayedSingleton<AppScheduler>::GetInstance()->KillApplication(bundleNam in HWTEST_F()
[all...]
/foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/libs/appexecfwk_core/include/appmgr/
H A Dapp_mgr_client.h107 * KillApplication, call KillApplication() through proxy object, kill the application.
112 virtual AppMgrResultCode KillApplication(const std::string& bundleName, const bool clearPageStack = false);
/foundation/ability/ability_runtime/test/moduletest/common/ams/ipc_ams_mgr_test/
H A Dams_ipc_ams_mgr_module_test.cpp257 * FunctionPoints: test KillApplication API,then check the function whether is good or not
259 * CaseDescription: execute KillApplication API 1000 times
282 EXPECT_CALL(*mockAppMgrServiceInner, KillApplication(_, _)) in HWTEST_F()
284 amsMgrScheduler_->KillApplication(bundleName); in HWTEST_F()
/foundation/ability/ability_runtime/test/unittest/ams_mgr_scheduler_test/
H A Dams_mgr_scheduler_test.cpp281 * Function: KillApplication
294 EXPECT_CALL(*mockAppMgrServiceInner, KillApplication(_, _)).Times(1).WillOnce(Return(ERR_OK)); in HWTEST_F()
300 EXPECT_EQ(ERR_INVALID_OPERATION, amsMgrScheduler2->KillApplication(GetTestAppName())); in HWTEST_F()
307 EXPECT_EQ(ERR_INVALID_OPERATION, amsMgrScheduler3->KillApplication(GetTestAppName())); in HWTEST_F()
314 EXPECT_EQ(ERR_OK, amsMgrScheduler4->KillApplication(GetTestAppName())); in HWTEST_F()
323 * FunctionPoints: KillApplication interface
342 * FunctionPoints: KillApplication interface
653 * Function: KillApplication
655 * FunctionPoints: AmsMgrScheduler KillApplication
657 * CaseDescription: Verify KillApplication
[all...]
/foundation/ability/ability_runtime/test/mock/services_appmgr_test/include/
H A Dmock_app_mgr_service_inner.h44 MOCK_METHOD2(KillApplication, int32_t(const std::string& bundleName, const bool clearPageStack));
H A Dmock_ams_mgr_scheduler.h39 MOCK_METHOD2(KillApplication, int32_t(const std::string& bundleName, const bool clearPageStack));
H A Dmock_app_mgr_service.h44 MOCK_METHOD2(KillApplication, int32_t(const std::string& appName, const bool clearPageStack));
/foundation/ability/ability_runtime/test/mock/mock_appmgr_service/include/
H A Dmock_app_mgr_service_inner.h42 MOCK_METHOD2(KillApplication, int32_t(const std::string& bundleName, const bool clearPageStack));
/foundation/ability/ability_runtime/test/moduletest/common/ams/app_mgr_service_test/
H A Dams_app_mgr_service_module_test.cpp451 * Function: KillApplication
453 * FunctionPoints: AppMgrService => AppMgrServiceInner: KillApplication
454 * CaseDescription: Check KillApplication task post from AppMgrService to AppMgrServiceInner.
475 EXPECT_CALL(*mockAppMgrServiceInner_, KillApplication(_, _)).Times(1).WillOnce(Invoke(mockHandler)); in HWTEST_F()
477 int ret = appMgrService_->GetAmsMgr()->KillApplication(testBundleName); in HWTEST_F()
/foundation/ability/ability_runtime/test/fuzztest/amsmgrscheduler_fuzzer/
H A Damsmgrscheduler_fuzzer.cpp108 amsMgrScheduler->KillApplication(bundleName); in DoSomethingInterestingWithMyAPI()
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/include/appmgr/
H A Dams_mgr_interface.h143 * KillApplication, call KillApplication() through proxy object, kill the application.
148 virtual int KillApplication(const std::string &bundleName, const bool clearPageStack = false) = 0;
H A Dams_mgr_proxy.h133 * KillApplication, call KillApplication() through proxy object, kill the application.
138 virtual int32_t KillApplication(const std::string &bundleName, const bool clearPageStack = false) override;
161 * KillApplication, call KillApplication() through proxy object, kill the application.
H A Dapp_mgr_client.h156 * KillApplication, call KillApplication() through proxy object, kill the application.
161 virtual AppMgrResultCode KillApplication(const std::string &bundleName, const bool clearPageStack = false);
184 * KillApplication, call KillApplication() through proxy object, kill the application.
/foundation/ability/ability_runtime/services/appmgr/include/
H A Dams_mgr_scheduler.h147 * KillApplication, call KillApplication() through proxy object, kill the application.
152 virtual int32_t KillApplication(const std::string &bundleName, const bool clearPageStack = false) override;
/foundation/ability/ability_runtime/services/appmgr/src/
H A Dams_mgr_scheduler.cpp330 int32_t AmsMgrScheduler::KillApplication(const std::string &bundleName, const bool clearPageStack) in KillApplication() function in OHOS::AppExecFwk::AmsMgrScheduler
338 return amsMgrServiceInner_->KillApplication(bundleName, clearPageStack); in KillApplication()
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dapp_scheduler.cpp239 int AppScheduler::KillApplication(const std::string &bundleName, const bool clearPageStack) in KillApplication() function in OHOS::AAFwk::AppScheduler
243 int ret = (int)appMgrClient_->KillApplication(bundleName, clearPageStack); in KillApplication()
/foundation/ability/ability_runtime/services/abilitymgr/include/
H A Dapp_scheduler.h243 int KillApplication(const std::string &bundleName, const bool clearPageStack = false);
/foundation/ability/ability_runtime/test/moduletest/common/ams/app_life_cycle_test/
H A Dams_app_life_cycle_module_test.cpp697 int32_t ret = serviceInner_->KillApplication(appInfo->bundleName); in HWTEST_F()
1134 * Function: KillApplication
1179 int32_t ret = serviceInner_->KillApplication("com.ohos.test.helloworld0"); in HWTEST_F()
1191 * Function: KillApplication
1234 int32_t ret = serviceInner_->KillApplication("com.ohos.test.helloworld103"); in HWTEST_F()
1243 * Function: KillApplication
1286 int32_t ret = serviceInner_->KillApplication("com.ohos.test.helloworld101"); in HWTEST_F()

Completed in 23 milliseconds

12