Searched refs:dbInsertAndCheck (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | LauncherProvider.java | 127 private static long dbInsertAndCheck(DatabaseHelper helper, in dbInsertAndCheck() method in LauncherProvider 146 final long rowId = dbInsertAndCheck(mOpenHelper, db, args.table, null, initialValues); in insert() 164 if (dbInsertAndCheck(mOpenHelper, db, args.table, null, values[i]) < 0) { in bulkInsert() 424 if (dbInsertAndCheck(this, db, TABLE_FAVORITES, null, rows[i]) < 0) { in copyFromCursor() 1009 if (dbInsertAndCheck(this, db, TABLE_FAVORITES, null, values) < 0) { in addAppShortcut() 1025 if (dbInsertAndCheck(this, db, TABLE_FAVORITES, null, values) <= 0) { in addFolder() 1142 dbInsertAndCheck(this, db, TABLE_FAVORITES, null, values); in addAppWidget() 1198 if (dbInsertAndCheck(this, db, TABLE_FAVORITES, null, values) < 0) { in addUriShortcut()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherProvider.java | 136 private static long dbInsertAndCheck(DatabaseHelper helper, in dbInsertAndCheck() method in LauncherProvider 162 final long rowId = dbInsertAndCheck(mOpenHelper, db, args.table, null, initialValues); in insert() 182 if (dbInsertAndCheck(mOpenHelper, db, args.table, null, values[i]) < 0) { in bulkInsert() 652 if (dbInsertAndCheck(this, db, TABLE_FAVORITES, null, rows[i]) < 0) { in copyFromCursor() 1061 return dbInsertAndCheck(this, db, TABLE_FAVORITES, null, values); in insertAndCheck() 1276 if (dbInsertAndCheck(this, getWritableDatabase(), in addScreenIdIfNecessary() 1328 if (dbInsertAndCheck(this, db, TABLE_WORKSPACE_SCREENS, null, values) < 0) { in loadFavorites() 1594 if (dbInsertAndCheck(this, db, TABLE_FAVORITES, null, row) in migrateLauncher2Shortcuts() 1613 … if (dbInsertAndCheck(this, db, TABLE_WORKSPACE_SCREENS, null, values) in migrateLauncher2Shortcuts()
|