Home
last modified time | relevance | path

Searched refs:extensionInfos (Results 1 – 25 of 34) sorted by relevance

12

/base/account/os_account/services/accountmgr/src/appaccount/
Dapp_account_authenticator_manager.cpp29 std::vector<AppExecFwk::ExtensionAbilityInfo> &extensionInfos) in QueryAbilityInfos() argument
38 want, AppExecFwk::BundleFlag::GET_BUNDLE_WITH_ABILITIES, userId, extensionInfos); in QueryAbilityInfos()
47 want, AppExecFwk::BundleFlag::GET_BUNDLE_WITH_ABILITIES, userId, extensionInfos); in QueryAbilityInfos()
60 std::vector<AppExecFwk::ExtensionAbilityInfo> extensionInfos; in GetAuthenticatorInfo() local
61 ErrCode ret = QueryAbilityInfos(owner, userId, abilityInfos, extensionInfos); in GetAuthenticatorInfo()
78 auto iter_extensionInfos = std::find_if(extensionInfos.begin(), extensionInfos.end(), in GetAuthenticatorInfo()
79 [extensionInfos](AppExecFwk::ExtensionAbilityInfo extensionInfo) { in GetAuthenticatorInfo()
82 if (iter_extensionInfos != extensionInfos.end()) { in GetAuthenticatorInfo()
Dapp_account_manager_service.cpp711 std::vector<AppExecFwk::ExtensionAbilityInfo> extensionInfos; in QueryAbilityInfo() local
714 … AppExecFwk::ExtensionAbilityInfoFlag::GET_EXTENSION_INFO_DEFAULT, userId, extensionInfos); in QueryAbilityInfo()
715 if ((!result) || (extensionInfos.size() == 0)) { in QueryAbilityInfo()
719 extensionInfo = extensionInfos[0]; in QueryAbilityInfo()
725 if ((!bundleRet) || (bundleInfo.extensionInfos.size() == 0)) { in QueryAbilityInfo()
730 for (auto iter : bundleInfo.extensionInfos) { in QueryAbilityInfo()
/base/account/os_account/services/accountmgr/test/mock/common/
Dbundle_manager_adapter.cpp69 bundleInfo.extensionInfos.emplace_back(extensionInfo); in GetBundleInfo()
78 bundleInfo.extensionInfos.emplace_back(extensionInfo); in GetBundleInfo()
85 bundleInfo.extensionInfos.emplace_back(extensionInfo1); in GetBundleInfo()
89 bundleInfo.extensionInfos.emplace_back(extensionInfo2); in GetBundleInfo()
103 const int32_t &userId, std::vector<AppExecFwk::ExtensionAbilityInfo> &extensionInfos) in QueryExtensionAbilityInfos() argument
111 …nt32_t &flag, const int32_t &userId, std::vector<AppExecFwk::ExtensionAbilityInfo> &extensionInfos) in QueryExtensionAbilityInfos() argument
122 extensionInfos.emplace_back(extensionInfo); in QueryExtensionAbilityInfos()
Dbundle_manager_adapter.h43 const int32_t &userId, std::vector<AppExecFwk::ExtensionAbilityInfo> &extensionInfos);
45 …t32_t &flag, const int32_t &userId, std::vector<AppExecFwk::ExtensionAbilityInfo> &extensionInfos);
/base/notification/common_event_service/services/test/unittest/
Dbundle_manager_helper_test.cpp133 std::vector<AppExecFwk::ExtensionAbilityInfo> extensionInfos; in HWTEST_F() local
135 EXPECT_EQ(false, bundleManagerHelper.QueryExtensionInfos(extensionInfos, userId)); in HWTEST_F()
149 std::vector<AppExecFwk::ExtensionAbilityInfo> extensionInfos; in HWTEST_F() local
150 EXPECT_EQ(false, bundleManagerHelper.QueryExtensionInfos(extensionInfos)); in HWTEST_F()
165 std::vector<AppExecFwk::ExtensionAbilityInfo> extensionInfos; in HWTEST_F() local
166 EXPECT_EQ(false, bundleManagerHelper.QueryExtensionInfos(extensionInfos)); in HWTEST_F()
Dbundle_manager_helper_other_test.cpp77 std::vector<AppExecFwk::ExtensionAbilityInfo> extensionInfos; in HWTEST_F() local
79 EXPECT_EQ(false, bundleManagerHelper.QueryExtensionInfos(extensionInfos, userId)); in HWTEST_F()
/base/notification/common_event_service/services/test/unittest/mock/
Dmock_bundle_manager_helper.cpp218 …leManagerHelper::QueryExtensionInfos(std::vector<AppExecFwk::ExtensionAbilityInfo> &extensionInfos, in QueryExtensionInfos() argument
221 extensionInfos = g_mockExtensionInfos; in QueryExtensionInfos()
225 …leManagerHelper::QueryExtensionInfos(std::vector<AppExecFwk::ExtensionAbilityInfo> &extensionInfos) in QueryExtensionInfos() argument
227 extensionInfos = g_mockExtensionInfos; in QueryExtensionInfos()
/base/account/os_account/services/accountmgr/test/moduletest/common/
Dbundle_manager_adapter_module_test.cpp87 std::vector<ExtensionAbilityInfo> extensionInfos; variable
88 …dleManagerAdapterProxyRemoteNull->QueryExtensionAbilityInfos(want, FLAGS, USER_ID, extensionInfos);
195 std::vector<ExtensionAbilityInfo> extensionInfos; variable
196 …sult = bundleManagerAdapterProxy->QueryExtensionAbilityInfos(want, FLAGS, USER_ID, extensionInfos);
594 std::vector<ExtensionAbilityInfo> extensionInfos; variable
610 …eManagerAdapterProxyRemoteNull->ParseExtensionAbilityInfos(testBundleInfo1, extensionInfos), true);
623 std::vector<ExtensionAbilityInfo> extensionInfos; variable
646 …eManagerAdapterProxyRemoteNull->ParseExtensionAbilityInfos(testBundleInfo1, extensionInfos), true);
647 …eManagerAdapterProxyRemoteNull->ParseExtensionAbilityInfos(testBundleInfo2, extensionInfos), true);
698 std::vector<ExtensionAbilityInfo> extensionInfos; variable
[all …]
/base/customization/enterprise_device_management/test/unittest/mock/src/
Dbundle_manager_mock.cpp29 const int32_t &flag, const int32_t &userId, std::vector<ExtensionAbilityInfo> &extensionInfos) in QueryExtensionAbilityInfos() argument
43 extensionInfos.emplace_back(extensionAbilityInfo); in QueryExtensionAbilityInfos()
117 const int32_t &flag, const int32_t &userId, std::vector<ExtensionAbilityInfo> &extensionInfos) in QueryExtensionAbilityInfos() argument
131 extensionInfos.emplace_back(extensionAbilityInfo); in QueryExtensionAbilityInfos()
/base/notification/common_event_service/services/src/
Dbundle_manager_helper.cpp56 …leManagerHelper::QueryExtensionInfos(std::vector<AppExecFwk::ExtensionAbilityInfo> &extensionInfos, in QueryExtensionInfos() argument
69 userId, extensionInfos); in QueryExtensionInfos()
72 …leManagerHelper::QueryExtensionInfos(std::vector<AppExecFwk::ExtensionAbilityInfo> &extensionInfos) in QueryExtensionInfos() argument
94 userId, extensionInfos); in QueryExtensionInfos()
/base/account/os_account/services/accountmgr/include/bundle_manager_adapter/
Dbundle_manager_adapter.h49 std::vector<AppExecFwk::ExtensionAbilityInfo> &extensionInfos);
51 …t32_t &flag, const int32_t &userId, std::vector<AppExecFwk::ExtensionAbilityInfo> &extensionInfos);
Dbundle_manager_adapter_proxy.h88 std::vector<ExtensionAbilityInfo> &extensionInfos) override;
91 … int32_t &flag, const int32_t &userId, std::vector<ExtensionAbilityInfo> &extensionInfos) override;
104 nlohmann::json jsonObject, std::vector<ExtensionAbilityInfo> &extensionInfos);
/base/customization/enterprise_device_management/test/unittest/mock/include/
Dbundle_manager_mock.h35 … int32_t &flag, const int32_t &userId, std::vector<ExtensionAbilityInfo> &extensionInfos) override;
58 … int32_t &flag, const int32_t &userId, std::vector<ExtensionAbilityInfo> &extensionInfos) override;
/base/account/os_account/services/accountmgr/src/bundle_manager_adapter/
Dbundle_manager_adapter.cpp97 const int32_t &userId, std::vector<AppExecFwk::ExtensionAbilityInfo> &extensionInfos) in QueryExtensionAbilityInfos() argument
106 auto ret = proxy_->QueryExtensionAbilityInfos(want, flag, userId, extensionInfos); in QueryExtensionAbilityInfos()
113 …nt32_t &flag, const int32_t &userId, std::vector<AppExecFwk::ExtensionAbilityInfo> &extensionInfos) in QueryExtensionAbilityInfos() argument
122 … auto ret = proxy_->QueryExtensionAbilityInfos(want, extensionType, flag, userId, extensionInfos); in QueryExtensionAbilityInfos()
Dbundle_manager_adapter_proxy.cpp111 nlohmann::json jsonObject, std::vector<ExtensionAbilityInfo> &extensionInfos) in ParseExtensionAbilityInfos() argument
134 extensionInfos.emplace_back(abilityInfo); in ParseExtensionAbilityInfos()
173 if (!ParseExtensionAbilityInfos(jsonObject, info.extensionInfos)) { in ParseInfo()
322 const int32_t &userId, std::vector<ExtensionAbilityInfo> &extensionInfos) in QueryExtensionAbilityInfos() argument
342 …ParcelableInfos(BundleMgrInterfaceCode::QUERY_EXTENSION_INFO_WITHOUT_TYPE, data, extensionInfos)) { in QueryExtensionAbilityInfos()
350 const int32_t &flag, const int32_t &userId, std::vector<ExtensionAbilityInfo> &extensionInfos) in QueryExtensionAbilityInfos() argument
374 if (!GetParcelableInfos(BundleMgrInterfaceCode::QUERY_EXTENSION_INFO, data, extensionInfos)) { in QueryExtensionAbilityInfos()
/base/print/print_fwk/services/src/
Dprint_bms_helper.cpp36 … PrintBMSHelper::QueryExtensionInfos(std::vector<AppExecFwk::ExtensionAbilityInfo> &extensionInfos) in QueryExtensionInfos() argument
49 helper_->QueryExtension(sptrBundleMgr_, userId, extensionInfos); in QueryExtensionInfos()
Dprint_service_helper.cpp119 std::vector<AppExecFwk::ExtensionAbilityInfo> &extensionInfos) in QueryExtension() argument
122 … mgr->QueryExtensionAbilityInfos(AppExecFwk::ExtensionAbilityType::PRINT, userId, extensionInfos); in QueryExtension()
/base/print/print_fwk/test/unittest/service_test/
Dprint_service_helper_test.cpp140 std::vector<AppExecFwk::ExtensionAbilityInfo> extensionInfos; variable
141 helper.QueryExtension(mgr, userId, extensionInfos);
/base/print/print_fwk/services/include/
Dprint_service_helper.h35 std::vector<AppExecFwk::ExtensionAbilityInfo> &extensionInfos);
/base/notification/common_event_service/services/include/
Dbundle_manager_helper.h73 …bool QueryExtensionInfos(std::vector<AppExecFwk::ExtensionAbilityInfo> &extensionInfos, const int3…
/base/inputmethod/imf/services/src/
Dime_info_inquirer.cpp223 std::vector<ExtensionAbilityInfo> extensionInfos; in ListInputMethodInfo() local
224 if (!QueryImeExtInfos(userId, extensionInfos)) { in ListInputMethodInfo()
229 for (const auto &extension : extensionInfos) { in ListInputMethodInfo()
265 std::vector<ExtensionAbilityInfo> extensionInfos; in ListInputMethod() local
267 … [this, &userId, &extensionInfos]() -> bool { return QueryImeExtInfos(userId, extensionInfos); }); in ListInputMethod()
268 for (const auto &extension : extensionInfos) { in ListInputMethod()
/base/print/print_fwk/frameworks/innerkitsimpl/include/
Diprint_service.h43 virtual int32_t QueryAllExtension(std::vector<PrintExtensionInfo> &extensionInfos) = 0;
Dprint_service_proxy.h37 int32_t QueryAllExtension(std::vector<PrintExtensionInfo> &extensionInfos) override;
Dprint_manager_client.h47 int32_t QueryAllExtension(std::vector<PrintExtensionInfo> &extensionInfos);
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/
Dprint_manager_client_test.cpp245 std::vector<PrintExtensionInfo> extensionInfos; variable
247 int32_t ret = PrintManagerClient::GetInstance()->QueryAllExtension(extensionInfos);
259 std::vector<PrintExtensionInfo> extensionInfos; variable
262 int32_t ret = PrintManagerClient::GetInstance()->QueryAllExtension(extensionInfos);
274 std::vector<PrintExtensionInfo> extensionInfos; variable
277 int32_t ret = PrintManagerClient::GetInstance()->QueryAllExtension(extensionInfos);
299 [&testExtensionInfos](std::vector<PrintExtensionInfo> &extensionInfos) { in __anoncc824ebd0502() argument
300 extensionInfos.assign(testExtensionInfos.begin(), testExtensionInfos.end()); in __anoncc824ebd0502()
358 std::vector<PrintExtensionInfo> extensionInfos; variable
428 std::vector<PrintExtensionInfo> extensionInfos; variable

12