/system/update_engine/update_manager/ |
D | real_device_policy_provider_unittest.cc | 68 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 …]
|
D | real_system_provider_unittest.cc | 57 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 …]
|
D | real_updater_provider_unittest.cc | 105 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 …]
|
D | real_random_provider_unittest.cc | 33 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()
|
D | real_shill_provider_unittest.cc | 71 provider_.reset(new RealShillProvider(fake_shill_proxy_, &fake_clock_)); in SetUp() 81 provider_.reset(); in TearDown() 121 EXPECT_TRUE(provider_->Init()); in InitWithDefaultService() 160 UmTestUtils::ExpectVariableHasValue(true, provider_->var_is_connected()); in SetupConnectionAndAttrs() 162 provider_->var_conn_last_changed()); in SetupConnectionAndAttrs() 183 provider_->var_conn_type()); in SetupConnectionAndTestType() 185 provider_->var_conn_last_changed()); in SetupConnectionAndTestType() 201 provider_->var_conn_tethering()); in SetupConnectionAndTestTethering() 203 provider_->var_conn_last_changed()); in SetupConnectionAndTestTethering() 215 unique_ptr<RealShillProvider> provider_; member in chromeos_update_manager::UmRealShillProviderTest [all …]
|
D | real_time_provider_unittest.cc | 38 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/ |
D | client_interface.cc | 74 : sink_(sink), provider_(provider){}; in BluetoothAudioPortImpl() 80 provider_->streamStarted(BluetoothAudioCtrlAckToHalStatus(ack)); in startStream() 92 provider_->streamSuspended(BluetoothAudioCtrlAckToHalStatus(ack)); in suspendStream() 153 const android::sp<IBluetoothAudioProvider> provider_; member in bluetooth::audio::BluetoothAudioPortImpl 190 : sink_(sink), provider_(nullptr), session_started_(false), mDataMQ(nullptr), in BluetoothAudioClientInterface() 211 if (provider_ != nullptr) { in ~BluetoothAudioClientInterface() 212 auto hidl_retval = provider_->unlinkToDeath(death_recipient_); in ~BluetoothAudioClientInterface() 225 if (provider_ != nullptr) { in fetch_audio_provider() 267 [& provider_ = this->provider_, &openProvider_promise]( in fetch_audio_provider() 272 provider_ = provider; in fetch_audio_provider() [all …]
|
D | client_interface.h | 135 return provider_ != nullptr; in IsValid() 170 android::sp<IBluetoothAudioProvider> provider_; variable
|