/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | DatabaseUtilsTest.java | 32 import static com.android.providers.media.util.DatabaseUtils.bindSelection; 33 import static com.android.providers.media.util.DatabaseUtils.escapeForLike; 34 import static com.android.providers.media.util.DatabaseUtils.maybeBalance; 35 import static com.android.providers.media.util.DatabaseUtils.parseBoolean; 36 import static com.android.providers.media.util.DatabaseUtils.recoverAbusiveLimit; 37 import static com.android.providers.media.util.DatabaseUtils.recoverAbusiveSortOrder; 38 import static com.android.providers.media.util.DatabaseUtils.resolveQueryArgs; 74 new DatabaseUtils(); in testConstructor() 361 assertEquals("()", DatabaseUtils.bindList()); in testBindList() 362 assertEquals("( 'foo' )", DatabaseUtils.bindList("foo")); in testBindList() [all …]
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarDatabaseHelper.java | 24 import android.database.DatabaseUtils; 253 private DatabaseUtils.InsertHelper mCalendarsInserter; 254 private DatabaseUtils.InsertHelper mColorsInserter; 255 private DatabaseUtils.InsertHelper mEventsInserter; 256 private DatabaseUtils.InsertHelper mEventsRawTimesInserter; 257 private DatabaseUtils.InsertHelper mInstancesInserter; 258 private DatabaseUtils.InsertHelper mAttendeesInserter; 259 private DatabaseUtils.InsertHelper mRemindersInserter; 260 private DatabaseUtils.InsertHelper mCalendarAlertsInserter; 261 private DatabaseUtils.InsertHelper mExtendedPropertiesInserter; [all …]
|
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/ |
D | PartnerBookmarksProvider.java | 30 import android.database.DatabaseUtils; 258 DatabaseUtils.InsertHelper insertHelper = null; in addDefaultBookmarks() 260 insertHelper = new DatabaseUtils.InsertHelper(db, TABLE_BOOKMARKS); in addDefaultBookmarks() 372 selection = DatabaseUtils.concatenateWhere(selection, in query() 375 selectionArgs = DatabaseUtils.appendSelectionArgs(selectionArgs, in query() 379 selection = DatabaseUtils.concatenateWhere(selection, in query() 382 selectionArgs = DatabaseUtils.appendSelectionArgs(selectionArgs, in query() 404 where = DatabaseUtils.concatenateWhere(where, selection); in query() 407 args = DatabaseUtils.appendSelectionArgs(args, selectionArgs); in query()
|
/packages/services/Mtp/src/com/android/mtp/ |
D | Mapper.java | 22 import android.database.DatabaseUtils; 213 DatabaseUtils.appendSelectionArgs(args, strings(ROW_STATE_VALID))); in startAddingDocuments() 346 DatabaseUtils.appendSelectionArgs(strings(ROW_STATE_INVALIDATED), args))) { in stopAddingDocuments() 352 DatabaseUtils.appendSelectionArgs( in stopAddingDocuments() 393 DatabaseUtils.appendSelectionArgs(args, strings(ROW_STATE_INVALIDATED))); in cancelAddingDocuments() 441 DatabaseUtils.appendSelectionArgs( in queryCandidate()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | SQLiteQueryBuilder.java | 26 import static com.android.providers.media.util.DatabaseUtils.bindSelection; 32 import android.database.DatabaseUtils; 191 DatabaseUtils.appendEscapedSQLString(mWhereClause, inWhere); in appendWhereEscapeString() 597 final ArrayMap<String, Object> rawValues = com.android.providers.media.util.DatabaseUtils 611 return com.android.providers.media.util.DatabaseUtils.executeInsert(db, sql, sqlArgs); 679 final ArrayMap<String, Object> rawValues = com.android.providers.media.util.DatabaseUtils 697 return com.android.providers.media.util.DatabaseUtils.executeUpdateDelete(db, sql, sqlArgs); 766 return com.android.providers.media.util.DatabaseUtils.executeUpdateDelete(db, sql, sqlArgs); 788 final ArrayMap<String, Object> rawValues = com.android.providers.media.util.DatabaseUtils 906 final ArrayMap<String, Object> rawValues = com.android.providers.media.util.DatabaseUtils [all …]
|
D | DatabaseUtils.java | 57 public class DatabaseUtils { class 110 switch (DatabaseUtils.getTypeOfObject(arg)) { in bindSelection() 517 return DatabaseUtils.bindSelection(sb.toString(), args); in bindList()
|
/packages/providers/TvProvider/src/com/android/providers/tv/util/ |
D | SqlParams.java | 19 import android.database.DatabaseUtils; 53 mSelection = DatabaseUtils.concatenateWhere(mSelection, selection); in appendWhere() 55 mSelectionArgs = DatabaseUtils.appendSelectionArgs(mSelectionArgs, selectionArgs); in appendWhere()
|
/packages/apps/TV/common/src/com/android/tv/common/util/sql/ |
D | SqlParams.java | 19 import android.database.DatabaseUtils; 56 mSelection = DatabaseUtils.concatenateWhere(mSelection, selection); in appendWhere() 58 mSelectionArgs = DatabaseUtils.appendSelectionArgs(mSelectionArgs, selectionArgs); in appendWhere()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/ |
D | DrmTest.java | 47 import com.android.providers.media.util.DatabaseUtils; 214 DatabaseUtils.copyFromCursorToContentValues(FileColumns.DISPLAY_NAME, c, values); in doForwardLock() 215 DatabaseUtils.copyFromCursorToContentValues(FileColumns.MIME_TYPE, c, values); in doForwardLock() 216 DatabaseUtils.copyFromCursorToContentValues(FileColumns.MEDIA_TYPE, c, values); in doForwardLock() 217 DatabaseUtils.copyFromCursorToContentValues(FileColumns.IS_DRM, c, values); in doForwardLock() 218 DatabaseUtils.copyFromCursorToContentValues(FileColumns.DURATION, c, values); in doForwardLock()
|
D | MediaScannerTest.java | 31 import android.database.DatabaseUtils; 204 DatabaseUtils.dumpCursor(cl); in testCorrectness() 206 DatabaseUtils.dumpCursor(cm); in testCorrectness()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | CallLogMigrationTest.java | 19 import android.database.DatabaseUtils; 70 assertEquals(3, DatabaseUtils.longForQuery(db, "select count(*) from " + in testMigration() 73 assertEquals(2, DatabaseUtils.longForQuery(db, "select count(*) from " + in testMigration()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | DataRowHandlerForOrganization.java | 21 import android.database.DatabaseUtils; 71 company = DatabaseUtils.stringForQuery(db, in update() 82 title = DatabaseUtils.stringForQuery(db, in update()
|
D | MemoryCursor.java | 21 import android.database.DatabaseUtils; 36 DatabaseUtils.cursorFillWindow(cursor, 0, getWindow()); in fillFromCursor()
|
D | CallLogDatabaseHelper.java | 22 import android.database.DatabaseUtils; 515 DatabaseUtils.cursorRowToContentValues(source, cv); in migrateFromLegacyTables() 526 DatabaseUtils.cursorRowToContentValues(source, cv); in migrateFromLegacyTables() 559 return DatabaseUtils.longForQuery(db, in tableExists()
|
D | CallLogProvider.java | 36 import android.database.DatabaseUtils; 262 private DatabaseUtils.InsertHelper mCallsInserter; 611 mCallsInserter = new DatabaseUtils.InsertHelper(db, Tables.CALLS); in insertInternal() 875 private DatabaseModifier createDatabaseModifier(DatabaseUtils.InsertHelper insertHelper) { in createDatabaseModifier() 1127 DatabaseUtils.cursorRowToContentValues(cursor, values); in copyEntriesFromCursor() 1149 if (DatabaseUtils.queryNumEntries(db, Tables.CALLS, in copyEntriesFromCursor()
|
D | ContactsDatabaseHelper.java | 30 import android.database.DatabaseUtils; 3170 DatabaseUtils.appendEscapedSQLString(sb, iccId); in upgradeToVersion1003() 3961 DatabaseUtils.bindObjectToProgram(select, 1, accountWithDataSet.getAccountName()); in getAccountIdOrNull() 3962 DatabaseUtils.bindObjectToProgram(select, 2, accountWithDataSet.getAccountType()); in getAccountIdOrNull() 3963 DatabaseUtils.bindObjectToProgram(select, 3, accountWithDataSet.getDataSet()); in getAccountIdOrNull() 3994 DatabaseUtils.bindObjectToProgram(insert, 1, accountWithDataSet.getAccountName()); in getOrCreateAccountIdInTransaction() 3995 DatabaseUtils.bindObjectToProgram(insert, 2, accountWithDataSet.getAccountType()); in getOrCreateAccountIdInTransaction() 3996 DatabaseUtils.bindObjectToProgram(insert, 3, accountWithDataSet.getDataSet()); in getOrCreateAccountIdInTransaction() 4043 DatabaseUtils.bindObjectToProgram(insert, 1, accountWithDataSet.getAccountName()); in createSimAccountIdInTransaction() 4044 DatabaseUtils.bindObjectToProgram(insert, 2, accountWithDataSet.getAccountType()); in createSimAccountIdInTransaction() [all …]
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/ |
D | StringableCursor.java | 20 import android.database.DatabaseUtils; 40 return DatabaseUtils.dumpCursorToString(wrapped); in toString()
|
/packages/apps/TV/partner_support/src/com/google/android/tv/partner/support/ |
D | Lineups.java | 22 import android.database.DatabaseUtils; 37 DatabaseUtils.cursorRowToContentValues(cursor, contentValues); in query()
|
D | EpgInputs.java | 22 import android.database.DatabaseUtils; 58 DatabaseUtils.cursorRowToContentValues(cursor, contentValues); in queryEpgInputs()
|
/packages/apps/KeyChain/src/com/android/keychain/internal/ |
D | GrantsDatabase.java | 23 import android.database.DatabaseUtils; 135 DatabaseUtils.longForQuery( in hasEntryInUserSelectableTable() 169 DatabaseUtils.longForQuery( in hasGrantInternal()
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarDatabaseHelperTest.java | 25 import android.database.DatabaseUtils; 48 private DatabaseUtils.InsertHelper mBadEventsInserter; 49 private DatabaseUtils.InsertHelper mGoodEventsInserter;
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
D | PhotoProvider.java | 24 import android.database.DatabaseUtils; 361 return DatabaseUtils.concatenateWhere(selection, where); in addIdToSelection() 377 return DatabaseUtils.appendSelectionArgs(selectionArgs, whereArgs); in addIdToSelectionArgs() 387 return DatabaseUtils.appendSelectionArgs(selectionArgs, additionalArgs); in addMetadataKeysToSelectionArgs()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
D | DbQueryUtils.java | 19 import android.database.DatabaseUtils; 53 DatabaseUtils.appendEscapedSQLString(clause, value); in getClauseWithOperator()
|
/packages/apps/Launcher3/src/com/android/launcher3/provider/ |
D | LauncherDbUtils.java | 22 import android.database.DatabaseUtils; 73 if (DatabaseUtils.queryNumEntries(db, Favorites.TABLE_NAME, in prepareScreenZeroToHostQsb()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 66 import static com.android.providers.media.util.DatabaseUtils.bindList; 206 import com.android.providers.media.util.DatabaseUtils; 1250 String relativePath = "Android/media/" + DatabaseUtils.escapeForLike(packageName) + "/%"; in onPackageOrphaned() 1873 options.add(DatabaseUtils.bindSelection("media_type=?", in getWhereClauseForMatchableVisibleFromFilePath() 1875 options.add(DatabaseUtils.bindSelection("media_type=?", in getWhereClauseForMatchableVisibleFromFilePath() 1877 options.add(DatabaseUtils.bindSelection("media_type=?", in getWhereClauseForMatchableVisibleFromFilePath() 1882 options.add(DatabaseUtils.bindSelection("media_type=?", in getWhereClauseForMatchableVisibleFromFilePath() 1884 options.add(DatabaseUtils.bindSelection("media_type=?", in getWhereClauseForMatchableVisibleFromFilePath() 1889 options.add(DatabaseUtils.bindSelection("media_type=?", in getWhereClauseForMatchableVisibleFromFilePath() 1900 options.add(DatabaseUtils.bindSelection(matchSharedPackagesClause)); in getWhereClauseForMatchableVisibleFromFilePath() [all …]
|