Home
last modified time | relevance | path

Searched refs:INIT_OK (Results 1 – 25 of 48) sorted by relevance

12

/external/chromium_org/components/enhanced_bookmarks/
Dpersistent_image_store.cc68 return sql::INIT_OK; in OpenDatabaseImpl()
81 if (OpenDatabase() != sql::INIT_OK) in HasKey()
97 if (OpenDatabase() != sql::INIT_OK) in Insert()
127 if (OpenDatabase() != sql::INIT_OK) in Erase()
138 if (OpenDatabase() != sql::INIT_OK) in Get()
161 if (OpenDatabase() != sql::INIT_OK) in GetSize()
182 if (OpenDatabase() != sql::INIT_OK) in GetAllPageUrls()
193 if (OpenDatabase() != sql::INIT_OK) in ClearAll()
214 return sql::INIT_OK; in OpenDatabase()
221 if (status == sql::INIT_OK) in OpenDatabase()
/external/chromium_org/components/webdata/common/
Dweb_data_service_backend.cc53 if (init_status_ != sql::INIT_OK) { in LoadDatabaseIfNecessary()
64 if (db_ && init_status_ == sql::INIT_OK) in ShutdownDatabase()
84 if (db_ && init_status_ == sql::INIT_OK) { in ExecuteWriteTask()
104 if (db_ && init_status_ == sql::INIT_OK) { in ExecuteReadTask()
116 DCHECK_EQ(sql::INIT_OK, init_status_); in Commit()
Dweb_database.cc112 if (migration_status != sql::INIT_OK) in Init()
126 return transaction.Commit() ? sql::INIT_OK : sql::INIT_FAILURE; in Init()
178 return sql::INIT_OK; in MigrateOldVersionsAsNeeded()
/external/chromium_org/sync/internal_api/
Dsync_rollback_manager_base_unittest.cc65 EXPECT_EQ(BaseNode::INIT_OK, in TEST_F()
69 EXPECT_EQ(BaseNode::INIT_OK, in TEST_F()
72 EXPECT_EQ(BaseNode::INIT_OK, in TEST_F()
78 EXPECT_EQ(BaseNode::INIT_OK, in TEST_F()
Dread_node.cc51 return DecryptIfNecessary() ? INIT_OK : INIT_FAILED_DECRYPT_IF_NECESSARY; in InitByIdLookup()
69 return DecryptIfNecessary() ? INIT_OK : INIT_FAILED_DECRYPT_IF_NECESSARY; in InitByClientTagLookup()
94 return DecryptIfNecessary() ? INIT_OK : INIT_FAILED_DECRYPT_IF_NECESSARY; in InitByTagLookupForBookmarks()
111 return DecryptIfNecessary() ? INIT_OK : INIT_FAILED_DECRYPT_IF_NECESSARY; in InitTypeRoot()
Dsync_manager_impl_unittest.cc122 EXPECT_EQ(BaseNode::INIT_OK, parent_node.InitByIdLookup(parent_id)); in MakeFolderWithParent()
134 EXPECT_EQ(BaseNode::INIT_OK, parent_node.InitByIdLookup(parent_id)); in MakeBookmarkWithParent()
283 syncer::WriteNode::INIT_OK); in ReplaceWithTombstone()
318 EXPECT_EQ(BaseNode::INIT_OK, in TEST_F()
344 EXPECT_EQ(BaseNode::INIT_OK, in TEST_F()
349 EXPECT_EQ(BaseNode::INIT_OK, in TEST_F()
354 EXPECT_EQ(BaseNode::INIT_OK, in TEST_F()
412 EXPECT_EQ(BaseNode::INIT_OK, in TEST_F()
437 EXPECT_EQ(BaseNode::INIT_OK, folder_node.InitByIdLookup(folder_id)); in TEST_F()
455 EXPECT_EQ(BaseNode::INIT_OK, in TEST_F()
[all …]
Dsync_backup_manager_unittest.cc82 EXPECT_EQ(BaseNode::INIT_OK, type_root.InitTypeRoot(type)); in CreateEntry()
124 EXPECT_EQ(BaseNode::INIT_OK, in TEST_F()
136 EXPECT_EQ(BaseNode::INIT_OK, in TEST_F()
158 EXPECT_EQ(BaseNode::INIT_OK, in TEST_F()
Dsync_encryption_handler_impl_unittest.cc149 ASSERT_EQ(nigori_node.InitTypeRoot(NIGORI), BaseNode::INIT_OK); in VerifyMigratedNigoriWithTimestamp()
242 ASSERT_EQ(nigori_node.InitTypeRoot(NIGORI), BaseNode::INIT_OK); in InitKeystoreMigratedNigori()
275 ASSERT_EQ(nigori_node.InitTypeRoot(NIGORI), BaseNode::INIT_OK); in InitCustomPassMigratedNigori()
312 ASSERT_EQ(nigori_node.InitTypeRoot(NIGORI), BaseNode::INIT_OK); in InitUnmigratedNigori()
590 ASSERT_EQ(nigori_node.InitTypeRoot(NIGORI), BaseNode::INIT_OK); in TEST_F()
733 ASSERT_EQ(nigori_node.InitTypeRoot(NIGORI), BaseNode::INIT_OK); in TEST_F()
790 ASSERT_EQ(nigori_node.InitTypeRoot(NIGORI), BaseNode::INIT_OK); in TEST_F()
1038 ASSERT_EQ(nigori_node.InitTypeRoot(NIGORI), BaseNode::INIT_OK); in TEST_F()
1118 ASSERT_EQ(nigori_node.InitTypeRoot(NIGORI), BaseNode::INIT_OK); in TEST_F()
1198 ASSERT_EQ(nigori_node.InitTypeRoot(NIGORI), BaseNode::INIT_OK); in TEST_F()
[all …]
Dsync_encryption_handler_impl.cc251 if (node.InitTypeRoot(NIGORI) != BaseNode::INIT_OK) in Init()
335 if (node.InitTypeRoot(NIGORI) != BaseNode::INIT_OK) { in SetEncryptionPassphrase()
487 if (node.InitTypeRoot(NIGORI) != BaseNode::INIT_OK) { in SetDecryptionPassphrase()
768 if (nigori_node.InitTypeRoot(NIGORI) != BaseNode::INIT_OK) in MigratedToKeystore()
796 if (type_root.InitTypeRoot(iter.Get()) != BaseNode::INIT_OK) in ReEncryptEverything()
810 if (child.InitByIdLookup(child_id) != BaseNode::INIT_OK) in ReEncryptEverything()
827 if (passwords_root.InitTypeRoot(PASSWORDS) == BaseNode::INIT_OK) { in ReEncryptEverything()
831 if (child.InitByIdLookup(child_id) != BaseNode::INIT_OK) { in ReEncryptEverything()
1012 if (nigori_node.InitTypeRoot(NIGORI) != BaseNode::INIT_OK) in WriteEncryptionStateToNigori()
Dwrite_node.cc289 return DecryptIfNecessary() ? INIT_OK : INIT_FAILED_DECRYPT_IF_NECESSARY; in InitByIdLookup()
310 return DecryptIfNecessary() ? INIT_OK : INIT_FAILED_DECRYPT_IF_NECESSARY; in InitByClientTagLookup()
325 return INIT_OK; in InitTypeRoot()
/external/chromium_org/chrome/browser/history/android/
Dandroid_cache_database_unittest.cc33 ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_)); in SetUp()
34 ASSERT_EQ(sql::INIT_OK, in SetUp()
51 ASSERT_EQ(sql::INIT_OK, history_db.Init(history_db_name)); in TEST()
57 ASSERT_EQ(sql::INIT_OK, in TEST()
Dandroid_provider_backend_unittest.cc274 ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_)); in TEST_F()
275 ASSERT_EQ(sql::INIT_OK, thumbnail_db_.Init(thumbnail_db_name_)); in TEST_F()
412 ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_)); in TEST_F()
413 ASSERT_EQ(sql::INIT_OK, thumbnail_db_.Init(thumbnail_db_name_)); in TEST_F()
504 ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_)); in TEST_F()
505 ASSERT_EQ(sql::INIT_OK, thumbnail_db_.Init(thumbnail_db_name_)); in TEST_F()
615 ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_)); in TEST_F()
616 ASSERT_EQ(sql::INIT_OK, thumbnail_db_.Init(thumbnail_db_name_)); in TEST_F()
715 ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_)); in TEST_F()
716 ASSERT_EQ(sql::INIT_OK, thumbnail_db_.Init(thumbnail_db_name_)); in TEST_F()
[all …]
Dandroid_urls_database_unittest.cc48 ASSERT_EQ(sql::INIT_OK, db.Init(history_db_name_)); in TEST_F()
/external/chromium_org/chrome/browser/history/
Dthumbnail_database_unittest.cc177 EXPECT_EQ(sql::INIT_OK, db->Init(file_name_)); in LoadFromGolden()
197 ASSERT_EQ(sql::INIT_OK, db.Init(file_name_)); in TEST_F()
219 ASSERT_EQ(sql::INIT_OK, db.Init(file_name_)); in TEST_F()
247 ASSERT_EQ(sql::INIT_OK, db.Init(file_name_)); in TEST_F()
277 ASSERT_EQ(sql::INIT_OK, db.Init(file_name_)); in TEST_F()
306 ASSERT_EQ(sql::INIT_OK, db.Init(file_name_)); in TEST_F()
382 ASSERT_EQ(sql::INIT_OK, db.Init(file_name_)); in TEST_F()
406 ASSERT_EQ(sql::INIT_OK, db.Init(file_name_)); in TEST_F()
470 ASSERT_EQ(sql::INIT_OK, db.Init(file_name_)); in TEST_F()
526 ASSERT_EQ(sql::INIT_OK, db.Init(file_name_)); in TEST_F()
[all …]
Dhistory_database.cc98 if (version_status != sql::INIT_OK) in Init()
101 return committer.Commit() ? sql::INIT_OK : sql::INIT_FAILURE; in Init()
439 return sql::INIT_OK; in EnsureCurrentVersion()
Dhistory_database_unittest.cc37 ASSERT_EQ(sql::INIT_OK, history_db.Init(db_file)); in TEST()
/external/chromium_org/chrome/browser/sync/glue/
Dbookmark_model_associator.cc279 if (sync_node->InitByIdLookup(sync_id) != syncer::BaseNode::INIT_OK) in InitSyncNodeFromChromeId()
330 syncer::BaseNode::INIT_OK) { in SyncModelHasUserCreatedNodes()
336 syncer::BaseNode::INIT_OK) { in SyncModelHasUserCreatedNodes()
343 syncer::BaseNode::INIT_OK) { in SyncModelHasUserCreatedNodes()
394 tag.c_str()) != syncer::BaseNode::INIT_OK) in GetSyncIdForTaggedNode()
493 if (bm_root.InitTypeRoot(syncer::BOOKMARKS) == syncer::BaseNode::INIT_OK) { in BuildAssociations()
510 syncer::BaseNode::INIT_OK) { in BuildAssociations()
536 syncer::BaseNode::INIT_OK) { in BuildAssociations()
731 if (sync_node.InitByIdLookup(sync_id) != syncer::BaseNode::INIT_OK) { in PersistAssociations()
Dtyped_url_change_processor.cc115 syncer::BaseNode::INIT_OK) { in CreateOrUpdateSyncNode()
132 if (result == syncer::BaseNode::INIT_OK) { in CreateOrUpdateSyncNode()
191 syncer::BaseNode::INIT_OK) { in HandleURLsDeleted()
238 syncer::BaseNode::INIT_OK) { in ApplyChangesFromSyncModel()
263 if (sync_node.InitByIdLookup(it->id) != syncer::BaseNode::INIT_OK) { in ApplyChangesFromSyncModel()
Dtyped_url_model_associator.cc230 syncer::BaseNode::INIT_OK) { in DoAssociateModels()
248 syncer::BaseNode::INIT_OK) { in DoAssociateModels()
268 syncer::BaseNode::INIT_OK) { in DoAssociateModels()
328 syncer::BaseNode::INIT_OK) { in DoAssociateModels()
386 if (sync_node.InitByIdLookup(*it) != syncer::BaseNode::INIT_OK) { in DoAssociateModels()
467 syncer::BaseNode::INIT_OK) { in DeleteAllNodes()
475 syncer::BaseNode::INIT_OK) { in DeleteAllNodes()
499 if (sync_node.InitTypeRoot(syncer::TYPED_URLS) != syncer::BaseNode::INIT_OK) { in SyncModelHasUserCreatedNodes()
/external/chromium_org/components/sync_driver/
Dgeneric_change_processor.cc159 if (read_node.InitByIdLookup(it->id) != syncer::BaseNode::INIT_OK) { in ApplyChangesFromSyncModel()
241 if (root.InitTypeRoot(type_) != syncer::BaseNode::INIT_OK) { in GetAllSyncDataReturnError()
261 syncer::BaseNode::INIT_OK) { in GetAllSyncDataReturnError()
292 if (root.InitTypeRoot(type_) != syncer::BaseNode::INIT_OK) in GetSyncCount()
378 if (result != syncer::BaseNode::INIT_OK) { in AttemptDelete()
388 if (result != syncer::BaseNode::INIT_OK) { in AttemptDelete()
495 syncer::BaseNode::INIT_OK) { in HandleActionAdd()
579 if (result != syncer::BaseNode::INIT_OK) { in HandleActionUpdate()
678 if (type_root_node.InitTypeRoot(type_) != syncer::BaseNode::INIT_OK) { in SyncModelHasUserCreatedNodes()
Dgeneric_change_processor_unittest.cc174 ASSERT_EQ(syncer::BaseNode::INIT_OK, root.InitTypeRoot(type)); in BuildChildNodes()
283 syncer::BaseNode::INIT_OK); in TEST_F()
355 syncer::BaseNode::INIT_OK); in TEST_F()
448 ASSERT_EQ(node.InitByClientTagLookup(kType, tag), syncer::BaseNode::INIT_OK); in TEST_F()
463 ASSERT_EQ(syncer::BaseNode::INIT_OK, root.InitTypeRoot(kType)); in TEST_F()
/external/chromium_org/sql/
Dinit_status.h12 INIT_OK, enumerator
/external/chromium_org/chrome/browser/sync/
Dprofile_sync_service_bookmark_unittest.cc85 EXPECT_EQ(BaseNode::INIT_OK, parent.InitByIdLookup(parent_id)); in AddWithMetaInfo()
91 EXPECT_EQ(BaseNode::INIT_OK, predecessor.InitByIdLookup(predecessor_id)); in AddWithMetaInfo()
158 EXPECT_EQ(BaseNode::INIT_OK, node.InitByIdLookup(id)); in Delete()
184 EXPECT_EQ(BaseNode::INIT_OK, node.InitByIdLookup(id)); in ModifyTitle()
196 EXPECT_EQ(BaseNode::INIT_OK, parent.InitByIdLookup(parent_id)); in ModifyPosition()
198 EXPECT_EQ(BaseNode::INIT_OK, node.InitByIdLookup(id)); in ModifyPosition()
204 EXPECT_EQ(BaseNode::INIT_OK, predecessor.InitByIdLookup(predecessor_id)); in ModifyPosition()
214 ASSERT_EQ(BaseNode::INIT_OK, node.InitByIdLookup(id)); in ModifyCreationTime()
224 ASSERT_EQ(BaseNode::INIT_OK, node.InitByIdLookup(id)); in ModifyMetaInfo()
356 EXPECT_EQ(BaseNode::INIT_OK, in AddFolderToShare()
[all …]
/external/chromium_org/chrome/browser/extensions/activity_log/
Dactivity_database.cc87 sql::InitStatus stat = committer.Commit() ? sql::INIT_OK : sql::INIT_FAILURE; in Init()
88 if (stat != sql::INIT_OK) in Init()
/external/chromium_org/content/browser/appcache/
Dappcache_histograms.h20 INIT_OK, SQL_DATABASE_ERROR, DISK_CACHE_ERROR, enumerator

12