Searched refs:toDatabase (Results 1 – 1 of 1) sorted by relevance
1602 private static int copyAccountTables(SQLiteDatabase fromDatabase, SQLiteDatabase toDatabase) { in copyAccountTables() argument1603 if (fromDatabase == null || toDatabase == null) return -1; in copyAccountTables()1610 toDatabase.beginTransaction(); in copyAccountTables()1613 toDatabase.delete(Account.TABLE_NAME, null, null); in copyAccountTables()1614 toDatabase.delete(HostAuth.TABLE_NAME, null, null); in copyAccountTables()1641 account.mHostAuthKeyRecv = toDatabase.insert(HostAuth.TABLE_NAME, null, in copyAccountTables()1651 account.mHostAuthKeySend = toDatabase.insert( in copyAccountTables()1656 toDatabase.insert(Account.TABLE_NAME, null, account.toContentValues()); in copyAccountTables()1664 toDatabase.setTransactionSuccessful(); in copyAccountTables()1666 toDatabase.endTransaction(); in copyAccountTables()