Home
last modified time | relevance | path

Searched refs:targetBundleNames (Results 1 - 25 of 43) sorted by relevance

12

/foundation/barrierfree/accessibility/interfaces/innerkits/common/include/
H A Daccessibility_ability_info.h124 * @param targetBundleNames the target bundle name to set.
126 inline void SetFilterBundleNames(const std::vector<std::string> &targetBundleNames) in SetFilterBundleNames() argument
128 targetBundleNames_ = targetBundleNames; in SetFilterBundleNames()
/foundation/barrierfree/accessibility/frameworks/common/test/mock/include/
H A Dmock_accessibility_ability_info.h115 * @param targetBundleNames the target bundle name to set.
117 inline void SetFilterBundleNames(const std::vector<std::string> &targetBundleNames) in SetFilterBundleNames() argument
119 targetBundleNames_ = targetBundleNames; in SetFilterBundleNames()
/foundation/barrierfree/accessibility/services/aams/test/mock/src/
H A Dmock_accessible_ability_channel_proxy.cpp151 RetError AccessibleAbilityChannelProxy::SetTargetBundleName(const std::vector<std::string> &targetBundleNames) in SetTargetBundleName() argument
153 (void)targetBundleNames; in SetTargetBundleName()
H A Dmock_accessible_ability_connection.cpp142 RetError AccessibleAbilityChannel::SetTargetBundleName(const std::vector<std::string> &targetBundleNames) in SetTargetBundleName() argument
145 (void)targetBundleNames; in SetTargetBundleName()
/foundation/barrierfree/accessibility/frameworks/aafwk/test/mock/src/
H A Dmock_accessible_ability_channel_proxy.cpp165 RetError AccessibleAbilityChannelProxy::SetTargetBundleName(const std::vector<std::string> &targetBundleNames) in SetTargetBundleName() argument
168 (void)targetBundleNames; in SetTargetBundleName()
H A Dmock_accessible_ability_client_impl.cpp262 RetError AccessibleAbilityClientImpl::SetTargetBundleName(const std::vector<std::string> &targetBundleNames) in SetTargetBundleName() argument
265 (void)targetBundleNames; in SetTargetBundleName()
/foundation/barrierfree/accessibility/services/test/moduletest/mock/src/
H A Dmock_mt_accessible_ability_channel_proxy.cpp151 RetError AccessibleAbilityChannelProxy::SetTargetBundleName(const std::vector<std::string> &targetBundleNames) in SetTargetBundleName() argument
153 (void)targetBundleNames; in SetTargetBundleName()
/foundation/barrierfree/accessibility/interfaces/kits/napi/accessibility_extension_module_loader/src/
H A Dnapi_accessibility_extension_context.cpp236 std::vector<std::string> targetBundleNames; in OnSetTargetBundleName() local
238 if (ConvertJSToStringVec(env, info.argv[PARAM0], targetBundleNames)) { in OnSetTargetBundleName()
239 HILOG_INFO("targetBundleNames's size = %{public}zu", targetBundleNames.size()); in OnSetTargetBundleName()
253 return SetTargetBundleNameCompleteTask(env, targetBundleNames, info); in OnSetTargetBundleName()
256 napi_value SetTargetBundleNameCompleteTask(napi_env env, std::vector<std::string> targetBundleNames, in SetTargetBundleNameCompleteTask() argument
260 NapiAsyncTask::ExecuteCallback execute = [weak = context_, targetBundleNames, ret] () { in SetTargetBundleNameCompleteTask()
269 *ret = context->SetTargetBundleName(targetBundleNames); in SetTargetBundleNameCompleteTask()
H A Daccessibility_extension_context.cpp169 RetError AccessibilityExtensionContext::SetTargetBundleName(const std::vector<std::string> &targetBundleNames) in SetTargetBundleName() argument
177 return aaClient->SetTargetBundleName(targetBundleNames); in SetTargetBundleName()
/foundation/barrierfree/accessibility/common/interface/src/
H A Daccessible_ability_channel_stub.cpp412 std::vector<std::string> targetBundleNames; in HandleSetTargetBundleName() local
414 bool verifyResult = ContainerSecurityVerify(data, size, targetBundleNames.max_size()); in HandleSetTargetBundleName()
420 targetBundleNames.emplace_back(temp); in HandleSetTargetBundleName()
422 RetError result = SetTargetBundleName(targetBundleNames); in HandleSetTargetBundleName()
H A Daccessible_ability_channel_proxy.cpp540 RetError AccessibleAbilityChannelProxy::SetTargetBundleName(const std::vector<std::string> &targetBundleNames) in SetTargetBundleName() argument
551 if (!data.WriteInt32(targetBundleNames.size())) { in SetTargetBundleName()
552 HILOG_ERROR("targetBundleNames.size() write error: %{public}zu, ", targetBundleNames.size()); in SetTargetBundleName()
555 for (auto &targetBundleName : targetBundleNames) { in SetTargetBundleName()
/foundation/barrierfree/accessibility/services/aams/test/unittest/
H A Daccessible_ability_channel_test.cpp446 std::vector<std::string> targetBundleNames; in HWTEST_F() local
447 EXPECT_EQ(channel_->SetTargetBundleName(targetBundleNames), RET_OK); in HWTEST_F()
466 std::vector<std::string> targetBundleNames; in HWTEST_F() local
467 EXPECT_EQ(channel->SetTargetBundleName(targetBundleNames), RET_ERR_NO_CONNECTION); in HWTEST_F()
/foundation/barrierfree/accessibility/services/test/moduletest/aamstest/aams_accessibility_ability_channel_test/
H A Daams_accessibility_ability_channel_test.cpp446 std::vector<std::string> targetBundleNames; in HWTEST_F() local
447 EXPECT_EQ(channel_->SetTargetBundleName(targetBundleNames), RET_OK); in HWTEST_F()
466 std::vector<std::string> targetBundleNames; in HWTEST_F() local
467 EXPECT_EQ(channel->SetTargetBundleName(targetBundleNames), RET_ERR_NO_CONNECTION); in HWTEST_F()
/foundation/barrierfree/accessibility/common/interface/test/unittest/mock/
H A Dmock_accessible_ability_channel_stub.cpp412 std::vector<std::string> targetBundleNames; in HandleSetTargetBundleName() local
414 bool verifyResult = ContainerSecurityVerify(data, size, targetBundleNames.max_size()); in HandleSetTargetBundleName()
420 targetBundleNames.emplace_back(temp); in HandleSetTargetBundleName()
422 RetError result = SetTargetBundleName(targetBundleNames); in HandleSetTargetBundleName()
H A Dmock_accessible_ability_channel_proxy.cpp540 RetError AccessibleAbilityChannelProxyMock::SetTargetBundleName(const std::vector<std::string> &targetBundleNames) in SetTargetBundleName() argument
551 if (!data.WriteInt32(targetBundleNames.size())) { in SetTargetBundleName()
552 HILOG_ERROR("targetBundleNames.size() write error: %{public}zu, ", targetBundleNames.size()); in SetTargetBundleName()
555 for (auto &targetBundleName : targetBundleNames) { in SetTargetBundleName()
/foundation/barrierfree/accessibility/frameworks/aafwk/test/unittest/
H A Daccessible_ability_channel_client_test.cpp421 std::vector<std::string> targetBundleNames; in HWTEST_F() local
422 EXPECT_EQ(client->SetTargetBundleName(targetBundleNames), RET_ERR_SAMGR); in HWTEST_F()
435 std::vector<std::string> targetBundleNames; in HWTEST_F() local
436 EXPECT_EQ(instance_->SetTargetBundleName(targetBundleNames), RET_OK); in HWTEST_F()
H A Daccessibility_ui_test_ability_impl_test.cpp759 std::vector<std::string> targetBundleNames; in HWTEST_F() local
760 EXPECT_EQ(instance_->SetTargetBundleName(targetBundleNames), RET_ERR_NULLPTR); in HWTEST_F()
779 std::vector<std::string> targetBundleNames; in HWTEST_F() local
780 EXPECT_EQ(instance_->SetTargetBundleName(targetBundleNames), RET_OK); in HWTEST_F()
/foundation/barrierfree/accessibility/interfaces/kits/napi/accessibility_extension_module_loader/include/
H A Daccessibility_extension_context.h154 * @param targetBundleNames The target bundle name
157 RetError SetTargetBundleName(const std::vector<std::string> &targetBundleNames);
/foundation/barrierfree/accessibility/frameworks/aafwk/include/
H A Daccessible_ability_channel_client.h175 * @param targetBundleNames The target bundle name
178 RetError SetTargetBundleName(const std::vector<std::string> &targetBundleNames);
/foundation/barrierfree/accessibility/frameworks/aafwk/test/mock/include/
H A Dmock_accessible_ability_channel_stub.h55 MOCK_METHOD1(SetTargetBundleName, RetError(const std::vector<std::string> &targetBundleNames));
H A Dmock_accessible_ability_channel_proxy.h53 MOCK_METHOD1(SetTargetBundleName, RetError(const std::vector<std::string> &targetBundleNames));
/foundation/barrierfree/accessibility/common/interface/include/
H A Di_accessible_ability_channel.h163 * @param targetBundleNames The target bundle name
166 virtual RetError SetTargetBundleName(const std::vector<std::string> &targetBundleNames) = 0;
H A Daccessible_ability_channel_proxy.h168 * @param targetBundleNames The target bundle name
171 virtual RetError SetTargetBundleName(const std::vector<std::string> &targetBundleNames) override;
/foundation/barrierfree/accessibility/interfaces/innerkits/test/mock/
H A Dmock_a11y_uitest_benchmark.cpp759 std::vector<std::string> targetBundleNames; in HWTEST_F() local
760 EXPECT_EQ(instance_->SetTargetBundleName(targetBundleNames), RET_ERR_NULLPTR); in HWTEST_F()
779 std::vector<std::string> targetBundleNames; in HWTEST_F() local
780 EXPECT_EQ(instance_->SetTargetBundleName(targetBundleNames), RET_OK); in HWTEST_F()
/foundation/barrierfree/accessibility/services/aams/src/
H A Daccessibility_dumper.cpp238 std::vector<std::string> targetBundleNames = accessibilityAbilityInfo.GetFilterBundleNames(); in DumpAccessibilityClientInfo() local
239 if (targetBundleNames.empty()) { in DumpAccessibilityClientInfo()
240 oss << " targetBundleNames: " << "all" << std::endl; in DumpAccessibilityClientInfo()
242 oss << " targetBundleNames: " << std::endl; in DumpAccessibilityClientInfo()
243 for (const auto &targetBundleName : targetBundleNames) { in DumpAccessibilityClientInfo()

Completed in 16 milliseconds

12