Lines Matching refs:sptr
114 bool ApiCaller::SetBackCaller(const sptr<IRemoteObject> &caller)
129 void ApiCaller::SetBackCallerHandler(function<void(sptr<IRemoteObject>)> handler)
134 ApiCallerProxy::ApiCallerProxy(const sptr<IRemoteObject> &impl) : IRemoteProxy<IApiCaller>(impl) {}
165 bool ApiCallerProxy::SetBackCaller(const OHOS::sptr<IRemoteObject> &caller)
178 bool ApiCallerProxy::SetRemoteDeathCallback(const sptr<IRemoteObject::DeathRecipient> &callback)
183 bool ApiCallerProxy::UnsetRemoteDeathCallback(const sptr<OHOS::IRemoteObject::DeathRecipient> &callback)
193 static sptr<IRemoteObject> PublishCallerAndWaitForBackcaller(const sptr<ApiCaller> &caller, string_view token)
204 sptr<IRemoteObject> remoteCallerObject = nullptr;
205 caller->SetBackCallerHandler([&remoteCallerObject, &condition](const sptr<IRemoteObject> &remote) {
222 static sptr<IRemoteObject> WaitForPublishedCaller(string_view token)
230 sptr<IRemoteObject> remoteObject = nullptr;
299 sptr<IRemoteObject> remoteObject = nullptr;