Home
last modified time | relevance | path

Searched refs:instanceKeys (Results 1 - 25 of 26) sorted by relevance

12

/foundation/ability/ability_runtime/test/moduletest/mock/include/
H A Dmock_app_mgr_client.h40 MOCK_METHOD1(GetAllRunningInstanceKeysBySelf, AppMgrResultCode(std::vector<std::string> &instanceKeys));
42 std::vector<std::string> &instanceKeys, int32_t userId));
/foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/libs/appexecfwk_core/include/appmgr/
H A Dapp_mgr_interface.h118 * @param instanceKeys, output instance keys of the multi-instance app.
121 virtual int32_t GetAllRunningInstanceKeysBySelf(std::vector<std::string> &instanceKeys) = 0;
128 * @param instanceKeys, output instance keys of the multi-instance app.
133 std::vector<std::string> &instanceKeys, int32_t userId = -1) = 0;
H A Dapp_mgr_client.h137 * @param instanceKeys, output instance keys of the multi-instance app.
140 virtual AppMgrResultCode GetAllRunningInstanceKeysBySelf(std::vector<std::string> &instanceKeys);
147 * @param instanceKeys, output instance keys of the multi-instance app.
152 std::vector<std::string> &instanceKeys, int32_t userId = -1);
/foundation/ability/ability_runtime/test/mock/services_appmgr_test/include/
H A Dmock_app_mgr_service_inner.h52 MOCK_METHOD1(GetAllRunningInstanceKeysBySelf, int32_t(std::vector<std::string> &instanceKeys));
54 std::vector<std::string> &instanceKeys, int32_t userId));
H A Dmock_app_mgr_service.h96 MOCK_METHOD1(GetAllRunningInstanceKeysBySelf, int32_t(std::vector<std::string> &instanceKeys));
98 std::vector<std::string> &instanceKeys, int32_t userId));
/foundation/ability/ability_runtime/test/mock/mock_appmgr_service/include/
H A Dmock_app_mgr_service_inner.h49 MOCK_METHOD1(GetAllRunningInstanceKeysBySelf, int32_t(std::vector<std::string> &instanceKeys));
51 std::vector<std::string> &instanceKeys, int32_t userId));
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_inner_second_test/
H A Dapp_mgr_service_inner_second_test.cpp455 std::vector<std::string> instanceKeys; in HWTEST_F() local
456 auto ret = appMgrServiceInner->GetAllRunningInstanceKeysBySelf(instanceKeys); in HWTEST_F()
474 std::vector<std::string> instanceKeys; in HWTEST_F() local
475 auto ret = appMgrServiceInner->GetAllRunningInstanceKeysByBundleName(bundleName, instanceKeys); in HWTEST_F()
1269 std::vector<std::string> instanceKeys; in HWTEST_F() local
1271 auto res = appMgrServiceInner->GetAllRunningInstanceKeysByBundleName(bundleName, instanceKeys); in HWTEST_F()
1275 res = appMgrServiceInner->GetAllRunningInstanceKeysByBundleName(bundleName, instanceKeys); in HWTEST_F()
1278 res = appMgrServiceInner->GetAllRunningInstanceKeysByBundleName(bundleName, instanceKeys); in HWTEST_F()
1291 std::vector<std::string> instanceKeys; in HWTEST_F() local
1323 std::vector<std::string> instanceKeys; in HWTEST_F() local
1355 std::vector<std::string> instanceKeys; HWTEST_F() local
1766 std::vector<std::string> instanceKeys; HWTEST_F() local
[all...]
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_test/
H A Dapp_mgr_service_test.cpp1819 std::vector<std::string> instanceKeys; in HWTEST_F() local
1820 int32_t res = appMgrService->GetAllRunningInstanceKeysBySelf(instanceKeys); in HWTEST_F()
1840 std::vector<std::string> instanceKeys; in HWTEST_F() local
1841 int32_t ret = appMgrService->GetAllRunningInstanceKeysBySelf(instanceKeys); in HWTEST_F()
1864 std::vector<std::string> instanceKeys; in HWTEST_F() local
1865 int32_t res = appMgrService->GetAllRunningInstanceKeysBySelf(instanceKeys); in HWTEST_F()
1884 std::vector<std::string> instanceKeys; in HWTEST_F() local
1885 int32_t res = appMgrService->GetAllRunningInstanceKeysByBundleName(bundleName, instanceKeys); in HWTEST_F()
1906 std::vector<std::string> instanceKeys; in HWTEST_F() local
1907 int32_t res = appMgrService->GetAllRunningInstanceKeysByBundleName(bundleName, instanceKeys); in HWTEST_F()
1931 std::vector<std::string> instanceKeys; HWTEST_F() local
[all...]
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/include/appmgr/
H A Dapp_mgr_interface.h165 * @param instanceKeys, output instance keys of the multi-instance app.
168 virtual int32_t GetAllRunningInstanceKeysBySelf(std::vector<std::string> &instanceKeys) = 0;
175 * @param instanceKeys, output instance keys of the multi-instance app.
180 std::vector<std::string> &instanceKeys, int32_t userId = -1) = 0;
H A Dapp_mgr_client.h255 * @param instanceKeys, output instance keys of the multi-instance app.
258 virtual AppMgrResultCode GetAllRunningInstanceKeysBySelf(std::vector<std::string> &instanceKeys);
265 * @param instanceKeys, output instance keys of the multi-instance app.
270 std::vector<std::string> &instanceKeys, int32_t userId = -1);
H A Dapp_mgr_proxy.h142 * @param instanceKeys, output instance keys of the multi-instance app.
145 virtual int32_t GetAllRunningInstanceKeysBySelf(std::vector<std::string> &instanceKeys) override;
152 * @param instanceKeys, output instance keys of the multi-instance app.
157 std::vector<std::string> &instanceKeys, int32_t userId = -1) override;
/foundation/ability/ability_runtime/test/mock/frameworks_kits_appkit_test/include/
H A Dmock_app_mgr_service.h85 MOCK_METHOD1(GetAllRunningInstanceKeysBySelf, int32_t(std::vector<std::string> &instanceKeys));
87 std::vector<std::string> &instanceKeys, int32_t userId));
/foundation/ability/ability_runtime/services/appmgr/include/
H A Dapp_mgr_service.h167 * @param instanceKeys, output instance keys of the multi-instance app.
170 virtual int32_t GetAllRunningInstanceKeysBySelf(std::vector<std::string> &instanceKeys) override;
177 * @param instanceKeys, output instance keys of the multi-instance app.
182 std::vector<std::string> &instanceKeys, int32_t userId = -1) override;
H A Dapp_mgr_service_inner.h378 * @param instanceKeys, output instance keys of the multi-instance app.
381 virtual int32_t GetAllRunningInstanceKeysBySelf(std::vector<std::string> &instanceKeys);
388 * @param instanceKeys, output instance keys of the multi-instance app.
393 std::vector<std::string> &instanceKeys, int32_t userId = -1);
1719 std::vector<std::string> &instanceKeys);
1826 std::vector<std::string> &instanceKeys, int32_t userId);
/foundation/ability/ability_runtime/test/unittest/multi_app_utils_test/include/
H A Dmock_app_mgr_service.h93 MOCK_METHOD1(GetAllRunningInstanceKeysBySelf, int32_t(std::vector<std::string> &instanceKeys));
95 std::vector<std::string> &instanceKeys, int32_t userId));
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/
H A Dapp_mgr_stub.cpp482 std::vector<std::string> instanceKeys; in HandleGetAllRunningInstanceKeysBySelf() local
483 int32_t result = GetAllRunningInstanceKeysBySelf(instanceKeys); in HandleGetAllRunningInstanceKeysBySelf()
484 if (!reply.WriteStringVector(instanceKeys)) { in HandleGetAllRunningInstanceKeysBySelf()
499 std::vector<std::string> instanceKeys; in HandleGetAllRunningInstanceKeysByBundleName() local
500 int32_t result = GetAllRunningInstanceKeysByBundleName(bundleName, instanceKeys, userId); in HandleGetAllRunningInstanceKeysByBundleName()
501 if (!reply.WriteStringVector(instanceKeys)) { in HandleGetAllRunningInstanceKeysByBundleName()
H A Dapp_mgr_proxy.cpp222 int32_t AppMgrProxy::GetAllRunningInstanceKeysBySelf(std::vector<std::string> &instanceKeys) in GetAllRunningInstanceKeysBySelf() argument
232 if (!reply.ReadStringVector(&instanceKeys)) { in GetAllRunningInstanceKeysBySelf()
240 std::vector<std::string> &instanceKeys, int32_t userId) in GetAllRunningInstanceKeysByBundleName()
252 if (!reply.ReadStringVector(&instanceKeys)) { in GetAllRunningInstanceKeysByBundleName()
239 GetAllRunningInstanceKeysByBundleName(const std::string &bundleName, std::vector<std::string> &instanceKeys, int32_t userId) GetAllRunningInstanceKeysByBundleName() argument
H A Dapp_mgr_client.cpp425 AppMgrResultCode AppMgrClient::GetAllRunningInstanceKeysBySelf(std::vector<std::string> &instanceKeys) in GetAllRunningInstanceKeysBySelf() argument
429 int32_t result = service->GetAllRunningInstanceKeysBySelf(instanceKeys); in GetAllRunningInstanceKeysBySelf()
441 std::vector<std::string> &instanceKeys, int32_t userId) in GetAllRunningInstanceKeysByBundleName()
445 int32_t result = service->GetAllRunningInstanceKeysByBundleName(bundleName, instanceKeys, userId); in GetAllRunningInstanceKeysByBundleName()
440 GetAllRunningInstanceKeysByBundleName(const std::string &bundleName, std::vector<std::string> &instanceKeys, int32_t userId) GetAllRunningInstanceKeysByBundleName() argument
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_runtime/context/
H A Dapplication_context.h148 int32_t GetAllRunningInstanceKeys(std::vector<std::string> &instanceKeys);
H A Dcontext_impl.h359 int32_t GetAllRunningInstanceKeys(std::vector<std::string> &instanceKeys);
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/context/
H A Djs_application_context_utils.cpp974 std::shared_ptr<std::vector<std::string>> instanceKeys = std::make_shared<std::vector<std::string>>(); in OnGetAllRunningInstanceKeys() local
976 [applicationContext = applicationContext_, innerErrCode, instanceKeys]() { in OnGetAllRunningInstanceKeys()
988 *innerErrCode = context->GetAllRunningInstanceKeys(*instanceKeys); in OnGetAllRunningInstanceKeys()
990 auto complete = [applicationContext = applicationContext_, innerErrCode, instanceKeys]( in OnGetAllRunningInstanceKeys()
997 task.ResolveWithNoError(env, CreateNativeArray(env, *instanceKeys)); in OnGetAllRunningInstanceKeys()
H A Dapplication_context.cpp601 int32_t ApplicationContext::GetAllRunningInstanceKeys(std::vector<std::string> &instanceKeys) in GetAllRunningInstanceKeys() argument
603 return (contextImpl_ != nullptr) ? contextImpl_->GetAllRunningInstanceKeys(instanceKeys) : -1; in GetAllRunningInstanceKeys()
H A Dcontext_impl.cpp1238 int32_t ContextImpl::GetAllRunningInstanceKeys(std::vector<std::string> &instanceKeys) in GetAllRunningInstanceKeys() argument
1241 auto result = appMgrClient->GetAllRunningInstanceKeysBySelf(instanceKeys); in GetAllRunningInstanceKeys()
/foundation/ability/ability_runtime/services/appmgr/src/
H A Dapp_mgr_service.cpp407 int32_t AppMgrService::GetAllRunningInstanceKeysBySelf(std::vector<std::string> &instanceKeys) in GetAllRunningInstanceKeysBySelf() argument
412 return appMgrServiceInner_->GetAllRunningInstanceKeysBySelf(instanceKeys); in GetAllRunningInstanceKeysBySelf()
416 std::vector<std::string> &instanceKeys, int32_t userId) in GetAllRunningInstanceKeysByBundleName()
421 return appMgrServiceInner_->GetAllRunningInstanceKeysByBundleName(bundleName, instanceKeys, userId); in GetAllRunningInstanceKeysByBundleName()
415 GetAllRunningInstanceKeysByBundleName(const std::string &bundleName, std::vector<std::string> &instanceKeys, int32_t userId) GetAllRunningInstanceKeysByBundleName() argument
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_inner_test/
H A Dapp_mgr_service_inner_test.cpp4384 std::vector<std::string> instanceKeys; in HWTEST_F() local
4385 int32_t ret = appMgrServiceInner->GetAllRunningInstanceKeysBySelf(instanceKeys); in HWTEST_F()
4389 ret = appMgrServiceInner->GetAllRunningInstanceKeysBySelf(instanceKeys); in HWTEST_F()
4393 ret = appMgrServiceInner->GetAllRunningInstanceKeysBySelf(instanceKeys); in HWTEST_F()
4412 std::vector<std::string> instanceKeys; in HWTEST_F() local
4413 int32_t ret = appMgrServiceInner->GetAllRunningInstanceKeysByBundleName(bundleName, instanceKeys); in HWTEST_F()

Completed in 47 milliseconds

12