Home
last modified time | relevance | path

Searched refs:dbInsertAndCheck (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherProvider.java140 @Thunk static long dbInsertAndCheck(DatabaseHelper helper, in dbInsertAndCheck() method in LauncherProvider
174 final long rowId = dbInsertAndCheck(mOpenHelper, db, args.table, null, initialValues); in insert()
208 if (dbInsertAndCheck(mOpenHelper, db, args.table, null, values[i]) < 0) { in bulkInsert()
974 return dbInsertAndCheck(this, db, TABLE_FAVORITES, null, values); in insertAndCheck()
1055 if (dbInsertAndCheck(this, getWritableDatabase(), in addScreenIdIfNecessary()
1107 if (dbInsertAndCheck(this, db, TABLE_WORKSPACE_SCREENS, null, values) < 0) { in loadFavorites()
1368 if (dbInsertAndCheck(this, db, TABLE_FAVORITES, null, row) in migrateLauncher2Shortcuts()
1387 … if (dbInsertAndCheck(this, db, TABLE_WORKSPACE_SCREENS, null, values) in migrateLauncher2Shortcuts()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherProvider.java133 private static long dbInsertAndCheck(DatabaseHelper helper, in dbInsertAndCheck() method in LauncherProvider
152 final long rowId = dbInsertAndCheck(mOpenHelper, db, args.table, null, initialValues); in insert()
170 if (dbInsertAndCheck(mOpenHelper, db, args.table, null, values[i]) < 0) { in bulkInsert()
483 if (dbInsertAndCheck(this, db, TABLE_FAVORITES, null, rows[i]) < 0) { in copyFromCursor()
1068 if (dbInsertAndCheck(this, db, TABLE_FAVORITES, null, values) < 0) { in addAppShortcut()
1084 if (dbInsertAndCheck(this, db, TABLE_FAVORITES, null, values) <= 0) { in addFolder()
1201 dbInsertAndCheck(this, db, TABLE_FAVORITES, null, values); in addAppWidget()
1257 if (dbInsertAndCheck(this, db, TABLE_FAVORITES, null, values) < 0) { in addUriShortcut()