/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 | ContactsContract.java | 36 import android.database.DatabaseUtils; 2969 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, ACCOUNT_NAME); in getEntityAndIncrementCursor() 2970 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, ACCOUNT_TYPE); in getEntityAndIncrementCursor() 2971 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, DATA_SET); in getEntityAndIncrementCursor() 2972 DatabaseUtils.cursorLongToContentValuesIfPresent(cursor, cv, _ID); in getEntityAndIncrementCursor() 2973 DatabaseUtils.cursorLongToContentValuesIfPresent(cursor, cv, DIRTY); in getEntityAndIncrementCursor() 2974 DatabaseUtils.cursorLongToContentValuesIfPresent(cursor, cv, VERSION); in getEntityAndIncrementCursor() 2975 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, SOURCE_ID); in getEntityAndIncrementCursor() 2976 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, SYNC1); in getEntityAndIncrementCursor() 2977 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, SYNC2); in getEntityAndIncrementCursor() [all …]
|
D | Browser.java | 25 import android.database.DatabaseUtils; 278 DatabaseUtils.appendEscapedSQLString(whereClause, in getVisitedLike() 281 DatabaseUtils.appendEscapedSQLString(whereClause, in getVisitedLike() 285 DatabaseUtils.appendEscapedSQLString(whereClause, in getVisitedLike() 289 DatabaseUtils.appendEscapedSQLString(whereClause, in getVisitedLike() 292 DatabaseUtils.appendEscapedSQLString(whereClause, in getVisitedLike() 295 DatabaseUtils.appendEscapedSQLString(whereClause, in getVisitedLike()
|
D | MediaStore.java | 26 import android.database.DatabaseUtils; 1357 String key = DatabaseUtils.getCollationKey(name); in keyFor()
|
/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; 115 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; 108 mRowIdColumnIndex = DatabaseUtils.findRowIdColumnIndex(mColumns); in SQLiteCursor() 143 int startPos = DatabaseUtils.cursorPickFillWindowStartPosition(requiredPos, 0); in fillWindow() 150 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 | 22 import android.database.DatabaseUtils; 864 return ((Long) DatabaseUtils.longForQuery(this, "PRAGMA user_version;", null)).intValue(); in getVersion() 882 long pageCount = DatabaseUtils.longForQuery(this, "PRAGMA max_page_count;", null); in getMaximumSize() 900 long newPageCount = DatabaseUtils.longForQuery(this, "PRAGMA max_page_count = " + numPages, in setMaximumSize() 911 return DatabaseUtils.longForQuery(this, "PRAGMA page_size;", null); in getPageSize() 1661 if (DatabaseUtils.getSqlStatementType(sql) == DatabaseUtils.STATEMENT_ATTACH) { in executeSql()
|
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()
|
D | SQLiteQueryBuilder.java | 20 import android.database.DatabaseUtils; 121 DatabaseUtils.appendEscapedSQLString(mWhereClause, inWhere); in appendWhereEscapeString()
|
/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 | 49 public class DatabaseUtils { class 137 DatabaseUtils.readExceptionFromParcel(reply, msg, code); in readExceptionFromParcel() 148 DatabaseUtils.readExceptionFromParcel(reply, msg, code); in readExceptionWithFileNotFoundExceptionFromParcel() 160 DatabaseUtils.readExceptionFromParcel(reply, msg, code); in readExceptionWithOperationApplicationExceptionFromParcel() 362 DatabaseUtils.appendEscapedSQLString(escaper, value); in sqlEscapeString() 1108 DatabaseUtils.bindObjectToProgram(stmt, i, e.getValue()); in insertInternal()
|
D | BulkCursorToCursorAdaptor.java | 44 mRowIdColumnIndex = DatabaseUtils.findRowIdColumnIndex(mColumns); in initialize()
|
D | MatrixCursor.java | 307 return DatabaseUtils.getTypeOfObject(get(column)); in getType()
|
D | AbstractCursor.java | 229 DatabaseUtils.cursorFillWindow(this, position, window); in fillWindow()
|
/frameworks/base/core/java/android/content/ |
D | ContentProviderNative.java | 24 import android.database.DatabaseUtils; 360 DatabaseUtils.writeExceptionToParcel(reply, e); in onTransact() 421 DatabaseUtils.readExceptionFromParcel(reply); in query() 454 DatabaseUtils.readExceptionFromParcel(reply); in getType() 476 DatabaseUtils.readExceptionFromParcel(reply); in insert() 497 DatabaseUtils.readExceptionFromParcel(reply); in bulkInsert() 520 DatabaseUtils.readExceptionWithOperationApplicationExceptionFromParcel(reply); in applyBatch() 544 DatabaseUtils.readExceptionFromParcel(reply); in delete() 568 DatabaseUtils.readExceptionFromParcel(reply); in update() 594 DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel(reply); in openFile() [all …]
|
/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/opt/telephony/src/java/com/android/internal/telephony/ |
D | WapPushOverSms.java | 31 import android.database.DatabaseUtils; 422 DatabaseUtils.sqlEscapeString(messageId), in getDeliveryOrReadReportThreadId()
|
/frameworks/base/docs/html/sdk/api_diff/8/ |
D | missingSinces.txt | 81 NO DOC BLOCK: android.database.DatabaseUtils Method cursorDoubleToContentValuesIfPresent(android.da… 82 NO DOC BLOCK: android.database.DatabaseUtils Method cursorFloatToContentValuesIfPresent(android.dat… 83 NO DOC BLOCK: android.database.DatabaseUtils Method cursorIntToContentValuesIfPresent(android.datab… 84 NO DOC BLOCK: android.database.DatabaseUtils Method cursorLongToContentValuesIfPresent(android.data… 85 NO DOC BLOCK: android.database.DatabaseUtils Method cursorShortToContentValuesIfPresent(android.dat… 86 NO DOC BLOCK: android.database.DatabaseUtils Method cursorStringToContentValuesIfPresent(android.da…
|