Home
last modified time | relevance | path

Searched refs:CUSTOM_PASSPHRASE (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/sync/internal_api/
Dsync_encryption_handler_impl_unittest.cc156 if (passphrase_type == CUSTOM_PASSPHRASE || in VerifyMigratedNigoriWithTimestamp()
160 if (passphrase_type == CUSTOM_PASSPHRASE) { in VerifyMigratedNigoriWithTimestamp()
161 EXPECT_EQ(sync_pb::NigoriSpecifics::CUSTOM_PASSPHRASE, in VerifyMigratedNigoriWithTimestamp()
227 passphrase_type == CUSTOM_PASSPHRASE ? in BuildMigratedNigori()
228 sync_pb::NigoriSpecifics::CUSTOM_PASSPHRASE : in BuildMigratedNigori()
277 CUSTOM_PASSPHRASE, in InitCustomPassMigratedNigori()
285 OnPassphraseTypeChanged(CUSTOM_PASSPHRASE, _)); in InitCustomPassMigratedNigori()
294 EXPECT_EQ(encryption_handler()->GetPassphraseType(), CUSTOM_PASSPHRASE); in InitCustomPassMigratedNigori()
315 nigori.set_keybag_is_frozen(passphrase_type == CUSTOM_PASSPHRASE); in InitUnmigratedNigori()
804 OnPassphraseTypeChanged(CUSTOM_PASSPHRASE, _)); in TEST_F()
[all …]
Dsync_encryption_handler_impl.cc100 case sync_pb::NigoriSpecifics::CUSTOM_PASSPHRASE: in ProtoPassphraseTypeToEnum()
101 return CUSTOM_PASSPHRASE; in ProtoPassphraseTypeToEnum()
117 case CUSTOM_PASSPHRASE: in EnumPassphraseTypeToProto()
118 return sync_pb::NigoriSpecifics::CUSTOM_PASSPHRASE; in EnumPassphraseTypeToProto()
128 return type == CUSTOM_PASSPHRASE || type == FROZEN_IMPLICIT_PASSPHRASE; in IsExplicitPassphrase()
399 passphrase_type_ = CUSTOM_PASSPHRASE; in SetEncryptionPassphrase()
877 nigori_passphrase_type == CUSTOM_PASSPHRASE)) { in ApplyNigoriUpdateImpl()
907 passphrase_type_ != CUSTOM_PASSPHRASE) { in ApplyNigoriUpdateImpl()
908 passphrase_type_ = CUSTOM_PASSPHRASE; in ApplyNigoriUpdateImpl()
981 DCHECK(passphrase_type_ == CUSTOM_PASSPHRASE || in ApplyNigoriUpdateImpl()
[all …]
Dsync_manager_impl_unittest.cc1199 OnPassphraseTypeChanged(CUSTOM_PASSPHRASE, _)); in TEST_F()
1324 OnPassphraseTypeChanged(CUSTOM_PASSPHRASE, _)); in TEST_F()
1328 EXPECT_EQ(CUSTOM_PASSPHRASE, in TEST_F()
1510 OnPassphraseTypeChanged(CUSTOM_PASSPHRASE, _)); in TEST_F()
1520 EXPECT_EQ(CUSTOM_PASSPHRASE, in TEST_F()
1595 OnPassphraseTypeChanged(CUSTOM_PASSPHRASE, _)); in TEST_F()
1599 EXPECT_EQ(CUSTOM_PASSPHRASE, in TEST_F()
1826 OnPassphraseTypeChanged(CUSTOM_PASSPHRASE, _)); in TEST_F()
2025 OnPassphraseTypeChanged(CUSTOM_PASSPHRASE, _)); in TEST_F()
2029 EXPECT_EQ(CUSTOM_PASSPHRASE, in TEST_F()
/external/chromium_org/sync/test/
Dfake_sync_encryption_handler.cc32 passphrase_type_ = CUSTOM_PASSPHRASE; in ApplyNigoriUpdate()
103 passphrase_type_ = CUSTOM_PASSPHRASE; in SetEncryptionPassphrase()
/external/chromium_org/sync/internal_api/public/util/
Dsync_string_conversions.cc40 ENUM_CASE(CUSTOM_PASSPHRASE); in PassphraseTypeToString()
/external/chromium_org/sync/android/java/src/org/chromium/sync/internal_api/pub/
DSyncDecryptionPassphraseType.java23 CUSTOM_PASSPHRASE(3); // User-provided passphrase. enumConstant
/external/chromium_org/sync/internal_api/public/
Dsync_encryption_handler.h40 CUSTOM_PASSPHRASE = 3, // User-provided passphrase. enumerator
/external/chromium_org/sync/engine/
Dapply_control_data_updates_unittest.cc577 sync_pb::NigoriSpecifics::CUSTOM_PASSPHRASE); in TEST_F()
604 EXPECT_EQ(sync_pb::NigoriSpecifics::CUSTOM_PASSPHRASE, in TEST_F()
641 sync_pb::NigoriSpecifics::CUSTOM_PASSPHRASE); in TEST_F()
687 EXPECT_EQ(sync_pb::NigoriSpecifics::CUSTOM_PASSPHRASE, in TEST_F()
739 sync_pb::NigoriSpecifics::CUSTOM_PASSPHRASE); in TEST_F()
766 EXPECT_EQ(sync_pb::NigoriSpecifics::CUSTOM_PASSPHRASE, in TEST_F()
Dapply_control_data_updates.cc162 sync_pb::NigoriSpecifics::CUSTOM_PASSPHRASE); in ApplyNigoriUpdate()
/external/chromium_org/sync/protocol/
Dproto_enum_conversions.cc218 IMPLICIT_PASSPHRASE, CUSTOM_PASSPHRASE); in PassphraseTypeString()
223 ENUM_CASE(sync_pb::NigoriSpecifics, CUSTOM_PASSPHRASE); in PassphraseTypeString()
Dnigori_specifics.proto99 CUSTOM_PASSPHRASE = 4; enumerator
/external/chromium_org/chrome/browser/ui/webui/
Dsync_setup_handler.cc383 service->GetPassphraseType() == syncer::CUSTOM_PASSPHRASE); in DisplayConfigureSync()
404 case syncer::CUSTOM_PASSPHRASE: in DisplayConfigureSync()
416 } else if (passphrase_type == syncer::CUSTOM_PASSPHRASE) { in DisplayConfigureSync()
Dsync_setup_handler_unittest.cc1028 .WillRepeatedly(Return(syncer::CUSTOM_PASSPHRASE)); in TEST_F()
/external/chromium_org/chrome/browser/sync/
Dprofile_sync_service_android.cc232 if (sync_service_->GetPassphraseType() == syncer::CUSTOM_PASSPHRASE) { in IsPassphraseRequiredForDecryption()
Dprofile_sync_service.cc1867 passphrase_type == syncer::CUSTOM_PASSPHRASE; in IsUsingSecondaryPassphrase()