/external/webrtc/webrtc/libjingle/xmpp/ |
util_unittest.cc | 36 session_ << "[START]"; 39 session_ << "[OPENING]"; 42 session_ << "[OPEN]"; 45 session_ << "[CLOSED]"; 51 session_ << "[ERROR-XML]"; 54 session_ << "[ERROR-STREAM]"; 57 session_ << "[ERROR-VERSION]"; 60 session_ << "[ERROR-UNAUTHORIZED]"; 63 session_ << "[ERROR-TLS]"; 66 session_ << "[ERROR-AUTH]" [all...] |
util_unittest.h | 47 std::stringstream session_; member in class:buzz::XmppTestHandler
|
/external/google-tv-pairing-protocol/cpp/tests/polo/pairing/ |
pairingsessiontest.cc | 86 session_(&wire_, &context_, &challenge_) { 99 EXPECT_CALL(session_, DoInitializationPhase()); 101 session_.DoPair(&listener_); 109 StrictMock<TestPairingSession> session_; member in class:polo::pairing::PairingSessionTest 121 session_.TestSetConfiguration(configuration); 123 ASSERT_TRUE(session_.GetConfiguration()); 125 session_.GetConfiguration()->encoding().encoding_type()); 126 ASSERT_EQ(8, session_.GetConfiguration()->encoding().symbol_length()); 128 session_.GetConfiguration()->client_role()); 130 ASSERT_TRUE(session_.encoder()) [all...] |
serverpairingsessiontest.cc | 59 session_(&wire_, &context_, &challenge_) { 74 session_.DoPair(&listener_); 82 StrictMock<TestServerPairingSession> session_; member in class:polo::pairing::ServerPairingSessionTest 94 session_.TestDoInitializationPhase(); 104 session_.OnPairingRequestMessage(message); 114 session_.OnOptionsMessage(message); 119 session_.AddInputEncoding(encoding); 120 session_.AddOutputEncoding(encoding); 133 session_.OnConfigurationMessage(message);
|
clientpairingsessiontest.cc | 64 session_(&wire_, &context_, &challenge_) { 83 session_.DoPair(&listener_); 91 StrictMock<TestClientPairingSession> session_; member in class:polo::pairing::ClientPairingSessionTest 104 session_.TestSetConfiguration(configuration); 109 session_.TestDoConfigurationPhase(); 119 session_.OnPairingRequestAckMessage(message); 124 session_.AddInputEncoding(encoding); 125 session_.AddOutputEncoding(encoding); 138 session_.OnOptionsMessage(message); 147 session_.TestSetConfiguration(configuration) [all...] |
/external/webrtc/webrtc/modules/video_coding/ |
session_info_unittest.cc | 25 session_.Reset(); 59 VCMSessionInfo session_; member in class:webrtc::TestSessionInfo 105 EXPECT_GE(session_.SessionLength(), 156 static_cast<size_t>(session_.InsertPacket(packet_, frame_buffer_, 158 EXPECT_FALSE(session_.HaveLastPacket()); 159 EXPECT_EQ(kVideoFrameKey, session_.FrameType()); 165 static_cast<size_t>(session_.InsertPacket(packet_, frame_buffer_, 167 EXPECT_TRUE(session_.HaveLastPacket()); 168 EXPECT_EQ(packet_.seqNum, session_.HighSequenceNumber()); 169 EXPECT_EQ(0xFFFE, session_.LowSequenceNumber()) [all...] |
/system/core/trusty/storage/tests/ |
main.cpp | 85 int rc = storage_open_session(TRUSTY_DEVICE_NAME, &session_, port_); 94 storage_close_session(session_); 116 storage_session_t session_; member in class:StorageServiceTest 255 rc = storage_delete_file(session_, fname, STORAGE_OP_COMPLETE); 260 rc = storage_delete_file(session_, fname, STORAGE_OP_COMPLETE); 264 rc = storage_open_file(session_, &handle, fname, 270 rc = storage_open_file(session_, &handle, fname, 279 rc = storage_open_file(session_, &handle, fname, 285 rc = storage_delete_file(session_, fname, STORAGE_OP_COMPLETE); 289 rc = storage_delete_file(session_, fname, STORAGE_OP_COMPLETE) [all...] |
/external/tensorflow/tensorflow/core/kernels/fuzzing/ |
fuzz_session.h | 93 session_ = std::unique_ptr<Session>(NewSession(options)); 100 Status status = session_->Create(graph_def); 114 return session_->Run({{"input1", input_tensor}}, {}, {"output"}, nullptr); 118 return session_->Run({{"input1", input1}, {"input2", input2}}, {}, 136 std::unique_ptr<Session> session_; member in class:tensorflow::fuzzing::FuzzSession
|
/external/webrtc/webrtc/p2p/client/ |
basicportallocator.cc | 716 : session_(session), 729 udp_socket_.reset(session_->socket_factory()->CreateUdpSocket( 730 rtc::SocketAddress(ip_, 0), session_->allocator()->min_port(), 731 session_->allocator()->max_port())); 754 session_->network_thread()->Clear(this); 794 session_->network_thread()->Post(this, MSG_ALLOCATION_PHASE); 801 session_->network_thread()->Clear(this, MSG_ALLOCATION_PHASE); 806 ASSERT(rtc::Thread::Current() == session_->network_thread()); 844 session_->network_thread()->PostDelayed( 845 session_->allocator()->step_delay() [all...] |
portallocator_unittest.cc | 179 session_.reset(CreateSession("session", component)); 180 if (!session_) 186 session_.reset(CreateSession("session", content_name, component)); 187 if (!session_) 234 if (session == session_.get()) { 271 if (!session_) { 274 session_->set_flags(session_->flags() | 278 session_->StartGettingPorts(); 385 rtc::scoped_ptr<cricket::PortAllocatorSession> session_; member in class:PortAllocatorTest [all...] |
/external/webrtc/talk/app/webrtc/ |
webrtcsessiondescriptionfactory.cc | 150 session_(session), 297 if (!session_->remote_description()) { 303 if (session_->remote_description()->type() != 372 request.options, session_->local_description() 373 ? session_->local_description()->description() 394 if (session_->local_description() && 400 CopyCandidatesFromSessionDescription(session_->local_description(), offer); 411 session_->IceRestartPending(); 413 session_->IceRestartPending(); 415 session_->IceRestartPending() [all...] |
webrtcsession_unittest.cc | 407 ASSERT_TRUE(session_.get() == NULL); 408 session_.reset(new WebRtcSessionForTest( 411 session_->SignalDataChannelOpenMessage.connect( 419 EXPECT_TRUE(session_->Initialize(options_, constraints_.get(), 422 session_->set_metrics_observer(metrics_observer_); 553 if (data_channel_ && session_->data_channel_type() == cricket::DCT_RTP) { 581 if (session_->data_channel_type() == cricket::DCT_SCTP && data_channel_) { 598 if (session_->data_channel_type() == cricket::DCT_SCTP) { 628 session_->CreateOffer(observer, options, session_options); 641 session_->CreateAnswer(observer, constraints, session_options) 1462 rtc::scoped_ptr<WebRtcSessionForTest> session_; member in class:WebRtcSessionTest [all...] |
statscollector_unittest.cc | 511 session_(media_controller_.get()) { 513 EXPECT_CALL(session_, GetTransportStats(_)).WillRepeatedly(Return(false)); 515 EXPECT_CALL(session_, video_channel()).WillRepeatedly(ReturnNull()); 516 EXPECT_CALL(session_, voice_channel()).WillRepeatedly(ReturnNull()); 517 EXPECT_CALL(pc_, session()).WillRepeatedly(Return(&session_)); 544 EXPECT_CALL(session_, GetLocalTrackIdBySsrc(kSsrcOfTrack, _)) 553 EXPECT_CALL(session_, GetRemoteTrackIdBySsrc(kSsrcOfTrack, _)) 565 EXPECT_CALL(session_, GetLocalTrackIdBySsrc(kSsrcOfTrack, _)) 577 EXPECT_CALL(session_, GetRemoteTrackIdBySsrc(kSsrcOfTrack, _)) 614 EXPECT_CALL(session_, GetTransportStats(_) 764 MockWebRtcSession session_; member in class:webrtc::StatsCollectorTest [all...] |
peerconnection.cc | 641 session_.reset( 647 if (!session_->Initialize(factory_->options(), constraints, 654 session_->RegisterIceObserver(this); 655 session_->SignalState.connect(this, &PeerConnection::OnSessionStateChange); 656 session_->SignalVoiceChannelDestroyed.connect( 658 session_->SignalVideoChannelDestroyed.connect( 660 session_->SignalDataChannelCreated.connect( 662 session_->SignalDataChannelDestroyed.connect( 664 session_->SignalDataChannelOpenMessage.connect( 750 DtmfSender::Create(track, signaling_thread(), session_.get())) [all...] |
/external/tensorflow/tensorflow/core/debug/ |
debug_gateway.cc | 26 DebugGateway::DebugGateway(DirectSession* session) : session_(session) { 27 session_->node_outputs_callback_ = 55 if (session_ != nullptr) { 56 session_->node_outputs_callback_ = nullptr;
|
debug_gateway.h | 67 DirectSession* session_; member in class:tensorflow::DebugGateway
|
/external/tensorflow/tensorflow/core/grappler/clusters/ |
single_machine.cc | 82 TF_RETURN_IF_ERROR(session_->ListDevices(&devices)); 139 TF_RETURN_IF_ERROR(session_->Create(graph_def)); 166 session_.get(), queue_options)); 212 TF_RETURN_IF_ERROR(session_->LocalDeviceManager(&device_mgr)); 250 *status = session_->Run(run_options_, feed, {}, fetch, nullptr, 264 if (!session_ || !thread_pool_) { 286 this->session_->Close().IgnoreError(); 290 this->session_->Close().IgnoreError(); 335 if (session_) { 343 session_.reset() [all...] |
/external/tensorflow/tensorflow/contrib/session_bundle/ |
signature_test.cc | 297 MockSession session_; member in class:tensorflow::serving::__anon39424::RunClassificationTest 302 session_.outputs = {test::AsTensor<int>({3}), test::AsTensor<int>({2})}; 303 const Status status = RunClassification(signature_, input_tensor_, &session_, 312 ASSERT_EQ(1, session_.inputs.size()); 313 EXPECT_EQ(kInputName, session_.inputs[0].first); 315 session_.inputs[0].second); 317 ASSERT_EQ(2, session_.output_tensor_names.size()); 318 EXPECT_EQ(kClassesName, session_.output_tensor_names[0]); 319 EXPECT_EQ(kScoresName, session_.output_tensor_names[1]); 324 session_.outputs = {test::AsTensor<int>({3})} 423 MockSession session_; member in class:tensorflow::serving::__anon39424::RunRegressionTest [all...] |
/external/tensorflow/tensorflow/cc/client/ |
client_session.cc | 35 : session_(session), graph_(std::move(graph)) {} 40 std::unique_ptr<Session> session_; member in class:tensorflow::ClientSession::Impl 58 CHECK_NOTNULL(impl()->session_.get()); 100 return session_->Extend(graph_def); 126 return impl()->session_->Run(run_options, feeds, output_tensor_names,
|
/external/tensorflow/tensorflow/core/example/ |
example_parser_configuration_test.cc | 51 session_ = CreateSession(); 52 TF_CHECK_OK(session_->Create(graph_def_)); 65 std::unique_ptr<Session> session_; member in class:tensorflow::__anon39551::ExtractExampleParserConfigurationTest 72 graph_def_, "BlarseExample/ParseExample", session_.get(), &dense_vec, 87 graph_def_, "ParseExample/ParseExample", session_.get(), &dense_vec, 102 graph_def_, "ParseExample/ParseExample", session_.get(), &dense_vec, 112 graph_def_, "ParseExample/ParseExample", session_.get(), &dense_vec,
|
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/v4/ |
candidate_graph_runner.h | 65 std::unique_ptr<Session> session_; member in class:tensorflow::tensorforest::CandidateGraphRunner
|
candidate_graph_runner.cc | 55 session_.reset(::tensorflow::NewSession(SessionOptions())); 56 TF_CHECK_OK(session_->Create(graph_def)) << "Failed to create session"; 77 TF_CHECK_OK(session_->Run(inputs, output_tensor_names, op_name, outputs))
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
base_rendezvous_mgr.cc | 137 session_(nullptr) {} 157 if (session_ != nullptr) { 158 if (session_->worker_name == session->worker_name) { 164 session_->worker_name, " -> ", session->worker_name); 168 session_ = session; 179 return session_; 195 if (!IsLocalDevice(session_->worker_name, parsed.src_device)) { 198 session_->worker_name); 216 sess = session_;
|
base_rendezvous_mgr.h | 184 WorkerSession* session_ GUARDED_BY(mu_); // Not owned. 199 return session_ != nullptr;
|
/external/webrtc/talk/session/media/ |
srtpfilter.cc | 494 : session_(NULL), 511 if (session_) { 512 srtp_dealloc(session_); 525 if (!session_) { 538 int err = srtp_protect(session_, p, out_len); 567 if (!session_) { 580 int err = srtp_protect_rtcp(session_, p, out_len); 590 if (!session_) { 596 int err = srtp_unprotect(session_, p, out_len); 609 if (!session_) { [all...] |