/external/openscreen/util/ |
D | osp_logging.h | 76 #define OSP_CHECK(condition) \ macro 80 OSP_CHECK((a) == (b)) << (a) << " vs. " << (b) << ": " 82 OSP_CHECK((a) != (b)) << (a) << " vs. " << (b) << ": " 83 #define OSP_CHECK_LT(a, b) OSP_CHECK((a) < (b)) << (a) << " vs. " << (b) << ": " 85 OSP_CHECK((a) <= (b)) << (a) << " vs. " << (b) << ": " 86 #define OSP_CHECK_GT(a, b) OSP_CHECK((a) > (b)) << (a) << " vs. " << (b) << ": " 88 OSP_CHECK((a) >= (b)) << (a) << " vs. " << (b) << ": " 92 #define OSP_DCHECK(condition) OSP_CHECK(condition)
|
D | flat_map.h | 58 OSP_CHECK(it != this->end()) << "failed to erase: element not found"; in erase_key()
|
/external/openscreen/cast/receiver/channel/ |
D | static_credentials.cc | 35 OSP_CHECK(root_key); in GenerateCredentials() 36 OSP_CHECK(root_cert); in GenerateCredentials() 39 OSP_CHECK(intermediate_key); in GenerateCredentials() 40 OSP_CHECK(device_key); in GenerateCredentials() 46 OSP_CHECK(intermediate_cert_or_error); in GenerateCredentials() 55 OSP_CHECK(device_cert_or_error); in GenerateCredentials() 85 OSP_CHECK(tls_cert_or_error); in GenerateCredentials() 92 OSP_CHECK(RSA_private_key_to_bytes(&pkey_bytes, &pkey_len, rsa_key)); in GenerateCredentials() 100 OSP_CHECK(RSA_public_key_to_bytes(&pkey_bytes, &pkey_len, rsa_key)); in GenerateCredentials() 124 OSP_CHECK(root_key); in GeneratePrivateKey() [all …]
|
/external/openscreen/platform/test/ |
D | fake_udp_socket.cc | 31 OSP_CHECK(bind_errors_.size()) << "No Bind responses queued."; in Bind() 37 OSP_CHECK(set_multicast_outbound_interface_errors_.size()) in SetMulticastOutboundInterface() 44 OSP_CHECK(join_multicast_group_errors_.size()) in JoinMulticastGroup() 50 OSP_CHECK(set_dscp_errors_.size()) << "No SetDscp responses queued."; in SetDscp() 72 OSP_CHECK(send_errors_.size()) << "No SendMessage responses queued."; in SendMessage()
|
D | fake_clock.cc | 27 OSP_CHECK(task_runners_.empty()); in ~FakeClock() 69 OSP_CHECK(std::find(task_runners_.begin(), task_runners_.end(), in SubscribeToTimeChanges() 77 OSP_CHECK(it != task_runners_.end()); in UnsubscribeFromTimeChanges()
|
D | fake_task_runner.cc | 14 OSP_CHECK(clock_); in FakeTaskRunner()
|
/external/openscreen/cast/standalone_receiver/ |
D | main.cc | 76 OSP_CHECK(name != nullptr) << "Missing mandatory argument: interface."; in GetInterfaceInfoFromName() 94 OSP_CHECK(!interface_info.name.empty()) << "Invalid interface specified."; in GetInterfaceInfoFromName() 211 OSP_CHECK(interface_name && strlen(interface_name) > 0) in RunStandaloneReceiver() 218 OSP_CHECK(creds.is_value()) << creds.error(); in RunStandaloneReceiver() 221 OSP_CHECK(interface.GetIpAddressV4() || interface.GetIpAddressV6()); in RunStandaloneReceiver()
|
D | streaming_playback_controller.cc | 42 OSP_CHECK(window_) << "Failed to create SDL window: " << SDL_GetError(); 44 OSP_CHECK(renderer_) << "Failed to create SDL renderer: " << SDL_GetError();
|
/external/openscreen/cast/test/ |
D | cast_socket_e2e_test.cc | 59 OSP_CHECK(!socket_); in OnConnected() 105 OSP_CHECK(!socket_); in OnConnected() 191 OSP_CHECK(loopback); in GetLoopbackV4Address() 193 OSP_CHECK(address); in GetLoopbackV4Address() 199 OSP_CHECK(loopback); in GetLoopbackV6Address()
|
/external/openscreen/osp/impl/testing/ |
D | fake_mdns_platform_service.cc | 20 OSP_CHECK(registered_interfaces_.empty()); in RegisterInterfaces() 43 OSP_CHECK(it != registered_interfaces_.end()) in DeregisterInterfaces()
|
D | fake_mdns_responder_adapter.cc | 28 OSP_CHECK(full_instance_name); in MakePtrEvent() 44 OSP_CHECK(full_instance_name); in MakeSrvEvent() 49 OSP_CHECK(domain_name); in MakeSrvEvent() 65 OSP_CHECK(domain_name); in MakeTxtEvent() 77 OSP_CHECK(domain_name); in MakeAEvent() 89 OSP_CHECK(domain_name); in MakeAaaaEvent() 186 OSP_CHECK(!running_); in Init() 383 OSP_CHECK(canonical_service_type.Append(DomainName::GetLocalDomain()).ok()); in StartPtrQuery() 459 OSP_CHECK(canonical_service_type.Append(DomainName::GetLocalDomain()).ok()); in StopPtrQuery()
|
/external/openscreen/osp/impl/discovery/mdns/ |
D | domain_name.cc | 23 OSP_CHECK(first.domain_name_.size()); in Append() 24 OSP_CHECK(second.domain_name_.size()); in Append() 83 OSP_CHECK(after.domain_name_.size()); in Append()
|
/external/openscreen/discovery/dnssd/impl/ |
D | service_dispatcher.cc | 26 OSP_CHECK(querier); in ForAllQueriers() 39 OSP_CHECK(publisher); in ForAllPublishers() 134 OSP_CHECK(publisher); in DeregisterAll()
|
/external/openscreen/cast/common/discovery/e2e_test/ |
D | tests.cc | 178 OSP_CHECK(done); in SetUpService() 195 OSP_CHECK(error.ok()) << "\tFailed to update service instance '" in UpdateRecords() 210 OSP_CHECK(error.ok()) << "\tFailed to publish service instance '" in PublishRecords() 226 OSP_CHECK(should_be_seen) << "Found service instance!"; in WaitUntilSeen() 238 OSP_CHECK(!should_be_seen) in WaitUntilSeen() 303 OSP_CHECK(!expect_to_be_present) in CheckForPublishedService()
|
/external/openscreen/cast/sender/testing/ |
D | test_helpers.cc | 73 OSP_CHECK(message); in CreateAppAvailableResponseChecked() 82 OSP_CHECK(message); in CreateAppUnavailableResponseChecked()
|
/external/openscreen/cast/sender/channel/ |
D | cast_auth_util.cc | 206 OSP_CHECK(DateTimeFromSeconds(verification_time.count(), in VerifyTLSCertificateValidity() 208 OSP_CHECK( in VerifyTLSCertificateValidity() 287 OSP_CHECK(DateTimeFromSeconds(GetWallTimeSinceUnixEpoch().count(), &now)); in AuthenticateChallengeReply() 393 OSP_CHECK(DateTimeFromSeconds(GetWallTimeSinceUnixEpoch().count(), &now)); in VerifyCredentials()
|
/external/openscreen/osp/public/presentation/ |
D | presentation_connection.h | 133 OSP_CHECK(endpoint_id_); in endpoint_id() 137 OSP_CHECK(connection_id_); in connection_id()
|
/external/openscreen/util/crypto/ |
D | random_bytes.cc | 20 OSP_CHECK(RAND_bytes(out, len) == 1); in GenerateRandomBytes()
|
D | openssl_util.cc | 42 OSP_CHECK(OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS, nullptr) == 1); in EnsureOpenSSLInit()
|
/external/openscreen/platform/impl/ |
D | network_interface_mac.cc | 54 OSP_CHECK(last_byte == UINT8_C(0x00)); in ToPrefixLength() 60 OSP_CHECK(netmask[i] == UINT8_C(0x00)); in ToPrefixLength()
|
D | socket_handle_waiter_posix.cc | 81 OSP_CHECK(!was_running); in RunUntilStopped()
|
/external/openscreen/cast/standalone_sender/ |
D | looping_file_sender.cc | 32 OSP_CHECK(senders.audio_config.codec == AudioCodec::kOpus); 33 OSP_CHECK(senders.video_config.codec == VideoCodec::kVp8);
|
/external/openscreen/osp/impl/ |
D | internal_services.cc | 96 OSP_CHECK(open_sockets_.empty()); in ~InternalPlatformLinkage() 182 OSP_CHECK(g_instance) << "No listener or publisher is alive."; in RegisterMdnsSocket()
|
D | mdns_responder_service.cc | 314 OSP_CHECK(service_type); in StartListening() 323 OSP_CHECK(service_type); in StopListening() 380 OSP_CHECK(domain_name) << "bad hostname configured: " << service_hostname_; in StartService() 384 OSP_CHECK(error.ok()); in StartService()
|
/external/openscreen/cast/streaming/ |
D | session_messager.cc | 94 OSP_CHECK(jsonified.is_value()) << "Tried to send an invalid message"; in SendOutboundMessage() 213 OSP_CHECK(message_json.is_value()) << "Tried to send an invalid message"; in SendMessage()
|