/external/webrtc/webrtc/modules/video_coding/ |
D | session_info_unittest.cc | 25 session_.Reset(); in SetUp() 59 VCMSessionInfo session_; member in webrtc::TestSessionInfo 105 EXPECT_GE(session_.SessionLength(), in VerifyNalu() 156 static_cast<size_t>(session_.InsertPacket(packet_, frame_buffer_, in TEST_F() 158 EXPECT_FALSE(session_.HaveLastPacket()); in TEST_F() 159 EXPECT_EQ(kVideoFrameKey, session_.FrameType()); in TEST_F() 165 static_cast<size_t>(session_.InsertPacket(packet_, frame_buffer_, in TEST_F() 167 EXPECT_TRUE(session_.HaveLastPacket()); in TEST_F() 168 EXPECT_EQ(packet_.seqNum, session_.HighSequenceNumber()); in TEST_F() 169 EXPECT_EQ(0xFFFE, session_.LowSequenceNumber()); in TEST_F() [all …]
|
/external/google-tv-pairing-protocol/cpp/tests/polo/pairing/ |
D | pairingsessiontest.cc | 86 session_(&wire_, &context_, &challenge_) { in PairingSessionTest() 99 EXPECT_CALL(session_, DoInitializationPhase()); in InitSession() 101 session_.DoPair(&listener_); in InitSession() 109 StrictMock<TestPairingSession> session_; member in polo::pairing::PairingSessionTest 121 session_.TestSetConfiguration(configuration); in TEST_F() 123 ASSERT_TRUE(session_.GetConfiguration()); in TEST_F() 125 session_.GetConfiguration()->encoding().encoding_type()); in TEST_F() 126 ASSERT_EQ(8, session_.GetConfiguration()->encoding().symbol_length()); in TEST_F() 128 session_.GetConfiguration()->client_role()); in TEST_F() 130 ASSERT_TRUE(session_.encoder()); in TEST_F() [all …]
|
D | clientpairingsessiontest.cc | 64 session_(&wire_, &context_, &challenge_) { in ClientPairingSessionTest() 83 session_.DoPair(&listener_); in InitSession() 91 StrictMock<TestClientPairingSession> session_; member in polo::pairing::ClientPairingSessionTest 104 session_.TestSetConfiguration(configuration); in TEST_F() 109 session_.TestDoConfigurationPhase(); in TEST_F() 119 session_.OnPairingRequestAckMessage(message); in TEST_F() 124 session_.AddInputEncoding(encoding); in TEST_F() 125 session_.AddOutputEncoding(encoding); in TEST_F() 138 session_.OnOptionsMessage(message); in TEST_F() 147 session_.TestSetConfiguration(configuration); in TEST_F() [all …]
|
D | serverpairingsessiontest.cc | 59 session_(&wire_, &context_, &challenge_) { in ServerPairingSessionTest() 74 session_.DoPair(&listener_); in InitSession() 82 StrictMock<TestServerPairingSession> session_; member in polo::pairing::ServerPairingSessionTest 94 session_.TestDoInitializationPhase(); in TEST_F() 104 session_.OnPairingRequestMessage(message); in TEST_F() 114 session_.OnOptionsMessage(message); in TEST_F() 119 session_.AddInputEncoding(encoding); in TEST_F() 120 session_.AddOutputEncoding(encoding); in TEST_F() 133 session_.OnConfigurationMessage(message); in TEST_F()
|
/external/webrtc/webrtc/libjingle/xmpp/ |
D | util_unittest.cc | 36 session_ << "[START]"; in OnStateChange() 39 session_ << "[OPENING]"; in OnStateChange() 42 session_ << "[OPEN]"; in OnStateChange() 45 session_ << "[CLOSED]"; in OnStateChange() 51 session_ << "[ERROR-XML]"; in OnStateChange() 54 session_ << "[ERROR-STREAM]"; in OnStateChange() 57 session_ << "[ERROR-VERSION]"; in OnStateChange() 60 session_ << "[ERROR-UNAUTHORIZED]"; in OnStateChange() 63 session_ << "[ERROR-TLS]"; in OnStateChange() 66 session_ << "[ERROR-AUTH]"; in OnStateChange() [all …]
|
/external/webrtc/webrtc/p2p/client/ |
D | basicportallocator.cc | 716 : session_(session), in AllocationSequence() 729 udp_socket_.reset(session_->socket_factory()->CreateUdpSocket( in Init() 730 rtc::SocketAddress(ip_, 0), session_->allocator()->min_port(), in Init() 731 session_->allocator()->max_port())); in Init() 754 session_->network_thread()->Clear(this); in ~AllocationSequence() 794 session_->network_thread()->Post(this, MSG_ALLOCATION_PHASE); in Start() 801 session_->network_thread()->Clear(this, MSG_ALLOCATION_PHASE); in Stop() 806 ASSERT(rtc::Thread::Current() == session_->network_thread()); in OnMessage() 844 session_->network_thread()->PostDelayed( in OnMessage() 845 session_->allocator()->step_delay(), in OnMessage() [all …]
|
D | portallocator_unittest.cc | 179 session_.reset(CreateSession("session", component)); in CreateSession() 180 if (!session_) in CreateSession() 186 session_.reset(CreateSession("session", content_name, component)); in CreateSession() 187 if (!session_) in CreateSession() 234 if (session == session_.get()) { in OnCandidatesAllocationDone() 271 if (!session_) { in CheckDisableAdapterEnumeration() 274 session_->set_flags(session_->flags() | in CheckDisableAdapterEnumeration() 278 session_->StartGettingPorts(); in CheckDisableAdapterEnumeration() 385 rtc::scoped_ptr<cricket::PortAllocatorSession> session_; member in PortAllocatorTest 422 session_->set_flags(cricket::PORTALLOCATOR_DISABLE_STUN | in TEST_F() [all …]
|
/external/webrtc/talk/app/webrtc/ |
D | webrtcsession_unittest.cc | 407 ASSERT_TRUE(session_.get() == NULL); in Init() 408 session_.reset(new WebRtcSessionForTest( in Init() 411 session_->SignalDataChannelOpenMessage.connect( in Init() 419 EXPECT_TRUE(session_->Initialize(options_, constraints_.get(), in Init() 422 session_->set_metrics_observer(metrics_observer_); in Init() 553 if (data_channel_ && session_->data_channel_type() == cricket::DCT_RTP) { in AddStreamsToOptions() 581 if (session_->data_channel_type() == cricket::DCT_SCTP && data_channel_) { in GetOptionsForOffer() 598 if (session_->data_channel_type() == cricket::DCT_SCTP) { in GetOptionsForAnswer() 628 session_->CreateOffer(observer, options, session_options); in CreateOffer() 641 session_->CreateAnswer(observer, constraints, session_options); in CreateAnswer() [all …]
|
D | webrtcsessiondescriptionfactory.cc | 150 session_(session), in WebRtcSessionDescriptionFactory() 297 if (!session_->remote_description()) { in CreateAnswer() 303 if (session_->remote_description()->type() != in CreateAnswer() 372 request.options, session_->local_description() in InternalCreateOffer() 373 ? session_->local_description()->description() in InternalCreateOffer() 394 if (session_->local_description() && in InternalCreateOffer() 400 CopyCandidatesFromSessionDescription(session_->local_description(), offer); in InternalCreateOffer() 411 session_->IceRestartPending(); in InternalCreateAnswer() 413 session_->IceRestartPending(); in InternalCreateAnswer() 415 session_->IceRestartPending(); in InternalCreateAnswer() [all …]
|
D | statscollector_unittest.cc | 511 session_(media_controller_.get()) { in StatsCollectorTest() 513 EXPECT_CALL(session_, GetTransportStats(_)).WillRepeatedly(Return(false)); in StatsCollectorTest() 515 EXPECT_CALL(session_, video_channel()).WillRepeatedly(ReturnNull()); in StatsCollectorTest() 516 EXPECT_CALL(session_, voice_channel()).WillRepeatedly(ReturnNull()); in StatsCollectorTest() 517 EXPECT_CALL(pc_, session()).WillRepeatedly(Return(&session_)); in StatsCollectorTest() 544 EXPECT_CALL(session_, GetLocalTrackIdBySsrc(kSsrcOfTrack, _)) in AddOutgoingVideoTrackStats() 553 EXPECT_CALL(session_, GetRemoteTrackIdBySsrc(kSsrcOfTrack, _)) in AddIncomingVideoTrackStats() 565 EXPECT_CALL(session_, GetLocalTrackIdBySsrc(kSsrcOfTrack, _)) in AddOutgoingAudioTrackStats() 577 EXPECT_CALL(session_, GetRemoteTrackIdBySsrc(kSsrcOfTrack, _)) in AddIncomingAudioTrackStats() 614 EXPECT_CALL(session_, GetTransportStats(_)) in SetupAndVerifyAudioTrackStats() [all …]
|
D | peerconnection.cc | 641 session_.reset( in Initialize() 647 if (!session_->Initialize(factory_->options(), constraints, in Initialize() 654 session_->RegisterIceObserver(this); in Initialize() 655 session_->SignalState.connect(this, &PeerConnection::OnSessionStateChange); in Initialize() 656 session_->SignalVoiceChannelDestroyed.connect( in Initialize() 658 session_->SignalVideoChannelDestroyed.connect( in Initialize() 660 session_->SignalDataChannelCreated.connect( in Initialize() 662 session_->SignalDataChannelDestroyed.connect( in Initialize() 664 session_->SignalDataChannelOpenMessage.connect( in Initialize() 750 DtmfSender::Create(track, signaling_thread(), session_.get())); in CreateDtmfSender() [all …]
|
/external/tensorflow/tensorflow/contrib/session_bundle/ |
D | signature_test.cc | 297 MockSession session_; member in tensorflow::serving::__anon74fa0d230111::RunClassificationTest 302 session_.outputs = {test::AsTensor<int>({3}), test::AsTensor<int>({2})}; in TEST_F() 303 const Status status = RunClassification(signature_, input_tensor_, &session_, in TEST_F() 312 ASSERT_EQ(1, session_.inputs.size()); in TEST_F() 313 EXPECT_EQ(kInputName, session_.inputs[0].first); in TEST_F() 315 session_.inputs[0].second); in TEST_F() 317 ASSERT_EQ(2, session_.output_tensor_names.size()); in TEST_F() 318 EXPECT_EQ(kClassesName, session_.output_tensor_names[0]); in TEST_F() 319 EXPECT_EQ(kScoresName, session_.output_tensor_names[1]); in TEST_F() 324 session_.outputs = {test::AsTensor<int>({3})}; in TEST_F() [all …]
|
/external/tensorflow/tensorflow/core/grappler/clusters/ |
D | single_machine.cc | 82 TF_RETURN_IF_ERROR(session_->ListDevices(&devices)); in Provision() 139 TF_RETURN_IF_ERROR(session_->Create(graph_def)); in Run() 166 session_.get(), queue_options)); in Run() 212 TF_RETURN_IF_ERROR(session_->LocalDeviceManager(&device_mgr)); in GetPeakMemoryUsage() 250 *status = session_->Run(run_options_, feed, {}, fetch, nullptr, in RunWithTimeout() 264 if (!session_ || !thread_pool_) { in CloseSession() 286 this->session_->Close().IgnoreError(); in CloseSession() 290 this->session_->Close().IgnoreError(); in CloseSession() 335 if (session_) { in ResetSession() 343 session_.reset(); in ResetSession() [all …]
|
/external/tensorflow/tensorflow/core/kernels/fuzzing/ |
D | fuzz_session.h | 93 session_ = std::unique_ptr<Session>(NewSession(options)); in InitIfNeeded() 100 Status status = session_->Create(graph_def); in InitIfNeeded() 114 return session_->Run({{"input1", input_tensor}}, {}, {"output"}, nullptr); in RunOneInput() 118 return session_->Run({{"input1", input1}, {"input2", input2}}, {}, in RunTwoInputs() 136 std::unique_ptr<Session> session_; variable
|
/external/tensorflow/tensorflow/core/example/ |
D | example_parser_configuration_test.cc | 51 session_ = CreateSession(); in SetUp() 52 TF_CHECK_OK(session_->Create(graph_def_)); in SetUp() 65 std::unique_ptr<Session> session_; member in tensorflow::__anon9ecce5270111::ExtractExampleParserConfigurationTest 72 graph_def_, "BlarseExample/ParseExample", session_.get(), &dense_vec, in TEST_F() 87 graph_def_, "ParseExample/ParseExample", session_.get(), &dense_vec, in TEST_F() 102 graph_def_, "ParseExample/ParseExample", session_.get(), &dense_vec, in TEST_F() 112 graph_def_, "ParseExample/ParseExample", session_.get(), &dense_vec, in TEST_F()
|
/external/webrtc/talk/session/media/ |
D | srtpfilter.cc | 494 : session_(NULL), in SrtpSession() 511 if (session_) { in ~SrtpSession() 512 srtp_dealloc(session_); in ~SrtpSession() 525 if (!session_) { in ProtectRtp() 538 int err = srtp_protect(session_, p, out_len); in ProtectRtp() 567 if (!session_) { in ProtectRtcp() 580 int err = srtp_protect_rtcp(session_, p, out_len); in ProtectRtcp() 590 if (!session_) { in UnprotectRtp() 596 int err = srtp_unprotect(session_, p, out_len); in UnprotectRtp() 609 if (!session_) { in UnprotectRtcp() [all …]
|
/external/tensorflow/tensorflow/cc/client/ |
D | client_session.cc | 35 : session_(session), graph_(std::move(graph)) {} in Impl() 40 std::unique_ptr<Session> session_; member in tensorflow::ClientSession::Impl 58 CHECK_NOTNULL(impl()->session_.get()); in ClientSession() 100 return session_->Extend(graph_def); in MaybeExtendGraph() 126 return impl()->session_->Run(run_options, feeds, output_tensor_names, in Run()
|
/external/tensorflow/tensorflow/core/debug/ |
D | debug_gateway.cc | 26 DebugGateway::DebugGateway(DirectSession* session) : session_(session) { in DebugGateway() 27 session_->node_outputs_callback_ = in DebugGateway() 55 if (session_ != nullptr) { in ~DebugGateway() 56 session_->node_outputs_callback_ = nullptr; in ~DebugGateway()
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
D | base_rendezvous_mgr.cc | 137 session_(nullptr) {} in BaseRemoteRendezvous() 157 if (session_ != nullptr) { in Initialize() 158 if (session_->worker_name == session->worker_name) { in Initialize() 164 session_->worker_name, " -> ", session->worker_name); in Initialize() 168 session_ = session; in Initialize() 179 return session_; in session() 195 if (!IsLocalDevice(session_->worker_name, parsed.src_device)) { in Send() 198 session_->worker_name); in Send() 216 sess = session_; in ValidateDevices()
|
D | base_rendezvous_mgr.h | 184 WorkerSession* session_ GUARDED_BY(mu_); // Not owned. 199 return session_ != nullptr; in is_initialized_locked()
|
/external/google-breakpad/src/common/windows/ |
D | pdb_source_line_writer.cc | 193 if (FAILED(data_source->openSession(&session_))) { in Open() 286 if (FAILED(session_->findLinesByRVA(rva, DWORD(length), &lines))) { in PrintFunction() 298 if (FAILED(session_->get_globalScope(&global))) { in PrintSourceFiles() 314 if (FAILED(session_->findFile(compiland, NULL, nsNone, &source_files))) { in PrintSourceFiles() 352 if (FAILED(session_->get_globalScope(&global))) { in PrintFunctions() 417 if (SUCCEEDED(session_->findSymbolByRVA(*it, SymTagFunction, &symbol))) { in PrintFunctions() 428 } else if (SUCCEEDED(session_->findSymbolByRVA(*it, in PrintFunctions() 507 if (!FindTable(session_, &frame_data_enum)) in PrintFrameDataUsingPDB() 895 if (FAILED(session_->get_globalScope(&global))) { in FindPEFile() 1127 if (!GetOmapDataAndDisableTranslation(session_, &omap_data)) in WriteMap() [all …]
|
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/v4/ |
D | candidate_graph_runner.cc | 55 session_.reset(::tensorflow::NewSession(SessionOptions())); in CandidateGraphRunner() 56 TF_CHECK_OK(session_->Create(graph_def)) << "Failed to create session"; in CandidateGraphRunner() 77 TF_CHECK_OK(session_->Run(inputs, output_tensor_names, op_name, outputs)) in RunOp()
|
/external/tensorflow/tensorflow/contrib/lite/testing/ |
D | tf_driver.cc | 104 session_.reset(tensorflow::NewSession(options)); in LoadModel() 105 auto status = session_->Create(graphdef); in LoadModel() 174 auto status = session_->Run({input_tensors_.begin(), input_tensors_.end()}, in Invoke()
|
/external/tensorflow/tensorflow/c/ |
D | c_test_util.cc | 408 session_ = TF_NewSession(graph, opts, s); in CSession() 412 CSession::CSession(TF_Session* session) : session_(session) {} in CSession() 471 TF_SessionRun(session_, nullptr, inputs_ptr, input_values_ptr, inputs_.size(), in Run() 481 if (session_ != nullptr) { in CloseAndDelete() 482 TF_CloseSession(session_, s); in CloseAndDelete() 484 TF_DeleteSession(session_, s); in CloseAndDelete() 485 session_ = nullptr; in CloseAndDelete()
|
D | c_test_util.h | 135 TF_Session* mutable_session() { return session_; } in mutable_session() 141 TF_Session* session_; variable
|