Home
last modified time | relevance | path

Searched refs:ContainsGroup (Results 1 – 25 of 26) sorted by relevance

12

/system/connectivity/shill/
Dkey_file_store_unittest.cc186 TEST_F(KeyFileStoreTest, ContainsGroup) { in TEST_F() argument
195 EXPECT_TRUE(store_->ContainsGroup(kGroupA)); in TEST_F()
196 EXPECT_TRUE(store_->ContainsGroup(kGroupB)); in TEST_F()
197 EXPECT_TRUE(store_->ContainsGroup(kGroupC)); in TEST_F()
198 EXPECT_FALSE(store_->ContainsGroup("group-d")); in TEST_F()
765 EXPECT_TRUE(store_->ContainsGroup(kGroupA)); in TEST_F()
766 EXPECT_TRUE(store_->ContainsGroup(kGroupB)); in TEST_F()
767 EXPECT_TRUE(store_->ContainsGroup(kGroupC)); in TEST_F()
768 EXPECT_FALSE(store_->ContainsGroup(kGroupX)); in TEST_F()
818 EXPECT_FALSE(store_->ContainsGroup(kGroupA)); in TEST_F()
[all …]
Dprofile_unittest.cc103 EXPECT_CALL(*storage, ContainsGroup(kEntryName)) in TEST_F()
115 EXPECT_CALL(*storage, ContainsGroup(kEntryName)) in TEST_F()
133 EXPECT_CALL(*storage, ContainsGroup(kEntryName)) in TEST_F()
494 EXPECT_CALL(*storage, ContainsGroup(kEntryName)) in TEST_F()
503 EXPECT_CALL(*storage, ContainsGroup(kEntryName)) in TEST_F()
Dvirtual_device_unittest.cc78 EXPECT_CALL(storage, ContainsGroup(_)).Times(0); in TEST_F()
Dstub_storage.h47 bool ContainsGroup(const std::string& group) const override { in ContainsGroup() function
Dmock_store.h47 MOCK_CONST_METHOD1(ContainsGroup, bool(const std::string& group));
Dstore_interface.h68 virtual bool ContainsGroup(const std::string& group) const = 0;
Dkey_file_store.h51 bool ContainsGroup(const std::string& group) const override;
Dfake_store.h49 bool ContainsGroup(const std::string& group) const override;
Dprofile.cc231 if (!storage_->ContainsGroup(entry_name)) { in DeleteEntry()
249 if (!storage_->ContainsGroup(entry_name)) { in GetServiceFromEntry()
Djson_store.h50 bool ContainsGroup(const std::string& group) const override;
Dfake_store.cc119 bool FakeStore::ContainsGroup(const string& group) const { in ContainsGroup() function in shill::FakeStore
Dservice_unittest.cc402 EXPECT_CALL(storage, ContainsGroup(storage_id_)) in TEST_F()
411 EXPECT_CALL(storage, ContainsGroup(storage_id_)) in TEST_F()
454 EXPECT_CALL(storage, ContainsGroup(storage_id_)).WillOnce(Return(true)); in TEST_F()
501 EXPECT_CALL(storage, ContainsGroup(storage_id_)).WillOnce(Return(true)); in TEST_F()
529 EXPECT_CALL(storage, ContainsGroup(storage_id_)).WillOnce(Return(false)); in TEST_F()
535 EXPECT_CALL(storage, ContainsGroup(storage_id_)) in TEST_F()
740 EXPECT_CALL(storage, ContainsGroup(storage_id_)).WillOnce(Return(true)); in TEST_F()
1014 EXPECT_CALL(storage, ContainsGroup(storage_id_)).WillOnce(Return(true)); in TEST_F()
Dkey_file_store.cc184 bool KeyFileStore::ContainsGroup(const string& group) const { in ContainsGroup() function in shill::KeyFileStore
Djson_store_unittest.cc497 EXPECT_TRUE(store_->ContainsGroup("group_a")); in TEST_F()
501 EXPECT_FALSE(store_->ContainsGroup("group_a")); in TEST_F()
Ddefault_profile_unittest.cc363 EXPECT_CALL(*storage, ContainsGroup(_)) in TEST_F()
Djson_store.cc513 bool JsonStore::ContainsGroup(const string& group) const { in ContainsGroup() function in shill::JsonStore
Dservice.cc514 return storage.ContainsGroup(GetStorageIdentifier()); in IsLoadableFrom()
519 if (!storage->ContainsGroup(id)) { in Load()
Ddevice.cc463 if (!storage->ContainsGroup(id)) { in Load()
Ddevice_unittest.cc571 EXPECT_CALL(storage, ContainsGroup(id)).WillOnce(Return(true)); in TEST_F()
2584 EXPECT_CALL(storage_, ContainsGroup(id)).WillRepeatedly(Return(true)); in SetUp()
/system/connectivity/shill/ethernet/
Dethernet_service_unittest.cc119 EXPECT_CALL(mock_store, ContainsGroup(_)).WillRepeatedly(Return(true)); in TEST_F()
Dethernet.cc177 if (!storage->ContainsGroup(id)) { in Load()
/system/connectivity/shill/wifi/
Dwifi_service_unittest.cc283 EXPECT_CALL(mock_store, ContainsGroup(kStorageId)) in TestLoadMapping()
933 EXPECT_CALL(mock_store, ContainsGroup(StrEq(storage_id))) in TEST_F()
954 EXPECT_CALL(mock_store, ContainsGroup(StrEq(storage_id))) in TEST_F()
981 EXPECT_CALL(mock_store, ContainsGroup(first_group)) in TEST_F()
983 EXPECT_CALL(mock_store, ContainsGroup(StrNe(first_group))).Times(0); in TEST_F()
1018 EXPECT_CALL(mock_store, ContainsGroup(StrEq(kStorageId))) in TEST_F()
1056 EXPECT_CALL(mock_store, ContainsGroup(StrEq(kStorageId))) in TEST_F()
2168 EXPECT_CALL(mock_store, ContainsGroup(StrEq(kStorageId))) in TEST_F()
2254 EXPECT_CALL(mock_store, ContainsGroup(StrEq(kStorageId))) in TEST_F()
/system/connectivity/shill/cellular/
Dcellular_service_unittest.cc418 EXPECT_CALL(storage, ContainsGroup(service_->GetStorageIdentifier())) in TEST_F()
444 EXPECT_CALL(storage, ContainsGroup(_)).WillRepeatedly(Return(true)); in TEST_F()
Dcellular.cc160 if (!storage->ContainsGroup(id)) { in Load()
/system/connectivity/shill/vpn/
Dvpn_service_unittest.cc200 EXPECT_CALL(storage, ContainsGroup(kStorageID)).WillOnce(Return(true)); in TEST_F()

12