/frameworks/base/core/java/android/provider/ |
D | CalendarContract.java | 39 import android.database.DatabaseUtils; 606 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, ACCOUNT_NAME); in getEntityAndIncrementCursor() 607 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, ACCOUNT_TYPE); in getEntityAndIncrementCursor() 609 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, _SYNC_ID); in getEntityAndIncrementCursor() 610 DatabaseUtils.cursorLongToContentValuesIfPresent(cursor, cv, DIRTY); in getEntityAndIncrementCursor() 611 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, MUTATORS); in getEntityAndIncrementCursor() 613 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, CAL_SYNC1); in getEntityAndIncrementCursor() 614 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, CAL_SYNC2); in getEntityAndIncrementCursor() 615 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, CAL_SYNC3); in getEntityAndIncrementCursor() 616 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, CAL_SYNC4); in getEntityAndIncrementCursor() [all …]
|
D | Browser.java | 24 import android.database.DatabaseUtils; 279 DatabaseUtils.appendEscapedSQLString(whereClause, in getVisitedLike() 282 DatabaseUtils.appendEscapedSQLString(whereClause, in getVisitedLike() 286 DatabaseUtils.appendEscapedSQLString(whereClause, in getVisitedLike() 290 DatabaseUtils.appendEscapedSQLString(whereClause, in getVisitedLike() 293 DatabaseUtils.appendEscapedSQLString(whereClause, in getVisitedLike() 296 DatabaseUtils.appendEscapedSQLString(whereClause, in getVisitedLike()
|
D | ContactsContract.java | 48 import android.database.DatabaseUtils; 3212 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, ACCOUNT_NAME); in getEntityAndIncrementCursor() 3213 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, ACCOUNT_TYPE); in getEntityAndIncrementCursor() 3214 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, DATA_SET); in getEntityAndIncrementCursor() 3215 DatabaseUtils.cursorLongToContentValuesIfPresent(cursor, cv, _ID); in getEntityAndIncrementCursor() 3216 DatabaseUtils.cursorLongToContentValuesIfPresent(cursor, cv, DIRTY); in getEntityAndIncrementCursor() 3217 DatabaseUtils.cursorLongToContentValuesIfPresent(cursor, cv, VERSION); in getEntityAndIncrementCursor() 3218 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, SOURCE_ID); in getEntityAndIncrementCursor() 3219 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, SYNC1); in getEntityAndIncrementCursor() 3220 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, SYNC2); in getEntityAndIncrementCursor() [all …]
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | DatabaseUtilsTest.java | 19 import static android.database.DatabaseUtils.bindSelection; 20 import static android.database.DatabaseUtils.getSqlStatementType; 21 import static android.database.DatabaseUtils.getSqlStatementTypeExtended; 22 import static android.database.DatabaseUtils.STATEMENT_COMMENT; 23 import static android.database.DatabaseUtils.STATEMENT_CREATE; 24 import static android.database.DatabaseUtils.STATEMENT_DDL; 25 import static android.database.DatabaseUtils.STATEMENT_OTHER; 26 import static android.database.DatabaseUtils.STATEMENT_SELECT; 27 import static android.database.DatabaseUtils.STATEMENT_UPDATE; 28 import static android.database.DatabaseUtils.STATEMENT_WITH;
|
D | SQLiteOpenHelperTest.java | 188 String journalMode = DatabaseUtils in testOpenParamsConstructor() 192 String syncMode = DatabaseUtils in testOpenParamsConstructor()
|
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; 560 num, DatabaseUtils.longForQuery(mDatabase, "SELECT num FROM test", null)); in checkNum() 690 DatabaseUtils.InsertHelper ih = in testInsertHelper() 691 new DatabaseUtils.InsertHelper(mDatabase, "insert_test"); in testInsertHelper() 850 DatabaseUtils.InsertHelper ih = in testCollateLocalizedForJapanese() 851 new DatabaseUtils.InsertHelper(mDatabase, dbName); in testCollateLocalizedForJapanese() 1087 long rowCount = DatabaseUtils.longForQuery(db, "select count(*) from data", null); in testSavepointRollbacks()
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteProgram.java | 20 import android.database.DatabaseUtils; 49 int n = DatabaseUtils.getSqlStatementType(mSql); in SQLiteProgram() 51 case DatabaseUtils.STATEMENT_BEGIN: in SQLiteProgram() 52 case DatabaseUtils.STATEMENT_COMMIT: in SQLiteProgram() 53 case DatabaseUtils.STATEMENT_ABORT: in SQLiteProgram() 60 boolean assumeReadOnly = (n == DatabaseUtils.STATEMENT_SELECT); in SQLiteProgram()
|
D | SQLiteSession.java | 23 import android.database.DatabaseUtils; 897 final int type = DatabaseUtils.getSqlStatementType(sql); in executeSpecial() 899 case DatabaseUtils.STATEMENT_BEGIN: in executeSpecial() 904 case DatabaseUtils.STATEMENT_COMMIT: in executeSpecial() 909 case DatabaseUtils.STATEMENT_ABORT: in executeSpecial()
|
D | SQLiteCursor.java | 22 import android.database.DatabaseUtils; 151 int startPos = mFillWindowForwardOnly ? requiredPos : DatabaseUtils in fillWindow()
|
D | SQLiteConnection.java | 24 import android.database.DatabaseUtils; 530 final int type = DatabaseUtils.getSqlStatementType(statement.first); in executePerConnectionSqlFromConfiguration() 532 case DatabaseUtils.STATEMENT_SELECT: in executePerConnectionSqlFromConfiguration() 535 case DatabaseUtils.STATEMENT_PRAGMA: in executePerConnectionSqlFromConfiguration() 735 DatabaseUtils.getSqlStatementType(sql) == DatabaseUtils.STATEMENT_PRAGMA; in execute() 1102 final int type = DatabaseUtils.getSqlStatementTypeExtended(sql); in acquirePreparedStatementLI() 1239 switch (DatabaseUtils.getTypeOfObject(arg)) { in bindArguments() 1291 if (statementType == DatabaseUtils.STATEMENT_UPDATE in isCacheable() 1292 || statementType == DatabaseUtils.STATEMENT_SELECT in isCacheable() 1293 || statementType == DatabaseUtils.STATEMENT_WITH) { in isCacheable()
|
D | SQLiteQueryBuilder.java | 24 import android.database.DatabaseUtils; 157 DatabaseUtils.appendEscapedSQLString(mWhereClause, inWhere); in appendWhereEscapeString() 638 return DatabaseUtils.executeInsert(db, sql, sqlArgs); in insert() 714 return DatabaseUtils.executeUpdateDelete(db, sql, sqlArgs); in update() 774 return DatabaseUtils.executeUpdateDelete(db, sql, sqlArgs); in delete()
|
D | SQLiteDatabase.java | 33 import android.database.DatabaseUtils; 1316 bindArgs = DatabaseUtils.deepCopyOf(bindArgs); in execPerConnectionSQL() 1338 return ((Long) DatabaseUtils.longForQuery(this, "PRAGMA user_version;", null)).intValue(); in getVersion() 1356 long pageCount = DatabaseUtils.longForQuery(this, "PRAGMA max_page_count;", null); in getMaximumSize() 1374 long newPageCount = DatabaseUtils.longForQuery(this, "PRAGMA max_page_count = " + numPages, in setMaximumSize() 1385 return DatabaseUtils.longForQuery(this, "PRAGMA page_size;", null); in getPageSize() 2191 final int statementType = DatabaseUtils.getSqlStatementType(sql); in executeSql() 2192 if (statementType == DatabaseUtils.STATEMENT_ATTACH) { in executeSql() 2212 if (statementType == DatabaseUtils.STATEMENT_DDL) { in executeSql()
|
/frameworks/base/core/tests/coretests/src/android/database/sqlite/ |
D | SQLiteCompatibilityWalFlagsTest.java | 25 import android.database.DatabaseUtils; 106 String journalMode = DatabaseUtils.stringForQuery(mDatabase, "PRAGMA journal_mode", null); in testApplyFlags() 108 String syncMode = DatabaseUtils.stringForQuery(mDatabase, "PRAGMA synchronous", null); in testApplyFlags() 122 String journalMode = DatabaseUtils.stringForQuery(mDatabase, "PRAGMA journal_mode", null); in testApplyFlags_thenDisableWriteAheadLogging() 124 String syncMode = DatabaseUtils.stringForQuery(mDatabase, "PRAGMA synchronous", null); in testApplyFlags_thenDisableWriteAheadLogging()
|
D | SQLiteDatabaseTest.java | 27 import android.database.DatabaseUtils; 262 long r = DatabaseUtils.longForQuery(database, query, null); in concurrentReadOnlyReader() 355 long r = DatabaseUtils.longForQuery(mDatabase, "SELECT count(*) from t1", null); in testReadOnlyTransaction()
|
/frameworks/base/core/java/android/database/ |
D | BulkCursorNative.java | 127 DatabaseUtils.writeExceptionToParcel(reply, e); in onTransact() 166 DatabaseUtils.readExceptionFromParcel(reply); in getWindow() 187 DatabaseUtils.readExceptionFromParcel(reply); in onMove() 202 DatabaseUtils.readExceptionFromParcel(reply); in deactivate() 217 DatabaseUtils.readExceptionFromParcel(reply); in close() 232 DatabaseUtils.readExceptionFromParcel(reply); in requery() 256 DatabaseUtils.readExceptionFromParcel(reply); in getExtras() 275 DatabaseUtils.readExceptionFromParcel(reply); in respond()
|
D | RedactingCursor.java | 66 DatabaseUtils.cursorFillWindow(this, position, window); in fillWindow() 166 return DatabaseUtils.getTypeOfObject(mRedactions.valueAt(i)); in getType()
|
D | CrossProcessCursorWrapper.java | 53 DatabaseUtils.cursorFillWindow(mCursor, position, window); in fillWindow()
|
/frameworks/base/core/java/android/content/ |
D | ContentProviderNative.java | 27 import android.database.DatabaseUtils; 439 DatabaseUtils.writeExceptionToParcel(reply, e); in onTransact() 495 DatabaseUtils.readExceptionFromParcel(reply); in query() 530 DatabaseUtils.readExceptionFromParcel(reply); in getType() 589 DatabaseUtils.readExceptionFromParcel(reply); in insert() 612 DatabaseUtils.readExceptionFromParcel(reply); in bulkInsert() 637 DatabaseUtils.readExceptionWithOperationApplicationExceptionFromParcel(reply); in applyBatch() 661 DatabaseUtils.readExceptionFromParcel(reply); in delete() 685 DatabaseUtils.readExceptionFromParcel(reply); in update() 710 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/opt/telephony/testing/src/com/android/internal/telephony/testing/ |
D | CursorSubject.java | 24 import android.database.DatabaseUtils; 84 DatabaseUtils.cursorRowToContentValues(mActual, actualValues); in hasRowValues() 157 return DatabaseUtils.dumpCursorToString(getWrappedCursor()); in toString()
|
/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/opt/net/ims/tests/src/com/android/ims/rcs/uce/eab/ |
D | EabProviderTestable.java | 27 import android.database.DatabaseUtils; 61 Log.d(TAG, "InMemoryEabProviderDbHelper query" + DatabaseUtils.dumpCursorToString(cursor)); in query()
|
/frameworks/base/core/java/com/android/internal/net/ |
D | ConnectivityBlobStore.java | 22 import android.database.DatabaseUtils; 160 DatabaseUtils.escapeForLike(prefix) + "%" in list()
|
/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()
|