Home
last modified time | relevance | path

Searched refs:OSP_LOG_IF (Results 1 – 11 of 11) sorted by relevance

/external/openscreen/util/
Dosp_logging.h74 #define OSP_LOG_IF(level, condition) !(condition) ? (void)0 : OSP_LOG_##level macro
77 OSP_LOG_IF(FATAL, !(condition)) << "OSP_CHECK(" << #condition << ") failed: "
104 #define OSP_EAT_STREAM OSP_LOG_IF(FATAL, false)
115 #define OSP_DLOG_INFO OSP_LOG_IF(INFO, OSP_DCHECK_IS_ON())
116 #define OSP_DLOG_WARN OSP_LOG_IF(WARN, OSP_DCHECK_IS_ON())
117 #define OSP_DLOG_ERROR OSP_LOG_IF(ERROR, OSP_DCHECK_IS_ON())
118 #define OSP_DLOG_FATAL OSP_LOG_IF(FATAL, OSP_DCHECK_IS_ON())
121 OSP_LOG_IF(level, OSP_DCHECK_IS_ON() && (condition))
/external/openscreen/platform/impl/
Dlogging_unittest.cc124 OSP_LOG_IF(INFO, true) << "Info"; in TEST_F()
125 OSP_LOG_IF(WARN, true) << "Warning"; in TEST_F()
126 OSP_LOG_IF(ERROR, true) << "Error"; in TEST_F()
130 OSP_LOG_IF(INFO, false) << "Info"; in TEST_F()
131 OSP_LOG_IF(WARN, false) << "Warning"; in TEST_F()
132 OSP_LOG_IF(ERROR, false) << "Error"; in TEST_F()
/external/openscreen/osp/impl/discovery/mdns/
Dmdns_responder_adapter_impl.cc281 OSP_LOG_IF(WARN, result != mStatus_NoError) in RegisterInterface()
456 OSP_LOG_IF(WARN, err != mStatus_NoError) << "mDNS_StartQuery failed: " << err; in StartPtrQuery()
494 OSP_LOG_IF(WARN, err != mStatus_NoError) << "mDNS_StartQuery failed: " << err; in StartSrvQuery()
532 OSP_LOG_IF(WARN, err != mStatus_NoError) << "mDNS_StartQuery failed: " << err; in StartTxtQuery()
570 OSP_LOG_IF(WARN, err != mStatus_NoError) << "mDNS_StartQuery failed: " << err; in StartAQuery()
609 OSP_LOG_IF(WARN, err != mStatus_NoError) << "mDNS_StartQuery failed: " << err; in StartAaaaQuery()
626 OSP_LOG_IF(WARN, err != mStatus_NoError) << "mDNS_StopQuery failed: " << err; in StopPtrQuery()
644 OSP_LOG_IF(WARN, err != mStatus_NoError) << "mDNS_StopQuery failed: " << err; in StopSrvQuery()
662 OSP_LOG_IF(WARN, err != mStatus_NoError) << "mDNS_StopQuery failed: " << err; in StopTxtQuery()
680 OSP_LOG_IF(WARN, err != mStatus_NoError) << "mDNS_StopQuery failed: " << err; in StopAQuery()
[all …]
Dmdns_demo.cc276 OSP_LOG_IF(WARN, index_list.empty()) in BrowseDemo()
/external/openscreen/cast/standalone_sender/
Dstreaming_opus_encoder.cc196 OSP_LOG_IF(WARN, backwards_amount >= approximate_cast_frame_duration_) in ResolveTimestampsAndMaybeSkip()
/external/openscreen/cast/common/certificate/
Dcast_crl_unittest.cc193 OSP_LOG_IF(ERROR, successes != test_suite.tests().size()) in RunTestSuite()
/external/openscreen/osp/impl/
Dinternal_services.cc116 OSP_LOG_IF(WARN, index_list.empty()) in RegisterInterfaces()
/external/openscreen/cast/standalone_receiver/
Dsdl_player_base.cc80 OSP_LOG_IF(INFO, frame.frame_id != FrameId::first()) in ResyncAndDeterminePresentationTime()
/external/openscreen/osp/demo/
Dosp_demo.cc531 OSP_LOG_IF(WARN, server_config.connection_endpoints.empty()) in PublisherDemo()
/external/openscreen/cast/sender/channel/
Dcast_auth_util_unittest.cc477 OSP_LOG_IF(ERROR, successes != test_suite.tests().size()) in RunTestSuite()
/external/openscreen/osp/impl/presentation/
Dpresentation_controller.cc269 OSP_LOG_IF(INFO, in OnMatchedResponse()