Home
last modified time | relevance | path

Searched refs:provider_ (Results 1 – 8 of 8) sorted by relevance

/system/update_engine/update_manager/
Dreal_device_policy_provider_unittest.cc68 provider_.reset(new RealDevicePolicyProvider( in SetUp()
71 provider_.reset(new RealDevicePolicyProvider(&mock_policy_provider_)); in SetUp()
87 provider_.reset(); in TearDown()
111 unique_ptr<RealDevicePolicyProvider> provider_; member in chromeos_update_manager::UmRealDevicePolicyProviderTest
121 EXPECT_TRUE(provider_->Init()); in TEST_F()
122 EXPECT_NE(MessageLoop::kTaskIdNull, provider_->scheduled_refresh_); in TEST_F()
130 EXPECT_TRUE(provider_->Init()); in TEST_F()
148 EXPECT_TRUE(provider_->Init()); in TEST_F()
151 provider_->RefreshDevicePolicy(); in TEST_F()
159 EXPECT_TRUE(provider_->Init()); in TEST_F()
[all …]
Dreal_system_provider_unittest.cc57 provider_.reset(new RealSystemProvider( in SetUp()
60 provider_.reset( in SetUp()
63 EXPECT_TRUE(provider_->Init()); in SetUp()
68 unique_ptr<RealSystemProvider> provider_; member in chromeos_update_manager::UmRealSystemProviderTest
76 EXPECT_NE(nullptr, provider_->var_is_normal_boot_mode()); in TEST_F()
77 EXPECT_NE(nullptr, provider_->var_is_official_build()); in TEST_F()
78 EXPECT_NE(nullptr, provider_->var_is_oobe_complete()); in TEST_F()
79 EXPECT_NE(nullptr, provider_->var_kiosk_required_platform_version()); in TEST_F()
84 UmTestUtils::ExpectVariableHasValue(true, provider_->var_is_oobe_complete()); in TEST_F()
89 UmTestUtils::ExpectVariableHasValue(false, provider_->var_is_oobe_complete()); in TEST_F()
[all …]
Dreal_updater_provider_unittest.cc105 provider_.reset(new RealUpdaterProvider(&fake_sys_state_)); in SetUp()
106 ASSERT_NE(nullptr, provider_.get()); in SetUp()
108 ASSERT_TRUE(provider_->Init()); in SetUp()
131 unique_ptr<RealUpdaterProvider> provider_; member in chromeos_update_manager::UmRealUpdaterProviderTest
140 provider_->var_updater_started_time()); in TEST_F()
149 provider_->var_last_checked_time()); in TEST_F()
155 UmTestUtils::ExpectVariableNotSet(provider_->var_last_checked_time()); in TEST_F()
161 UmTestUtils::ExpectVariableHasValue(0.0, provider_->var_progress()); in TEST_F()
167 UmTestUtils::ExpectVariableHasValue(0.3, provider_->var_progress()); in TEST_F()
173 UmTestUtils::ExpectVariableHasValue(1.0, provider_->var_progress()); in TEST_F()
[all …]
Dreal_random_provider_unittest.cc33 provider_.reset(new RealRandomProvider()); in SetUp()
34 ASSERT_NE(nullptr, provider_.get()); in SetUp()
35 ASSERT_TRUE(provider_->Init()); in SetUp()
37 provider_->var_seed(); in SetUp()
40 unique_ptr<RealRandomProvider> provider_; member in chromeos_update_manager::UmRealRandomProviderTest
45 EXPECT_NE(nullptr, provider_->var_seed()); in TEST_F()
51 provider_->var_seed()->GetValue(UmTestUtils::DefaultTimeout(), nullptr)); in TEST_F()
58 unique_ptr<const uint64_t> other_value(provider_->var_seed()->GetValue( in TEST_F()
Dreal_shill_provider_unittest.cc69 provider_.reset(new RealShillProvider(fake_shill_proxy_, &fake_clock_)); in SetUp()
79 provider_.reset(); in TearDown()
119 EXPECT_TRUE(provider_->Init()); in InitWithDefaultService()
158 UmTestUtils::ExpectVariableHasValue(true, provider_->var_is_connected()); in SetupConnectionAndAttrs()
160 provider_->var_conn_last_changed()); in SetupConnectionAndAttrs()
181 provider_->var_conn_type()); in SetupConnectionAndTestType()
183 provider_->var_conn_last_changed()); in SetupConnectionAndTestType()
199 provider_->var_conn_tethering()); in SetupConnectionAndTestTethering()
201 provider_->var_conn_last_changed()); in SetupConnectionAndTestTethering()
213 unique_ptr<RealShillProvider> provider_; member in chromeos_update_manager::UmRealShillProviderTest
[all …]
Dreal_time_provider_unittest.cc38 provider_.reset(new RealTimeProvider(&fake_clock_)); in SetUp()
39 ASSERT_NE(nullptr, provider_.get()); in SetUp()
40 ASSERT_TRUE(provider_->Init()); in SetUp()
60 unique_ptr<RealTimeProvider> provider_; member in chromeos_update_manager::UmRealTimeProviderTest
75 UmTestUtils::ExpectVariableHasValue(expected, provider_->var_curr_date()); in TEST_F()
84 provider_->var_curr_hour()); in TEST_F()
93 provider_->var_curr_minute()); in TEST_F()
/system/bt/audio_hal_interface/
Dclient_interface.cc74 : sink_(sink), provider_(provider){}; in BluetoothAudioPortImpl()
80 provider_->streamStarted(BluetoothAudioCtrlAckToHalStatus(ack)); in startStream()
92 provider_->streamSuspended(BluetoothAudioCtrlAckToHalStatus(ack)); in suspendStream()
154 const android::sp<IBluetoothAudioProvider> provider_; member in bluetooth::audio::BluetoothAudioPortImpl
192 : sink_(sink), provider_(nullptr), session_started_(false), mDataMQ(nullptr), in BluetoothAudioClientInterface()
202 if (provider_ != nullptr) { in ~BluetoothAudioClientInterface()
203 auto hidl_retval = provider_->unlinkToDeath(death_recipient_); in ~BluetoothAudioClientInterface()
266 if (provider_ != nullptr) { in FetchAudioProvider()
304 [& provider_ = this->provider_, &openProvider_promise]( in FetchAudioProvider()
309 provider_ = provider; in FetchAudioProvider()
[all …]
Dclient_interface.h134 return provider_ != nullptr; in IsValid()
176 android::sp<IBluetoothAudioProvider> provider_; variable