• Home
  • Raw
  • Download

Lines Matching refs:core

151     auto core = GetImsCore(CURRENT_IME);  in ShowKeyboard()  local
152 if (core == nullptr) { in ShowKeyboard()
156 int32_t ret = core->ShowKeyboard(channel, isShowKeyboard, attachFlag); in ShowKeyboard()
178 sptr<IInputMethodCore> core = GetImsCore(CURRENT_IME); in HideKeyboard() local
179 if (core == nullptr) { in HideKeyboard()
186 auto ret = core->HideKeyboard(); in HideKeyboard()
193 sptr<IInputMethodCore> core = GetImsCore(CURRENT_IME); in ClearDataChannel() local
194 if (core == nullptr || channel == nullptr) { in ClearDataChannel()
198 return core->ClearDataChannel(channel); in ClearDataChannel()
364 int32_t PerUserSession::OnSetCoreAndAgent(const sptr<IInputMethodCore> &core, const sptr<IInputMeth… in OnSetCoreAndAgent() argument
367 if (core == nullptr || agent == nullptr) { in OnSetCoreAndAgent()
371 if (imsDeathRecipient_ == nullptr || core->AsObject() == nullptr) { in OnSetCoreAndAgent()
375 …imsDeathRecipient_->SetDeathRecipient([this, core](const wptr<IRemoteObject> &) { this->OnImsDied( in OnSetCoreAndAgent()
376 if (!core->AsObject()->AddDeathRecipient(imsDeathRecipient_)) { in OnSetCoreAndAgent()
380 SetImsCore(CURRENT_IME, core); in OnSetCoreAndAgent()
402 auto core = GetImsCore(CURRENT_IME); in InitInputControlChannel() local
403 if (core == nullptr) { in InitInputControlChannel()
407 return core->InitInputControlChannel( in InitInputControlChannel()
424 sptr<IInputMethodCore> core = GetImsCore(CURRENT_IME); in StopInputService() local
425 if (core == nullptr) { in StopInputService()
430 core->AsObject()->RemoveDeathRecipient(imsDeathRecipient_); in StopInputService()
431 core->StopInputService(imeId); in StopInputService()
451 auto core = GetImsCore(index); in ClearImeData() local
452 if (core != nullptr) { in ClearImeData()
453 core->AsObject()->RemoveDeathRecipient(imsDeathRecipient_); in ClearImeData()
476 sptr<IInputMethodCore> core = GetImsCore(CURRENT_IME); in OnSwitchIme() local
477 if (core == nullptr) { in OnSwitchIme()
481 int32_t ret = core->SetSubtype(subProperty); in OnSwitchIme()
513 void PerUserSession::SetImsCore(int32_t index, sptr<IInputMethodCore> core) in SetImsCore() argument
519 imsCore[index] = core; in SetImsCore()