Searched refs:toDatabase (Results 1 – 1 of 1) sorted by relevance
1603 private static int copyAccountTables(SQLiteDatabase fromDatabase, SQLiteDatabase toDatabase) { in copyAccountTables() argument1604 if (fromDatabase == null || toDatabase == null) return -1; in copyAccountTables()1611 toDatabase.beginTransaction(); in copyAccountTables()1614 toDatabase.delete(Account.TABLE_NAME, null, null); in copyAccountTables()1615 toDatabase.delete(HostAuth.TABLE_NAME, null, null); in copyAccountTables()1642 account.mHostAuthKeyRecv = toDatabase.insert(HostAuth.TABLE_NAME, null, in copyAccountTables()1652 account.mHostAuthKeySend = toDatabase.insert( in copyAccountTables()1657 toDatabase.insert(Account.TABLE_NAME, null, account.toContentValues()); in copyAccountTables()1665 toDatabase.setTransactionSuccessful(); in copyAccountTables()1667 toDatabase.endTransaction(); in copyAccountTables()