HomeSort by relevance Sort by last modified time
    Searched refs:provider_ (Results 1 - 25 of 42) sorted by null

1 2

  /system/connectivity/shill/
crypto_provider_unittest.cc 52 CryptoProvider provider_; member in class:shill::CryptoProviderTest
63 EXPECT_EQ(CryptoProvider::kKeyMatterFile, provider_.key_matter_file_.value());
65 provider_.set_key_matter_file(FilePath("/some/non/existent/file"));
66 provider_.Init();
67 ASSERT_EQ(1, provider_.cryptos_.size());
68 EXPECT_EQ(CryptoROT47::kID, provider_.cryptos_[0]->GetID());
72 provider_.set_key_matter_file(InitKeyMatterFile(temp_dir.path()));
73 provider_.Init();
74 ASSERT_EQ(2, provider_.cryptos_.size());
75 EXPECT_EQ(CryptoDESCBC::kID, provider_.cryptos_[0]->GetID())
    [all...]
  /external/webrtc/talk/app/webrtc/
rtpreceiver.cc 40 provider_(provider),
65 if (provider_ && track_->enabled())
66 provider_->SetAudioPlayoutVolume(ssrc_, volume);
71 if (!provider_) {
74 provider_->SetAudioPlayout(ssrc_, false);
75 provider_ = nullptr;
79 if (!provider_) {
82 provider_->SetAudioPlayout(ssrc_, track_->enabled());
88 : id_(track->id()), track_(track), ssrc_(ssrc), provider_(provider) {
90 provider_->SetVideoPlayout(ssrc_, true, track_->GetSource()->FrameInput())
    [all...]
datachannel_unittest.cc 86 &provider_, cricket::DCT_SCTP, "test", init_)) {
90 provider_.set_transport_available(true);
95 provider_.set_ready_to_send(true);
104 FakeDataChannelProvider provider_; member in class:SctpDataChannelTest
111 provider_.set_transport_available(true);
113 &provider_, cricket::DCT_SCTP, "test1", init_);
115 EXPECT_TRUE(provider_.IsConnected(dc.get()));
117 EXPECT_FALSE(provider_.IsSendStreamAdded(dc->id()));
118 EXPECT_FALSE(provider_.IsRecvStreamAdded(dc->id()));
121 EXPECT_TRUE(provider_.IsSendStreamAdded(dc->id()))
    [all...]
dtmfsender.cc 97 provider_(provider),
102 if (provider_) {
103 ASSERT(provider_->GetOnDestroyedSignal() != NULL);
104 provider_->GetOnDestroyedSignal()->connect(
110 if (provider_) {
111 ASSERT(provider_->GetOnDestroyedSignal() != NULL);
112 provider_->GetOnDestroyedSignal()->disconnect(this);
127 if (!provider_) {
130 return provider_->CanInsertDtmf(track_->id());
221 if (!provider_) {
    [all...]
rtpsender.cc 68 provider_(provider),
82 provider_(provider),
139 provider_->SetAudioSend(ssrc_, false, options, nullptr);
151 provider_->SetAudioSend(ssrc_, false, options, nullptr);
176 provider_->SetAudioSend(ssrc_, false, options, nullptr);
199 provider_->SetAudioSend(ssrc_, track_->enabled(), options, renderer);
207 provider_(provider),
217 provider_(provider) {}
267 provider_->SetCaptureDevice(ssrc_,
271 provider_->SetCaptureDevice(ssrc_, nullptr)
    [all...]
rtpreceiver.h 74 AudioProviderInterface* provider_; // Set to null in Stop(). member in class:webrtc::AudioRtpReceiver
99 VideoProviderInterface* provider_; member in class:webrtc::VideoRtpReceiver
dtmfsender_unittest.cc 144 provider_(new FakeDtmfProvider()) {
145 provider_->AddCanInsertDtmfTrack(kTestAudioLabel);
147 provider_.get());
201 provider_->dtmf_info_queue();
235 rtc::scoped_ptr<FakeDtmfProvider> provider_; member in class:DtmfSenderTest
241 provider_->RemoveCanInsertDtmfTrack(kTestAudioLabel);
289 provider_.reset();
345 provider_->RemoveCanInsertDtmfTrack(kTestAudioLabel);
datachannel.cc 148 provider_(provider),
205 if (provider_->ReadyToSendData()) {
302 provider_->AddSctpDataStream(sid);
308 connected_to_provider_ = provider_->ConnectDataChannel(this);
310 // The sid may have been unassigned when provider_->ConnectDataChannel was
313 provider_->AddSctpDataStream(config_.id);
438 connected_to_provider_ = provider_->ConnectDataChannel(this);
500 provider_->DisconnectDataChannel(this);
504 provider_->RemoveSctpDataStream(config_.id);
565 bool success = provider_->SendData(send_params, buffer.data, &send_result)
    [all...]
rtpsender.h 120 AudioProviderInterface* provider_; member in class:webrtc::AudioRtpSender
178 VideoProviderInterface* provider_; member in class:webrtc::VideoRtpSender
  /system/connectivity/shill/dhcp/
dhcp_provider_unittest.cc 48 DHCPProviderTest() : provider_(DHCPProvider::GetInstance()) {
49 provider_->control_interface_ = &control_;
50 provider_->dispatcher_ = &dispatcher_;
57 provider_->configs_.clear();
58 provider_->recently_unbound_pids_.clear();
62 void RetireUnboundPID(int pid) { provider_->RetireUnboundPID(pid); }
65 DHCPProvider* provider_; member in class:shill::DHCPProviderTest
72 DHCPConfigRefPtr config = provider_->CreateIPv4Config(kDeviceName,
78 EXPECT_TRUE(provider_->configs_.empty());
85 provider_->root_ = temp_dir.path()
    [all...]
dhcpv6_config_unittest.cc 77 &provider_,
108 MockDHCPProvider provider_; member in class:shill::DHCPv6ConfigTest
119 &provider_,
131 &provider_,
137 EXPECT_CALL(provider_, BindPID(kPID, IsRefPtrTo(config)));
163 EXPECT_CALL(provider_, UnbindPID(kPID));
  /system/update_engine/update_manager/
real_random_provider_unittest.cc 33 provider_.reset(new RealRandomProvider());
34 ASSERT_NE(nullptr, provider_.get());
35 ASSERT_TRUE(provider_->Init());
37 provider_->var_seed();
40 unique_ptr<RealRandomProvider> provider_; member in class:chromeos_update_manager::UmRealRandomProviderTest
45 EXPECT_NE(nullptr, provider_->var_seed());
51 provider_->var_seed()->GetValue(UmTestUtils::DefaultTimeout(), nullptr));
59 provider_->var_seed()->GetValue(UmTestUtils::DefaultTimeout(),
real_system_provider_unittest.cc 35 provider_.reset(
37 EXPECT_TRUE(provider_->Init());
42 unique_ptr<RealSystemProvider> provider_; member in class:chromeos_update_manager::UmRealSystemProviderTest
46 EXPECT_NE(nullptr, provider_->var_is_normal_boot_mode());
47 EXPECT_NE(nullptr, provider_->var_is_official_build());
48 EXPECT_NE(nullptr, provider_->var_is_oobe_complete());
53 UmTestUtils::ExpectVariableHasValue(true, provider_->var_is_oobe_complete());
58 UmTestUtils::ExpectVariableHasValue(false, provider_->var_is_oobe_complete());
real_config_provider_unittest.cc 41 provider_.reset(new RealConfigProvider(&fake_hardware_));
42 provider_->SetRootPrefix(root_dir_.path().value());
60 unique_ptr<RealConfigProvider> provider_; member in class:chromeos_update_manager::UmRealConfigProviderTest
67 EXPECT_TRUE(provider_->Init());
68 EXPECT_NE(nullptr, provider_->var_is_oobe_enabled());
72 EXPECT_TRUE(provider_->Init());
73 UmTestUtils::ExpectVariableHasValue(true, provider_->var_is_oobe_enabled());
80 EXPECT_TRUE(provider_->Init());
81 UmTestUtils::ExpectVariableHasValue(true, provider_->var_is_oobe_enabled());
90 EXPECT_TRUE(provider_->Init())
    [all...]
real_device_policy_provider_unittest.cc 54 provider_.reset(new RealDevicePolicyProvider(&session_manager_proxy_mock_,
68 provider_.reset();
95 unique_ptr<RealDevicePolicyProvider> provider_; member in class:chromeos_update_manager::UmRealDevicePolicyProviderTest
103 EXPECT_TRUE(provider_->Init());
104 EXPECT_NE(MessageLoop::kTaskIdNull, provider_->scheduled_refresh_);
112 EXPECT_TRUE(provider_->Init());
123 EXPECT_TRUE(provider_->Init());
126 provider_->RefreshDevicePolicy();
133 EXPECT_TRUE(provider_->Init());
145 EXPECT_TRUE(provider_->Init())
    [all...]
real_time_provider_unittest.cc 38 provider_.reset(new RealTimeProvider(&fake_clock_));
39 ASSERT_NE(nullptr, provider_.get());
40 ASSERT_TRUE(provider_->Init());
58 unique_ptr<RealTimeProvider> provider_; member in class:chromeos_update_manager::UmRealTimeProviderTest
72 UmTestUtils::ExpectVariableHasValue(expected, provider_->var_curr_date());
81 provider_->var_curr_hour());
real_updater_provider_unittest.cc 79 provider_.reset(new RealUpdaterProvider(&fake_sys_state_));
80 ASSERT_NE(nullptr, provider_.get());
82 ASSERT_TRUE(provider_->Init());
106 unique_ptr<RealUpdaterProvider> provider_; member in class:chromeos_update_manager::UmRealUpdaterProviderTest
115 provider_->var_updater_started_time());
123 provider_->var_last_checked_time());
130 UmTestUtils::ExpectVariableNotSet(provider_->var_last_checked_time());
137 UmTestUtils::ExpectVariableHasValue(0.0, provider_->var_progress());
144 UmTestUtils::ExpectVariableHasValue(0.3, provider_->var_progress());
151 UmTestUtils::ExpectVariableHasValue(1.0, provider_->var_progress())
    [all...]
real_shill_provider_unittest.cc 68 provider_.reset(new RealShillProvider(&fake_shill_proxy_, &fake_clock_));
78 provider_.reset();
118 EXPECT_TRUE(provider_->Init());
157 UmTestUtils::ExpectVariableHasValue(true, provider_->var_is_connected());
159 provider_->var_conn_last_changed());
180 provider_->var_conn_type());
182 provider_->var_conn_last_changed());
198 provider_->var_conn_tethering());
200 provider_->var_conn_last_changed());
211 unique_ptr<RealShillProvider> provider_; member in class:chromeos_update_manager::UmRealShillProviderTest
    [all...]
  /system/connectivity/shill/ethernet/
ethernet_eap_provider_unittest.cc 41 provider_(&control_, &dispatcher_, &metrics_, &manager_) {}
49 return provider_.callback_map_;
56 EthernetEapProvider provider_; member in class:shill::EthernetEapProviderTest
60 EXPECT_EQ(ServiceRefPtr(), provider_.service());
67 provider_.Start();
68 EXPECT_NE(ServiceRefPtr(), provider_.service());
69 EXPECT_EQ(service, provider_.service());
72 provider_.Stop();
73 EXPECT_EQ(service, provider_.service());
77 provider_.Start()
    [all...]
ethernet_eap_service_unittest.cc 60 MockEthernetEapProvider provider_; member in class:shill::EthernetEapServiceTest
75 EXPECT_CALL(manager_, ethernet_eap_provider()).WillOnce(Return(&provider_));
76 EXPECT_CALL(provider_, OnCredentialsChanged());
82 EXPECT_CALL(manager_, ethernet_eap_provider()).WillOnce(Return(&provider_));
83 EXPECT_CALL(provider_, OnCredentialsChanged());
88 EXPECT_CALL(manager_, ethernet_eap_provider()).WillOnce(Return(&provider_));
89 EXPECT_CALL(provider_, OnCredentialsChanged());
  /system/connectivity/shill/wimax/
wimax_provider_unittest.cc 78 provider_(&control_, nullptr, &metrics_, &manager_) {}
92 WiMaxProvider provider_; member in class:shill::WiMaxProviderTest
99 EXPECT_FALSE(provider_.wimax_manager_proxy_.get());
104 provider_.Start();
105 EXPECT_TRUE(provider_.wimax_manager_proxy_.get());
111 provider_.pending_devices_[GetTestLinkName(2)] = GetTestPath(2);
112 provider_.Stop();
113 EXPECT_FALSE(provider_.wimax_manager_proxy_.get());
114 EXPECT_TRUE(provider_.pending_devices_.empty());
119 provider_.wimax_manager_proxy_.reset(wimax_manager_proxy)
    [all...]
  /system/connectivity/shill/vpn/
vpn_provider_unittest.cc 58 provider_(&control_, nullptr, &metrics_, &manager_) {}
76 provider_.services_.push_back(service);
80 return provider_.services_[idx];
84 return provider_.services_.size();
91 VPNProvider provider_; member in class:shill::VPNProviderTest
101 ServiceRefPtr service = provider_.GetService(args, &e);
113 ServiceRefPtr service = provider_.GetService(args, &e);
127 ServiceRefPtr service = provider_.FindSimilarService(args, &error);
139 service = provider_.GetService(args, &error);
163 ServiceRefPtr get_service = provider_.GetService(args, &error)
    [all...]
  /system/connectivity/shill/wifi/
wifi_provider_unittest.cc 81 provider_(&control_, &dispatcher_, &metrics_, &manager_),
88 provider_.time_ = &time_;
194 provider_.CreateServicesFromProfile(profile);
198 provider_.LoadAndFixupServiceEntries(profile);
202 provider_.Save(&default_profile_storage_);
206 return provider_.services_;
210 return provider_.service_by_endpoint_;
214 return provider_.running_;
298 return provider_.CreateTemporaryService(args, error);
310 return provider_.GetWiFiService(args, error)
433 WiFiProvider provider_; member in class:shill::WiFiProviderTest
    [all...]
  /system/connectivity/shill/dbus/
chromeos_dhcpcd_listener.cc 53 provider_(provider),
156 DHCPConfigRefPtr config = provider_->GetConfig(pid);
158 if (provider_->IsRecentlyUnbound(pid)) {
176 DHCPConfigRefPtr config = provider_->GetConfig(pid);
178 if (provider_->IsRecentlyUnbound(pid)) {
  /external/libchrome/crypto/
hmac_win.cc 100 ScopedHCRYPTPROV provider_; member in struct:crypto::HMACPlatformData
114 if (plat_->provider_ || plat_->key_ || !plat_->raw_key_.empty()) {
125 if (!CryptAcquireContext(plat_->provider_.receive(), NULL, NULL,
154 if (!CryptImportKey(plat_->provider_, &key_blob_storage[0],
182 if (!plat_->provider_ || !plat_->key_)
191 if (!CryptCreateHash(plat_->provider_, CALG_HMAC, plat_->key_, 0,

Completed in 5504 milliseconds

1 2