Home
last modified time | relevance | path

Searched refs:instanceKeys (Results 1 – 24 of 24) sorted by relevance

/ohos5.0/foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/libs/appexecfwk_core/include/appmgr/
H A Dapp_mgr_interface.h121 virtual int32_t GetAllRunningInstanceKeysBySelf(std::vector<std::string> &instanceKeys) = 0;
133 std::vector<std::string> &instanceKeys, int32_t userId = -1) = 0;
H A Dapp_mgr_client.h154 … virtual AppMgrResultCode GetAllRunningInstanceKeysBySelf(std::vector<std::string> &instanceKeys);
166 std::vector<std::string> &instanceKeys, int32_t userId = -1);
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/mock/include/
H A Dmock_app_mgr_client.h40 …METHOD1(GetAllRunningInstanceKeysBySelf, AppMgrResultCode(std::vector<std::string> &instanceKeys));
42 std::vector<std::string> &instanceKeys, int32_t userId));
/ohos5.0/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));
/ohos5.0/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));
/ohos5.0/foundation/ability/ability_runtime/test/unittest/app_mgr_service_test/
H A Dapp_mgr_service_test.cpp1812 std::vector<std::string> instanceKeys; variable
1813 int32_t res = appMgrService->GetAllRunningInstanceKeysBySelf(instanceKeys);
1833 std::vector<std::string> instanceKeys; variable
1834 int32_t ret = appMgrService->GetAllRunningInstanceKeysBySelf(instanceKeys);
1857 std::vector<std::string> instanceKeys; variable
1858 int32_t res = appMgrService->GetAllRunningInstanceKeysBySelf(instanceKeys);
1877 std::vector<std::string> instanceKeys; variable
1878 int32_t res = appMgrService->GetAllRunningInstanceKeysByBundleName(bundleName, instanceKeys);
1899 std::vector<std::string> instanceKeys; variable
1900 int32_t res = appMgrService->GetAllRunningInstanceKeysByBundleName(bundleName, instanceKeys);
[all …]
/ohos5.0/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/include/appmgr/
H A Dapp_mgr_interface.h167 virtual int32_t GetAllRunningInstanceKeysBySelf(std::vector<std::string> &instanceKeys) = 0;
179 std::vector<std::string> &instanceKeys, int32_t userId = -1) = 0;
H A Dapp_mgr_client.h261 … virtual AppMgrResultCode GetAllRunningInstanceKeysBySelf(std::vector<std::string> &instanceKeys);
273 std::vector<std::string> &instanceKeys, int32_t userId = -1);
H A Dapp_mgr_proxy.h145 … virtual int32_t GetAllRunningInstanceKeysBySelf(std::vector<std::string> &instanceKeys) override;
157 std::vector<std::string> &instanceKeys, int32_t userId = -1) override;
/ohos5.0/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));
/ohos5.0/foundation/ability/ability_runtime/services/appmgr/include/
H A Dapp_mgr_service.h170 … virtual int32_t GetAllRunningInstanceKeysBySelf(std::vector<std::string> &instanceKeys) override;
182 std::vector<std::string> &instanceKeys, int32_t userId = -1) override;
H A Dapp_mgr_service_inner.h383 virtual int32_t GetAllRunningInstanceKeysBySelf(std::vector<std::string> &instanceKeys);
395 std::vector<std::string> &instanceKeys, int32_t userId = -1);
1539 std::vector<std::string> &instanceKeys);
1631 std::vector<std::string> &instanceKeys, int32_t userId);
/ohos5.0/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/
H A Dapp_mgr_stub.cpp480 std::vector<std::string> instanceKeys; in HandleGetAllRunningInstanceKeysBySelf() local
481 int32_t result = GetAllRunningInstanceKeysBySelf(instanceKeys); in HandleGetAllRunningInstanceKeysBySelf()
482 if (!reply.WriteStringVector(instanceKeys)) { in HandleGetAllRunningInstanceKeysBySelf()
497 std::vector<std::string> instanceKeys; in HandleGetAllRunningInstanceKeysByBundleName() local
498 int32_t result = GetAllRunningInstanceKeysByBundleName(bundleName, instanceKeys, userId); in HandleGetAllRunningInstanceKeysByBundleName()
499 if (!reply.WriteStringVector(instanceKeys)) { in HandleGetAllRunningInstanceKeysByBundleName()
H A Dapp_mgr_client.cpp435 …MgrResultCode AppMgrClient::GetAllRunningInstanceKeysBySelf(std::vector<std::string> &instanceKeys) in GetAllRunningInstanceKeysBySelf() argument
439 int32_t result = service->GetAllRunningInstanceKeysBySelf(instanceKeys); in GetAllRunningInstanceKeysBySelf()
451 std::vector<std::string> &instanceKeys, int32_t userId) in GetAllRunningInstanceKeysByBundleName() argument
455 … int32_t result = service->GetAllRunningInstanceKeysByBundleName(bundleName, instanceKeys, userId); in GetAllRunningInstanceKeysByBundleName()
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() argument
252 if (!reply.ReadStringVector(&instanceKeys)) { in GetAllRunningInstanceKeysByBundleName()
/ohos5.0/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_runtime/context/
H A Dapplication_context.h145 int32_t GetAllRunningInstanceKeys(std::vector<std::string> &instanceKeys);
H A Dcontext_impl.h359 int32_t GetAllRunningInstanceKeys(std::vector<std::string> &instanceKeys);
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/context/
H A Djs_application_context_utils.cpp956 …std::shared_ptr<std::vector<std::string>> instanceKeys = std::make_shared<std::vector<std::string>… in OnGetAllRunningInstanceKeys() local
958 [applicationContext = applicationContext_, innerErrCode, instanceKeys]() { in OnGetAllRunningInstanceKeys()
969 *innerErrCode = context->GetAllRunningInstanceKeys(*instanceKeys); in OnGetAllRunningInstanceKeys()
971 auto complete = [applicationContext = applicationContext_, innerErrCode, instanceKeys]( in OnGetAllRunningInstanceKeys()
977 task.ResolveWithNoError(env, CreateNativeArray(env, *instanceKeys)); in OnGetAllRunningInstanceKeys()
H A Dapplication_context.cpp600 int32_t ApplicationContext::GetAllRunningInstanceKeys(std::vector<std::string> &instanceKeys) in GetAllRunningInstanceKeys() argument
602 return (contextImpl_ != nullptr) ? contextImpl_->GetAllRunningInstanceKeys(instanceKeys) : -1; in GetAllRunningInstanceKeys()
H A Dcontext_impl.cpp1214 int32_t ContextImpl::GetAllRunningInstanceKeys(std::vector<std::string> &instanceKeys) in GetAllRunningInstanceKeys() argument
1217 auto result = appMgrClient->GetAllRunningInstanceKeysBySelf(instanceKeys); in GetAllRunningInstanceKeys()
/ohos5.0/foundation/ability/ability_runtime/services/appmgr/src/
H A Dapp_mgr_service.cpp410 int32_t AppMgrService::GetAllRunningInstanceKeysBySelf(std::vector<std::string> &instanceKeys) in GetAllRunningInstanceKeysBySelf() argument
415 return appMgrServiceInner_->GetAllRunningInstanceKeysBySelf(instanceKeys); in GetAllRunningInstanceKeysBySelf()
419 std::vector<std::string> &instanceKeys, int32_t userId) in GetAllRunningInstanceKeysByBundleName() argument
424 …return appMgrServiceInner_->GetAllRunningInstanceKeysByBundleName(bundleName, instanceKeys, userId… in GetAllRunningInstanceKeysByBundleName()
H A Dapp_mgr_service_inner.cpp1817 int32_t AppMgrServiceInner::GetAllRunningInstanceKeysBySelf(std::vector<std::string> &instanceKeys) in GetAllRunningInstanceKeysBySelf() argument
1835 return GetAllRunningInstanceKeysByBundleNameInner(bundleName, instanceKeys, currentUserId_); in GetAllRunningInstanceKeysBySelf()
1839 std::vector<std::string> &instanceKeys, int32_t userId) in GetAllRunningInstanceKeysByBundleName() argument
1849 return GetAllRunningInstanceKeysByBundleNameInner(bundleName, instanceKeys, userId); in GetAllRunningInstanceKeysByBundleName()
1853 std::vector<std::string> &instanceKeys, int32_t userId) in GetAllRunningInstanceKeysByBundleNameInner() argument
1892 GetRunningMultiInstanceKeys(appRecord, instanceKeys); in GetAllRunningInstanceKeysByBundleNameInner()
1985 std::vector<std::string> &instanceKeys) in GetRunningMultiInstanceKeys() argument
1997 for (; index < instanceKeys.size(); ++index) { in GetRunningMultiInstanceKeys()
1998 if (instanceKeys[index] == appRecord->GetInstanceKey()) { in GetRunningMultiInstanceKeys()
2002 instanceKeys.emplace_back(appRecord->GetInstanceKey()); in GetRunningMultiInstanceKeys()
/ohos5.0/foundation/ability/ability_runtime/test/unittest/app_mgr_service_inner_test/
H A Dapp_mgr_service_inner_test.cpp4334 std::vector<std::string> instanceKeys; variable
4335 int32_t ret = appMgrServiceInner->GetAllRunningInstanceKeysBySelf(instanceKeys);
4339 ret = appMgrServiceInner->GetAllRunningInstanceKeysBySelf(instanceKeys);
4343 ret = appMgrServiceInner->GetAllRunningInstanceKeysBySelf(instanceKeys);
4362 std::vector<std::string> instanceKeys; variable
4363 … int32_t ret = appMgrServiceInner->GetAllRunningInstanceKeysByBundleName(bundleName, instanceKeys);