Home
last modified time | relevance | path

Searched refs:DatabaseUtils (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/core/java/android/provider/
DCalendarContract.java35 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 …]
DContactsContract.java36 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 …]
DBrowser.java25 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()
DMediaStore.java26 import android.database.DatabaseUtils;
1357 String key = DatabaseUtils.getCollationKey(name); in keyFor()
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseGeneralTest.java19 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 …]
DDatabaseCursorTest.java24 import android.database.DatabaseUtils;
115 DatabaseUtils.cursorRowToContentValues(c, cv); in testBlob()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteProgram.java19 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()
DSQLiteCursor.java21 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()
DSQLiteSession.java20 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()
DSQLiteDatabase.java22 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()
DSQLiteConnection.java24 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()
DSQLiteQueryBuilder.java20 import android.database.DatabaseUtils;
121 DatabaseUtils.appendEscapedSQLString(mWhereClause, inWhere); in appendWhereEscapeString()
/frameworks/base/core/java/android/database/
DBulkCursorNative.java126 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()
DCrossProcessCursorWrapper.java53 DatabaseUtils.cursorFillWindow(mCursor, position, window); in fillWindow()
DDatabaseUtils.java49 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()
DBulkCursorToCursorAdaptor.java44 mRowIdColumnIndex = DatabaseUtils.findRowIdColumnIndex(mColumns); in initialize()
DMatrixCursor.java307 return DatabaseUtils.getTypeOfObject(get(column)); in getType()
DAbstractCursor.java229 DatabaseUtils.cursorFillWindow(this, position, window); in fillWindow()
/frameworks/base/core/java/android/content/
DContentProviderNative.java24 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/
DSyncStateContentProviderHelper.java22 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/
DProviderTestCase.java24 import android.database.DatabaseUtils;
107 DatabaseUtils.createDbFromSqlStatements(context, databaseName, databaseVersion, sql); in newResolverWithContentProviderFromSql()
DProviderTestCase2.java26 import android.database.DatabaseUtils;
230 DatabaseUtils.createDbFromSqlStatements(context, databaseName, databaseVersion, sql); in newResolverWithContentProviderFromSql()
/frameworks/base/core/tests/coretests/src/android/content/
DMemoryFileProvider.java20 import android.database.DatabaseUtils;
159 return DatabaseUtils.blobFileDescriptorForQuery(db, sql, null); in getBlobColumnAsFile()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DWapPushOverSms.java31 import android.database.DatabaseUtils;
422 DatabaseUtils.sqlEscapeString(messageId), in getDeliveryOrReadReportThreadId()
/frameworks/base/docs/html/sdk/api_diff/8/
DmissingSinces.txt81 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…

12