Lines Matching refs:ErrorCode
118 if (Init() != ErrorCode::NO_ERROR) { in OnStart()
141 return ErrorCode::NO_ERROR; in Init()
295 IMSA_HILOGE("%s %d\n", ErrorCode::ToString(ErrorCode::ERROR_USER_NOT_UNLOCKED), userId); in getDisplayMode()
296 return ErrorCode::ERROR_USER_NOT_UNLOCKED; in getDisplayMode()
299 return ErrorCode::NO_ERROR; in getDisplayMode()
314 IMSA_HILOGE("%s %d\n", ErrorCode::ToString(ErrorCode::ERROR_USER_NOT_UNLOCKED), userId); in getKeyboardWindowHeight()
315 return ErrorCode::ERROR_USER_NOT_UNLOCKED; in getKeyboardWindowHeight()
319 if (ret != ErrorCode::NO_ERROR) { in getKeyboardWindowHeight()
338 IMSA_HILOGE("%s %d\n", ErrorCode::ToString(ErrorCode::ERROR_USER_NOT_UNLOCKED), userId); in getCurrentKeyboardType()
339 return ErrorCode::ERROR_USER_NOT_UNLOCKED; in getCurrentKeyboardType()
344 return ErrorCode::ERROR_NULL_POINTER; in getCurrentKeyboardType()
348 return ErrorCode::ERROR_NULL_POINTER; in getCurrentKeyboardType()
351 return ErrorCode::NO_ERROR; in getCurrentKeyboardType()
366 IMSA_HILOGE("%s %d\n", ErrorCode::ToString(ErrorCode::ERROR_USER_NOT_UNLOCKED), userId); in listInputMethodEnabled()
367 return ErrorCode::ERROR_USER_NOT_UNLOCKED; in listInputMethodEnabled()
379 return ErrorCode::NO_ERROR; in listInputMethodEnabled()
384 return ErrorCode::NO_ERROR; in listInputMethod()
400 return ErrorCode::ERROR_STATUS_UNKNOWN_ERROR; in listInputMethodByUserId()
423 return ErrorCode::NO_ERROR; in listInputMethodByUserId()
439 IMSA_HILOGE("%s %d\n", ErrorCode::ToString(ErrorCode::ERROR_USER_NOT_UNLOCKED), userId); in listKeyboardType()
440 return ErrorCode::ERROR_USER_NOT_UNLOCKED; in listKeyboardType()
579 IMSA_HILOGE("Aborted! %s\n", ErrorCode::ToString(ErrorCode::ERROR_BAD_PARAMETERS)); in OnUserStarted()
580 return ErrorCode::ERROR_BAD_PARAMETERS; in OnUserStarted()
596 …IMSA_HILOGE("Aborted! %s %d\n", ErrorCode::ToString(ErrorCode::ERROR_USER_ALREADY_STARTED), userId… in OnUserStarted()
597 return ErrorCode::ERROR_USER_ALREADY_STARTED; in OnUserStarted()
606 return ErrorCode::NO_ERROR; in OnUserStarted()
618 IMSA_HILOGE("Aborted! %s\n", ErrorCode::ToString(ErrorCode::ERROR_BAD_PARAMETERS)); in OnUserStopped()
619 return ErrorCode::ERROR_BAD_PARAMETERS; in OnUserStopped()
625 … IMSA_HILOGE("Aborted! %s %d\n", ErrorCode::ToString(ErrorCode::ERROR_USER_NOT_STARTED), userId); in OnUserStopped()
626 return ErrorCode::ERROR_USER_NOT_STARTED; in OnUserStopped()
629 … IMSA_HILOGE("Aborted! %s %d\n", ErrorCode::ToString(ErrorCode::ERROR_USER_NOT_LOCKED), userId); in OnUserStopped()
630 return ErrorCode::ERROR_USER_NOT_LOCKED; in OnUserStopped()
642 return ErrorCode::NO_ERROR; in OnUserStopped()
654 IMSA_HILOGE("Aborted! %s\n", ErrorCode::ToString(ErrorCode::ERROR_BAD_PARAMETERS)); in OnUserUnlocked()
655 return ErrorCode::ERROR_BAD_PARAMETERS; in OnUserUnlocked()
661 … IMSA_HILOGE("Aborted! %s %d\n", ErrorCode::ToString(ErrorCode::ERROR_USER_NOT_STARTED), userId); in OnUserUnlocked()
662 return ErrorCode::ERROR_USER_NOT_STARTED; in OnUserUnlocked()
665 …IMSA_HILOGE("Aborted! %s %d\n", ErrorCode::ToString(ErrorCode::ERROR_USER_ALREADY_UNLOCKED), userI… in OnUserUnlocked()
666 return ErrorCode::ERROR_USER_ALREADY_UNLOCKED; in OnUserUnlocked()
677 return ErrorCode::NO_ERROR; in OnUserUnlocked()
689 IMSA_HILOGE("Aborted! %s\n", ErrorCode::ToString(ErrorCode::ERROR_BAD_PARAMETERS)); in OnUserLocked()
690 return ErrorCode::ERROR_BAD_PARAMETERS; in OnUserLocked()
695 … IMSA_HILOGE("Aborted! %s %d\n", ErrorCode::ToString(ErrorCode::ERROR_USER_NOT_UNLOCKED), userId); in OnUserLocked()
696 return ErrorCode::ERROR_USER_NOT_UNLOCKED; in OnUserLocked()
715 return ErrorCode::NO_ERROR; in OnUserLocked()
734 return ErrorCode::ERROR_USER_NOT_UNLOCKED; in OnHandleMessage()
742 return ErrorCode::NO_ERROR; in OnHandleMessage()
760 IMSA_HILOGE("Aborted! %s\n", ErrorCode::ToString(ErrorCode::ERROR_BAD_PARAMETERS)); in OnPackageAdded()
761 return ErrorCode::ERROR_BAD_PARAMETERS; in OnPackageAdded()
766 … IMSA_HILOGE("Aborted! %s %d\n", ErrorCode::ToString(ErrorCode::ERROR_USER_NOT_UNLOCKED), userId); in OnPackageAdded()
767 return ErrorCode::ERROR_USER_NOT_UNLOCKED; in OnPackageAdded()
771 if (ret != ErrorCode::NO_ERROR) { in OnPackageAdded()
797 return ErrorCode::ERROR_NULL_POINTER; in OnPackageRemoved()
803 IMSA_HILOGE("Aborted! %s\n", ErrorCode::ToString(ErrorCode::ERROR_BAD_PARAMETERS)); in OnPackageRemoved()
804 return ErrorCode::ERROR_BAD_PARAMETERS; in OnPackageRemoved()
809 … IMSA_HILOGE("Aborted! %s %d\n", ErrorCode::ToString(ErrorCode::ERROR_USER_NOT_UNLOCKED), userId); in OnPackageRemoved()
810 return ErrorCode::ERROR_USER_NOT_UNLOCKED; in OnPackageRemoved()
815 return ErrorCode::ERROR_NULL_POINTER; in OnPackageRemoved()
820 if (ret != ErrorCode::NO_ERROR) { in OnPackageRemoved()
846 IMSA_HILOGE("Aborted! %s\n", ErrorCode::ToString(ErrorCode::ERROR_BAD_PARAMETERS)); in OnSettingChanged()
847 return ErrorCode::ERROR_BAD_PARAMETERS; in OnSettingChanged()
853 … IMSA_HILOGE("Aborted! %s %d\n", ErrorCode::ToString(ErrorCode::ERROR_USER_NOT_UNLOCKED), userId); in OnSettingChanged()
854 return ErrorCode::ERROR_USER_NOT_UNLOCKED; in OnSettingChanged()
858 return ErrorCode::ERROR_NULL_POINTER; in OnSettingChanged()
861 if (ret == ErrorCode::ERROR_SETTING_SAME_VALUE) { in OnSettingChanged()
870 return ErrorCode::NO_ERROR; in OnSettingChanged()
883 return ErrorCode::NO_ERROR; in OnSettingChanged()
968 … IMSA_HILOGE("Aborted! %s %d\n", ErrorCode::ToString(ErrorCode::ERROR_USER_NOT_UNLOCKED), userId); in OnDisableIms()
969 return ErrorCode::ERROR_USER_NOT_UNLOCKED; in OnDisableIms()
977 return ErrorCode::NO_ERROR; in OnDisableIms()
994 … IMSA_HILOGE("Aborted! %s %d\n", ErrorCode::ToString(ErrorCode::ERROR_USER_NOT_UNLOCKED), userId); in OnAdvanceToNext()
995 return ErrorCode::ERROR_USER_NOT_UNLOCKED; in OnAdvanceToNext()
1007 return ErrorCode::NO_ERROR; in OnAdvanceToNext()