Home
last modified time | relevance | path

Searched refs:ResultCallback (Results 1 – 24 of 24) sorted by relevance

/external/ot-br-posix/src/mdns/
Dmdns.hpp158 using ResultCallback = OnceCallback<void(otbrError aError)>; typedef in otbr::Mdns::Publisher
209 ResultCallback && aCallback);
219 …UnpublishService(const std::string &aName, const std::string &aType, ResultCallback &&aCallback) =…
236 …void PublishHost(const std::string &aName, const std::vector<uint8_t> &aAddress, ResultCallback &&…
245 virtual void UnpublishHost(const std::string &aName, ResultCallback &&aCallback) = 0;
389 ResultCallback mCallback;
392 Registration(ResultCallback &&aCallback, Publisher *aPublisher) in Registration()
430 ResultCallback &&aCallback, in ServiceRegistration()
464 ResultCallback && aCallback, in HostRegistration()
498 ResultCallback && aCallback) = 0;
[all …]
Dmdns.cpp56 ResultCallback && aCallback) in PublishService()
63 …ishHost(const std::string &aName, const std::vector<uint8_t> &aAddress, ResultCallback &&aCallback) in PublishHost()
280 Publisher::ResultCallback Publisher::HandleDuplicateServiceRegistration(const std::string &aHostNam… in HandleDuplicateServiceRegistration()
286ResultCallback && aCallback) in HandleDuplicateServiceRegistration()
308 …[](std::shared_ptr<ResultCallback> aExistingCallback, std::shared_ptr<ResultCallback> aNewCallback, in HandleDuplicateServiceRegistration()
313 std::make_shared<ResultCallback>(std::move(serviceReg->mCallback)), in HandleDuplicateServiceRegistration()
314 std::make_shared<ResultCallback>(std::move(aCallback)), std::placeholders::_1); in HandleDuplicateServiceRegistration()
321 Publisher::ResultCallback Publisher::HandleDuplicateHostRegistration(const std::string & aN… in HandleDuplicateHostRegistration()
323ResultCallback && aCallback) in HandleDuplicateHostRegistration()
345 …[](std::shared_ptr<ResultCallback> aExistingCallback, std::shared_ptr<ResultCallback> aNewCallback, in HandleDuplicateHostRegistration()
[all …]
Dmdns_avahi.hpp77 …void UnpublishService(const std::string &aName, const std::string &aType, ResultCallback &&aC…
78 void UnpublishHost(const std::string &aName, ResultCallback &&aCallback) override;
94 ResultCallback && aCallback) override;
97 ResultCallback && aCallback) override;
117 ResultCallback && aCallback, in AvahiServiceRegistration()
144 ResultCallback && aCallback, in AvahiHostRegistration()
Dmdns_mdnssd.hpp68 …void UnpublishService(const std::string &aName, const std::string &aType, ResultCallback &&aCallba…
70 void UnpublishHost(const std::string &aName, ResultCallback &&aCallback) override;
91 ResultCallback && aCallback) override;
94 ResultCallback && aCallback) override;
113 ResultCallback && aCallback, in DnssdServiceRegistration()
140 ResultCallback && aCallback, in DnssdHostRegistration()
Dmdns_mdnssd.cpp482 ResultCallback && aCallback) in PublishServiceImpl()
531 …d::UnpublishService(const std::string &aName, const std::string &aType, ResultCallback &&aCallback) in UnpublishService()
544 ResultCallback && aCallback) in PublishHostImpl()
589 void PublisherMDnsSd::UnpublishHost(const std::string &aName, ResultCallback &&aCallback) in UnpublishHost()
Dmdns_avahi.cpp643 ResultCallback && aCallback) in PublishServiceImpl()
710 …i::UnpublishService(const std::string &aName, const std::string &aType, ResultCallback &&aCallback) in UnpublishService()
723 ResultCallback && aCallback) in PublishHostImpl()
771 void PublisherAvahi::UnpublishHost(const std::string &aName, ResultCallback &&aCallback) in UnpublishHost()
/external/skia/src/gpu/
DRefCntedCallback.h22 using ResultCallback = void (*)(Context, CallbackResult); variable
31 static sk_sp<RefCntedCallback> Make(ResultCallback proc, Context ctx) { in Make()
59 RefCntedCallback(ResultCallback proc, Context ctx) in RefCntedCallback()
67 ResultCallback fResultReleaseProc = nullptr;
/external/openscreen/cast/standalone_sender/
Dreceiver_chooser.h30 using ResultCallback = std::function<void(IPEndpoint)>;
34 ResultCallback result_callback);
52 ResultCallback result_callback_;
Dreceiver_chooser.cc27 ResultCallback result_callback) in ReceiverChooser()
/external/cronet/third_party/protobuf/src/google/protobuf/stubs/
Dcallback.h85 class ResultCallback {
87 ResultCallback() {} in ResultCallback() function
88 virtual ~ResultCallback() {} in ~ResultCallback()
93 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ResultCallback);
259 class FunctionResultCallback_0_0 : public ResultCallback<R> {
280 class FunctionResultCallback_1_0 : public ResultCallback<R> {
353 class MethodResultCallback_0_0 : public ResultCallback<R> {
499 inline ResultCallback<R>* NewCallback(R (*function)()) { in NewCallback()
505 inline ResultCallback<R>* NewPermanentCallback(R (*function)()) { in NewPermanentCallback()
511 inline ResultCallback<R>* NewCallback(R (*function)(P1), P1 p1) { in NewCallback()
[all …]
/external/protobuf/src/google/protobuf/stubs/
Dcallback.h85 class ResultCallback {
87 ResultCallback() {} in ResultCallback() function
88 virtual ~ResultCallback() {} in ~ResultCallback()
93 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ResultCallback);
259 class FunctionResultCallback_0_0 : public ResultCallback<R> {
280 class FunctionResultCallback_1_0 : public ResultCallback<R> {
353 class MethodResultCallback_0_0 : public ResultCallback<R> {
499 inline ResultCallback<R>* NewCallback(R (*function)()) { in NewCallback()
505 inline ResultCallback<R>* NewPermanentCallback(R (*function)()) { in NewPermanentCallback()
511 inline ResultCallback<R>* NewCallback(R (*function)(P1), P1 p1) { in NewCallback()
[all …]
/external/cronet/base/win/
Dasync_operation.h101 using ResultCallback = base::OnceCallback<void(StorageT)>; variable
131 ResultCallback callback() { in callback()
149 ResultCallback callback_;
/external/cronet/net/dns/
Dmdns_client.h74 ResultCallback; typedef
172 const MDnsTransaction::ResultCallback& callback) = 0;
Dmdns_client_impl.h236 const MDnsTransaction::ResultCallback& callback) override;
309 const MDnsTransaction::ResultCallback& callback,
356 MDnsTransaction::ResultCallback callback_;
Dmock_mdns_client.h40 const MDnsTransaction::ResultCallback&));
Dmdns_client_impl.cc488 const MDnsTransaction::ResultCallback& callback) { in CreateTransaction()
626 const MDnsTransaction::ResultCallback& callback, in MDnsTransactionImpl()
683 MDnsTransaction::ResultCallback callback = callback_; in TriggerCallback()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/
DCastPlayer.java64 import com.google.android.gms.common.api.ResultCallback;
373 new ResultCallback<MediaChannelResult>() { in setPlayWhenReady()
491 new ResultCallback<MediaChannelResult>() { in setPlaybackParameters()
516 new ResultCallback<MediaChannelResult>() { in setRepeatMode()
833 private void updatePlayerStateAndNotifyIfChanged(@Nullable ResultCallback<?> resultCallback) { in updatePlayerStateAndNotifyIfChanged()
850 private void updatePlaybackRateAndNotifyIfChanged(@Nullable ResultCallback<?> resultCallback) { in updatePlaybackRateAndNotifyIfChanged()
866 private void updateRepeatModeAndNotifyIfChanged(@Nullable ResultCallback<?> resultCallback) { in updateRepeatModeAndNotifyIfChanged()
1375 private final class SeekResultCallback implements ResultCallback<MediaChannelResult> {
1407 @Nullable public ResultCallback<MediaChannelResult> pendingResultCallback;
1428 public boolean acceptsUpdate(@Nullable ResultCallback<?> resultCallback) { in acceptsUpdate()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/
DCastPlayer.java67 import com.google.android.gms.common.api.ResultCallback;
419 new ResultCallback<MediaChannelResult>() { in setPlayWhenReady()
537 new ResultCallback<MediaChannelResult>() { in setPlaybackParameters()
562 new ResultCallback<MediaChannelResult>() { in setRepeatMode()
893 private void updatePlayerStateAndNotifyIfChanged(@Nullable ResultCallback<?> resultCallback) { in updatePlayerStateAndNotifyIfChanged()
910 private void updatePlaybackRateAndNotifyIfChanged(@Nullable ResultCallback<?> resultCallback) { in updatePlaybackRateAndNotifyIfChanged()
926 private void updateRepeatModeAndNotifyIfChanged(@Nullable ResultCallback<?> resultCallback) { in updateRepeatModeAndNotifyIfChanged()
1465 private final class SeekResultCallback implements ResultCallback<MediaChannelResult> {
1497 @Nullable public ResultCallback<MediaChannelResult> pendingResultCallback;
1518 public boolean acceptsUpdate(@Nullable ResultCallback<?> resultCallback) { in acceptsUpdate()
/external/cronet/net/proxy_resolution/
Dproxy_resolver_mac.cc77 void ResultCallback(void* client, CFArrayRef proxies, CFErrorRef error) { in ResultCallback() function
276 pac_url_ref.get(), query_url_ref.get(), ResultCallback, &context)); in GetProxyForURL()
/external/ot-br-posix/src/sdp_proxy/
Dadvertising_proxy.cpp284 … Mdns::Publisher::ResultCallback([this, hasUpdate, updateId, fullHostName](otbrError aError) { in PublishHostAndItsServices()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/extensions/cast/src/test/java/com/google/android/exoplayer2/ext/cast/
DCastPlayerTest.java80 import com.google.android.gms.common.api.ResultCallback;
112 private ArgumentCaptor<ResultCallback<RemoteMediaClient.MediaChannelResult>>
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/extensions/cast/src/test/java/com/google/android/exoplayer2/ext/cast/
DCastPlayerTest.java80 import com.google.android.gms.common.api.ResultCallback;
112 private ArgumentCaptor<ResultCallback<RemoteMediaClient.MediaChannelResult>>
/external/googletest/docs/
Dgmock_cook_book.md2270 ResultCallback<bool>* is_ok = ...;
2356 ResultCallback<bool>* is_ok = ...;
/external/cronet/third_party/googletest/src/docs/
Dgmock_cook_book.md2225 ResultCallback<bool>* is_ok = ...;
2311 ResultCallback<bool>* is_ok = ...;