Home
last modified time | relevance | path

Searched refs:abilityTypes (Results 1 – 18 of 18) sorted by relevance

/base/accessibility/util/src/
Djson_utils.cpp219 …id PraseVecUtils::ParseAbilityTypesFromVec(const vector<string>& abilities, uint32_t& abilityTypes) in ParseAbilityTypesFromVec() argument
222 abilityTypes = 0; in ParseAbilityTypesFromVec()
226 abilityTypes |= AccessibilityAbilityTypes::ACCESSIBILITY_ABILITY_TYPE_SPOKEN; in ParseAbilityTypesFromVec()
230 abilityTypes |= AccessibilityAbilityTypes::ACCESSIBILITY_ABILITY_TYPE_HAPTIC; in ParseAbilityTypesFromVec()
234 abilityTypes |= AccessibilityAbilityTypes::ACCESSIBILITY_ABILITY_TYPE_AUDIBLE; in ParseAbilityTypesFromVec()
238 abilityTypes |= AccessibilityAbilityTypes::ACCESSIBILITY_ABILITY_TYPE_VISUAL; in ParseAbilityTypesFromVec()
242 abilityTypes |= AccessibilityAbilityTypes::ACCESSIBILITY_ABILITY_TYPE_GENERIC; in ParseAbilityTypesFromVec()
246 abilityTypes |= AccessibilityAbilityTypes::ACCESSIBILITY_ABILITY_TYPE_ALL; in ParseAbilityTypesFromVec()
/base/accessibility/interfaces/innerkits/asacfwk/include/
Daccessibility_ability_info.h157 inline void SetAccessibilityAbilityType(uint32_t abilityTypes) in SetAccessibilityAbilityType() argument
159 abilityTypes_ = abilityTypes; in SetAccessibilityAbilityType()
/base/accessibility/frameworks/asacfwk/test/mock/
Dmock_accessible_ability_manager_service_impl.h44 …std::vector<AccessibilityAbilityInfo> GetAbilityList(const uint32_t abilityTypes, const int32_t st… in GetAbilityList() argument
Dmock_accessible_ability_manager_service_stub.h38 …std::vector<AccessibilityAbilityInfo> GetAbilityList(const uint32_t abilityTypes, const int32_t st… in GetAbilityList() argument
/base/accessibility/interfaces/kits/js/
D@ohos.accessibility.d.ts299 readonly abilityTypes: Array<AbilityType>; property
/base/accessibility/frameworks/asacfwk/include/
Daccessible_ability_manager_service_interface.h69 virtual std::vector<AccessibilityAbilityInfo> GetAbilityList(const uint32_t abilityTypes,
Daccessible_ability_manager_service_proxy.h78 const uint32_t abilityTypes, const int32_t stateType) override;
/base/accessibility/frameworks/asacfwk/test/unittest/
Daccessibility_ability_info_test.cpp139 uint32_t abilityTypes = 0; variable
140 EXPECT_EQ(accessibilityAbilityInfo_->GetAccessibilityAbilityType(), abilityTypes);
/base/accessibility/frameworks/aafwk/test/mock/
Dmock_accessible_ability_manager_service_proxy.cpp45 const uint32_t abilityTypes, const int32_t stateType) in GetAbilityList() argument
/base/accessibility/services/test/mock/
Daccessible_ability_manager_service_mock.cpp125 …essibilityAbilityInfo> AccessibleAbilityManagerService::GetAbilityList(const uint32_t abilityTypes, in GetAbilityList() argument
144 if (ability.GetAccessibilityAbilityType() & abilityTypes) { in GetAbilityList()
/base/accessibility/util/include/
Djson_utils.h95 …c void ParseAbilityTypesFromVec(const std::vector<std::string>& abilities, uint32_t& abilityTypes);
/base/accessibility/services/aams/src/
Daccessible_ability_manager_service.cpp241 const uint32_t abilityTypes, const int32_t stateType) in GetAbilityList() argument
243 HILOG_DEBUG("abilityTypes(%{public}d) stateType(%{public}d)", abilityTypes, stateType); in GetAbilityList()
260 if (abilityTypes == AccessibilityAbilityTypes::ACCESSIBILITY_ABILITY_TYPE_ALL || in GetAbilityList()
261 (ability.GetAccessibilityAbilityType() & abilityTypes)) { in GetAbilityList()
/base/accessibility/services/aams/include/
Daccessible_ability_manager_service.h61 std::vector<AccessibilityAbilityInfo> GetAbilityList(const uint32_t abilityTypes,
/base/accessibility/services/aams/test/mock/
Daccessible_ability_manager_service_mock.cpp136 …essibilityAbilityInfo> AccessibleAbilityManagerService::GetAbilityList(const uint32_t abilityTypes, in GetAbilityList() argument
155 if (ability.GetAccessibilityAbilityType() & abilityTypes) { in GetAbilityList()
/base/accessibility/frameworks/asacfwk/src/
Daccessible_ability_manager_service_stub.cpp154 uint32_t abilityTypes = data.ReadUint32(); in HandleGetAbilityList() local
157 abilityInfos = GetAbilityList(abilityTypes, stateType); in HandleGetAbilityList()
Daccessible_ability_manager_service_proxy.cpp205 const uint32_t abilityTypes, const int32_t stateType) in GetAbilityList() argument
220 if (!data.WriteUint32(abilityTypes)) { in GetAbilityList()
/base/accessibility/interfaces/kits/napi/src/
Dnapi_accessibility_system_ability_client.cpp154 std::string abilityTypes = GetStringFromNAPI(env, parameters[0]); in GetAbilityList() local
156 …HILOG_INFO("abilityTypes[%{public}s] stateTypes[%{public}s]", abilityTypes.c_str(), stateTypes.c_s… in GetAbilityList()
159 callbackInfo->abilityTypes_ = ConvertStringToAccessibilityAbilityTypes(abilityTypes); in GetAbilityList()
Dnapi_accessibility_utils.cpp260 std::vector<std::string> abilityTypes = ParseAbilityTypesToVec(abilityTypesValue); in ConvertAccessibleAbilityInfoToJS() local
261 for (size_t idx = 0; idx < abilityTypes.size(); idx++) { in ConvertAccessibleAbilityInfoToJS()
263 …NAPI_CALL_RETURN_VOID(env, napi_create_string_utf8(env, abilityTypes[idx].c_str(), NAPI_AUTO_LENGT… in ConvertAccessibleAbilityInfoToJS()