Lines Matching refs:accountData
53 sptr<AccessibilityAccountData> accountData =
55 if (!accountData) {
56 HILOG_ERROR("accountData is nullptr.");
59 RetError ret = accountData->GetConfig()->SetScreenMagnificationState(state);
80 sptr<AccessibilityAccountData> accountData =
82 if (!accountData) {
83 HILOG_ERROR("accountData is nullptr.");
87 RetError ret = accountData->GetConfig()->SetShortKeyState(state);
99 sptr<AccessibilityAccountData> accountData =
101 if (!accountData) {
102 HILOG_ERROR("accountData is nullptr.");
105 RetError ret = accountData->GetConfig()->SetMouseKeyState(state);
122 sptr<AccessibilityAccountData> accountData =
124 if (!accountData) {
125 HILOG_ERROR("accountData is nullptr.");
129 RetError ret = accountData->GetConfig()->SetMouseAutoClick(time);
151 sptr<AccessibilityAccountData> accountData =
153 if (!accountData) {
154 HILOG_ERROR("accountData is nullptr.");
158 RetError ret = accountData->GetConfig()->SetShortkeyTarget(name);
179 sptr<AccessibilityAccountData> accountData =
181 if (!accountData) {
182 HILOG_ERROR("accountData is nullptr.");
186 RetError ret = accountData->GetConfig()->SetShortkeyMultiTarget(name);
200 sptr<AccessibilityAccountData> accountData =
202 if (!accountData) {
203 HILOG_ERROR("accountData is nullptr.");
206 RetError ret = accountData->GetConfig()->SetHighContrastTextState(state);
218 sptr<AccessibilityAccountData> accountData =
220 if (!accountData) {
221 HILOG_ERROR("accountData is nullptr.");
224 RetError ret = accountData->GetConfig()->SetDaltonizationState(state);
236 sptr<AccessibilityAccountData> accountData =
238 if (!accountData) {
239 HILOG_ERROR("accountData is nullptr.");
242 RetError ret = accountData->GetConfig()->SetInvertColorState(state);
251 sptr<AccessibilityAccountData> accountData =
253 if (!accountData) {
254 HILOG_ERROR("accountData is nullptr.");
257 RetError ret = accountData->GetConfig()->SetAnimationOffState(state);
279 sptr<AccessibilityAccountData> accountData =
281 if (!accountData) {
282 HILOG_ERROR("accountData is nullptr.");
285 RetError ret = accountData->GetConfig()->SetAudioMonoState(state);
304 sptr<AccessibilityAccountData> accountData =
306 if (!accountData) {
307 HILOG_ERROR("accountData is nullptr.");
311 RetError ret = accountData->GetConfig()->SetDaltonizationColorFilter(filter);
329 sptr<AccessibilityAccountData> accountData =
331 if (!accountData) {
332 HILOG_ERROR("accountData is nullptr.");
336 RetError ret = accountData->GetConfig()->SetContentTimeout(time);
360 sptr<AccessibilityAccountData> accountData =
362 if (!accountData) {
363 HILOG_ERROR("accountData is nullptr.");
367 RetError ret = accountData->GetConfig()->SetBrightnessDiscount(discount);
389 sptr<AccessibilityAccountData> accountData =
391 if (!accountData) {
392 HILOG_ERROR("accountData is nullptr.");
396 RetError ret = accountData->GetConfig()->SetAudioBalance(balance);
418 sptr<AccessibilityAccountData> accountData =
420 if (!accountData) {
421 HILOG_ERROR("accountData is nullptr.");
425 RetError ret = accountData->GetConfig()->SetClickResponseTime(time);
448 sptr<AccessibilityAccountData> accountData =
450 if (!accountData) {
451 HILOG_ERROR("accountData is nullptr.");
455 RetError ret = accountData->GetConfig()->SetIgnoreRepeatClickState(state);
478 sptr<AccessibilityAccountData> accountData =
480 if (!accountData) {
481 HILOG_ERROR("accountData is nullptr.");
485 RetError ret = accountData->GetConfig()->SetIgnoreRepeatClickTime(time);
495 sptr<AccessibilityAccountData> accountData =
499 accountData->GetConfig()->SetDaltonizationState(atoHosValue.daltonizationState);
502 accountData->GetConfig()->SetInvertColorState(atoHosValue.invertColor);
505 accountData->GetConfig()->SetAudioMonoState(atoHosValue.audioMono);
508 accountData->GetConfig()->SetHighContrastTextState(atoHosValue.highContrastText);
511 accountData->GetConfig()->SetIgnoreRepeatClickState(atoHosValue.ignoreRepeatClickState);
514 accountData->GetConfig()->SetShortKeyState(atoHosValue.shortcutEnabled);
518 accountData->GetConfig()->SetShortKeyTimeout(SHORT_KEY_TIMEOUT_AFTER_USE);
521 accountData->GetConfig()->SetShortKeyOnLockScreenState(true);
524 accountData->GetConfig()->SetShortKeyTimeout(SHORT_KEY_TIMEOUT_BEFORE_USE);
527 accountData->GetConfig()->SetShortKeyOnLockScreenState(atoHosValue.shortcutOnLockScreen == 1);
529 accountData->GetConfig()->SetShortKeyOnLockScreenState(atoHosValue.shortcutEnabledOnLockScreen == 1);
532 accountData->GetConfig()->SetScreenMagnificationState(atoHosValue.screenMagnificationState);
539 sptr<AccessibilityAccountData> accountData =
542 accountData->GetConfigValueAtoHos(atoHosValue);
559 accountData->GetConfig()->SetAudioBalance(atoHosValue.audioBalance);
563 accountData->GetConfig()->SetClickResponseTime(static_cast<uint32_t>(atoHosValue.clickResponseTime));
567 accountData->GetConfig()->SetIgnoreRepeatClickTime(static_cast<uint32_t>(atoHosValue.ignoreRepeatClickTime));
571 accountData->GetConfig()->SetDaltonizationColorFilter(static_cast<uint32_t>(atoHosValue.displayDaltonizer));
578 accountData->EnableAbility(SCREEN_READER_BUNDLE_ABILITY_NAME, capabilities);
580 accountData->GetConfig()->CloneShortkeyService(atoHosValue.isScreenReaderEnabled);
582 accountData->GetConfig()->SetStartFromAtoHosState(false);
597 sptr<AccessibilityAccountData> accountData =
599 if (!accountData) {
600 HILOG_ERROR("accountData is nullptr");
604 state = accountData->GetConfig()->GetScreenMagnificationState();
622 sptr<AccessibilityAccountData> accountData =
624 if (!accountData) {
625 HILOG_ERROR("accountData is nullptr");
629 state = accountData->GetConfig()->GetShortKeyState();
647 sptr<AccessibilityAccountData> accountData =
649 if (!accountData) {
650 HILOG_ERROR("accountData is nullptr");
654 state = accountData->GetConfig()->GetMouseKeyState();
667 sptr<AccessibilityAccountData> accountData =
669 if (!accountData) {
670 HILOG_ERROR("accountData is nullptr");
674 time = accountData->GetConfig()->GetMouseAutoClick();
688 sptr<AccessibilityAccountData> accountData =
690 if (!accountData) {
691 HILOG_ERROR("accountData is nullptr");
695 name = accountData->GetConfig()->GetShortkeyTarget();
709 sptr<AccessibilityAccountData> accountData =
711 if (!accountData) {
712 HILOG_ERROR("accountData is nullptr");
716 name = accountData->GetConfig()->GetShortkeyMultiTarget();
730 sptr<AccessibilityAccountData> accountData =
732 if (!accountData) {
733 HILOG_ERROR("accountData is nullptr");
737 state = accountData->GetConfig()->GetHighContrastTextState();
751 sptr<AccessibilityAccountData> accountData =
753 if (!accountData) {
754 HILOG_ERROR("accountData is nullptr");
758 state = accountData->GetConfig()->GetDaltonizationState();
772 sptr<AccessibilityAccountData> accountData =
774 if (!accountData) {
775 HILOG_ERROR("accountData is nullptr");
779 state = accountData->GetConfig()->GetInvertColorState();
793 sptr<AccessibilityAccountData> accountData =
795 if (!accountData) {
796 HILOG_ERROR("accountData is nullptr");
800 state = accountData->GetConfig()->GetAnimationOffState();
814 sptr<AccessibilityAccountData> accountData =
816 if (!accountData) {
817 HILOG_ERROR("accountData is nullptr");
821 state = accountData->GetConfig()->GetAudioMonoState();
835 sptr<AccessibilityAccountData> accountData =
837 if (!accountData) {
838 HILOG_ERROR("accountData is nullptr");
842 type = accountData->GetConfig()->GetDaltonizationColorFilter();
856 sptr<AccessibilityAccountData> accountData =
858 if (!accountData) {
859 HILOG_ERROR("accountData is nullptr");
863 timer = accountData->GetConfig()->GetContentTimeout();
877 sptr<AccessibilityAccountData> accountData =
879 if (!accountData) {
880 HILOG_ERROR("accountData is nullptr");
884 brightness = accountData->GetConfig()->GetBrightnessDiscount();
898 sptr<AccessibilityAccountData> accountData =
900 if (!accountData) {
901 HILOG_ERROR("accountData is nullptr");
905 balance = accountData->GetConfig()->GetAudioBalance();
919 sptr<AccessibilityAccountData> accountData =
921 if (!accountData) {
922 HILOG_ERROR("accountData is nullptr");
926 time = accountData->GetConfig()->GetClickResponseTime();
940 sptr<AccessibilityAccountData> accountData =
942 if (!accountData) {
943 HILOG_ERROR("accountData is nullptr");
947 state = accountData->GetConfig()->GetIgnoreRepeatClickState();
961 sptr<AccessibilityAccountData> accountData =
963 if (!accountData) {
964 HILOG_ERROR("accountData is nullptr");
968 time = accountData->GetConfig()->GetIgnoreRepeatClickTime();
979 sptr<AccessibilityAccountData> accountData =
981 if (!accountData) {
986 uint32_t state = accountData->GetConfig()->GetConfigState();
987 for (auto &callback : accountData->GetConfigCallbacks()) {
999 sptr<AccessibilityAccountData> accountData =
1001 if (!accountData) {
1006 float audioBalance = accountData->GetConfig()->GetAudioBalance();
1007 for (auto &callback : accountData->GetConfigCallbacks()) {
1019 sptr<AccessibilityAccountData> accountData =
1021 if (!accountData) {
1026 float brightnessDiscount = accountData->GetConfig()->GetBrightnessDiscount();
1027 for (auto &callback : accountData->GetConfigCallbacks()) {
1039 sptr<AccessibilityAccountData> accountData =
1041 if (!accountData) {
1046 uint32_t contentTimeout = accountData->GetConfig()->GetContentTimeout();
1047 for (auto &callback : accountData->GetConfigCallbacks()) {
1059 sptr<AccessibilityAccountData> accountData =
1061 if (!accountData) {
1066 uint32_t daltonizationColorFilter = accountData->GetConfig()->GetDaltonizationColorFilter();
1067 for (auto &callback : accountData->GetConfigCallbacks()) {
1079 sptr<AccessibilityAccountData> accountData =
1081 if (!accountData) {
1086 int32_t mouseAutoClick = accountData->GetConfig()->GetMouseAutoClick();
1087 for (auto &callback : accountData->GetConfigCallbacks()) {
1099 sptr<AccessibilityAccountData> accountData =
1101 if (!accountData) {
1106 std::string shortkeyTarget = accountData->GetConfig()->GetShortkeyTarget();
1107 for (auto &callback : accountData->GetConfigCallbacks()) {
1119 sptr<AccessibilityAccountData> accountData =
1121 if (!accountData) {
1126 std::vector<std::string> shortkeyMultiTarget = accountData->GetConfig()->GetShortkeyMultiTarget();
1127 for (auto &callback : accountData->GetConfigCallbacks()) {
1139 sptr<AccessibilityAccountData> accountData =
1141 if (!accountData) {
1146 uint32_t time = accountData->GetConfig()->GetClickResponseTime();
1147 for (auto &callback : accountData->GetConfigCallbacks()) {
1159 sptr<AccessibilityAccountData> accountData =
1161 if (!accountData) {
1166 uint32_t time = accountData->GetConfig()->GetIgnoreRepeatClickTime();
1167 for (auto &callback : accountData->GetConfigCallbacks()) {
1187 sptr<AccessibilityAccountData> accountData =
1189 if (!accountData) {
1190 HILOG_ERROR("accountData is nullptr.");
1194 caption = accountData->GetConfig()->GetCaptionProperty();
1212 sptr<AccessibilityAccountData> accountData =
1214 if (!accountData) {
1215 HILOG_ERROR("accountData is nullptr.");
1219 RetError ret = accountData->GetConfig()->SetCaptionProperty(caption);
1229 sptr<AccessibilityAccountData> accountData =
1231 if (!accountData) {
1232 HILOG_ERROR("accountData is nullptr.");
1235 RetError ret = accountData->GetConfig()->SetCaptionState(state);
1252 sptr<AccessibilityAccountData> accountData =
1254 if (!accountData) {
1255 HILOG_ERROR("accountData is nullptr");
1259 state = accountData->GetConfig()->GetCaptionState();
1269 sptr<AccessibilityAccountData> accountData =
1271 if (!accountData) {
1276 AccessibilityConfig::CaptionProperty caption = accountData->GetConfig()->GetCaptionProperty();
1277 for (auto &callback : accountData->GetCaptionPropertyCallbacks()) {