/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/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 | 298 MockSession session_; member in tensorflow::serving::__anonc6c62b2f0111::RunClassificationTest 303 session_.outputs = {test::AsTensor<int>({3}), test::AsTensor<int>({2})}; in TEST_F() 304 const Status status = RunClassification(signature_, input_tensor_, &session_, in TEST_F() 313 ASSERT_EQ(1, session_.inputs.size()); in TEST_F() 314 EXPECT_EQ(kInputName, session_.inputs[0].first); in TEST_F() 316 session_.inputs[0].second); in TEST_F() 318 ASSERT_EQ(2, session_.output_tensor_names.size()); in TEST_F() 319 EXPECT_EQ(kClassesName, session_.output_tensor_names[0]); in TEST_F() 320 EXPECT_EQ(kScoresName, session_.output_tensor_names[1]); in TEST_F() 325 session_.outputs = {test::AsTensor<int>({3})}; in TEST_F() [all …]
|
/external/tensorflow/tensorflow/core/grappler/clusters/ |
D | single_machine.cc | 84 TF_RETURN_IF_ERROR(session_->ListDevices(&devices)); in Provision() 152 TF_RETURN_IF_ERROR(session_->Create(graph_def)); in Run() 179 session_.get(), queue_options)); in Run() 225 TF_RETURN_IF_ERROR(session_->LocalDeviceManager(&device_mgr)); in GetPeakMemoryUsage() 263 *status = session_->Run(run_options_, feed, {}, fetch, nullptr, in RunWithTimeout() 277 if (!session_ || !thread_pool_) { in CloseSession() 299 this->session_->Close().IgnoreError(); in CloseSession() 303 this->session_->Close().IgnoreError(); in CloseSession() 348 if (session_) { in ResetSession() 356 session_.reset(); in ResetSession() [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() 133 return impl()->session_->MakeCallable(callable_options, out_handle); in MakeCallable() 140 return impl()->session_->RunCallable(handle, feed_tensors, fetch_tensors, in RunCallable() 145 return impl()->session_->ReleaseCallable(handle); in ReleaseCallable()
|
/external/grpc-grpc/src/core/tsi/ssl/session_cache/ |
D | ssl_session_boringssl.cc | 36 : session_(std::move(session)) {} in BoringSslCachedSession() 40 SSL_SESSION_up_ref(session_.get()); in CopySession() 41 return SslSessionPtr(session_.get()); in CopySession() 45 SslSessionPtr session_; member in tsi::__anon0f519a5e0111::BoringSslCachedSession
|
D | ssl_session_cache.cc | 66 SslSessionPtr CopySession() const { return session_->CopySession(); } in CopySession() 70 session_ = SslCachedSession::Create(std::move(session)); in SetSession() 77 grpc_core::UniquePtr<SslCachedSession> session_; member in tsi::SslSessionLRUCache::Node
|
/external/tensorflow/tensorflow/lite/tools/accuracy/ |
D | eval_pipeline.cc | 22 session_ = std::move(session); in AttachSession() 23 TF_RETURN_IF_ERROR(session_->Create(model_graph_)); in AttachSession() 28 if (session_ == nullptr) { in Run() 32 TF_RETURN_IF_ERROR(session_->Run({{params_.model_input_node_name, input}}, in Run()
|
D | eval_pipeline.h | 61 session_(nullptr) {} in EvalPipeline() 83 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::__anon239990b30111::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/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/tensorflow/tensorflow/core/kernels/fuzzing/ |
D | fuzz_session.h | 92 session_ = std::unique_ptr<Session>(NewSession(options)); in InitIfNeeded() 99 Status status = session_->Create(graph_def); in InitIfNeeded() 121 return session_->Run(inputs, {}, {"output"}, nullptr); in RunInputsWithStatus() 138 std::unique_ptr<Session> session_; variable
|
/external/tensorflow/tensorflow/python/client/ |
D | session_ref.cc | 381 SessionRef::SessionRef(Session* session) : session_(session) { in SessionRef() 384 logger_->RecordNewSession(this->session_.get()).IgnoreError(); in SessionRef() 394 if (session_ == nullptr) return errors::Cancelled("Session has been closed."); in CheckNotClosed() 402 RunCounter rc(session_, &run_count_, &run_lock_, &run_finished_); \ 485 status = logger_->RecordClose(session_.get(), run_options); in Close() 487 status = session_->Close(run_options); in Close() 489 session_.reset(); in Close() 501 status = logger_->RecordClose(session_.get()); in Close() 503 status = session_->Close(); in Close() 505 session_.reset(); in Close()
|
/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/c/ |
D | c_test_util.cc | 456 session_ = TF_NewSession(graph, opts, s); in CSession() 460 CSession::CSession(TF_Session* session) : session_(session) {} in CSession() 519 TF_SessionRun(session_, nullptr, inputs_ptr, input_values_ptr, inputs_.size(), in Run() 529 if (session_ != nullptr) { in CloseAndDelete() 530 TF_CloseSession(session_, s); in CloseAndDelete() 532 TF_DeleteSession(session_, s); in CloseAndDelete() 533 session_ = nullptr; in CloseAndDelete()
|
/external/tensorflow/tensorflow/lite/testing/ |
D | tf_driver.cc | 146 session_.reset(tensorflow::NewSession(options)); in LoadModel() 147 auto status = session_->Create(graphdef); in LoadModel() 250 auto status = session_->Run({input_tensors_.begin(), input_tensors_.end()}, in Invoke()
|