/base/accessibility/util/src/ |
D | json_utils.cpp | 219 …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/ |
D | accessibility_ability_info.h | 157 inline void SetAccessibilityAbilityType(uint32_t abilityTypes) in SetAccessibilityAbilityType() argument 159 abilityTypes_ = abilityTypes; in SetAccessibilityAbilityType()
|
/base/accessibility/frameworks/asacfwk/test/mock/ |
D | mock_accessible_ability_manager_service_impl.h | 44 …std::vector<AccessibilityAbilityInfo> GetAbilityList(const uint32_t abilityTypes, const int32_t st… in GetAbilityList() argument
|
D | mock_accessible_ability_manager_service_stub.h | 38 …std::vector<AccessibilityAbilityInfo> GetAbilityList(const uint32_t abilityTypes, const int32_t st… in GetAbilityList() argument
|
/base/accessibility/interfaces/kits/js/ |
D | @ohos.accessibility.d.ts | 299 readonly abilityTypes: Array<AbilityType>; property
|
/base/accessibility/frameworks/asacfwk/include/ |
D | accessible_ability_manager_service_interface.h | 69 virtual std::vector<AccessibilityAbilityInfo> GetAbilityList(const uint32_t abilityTypes,
|
D | accessible_ability_manager_service_proxy.h | 78 const uint32_t abilityTypes, const int32_t stateType) override;
|
/base/accessibility/frameworks/asacfwk/test/unittest/ |
D | accessibility_ability_info_test.cpp | 139 uint32_t abilityTypes = 0; variable 140 EXPECT_EQ(accessibilityAbilityInfo_->GetAccessibilityAbilityType(), abilityTypes);
|
/base/accessibility/frameworks/aafwk/test/mock/ |
D | mock_accessible_ability_manager_service_proxy.cpp | 45 const uint32_t abilityTypes, const int32_t stateType) in GetAbilityList() argument
|
/base/accessibility/services/test/mock/ |
D | accessible_ability_manager_service_mock.cpp | 125 …essibilityAbilityInfo> AccessibleAbilityManagerService::GetAbilityList(const uint32_t abilityTypes, in GetAbilityList() argument 144 if (ability.GetAccessibilityAbilityType() & abilityTypes) { in GetAbilityList()
|
/base/accessibility/util/include/ |
D | json_utils.h | 95 …c void ParseAbilityTypesFromVec(const std::vector<std::string>& abilities, uint32_t& abilityTypes);
|
/base/accessibility/services/aams/src/ |
D | accessible_ability_manager_service.cpp | 241 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/ |
D | accessible_ability_manager_service.h | 61 std::vector<AccessibilityAbilityInfo> GetAbilityList(const uint32_t abilityTypes,
|
/base/accessibility/services/aams/test/mock/ |
D | accessible_ability_manager_service_mock.cpp | 136 …essibilityAbilityInfo> AccessibleAbilityManagerService::GetAbilityList(const uint32_t abilityTypes, in GetAbilityList() argument 155 if (ability.GetAccessibilityAbilityType() & abilityTypes) { in GetAbilityList()
|
/base/accessibility/frameworks/asacfwk/src/ |
D | accessible_ability_manager_service_stub.cpp | 154 uint32_t abilityTypes = data.ReadUint32(); in HandleGetAbilityList() local 157 abilityInfos = GetAbilityList(abilityTypes, stateType); in HandleGetAbilityList()
|
D | accessible_ability_manager_service_proxy.cpp | 205 const uint32_t abilityTypes, const int32_t stateType) in GetAbilityList() argument 220 if (!data.WriteUint32(abilityTypes)) { in GetAbilityList()
|
/base/accessibility/interfaces/kits/napi/src/ |
D | napi_accessibility_system_ability_client.cpp | 154 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()
|
D | napi_accessibility_utils.cpp | 260 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()
|