/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 | 42 import android.database.DatabaseUtils; 3097 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, ACCOUNT_NAME); in getEntityAndIncrementCursor() 3098 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, ACCOUNT_TYPE); in getEntityAndIncrementCursor() 3099 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, DATA_SET); in getEntityAndIncrementCursor() 3100 DatabaseUtils.cursorLongToContentValuesIfPresent(cursor, cv, _ID); in getEntityAndIncrementCursor() 3101 DatabaseUtils.cursorLongToContentValuesIfPresent(cursor, cv, DIRTY); in getEntityAndIncrementCursor() 3102 DatabaseUtils.cursorLongToContentValuesIfPresent(cursor, cv, VERSION); in getEntityAndIncrementCursor() 3103 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, SOURCE_ID); in getEntityAndIncrementCursor() 3104 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, SYNC1); in getEntityAndIncrementCursor() 3105 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; 483 Assert.assertEquals(0, DatabaseUtils.longForQuery(mDatabase, in testTokenize() 485 Assert.assertEquals(0, DatabaseUtils.longForQuery(mDatabase, in testTokenize() 487 Assert.assertEquals(0, DatabaseUtils.longForQuery(mDatabase, in testTokenize() 489 Assert.assertEquals(0, DatabaseUtils.longForQuery(mDatabase, in testTokenize() 492 Assert.assertEquals(3, DatabaseUtils.longForQuery(mDatabase, in testTokenize() 494 Assert.assertEquals(2, DatabaseUtils.longForQuery(mDatabase, in testTokenize() 497 Assert.assertEquals(3, DatabaseUtils.longForQuery(mDatabase, in testTokenize() 499 Assert.assertEquals(3, DatabaseUtils.longForQuery(mDatabase, in testTokenize() [all …]
|
D | SQLiteOpenHelperTest.java | 187 String journalMode = DatabaseUtils in testOpenParamsConstructor() 191 String syncMode = DatabaseUtils in testOpenParamsConstructor()
|
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 | 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 | SQLiteCursor.java | 21 import android.database.DatabaseUtils; 155 int startPos = mFillWindowForwardOnly ? requiredPos : DatabaseUtils in fillWindow()
|
D | SQLiteDatabase.java | 27 import android.database.DatabaseUtils; 956 return ((Long) DatabaseUtils.longForQuery(this, "PRAGMA user_version;", null)).intValue(); in getVersion() 974 long pageCount = DatabaseUtils.longForQuery(this, "PRAGMA max_page_count;", null); in getMaximumSize() 992 long newPageCount = DatabaseUtils.longForQuery(this, "PRAGMA max_page_count = " + numPages, in setMaximumSize() 1003 return DatabaseUtils.longForQuery(this, "PRAGMA page_size;", null); in getPageSize() 1754 final int statementType = DatabaseUtils.getSqlStatementType(sql); in executeSql() 1755 if (statementType == DatabaseUtils.STATEMENT_ATTACH) { in executeSql() 1774 if (statementType == DatabaseUtils.STATEMENT_DDL) { in executeSql()
|
D | SQLiteQueryBuilder.java | 20 import android.database.DatabaseUtils; 121 DatabaseUtils.appendEscapedSQLString(mWhereClause, inWhere); in appendWhereEscapeString()
|
D | SQLiteConnection.java | 21 import android.database.DatabaseUtils; 906 final int type = DatabaseUtils.getSqlStatementType(sql); in acquirePreparedStatement() 1007 switch (DatabaseUtils.getTypeOfObject(arg)) { in bindArguments() 1045 if (statementType == DatabaseUtils.STATEMENT_UPDATE in isCacheable() 1046 || 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()
|
/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/core/tests/coretests/src/android/database/sqlite/ |
D | SQLiteCompatibilityWalFlagsTest.java | 24 import android.database.DatabaseUtils; 90 String journalMode = DatabaseUtils.stringForQuery(mDatabase, "PRAGMA journal_mode", null); in testApplyFlags() 92 String syncMode = DatabaseUtils.stringForQuery(mDatabase, "PRAGMA synchronous", null); in testApplyFlags()
|
/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; 163 DatabaseUtils.cursorRowToContentValues(deviceRoot, values); in queryRoots() 586 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 | 27 import android.database.DatabaseUtils; 231 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()
|