/frameworks/base/core/java/android/provider/ |
D | CalendarContract.java | 35 import android.database.DatabaseUtils; 527 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, ACCOUNT_NAME); in getEntityAndIncrementCursor() 528 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, ACCOUNT_TYPE); in getEntityAndIncrementCursor() 530 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, _SYNC_ID); in getEntityAndIncrementCursor() 531 DatabaseUtils.cursorLongToContentValuesIfPresent(cursor, cv, DIRTY); in getEntityAndIncrementCursor() 532 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, MUTATORS); in getEntityAndIncrementCursor() 534 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, CAL_SYNC1); in getEntityAndIncrementCursor() 535 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, CAL_SYNC2); in getEntityAndIncrementCursor() 536 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, CAL_SYNC3); in getEntityAndIncrementCursor() 537 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, CAL_SYNC4); in getEntityAndIncrementCursor() [all …]
|
D | Browser.java | 25 import android.database.DatabaseUtils; 281 DatabaseUtils.appendEscapedSQLString(whereClause, in getVisitedLike() 284 DatabaseUtils.appendEscapedSQLString(whereClause, in getVisitedLike() 288 DatabaseUtils.appendEscapedSQLString(whereClause, in getVisitedLike() 292 DatabaseUtils.appendEscapedSQLString(whereClause, in getVisitedLike() 295 DatabaseUtils.appendEscapedSQLString(whereClause, in getVisitedLike() 298 DatabaseUtils.appendEscapedSQLString(whereClause, in getVisitedLike()
|
D | ContactsContract.java | 41 import android.database.DatabaseUtils; 3096 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, ACCOUNT_NAME); in getEntityAndIncrementCursor() 3097 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, ACCOUNT_TYPE); in getEntityAndIncrementCursor() 3098 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, DATA_SET); in getEntityAndIncrementCursor() 3099 DatabaseUtils.cursorLongToContentValuesIfPresent(cursor, cv, _ID); in getEntityAndIncrementCursor() 3100 DatabaseUtils.cursorLongToContentValuesIfPresent(cursor, cv, DIRTY); in getEntityAndIncrementCursor() 3101 DatabaseUtils.cursorLongToContentValuesIfPresent(cursor, cv, VERSION); in getEntityAndIncrementCursor() 3102 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, SOURCE_ID); in getEntityAndIncrementCursor() 3103 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, SYNC1); in getEntityAndIncrementCursor() 3104 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, SYNC2); in getEntityAndIncrementCursor() [all …]
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | DatabaseGeneralTest.java | 19 import static android.database.DatabaseUtils.InsertHelper.TABLE_INFO_PRAGMA_COLUMNNAME_INDEX; 20 import static android.database.DatabaseUtils.InsertHelper.TABLE_INFO_PRAGMA_DEFAULT_INDEX; 454 Assert.assertEquals(0, DatabaseUtils.longForQuery(mDatabase, in testTokenize() 456 Assert.assertEquals(0, DatabaseUtils.longForQuery(mDatabase, in testTokenize() 458 Assert.assertEquals(0, DatabaseUtils.longForQuery(mDatabase, in testTokenize() 460 Assert.assertEquals(0, DatabaseUtils.longForQuery(mDatabase, in testTokenize() 463 Assert.assertEquals(3, DatabaseUtils.longForQuery(mDatabase, in testTokenize() 465 Assert.assertEquals(2, DatabaseUtils.longForQuery(mDatabase, in testTokenize() 468 Assert.assertEquals(3, DatabaseUtils.longForQuery(mDatabase, in testTokenize() 470 Assert.assertEquals(3, DatabaseUtils.longForQuery(mDatabase, in testTokenize() [all …]
|
D | DatabaseCursorTest.java | 24 import android.database.DatabaseUtils; 116 DatabaseUtils.cursorRowToContentValues(c, cv); in testBlob()
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteProgram.java | 19 import android.database.DatabaseUtils; 45 int n = DatabaseUtils.getSqlStatementType(mSql); in SQLiteProgram() 47 case DatabaseUtils.STATEMENT_BEGIN: in SQLiteProgram() 48 case DatabaseUtils.STATEMENT_COMMIT: in SQLiteProgram() 49 case DatabaseUtils.STATEMENT_ABORT: in SQLiteProgram() 56 boolean assumeReadOnly = (n == DatabaseUtils.STATEMENT_SELECT); in SQLiteProgram()
|
D | SQLiteCursor.java | 21 import android.database.DatabaseUtils; 142 int startPos = DatabaseUtils.cursorPickFillWindowStartPosition(requiredPos, 0); in fillWindow() 149 int startPos = DatabaseUtils.cursorPickFillWindowStartPosition(requiredPos, in fillWindow()
|
D | SQLiteSession.java | 20 import android.database.DatabaseUtils; 871 final int type = DatabaseUtils.getSqlStatementType(sql); in executeSpecial() 873 case DatabaseUtils.STATEMENT_BEGIN: in executeSpecial() 878 case DatabaseUtils.STATEMENT_COMMIT: in executeSpecial() 883 case DatabaseUtils.STATEMENT_ABORT: in executeSpecial()
|
D | SQLiteDatabase.java | 24 import android.database.DatabaseUtils; 866 return ((Long) DatabaseUtils.longForQuery(this, "PRAGMA user_version;", null)).intValue(); in getVersion() 884 long pageCount = DatabaseUtils.longForQuery(this, "PRAGMA max_page_count;", null); in getMaximumSize() 902 long newPageCount = DatabaseUtils.longForQuery(this, "PRAGMA max_page_count = " + numPages, in setMaximumSize() 913 return DatabaseUtils.longForQuery(this, "PRAGMA page_size;", null); in getPageSize() 1664 if (DatabaseUtils.getSqlStatementType(sql) == DatabaseUtils.STATEMENT_ATTACH) { in executeSql()
|
D | SQLiteQueryBuilder.java | 20 import android.database.DatabaseUtils; 121 DatabaseUtils.appendEscapedSQLString(mWhereClause, inWhere); in appendWhereEscapeString()
|
D | SQLiteConnection.java | 24 import android.database.DatabaseUtils; 892 final int type = DatabaseUtils.getSqlStatementType(sql); in acquirePreparedStatement() 993 switch (DatabaseUtils.getTypeOfObject(arg)) { in bindArguments() 1031 if (statementType == DatabaseUtils.STATEMENT_UPDATE in isCacheable() 1032 || statementType == DatabaseUtils.STATEMENT_SELECT) { in isCacheable()
|
/frameworks/base/core/java/android/database/ |
D | BulkCursorNative.java | 126 DatabaseUtils.writeExceptionToParcel(reply, e); in onTransact() 164 DatabaseUtils.readExceptionFromParcel(reply); in getWindow() 185 DatabaseUtils.readExceptionFromParcel(reply); in onMove() 200 DatabaseUtils.readExceptionFromParcel(reply); in deactivate() 215 DatabaseUtils.readExceptionFromParcel(reply); in close() 230 DatabaseUtils.readExceptionFromParcel(reply); in requery() 254 DatabaseUtils.readExceptionFromParcel(reply); in getExtras() 273 DatabaseUtils.readExceptionFromParcel(reply); in respond()
|
D | CrossProcessCursorWrapper.java | 53 DatabaseUtils.cursorFillWindow(mCursor, position, window); in fillWindow()
|
D | DatabaseUtils.java | 47 public class DatabaseUtils { class 135 DatabaseUtils.readExceptionFromParcel(reply, msg, code); in readExceptionFromParcel() 146 DatabaseUtils.readExceptionFromParcel(reply, msg, code); in readExceptionWithFileNotFoundExceptionFromParcel() 158 DatabaseUtils.readExceptionFromParcel(reply, msg, code); in readExceptionWithOperationApplicationExceptionFromParcel() 360 DatabaseUtils.appendEscapedSQLString(escaper, value); in sqlEscapeString() 1125 DatabaseUtils.bindObjectToProgram(stmt, i, e.getValue()); in insertInternal()
|
D | MatrixCursor.java | 307 return DatabaseUtils.getTypeOfObject(get(column)); in getType()
|
D | AbstractCursor.java | 248 DatabaseUtils.cursorFillWindow(this, position, window); in fillWindow()
|
/frameworks/base/core/java/android/content/ |
D | ContentProviderNative.java | 25 import android.database.DatabaseUtils; 363 DatabaseUtils.writeExceptionToParcel(reply, e); in onTransact() 418 DatabaseUtils.readExceptionFromParcel(reply); in query() 453 DatabaseUtils.readExceptionFromParcel(reply); in getType() 476 DatabaseUtils.readExceptionFromParcel(reply); in insert() 498 DatabaseUtils.readExceptionFromParcel(reply); in bulkInsert() 522 DatabaseUtils.readExceptionWithOperationApplicationExceptionFromParcel(reply); in applyBatch() 547 DatabaseUtils.readExceptionFromParcel(reply); in delete() 572 DatabaseUtils.readExceptionFromParcel(reply); in update() 598 DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel(reply); in openFile() [all …]
|
/frameworks/base/packages/MtpDocumentsProvider/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()
|
D | MtpDatabase.java | 26 import android.database.DatabaseUtils; 162 DatabaseUtils.cursorRowToContentValues(deviceRoot, values); in queryRoots() 585 DatabaseUtils.cursorRowToContentValues(cursor, values); in writeRowSnapshot()
|
/frameworks/ex/common/java/com/android/common/content/ |
D | SyncStateContentProviderHelper.java | 22 import android.database.DatabaseUtils; 73 long version = DatabaseUtils.longForQuery(db, in onDatabaseOpened() 101 if (DatabaseUtils.longForQuery(db, QUERY_COUNT_SYNC_STATE_ROWS, in update()
|
/frameworks/base/test-runner/src/android/test/ |
D | ProviderTestCase.java | 24 import android.database.DatabaseUtils; 107 DatabaseUtils.createDbFromSqlStatements(context, databaseName, databaseVersion, sql); in newResolverWithContentProviderFromSql()
|
D | ProviderTestCase2.java | 26 import android.database.DatabaseUtils; 230 DatabaseUtils.createDbFromSqlStatements(context, databaseName, databaseVersion, sql); in newResolverWithContentProviderFromSql()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | MemoryFileProvider.java | 20 import android.database.DatabaseUtils; 159 return DatabaseUtils.blobFileDescriptorForQuery(db, sql, null); in getBlobColumnAsFile()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountsDb.java | 23 import android.database.DatabaseUtils; 749 return DatabaseUtils.longForQuery(db, in findAccountLastAuthenticatedTime() 878 return DatabaseUtils.longForQuery(db, COUNT_OF_MATCHING_GRANTS, args); in findMatchingGrantsCount() 884 return DatabaseUtils.longForQuery(db, COUNT_OF_MATCHING_GRANTS_ANY_TOKEN, args); in findMatchingGrantsCountAnyToken() 1284 int size = (int) DatabaseUtils.longForQuery(db, queryCountDebugDbRows, null); in calculateDebugTableInsertionPoint() 1295 return (int) DatabaseUtils.longForQuery(db, queryCountDebugDbRows, null); in calculateDebugTableInsertionPoint()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | WapPushOverSms.java | 33 import android.database.DatabaseUtils; 546 DatabaseUtils.sqlEscapeString(messageId), in getDeliveryOrReadReportThreadId()
|