Searched refs:switchCallback (Results 1 – 2 of 2) sorted by relevance
60 sptr<ISwitchCallback> switchCallback = iface_cast<ISwitchCallback>(callback); in RegisterSwitchCallback() local61 if (switchCallback == nullptr) { in RegisterSwitchCallback()68 switchCallbacks_->insert(std::make_pair(uid, switchCallback)); in RegisterSwitchCallback()80 sptr<ISwitchCallback> switchCallback = iface_cast<ISwitchCallback>(callback); in UnregisterSwitchCallback() local81 if (switchCallback == nullptr) { in UnregisterSwitchCallback()
418 sptr<ISwitchCallback> switchCallback = iface_cast<ISwitchCallback>(callback); in RegisterSwitchCallback() local419 if (switchCallback == nullptr) { in RegisterSwitchCallback()425 switchCallbacks_->insert(std::make_pair(uid, switchCallback)); in RegisterSwitchCallback()437 sptr<ISwitchCallback> switchCallback = iface_cast<ISwitchCallback>(callback); in UnregisterSwitchCallback() local438 if (switchCallback == nullptr) { in UnregisterSwitchCallback()