Searched refs:profile_ (Results 1 – 9 of 9) sorted by relevance
/system/core/metricsd/uploader/ |
D | system_profile_cache.cc | 93 if (!reader.GetString(metrics::kProductId, &profile_.product_id) in Initialize() 94 || profile_.product_id.empty()) { in Initialize() 99 if (!reader.GetString(metrics::kProductVersion, &profile_.version)) { in Initialize() 103 if (channel.empty() || profile_.version.empty()) { in Initialize() 108 profile_.version = metrics::kDefaultVersion; in Initialize() 112 profile_.client_id = testing_ ? in Initialize() 115 profile_.model_manifest_id = "unknown"; in Initialize() 121 &profile_.model_manifest_id)) { in Initialize() 127 profile_.channel = ProtoChannelFromString(channel); in Initialize() 133 profile_.session_id = static_cast<int32_t>(session_id_->Get()); in Initialize() [all …]
|
D | system_profile_cache.h | 84 SystemProfile profile_; variable
|
D | upload_service_test.cc | 285 int session_id = cache.profile_.session_id; in TEST_F() 288 EXPECT_EQ(cache.profile_.session_id, session_id + 1); in TEST_F()
|
/system/connectivity/shill/ |
D | profile_unittest.cc | 54 profile_ = new Profile( in ProfileTest() 60 profile_->set_storage(new FakeStore()); in ProfileTest() 90 ProfileRefPtr profile_; member in shill::ProfileTest 96 profile_->manager_ = manager.get(); in TEST_F() 99 profile_->storage_.reset(storage); // Passes ownership in TEST_F() 107 profile_->DeleteEntry(kEntryName, &error); in TEST_F() 125 profile_->DeleteEntry(kEntryName, &error); in TEST_F() 143 profile_->DeleteEntry(kEntryName, &error); in TEST_F() 243 ASSERT_TRUE(profile_->AdoptService(service1)); in TEST_F() 244 ASSERT_TRUE(profile_->AdoptService(service2)); in TEST_F() [all …]
|
D | default_profile_unittest.cc | 68 : profile_(new DefaultProfile(control_interface(), in DefaultProfileTest() 88 scoped_refptr<DefaultProfile> profile_; member in shill::DefaultProfileTest 103 profile_->set_storage(storage.release()); in TEST_F() 109 profile_->store().GetProperties(&props, &error); in TEST_F() 118 profile_->store().GetProperties(&props, &error); in TEST_F() 126 profile_->mutable_store()->SetBoolProperty( in TEST_F() 187 profile_->set_storage(storage.release()); in TEST_F() 193 ASSERT_TRUE(profile_->Save()); in TEST_F() 248 profile_->set_storage(storage.release()); in TEST_F() 250 profile_->LoadManagerProperties(&manager_props, in TEST_F() [all …]
|
D | service.cc | 790 return profile_ && !manager_->IsServiceEphemeral(this); in IsRemembered() 1184 const ProfileRefPtr& Service::profile() const { return profile_; } in profile() 1186 void Service::set_profile(const ProfileRefPtr& p) { profile_ = p; } in set_profile() 1190 << (profile_ ? profile_->GetFriendlyName() : "(none)") in SetProfile() 1193 if (profile_ == p) { in SetProfile() 1196 profile_ = p; in SetProfile() 1592 if (!profile_) { in GetProfileRpcId() 1597 return profile_->GetRpcIdentifier(); in GetProfileRpcId() 1601 if (profile_ && profile_->GetRpcIdentifier() == profile) { in SetProfileRpcId() 1604 ProfileConstRefPtr old_profile = profile_; in SetProfileRpcId() [all …]
|
D | service.h | 874 ProfileRefPtr profile_; variable
|
/system/connectivity/shill/dbus/ |
D | chromeos_profile_dbus_adaptor.cc | 50 profile_(profile) { in ChromeosProfileDBusAdaptor() 58 profile_ = nullptr; in ~ChromeosProfileDBusAdaptor() 87 return ChromeosDBusAdaptor::GetProperties(profile_->store(), in GetProperties() 95 return ChromeosDBusAdaptor::SetProperty(profile_->mutable_store(), in SetProperty() 107 ServiceRefPtr service = profile_->GetServiceFromEntry(name, &e); in GetEntry() 120 profile_->DeleteEntry(name, &e); in DeleteEntry()
|
D | chromeos_profile_dbus_adaptor.h | 77 Profile* profile_;
|