Lines Matching refs:storage_id_
96 storage_id_(ServiceUnderTest::kStorageId),
226 string storage_id_;
402 EXPECT_CALL(storage, ContainsGroup(storage_id_))
406 EXPECT_EQ(storage_id_, service_->GetLoadableStorageIdentifier(storage));
411 EXPECT_CALL(storage, ContainsGroup(storage_id_))
454 EXPECT_CALL(storage, ContainsGroup(storage_id_)).WillOnce(Return(true));
461 EXPECT_CALL(storage, GetString(storage_id_, _, _)).Times(AnyNumber());
462 EXPECT_CALL(storage, GetInt(storage_id_, _, _)).Times(AnyNumber());
463 EXPECT_CALL(storage, GetString(storage_id_, Service::kStorageCheckPortal, _))
465 EXPECT_CALL(storage, GetString(storage_id_
467 EXPECT_CALL(storage, GetInt(storage_id_, Service::kStoragePriority, _))
469 EXPECT_CALL(storage, GetString(storage_id_, Service::kStorageProxyConfig, _))
471 EXPECT_CALL(storage, GetString(storage_id_, Service::kStorageUIData, _))
473 EXPECT_CALL(storage, GetBool(storage_id_, _, _)).Times(AnyNumber());
475 GetBool(storage_id_, Service::kStorageSaveCredentials, _));
477 GetBool(storage_id_, Service::kStorageHasEverConnected, _))
481 EXPECT_CALL(*eap, Load(&storage, storage_id_));
485 EXPECT_CALL(*dhcp_props, Load(&storage, storage_id_));
501 EXPECT_CALL(storage, ContainsGroup(storage_id_)).WillOnce(Return(true));
502 EXPECT_CALL(storage, GetBool(storage_id_, _, _))
504 EXPECT_CALL(storage, GetString(storage_id_, _, _))
506 EXPECT_CALL(storage, GetInt(storage_id_, _, _))
509 EXPECT_CALL(*eap, Load(&storage, storage_id_));
511 EXPECT_CALL(*dhcp_props, Load(&storage, storage_id_));
529 EXPECT_CALL(storage, ContainsGroup(storage_id_)).WillOnce(Return(false));
535 EXPECT_CALL(storage, ContainsGroup(storage_id_))
537 EXPECT_CALL(storage, GetBool(storage_id_, _, _))
539 EXPECT_CALL(storage, GetString(storage_id_, _, _))
541 EXPECT_CALL(storage, GetInt(storage_id_, _, _))
544 EXPECT_CALL(*eap_, Load(&storage, storage_id_)).Times(AnyNumber());
548 EXPECT_CALL(*dhcp_props.get(), Load(&storage, storage_id_)).Times(AnyNumber());
552 EXPECT_CALL(storage, GetBool(storage_id_, Service::kStorageAutoConnect, _))
562 EXPECT_CALL(storage, GetBool(storage_id_, Service::kStorageFavorite, _))
623 EXPECT_CALL(storage, SetString(storage_id_, kKey, kData))
625 service_->SaveString(&storage, storage_id_, kKey, kData, false, true);
632 EXPECT_CALL(storage, SetCryptedString(storage_id_, kKey, kData))
634 service_->SaveString(&storage, storage_id_, kKey, kData, true, true);
640 EXPECT_CALL(storage, DeleteKey(storage_id_, kKey))
642 service_->SaveString(&storage, storage_id_, kKey, "data", false, false);
648 EXPECT_CALL(storage, DeleteKey(storage_id_, kKey))
650 service_->SaveString(&storage, storage_id_, kKey, "", true, true);
655 EXPECT_CALL(storage, SetString(storage_id_, _, _))
658 EXPECT_CALL(storage, DeleteKey(storage_id_, _))
661 EXPECT_CALL(storage, DeleteKey(storage_id_, Service::kStorageFavorite))
663 EXPECT_CALL(storage, DeleteKey(storage_id_, Service::kStorageAutoConnect))
665 EXPECT_CALL(storage, SetBool(storage_id_, _, _)).Times(AnyNumber());
667 SetBool(storage_id_,
671 EXPECT_CALL(*eap_, Save(&storage, storage_id_, true));
674 EXPECT_CALL(*dhcp_props.get(), Save(&storage, storage_id_));
681 EXPECT_CALL(storage, SetString(storage_id_, _, _))
684 EXPECT_CALL(storage, DeleteKey(storage_id_, _))
687 EXPECT_CALL(storage, DeleteKey(storage_id_, Service::kStorageFavorite))
689 EXPECT_CALL(storage, DeleteKey(storage_id_, Service::kStorageAutoConnect))
691 EXPECT_CALL(storage, SetBool(storage_id_, _, _)).Times(AnyNumber());
693 EXPECT_CALL(*eap_, Save(&storage, storage_id_, true)).Times(2);
699 SetBool(storage_id_, Service::kStorageAutoConnect, true));
704 SetBool(storage_id_, Service::kStorageAutoConnect, false));
711 EXPECT_CALL(storage, SetString(storage_id_, _, _))
714 EXPECT_CALL(storage, DeleteKey(storage_id_, _))
718 DeleteKey(storage_id_, Service::kStorageHasEverConnected))
720 EXPECT_CALL(storage, SetBool(storage_id_, _, _)).Times(AnyNumber());
722 EXPECT_CALL(*eap_, Save(&storage, storage_id_, true)).Times(2);
728 SetBool(storage_id_, Service::kStorageHasEverConnected, true));
733 SetBool(storage_id_, Service::kStorageHasEverConnected, false));
740 EXPECT_CALL(storage, ContainsGroup(storage_id_)).WillOnce(Return(true));
742 EXPECT_CALL(storage, GetString(storage_id_, _, _))
745 EXPECT_CALL(storage, GetBool(storage_id_, _, _))
752 EXPECT_CALL(*eap_, Load(&storage, storage_id_));
1014 EXPECT_CALL(storage, ContainsGroup(storage_id_)).WillOnce(Return(true));
1016 EXPECT_CALL(*eap_, Load(&storage, storage_id_));