/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteSession.java | 576 public void prepare(String sql, int connectionFlags, CancellationSignal cancellationSignal, in prepare() argument 578 if (sql == null) { in prepare() 586 acquireConnection(sql, connectionFlags, cancellationSignal); // might throw in prepare() 588 mConnection.prepare(sql, outStatementInfo); // might throw in prepare() 607 public void execute(String sql, Object[] bindArgs, int connectionFlags, in execute() argument 609 if (sql == null) { in execute() 613 if (executeSpecial(sql, bindArgs, connectionFlags, cancellationSignal)) { in execute() 617 acquireConnection(sql, connectionFlags, cancellationSignal); // might throw in execute() 619 mConnection.execute(sql, bindArgs, cancellationSignal); // might throw in execute() 640 public long executeForLong(String sql, Object[] bindArgs, int connectionFlags, in executeForLong() argument [all …]
|
D | SQLiteDatabase.java | 989 public SQLiteStatement compileStatement(String sql) throws SQLException { in compileStatement() argument 992 return new SQLiteStatement(this, sql, null); in compileStatement() 1158 String sql = SQLiteQueryBuilder.buildQueryString( in queryWithFactory() local 1161 return rawQueryWithFactory(cursorFactory, sql, selectionArgs, in queryWithFactory() 1252 public Cursor rawQuery(String sql, String[] selectionArgs) { in rawQuery() argument 1253 return rawQueryWithFactory(null, sql, selectionArgs, null, null); in rawQuery() 1269 public Cursor rawQuery(String sql, String[] selectionArgs, in rawQuery() argument 1271 return rawQueryWithFactory(null, sql, selectionArgs, null, cancellationSignal); in rawQuery() 1287 CursorFactory cursorFactory, String sql, String[] selectionArgs, in rawQueryWithFactory() argument 1289 return rawQueryWithFactory(cursorFactory, sql, selectionArgs, editTable, null); in rawQueryWithFactory() [all …]
|
D | SQLiteConnection.java | 126 private static native int nativePrepareStatement(int connectionPtr, String sql); in nativePrepareStatement() argument 449 boolean isPreparedStatementInCache(String sql) { in isPreparedStatementInCache() argument 450 return mPreparedStatementCache.get(sql) != null; in isPreparedStatementInCache() 493 public void prepare(String sql, SQLiteStatementInfo outStatementInfo) { in prepare() argument 494 if (sql == null) { in prepare() 498 final int cookie = mRecentOperations.beginOperation("prepare", sql, null); in prepare() 500 final PreparedStatement statement = acquirePreparedStatement(sql); in prepare() 540 public void execute(String sql, Object[] bindArgs, in execute() argument 542 if (sql == null) { in execute() 546 final int cookie = mRecentOperations.beginOperation("execute", sql, bindArgs); in execute() [all …]
|
D | SQLiteDirectCursorDriver.java | 35 public SQLiteDirectCursorDriver(SQLiteDatabase db, String sql, String editTable, in SQLiteDirectCursorDriver() argument 39 mSql = sql; in SQLiteDirectCursorDriver()
|
D | SQLiteStatement.java | 30 SQLiteStatement(SQLiteDatabase db, String sql, Object[] bindArgs) { in SQLiteStatement() argument 31 super(db, sql, bindArgs, null); in SQLiteStatement()
|
D | SQLiteConnectionPool.java | 346 public SQLiteConnection acquireConnection(String sql, int connectionFlags, in acquireConnection() argument 348 return waitForConnection(sql, connectionFlags, cancellationSignal); in acquireConnection() 591 private SQLiteConnection waitForConnection(String sql, int connectionFlags, in waitForConnection() argument 610 sql, connectionFlags); // might throw in waitForConnection() 623 priority, wantPrimaryConnection, sql, connectionFlags); in waitForConnection() 868 String sql, int connectionFlags) { in tryAcquireNonPrimaryConnectionLocked() argument 872 if (availableCount > 1 && sql != null) { in tryAcquireNonPrimaryConnectionLocked() 877 if (connection.isPreparedStatementInCache(sql)) { in tryAcquireNonPrimaryConnectionLocked() 968 int priority, boolean wantPrimaryConnection, String sql, int connectionFlags) { in obtainConnectionWaiterLocked() argument 980 waiter.mSql = sql; in obtainConnectionWaiterLocked()
|
D | SQLiteCursor.java | 264 String sql = mQuery.getSql(); in finalize() local 265 int len = sql.length(); in finalize() 270 ", query = " + sql.substring(0, (len > 1000) ? 1000 : len), in finalize()
|
D | SQLiteQueryBuilder.java | 393 String sql = buildQuery( in query() local 398 Log.d(TAG, "Performing query: " + sql); in query() 401 mFactory, sql, selectionArgs, in query() 410 private void validateQuerySql(SQLiteDatabase db, String sql, in validateQuerySql() argument 412 db.getThreadSession().prepare(sql, in validateQuerySql()
|
D | SQLiteProgram.java | 40 SQLiteProgram(SQLiteDatabase db, String sql, Object[] bindArgs, in SQLiteProgram() argument 43 mSql = sql.trim(); in SQLiteProgram()
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | DatabaseCursorTest.java | 109 String sql = "INSERT INTO test (s, d, l, b) VALUES (?,?,?,?)"; in testBlob() local 110 mDatabase.execSQL(sql, args); in testBlob() 239 StringBuilder sql = new StringBuilder(2100); in testLargeField() local 240 sql.append("INSERT INTO test (data) VALUES ('"); in testLargeField() 246 sql.append(randomString); in testLargeField() 247 sql.append("');"); in testLargeField() 248 mDatabase.execSQL(sql.toString()); in testLargeField() 320 StringBuilder sql = new StringBuilder(2100); in testManyRowsTxt() local 321 sql.append("INSERT INTO test (data) VALUES ('"); in testManyRowsTxt() 327 sql.append(randomString); in testManyRowsTxt() [all …]
|
D | DatabaseLocaleTest.java | 65 private String[] query(String sql) { in query() argument 66 Log.i("LocaleTest", "Querying: " + sql); in query() 67 Cursor c = mDatabase.rawQuery(sql, null); in query()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | MemoryFileProvider.java | 136 String sql = "SELECT _blob FROM data WHERE _id=" + url.getPathSegments().get(1); in openFile() local 137 return getBlobColumnAsFile(url, mode, sql); in openFile() 152 private ParcelFileDescriptor getBlobColumnAsFile(Uri url, String mode, String sql) in getBlobColumnAsFile() argument 159 return DatabaseUtils.blobFileDescriptorForQuery(db, sql, null); in getBlobColumnAsFile()
|
/frameworks/base/test-runner/src/android/test/ |
D | DatabaseTestUtils.java | 49 String sql = entityCursor.getString(0); in getSchemaSet() local 50 schemaSet.add(sql); in getSchemaSet()
|
D | ProviderTestCase.java | 98 String databaseName, int databaseVersion, String sql) in newResolverWithContentProviderFromSql() argument 108 DatabaseUtils.createDbFromSqlStatements(context, databaseName, databaseVersion, sql); in newResolverWithContentProviderFromSql()
|
D | ProviderTestCase2.java | 211 String databaseName, int databaseVersion, String sql) in newResolverWithContentProviderFromSql() argument 219 DatabaseUtils.createDbFromSqlStatements(context, databaseName, databaseVersion, sql); in newResolverWithContentProviderFromSql()
|
/frameworks/base/packages/WAPPushManager/src/com/android/smspush/ |
D | WapPushManager.java | 75 String sql = "CREATE TABLE " + APPID_TABLE_NAME + " (" in onCreate() local 87 if (DEBUG_SQL) Log.v(LOG_TAG, "sql: " + sql); in onCreate() 88 db.execSQL(sql); in onCreate() 120 String sql = "select install_order, package_name, class_name, " in queryLastApp() local 126 if (DEBUG_SQL) Log.v(LOG_TAG, "sql: " + sql); in queryLastApp() 127 Cursor cur = db.rawQuery(sql, null); in queryLastApp()
|
/frameworks/base/core/java/android/database/ |
D | DatabaseUtils.java | 370 public static final void appendValueToSql(StringBuilder sql, Object value) { in appendValueToSql() argument 372 sql.append("NULL"); in appendValueToSql() 376 sql.append('1'); in appendValueToSql() 378 sql.append('0'); in appendValueToSql() 381 appendEscapedSQLString(sql, value.toString()); in appendValueToSql() 1374 public static int getSqlStatementType(String sql) { in getSqlStatementType() argument 1375 sql = sql.trim(); in getSqlStatementType() 1376 if (sql.length() < 3) { in getSqlStatementType() 1379 String prefixSql = sql.substring(0, 3).toUpperCase(Locale.ROOT); in getSqlStatementType()
|
/frameworks/base/core/jni/ |
D | android_database_SQLiteConnection.cpp | 92 static void sqliteTraceCallback(void *data, const char *sql) { in sqliteTraceCallback() argument 95 connection->label.string(), sql); in sqliteTraceCallback() 99 static void sqliteProfileCallback(void *data, const char *sql, sqlite3_uint64 tm) { in sqliteProfileCallback() argument 102 connection->label.string(), sql, tm * 0.000001f); in sqliteProfileCallback() 288 const jchar* sql = env->GetStringCritical(sqlString, NULL); in nativePrepareStatement() local 291 sql, sqlLength * sizeof(jchar), &statement, NULL); in nativePrepareStatement() 292 env->ReleaseStringCritical(sqlString, sql); in nativePrepareStatement()
|
/frameworks/base/api/ |
D | current.txt | 39376 package java.sql { 39379 method public abstract void free() throws java.sql.SQLException; 39380 method public abstract java.lang.Object getArray() throws java.sql.SQLException; 39381 method public abstract java.lang.Object getArray(long, int) throws java.sql.SQLException; 39382 …Array(long, int, java.util.Map<java.lang.String, java.lang.Class<?>>) throws java.sql.SQLException; 39383 ….Object getArray(java.util.Map<java.lang.String, java.lang.Class<?>>) throws java.sql.SQLException; 39384 method public abstract int getBaseType() throws java.sql.SQLException; 39385 method public abstract java.lang.String getBaseTypeName() throws java.sql.SQLException; 39386 method public abstract java.sql.ResultSet getResultSet() throws java.sql.SQLException; 39387 method public abstract java.sql.ResultSet getResultSet(long, int) throws java.sql.SQLException; [all …]
|
/frameworks/base/docs/html/training/basics/data-storage/ |
D | index.jd | 2 page.tags="data storage","files","sql","database","preferences"
|
/frameworks/base/docs/html/ |
D | sitemap.txt | 783 http://developer.android.com/reference/java/sql/package-summary.html 806 http://developer.android.com/reference/javax/sql/package-summary.html 2048 http://developer.android.com/reference/javax/sql/ConnectionEvent.html 2051 http://developer.android.com/reference/javax/sql/RowSetEvent.html 2053 http://developer.android.com/reference/javax/sql/StatementEvent.html 2054 http://developer.android.com/reference/javax/sql/PooledConnection.html 2055 http://developer.android.com/reference/javax/sql/RowSet.html 2863 http://developer.android.com/reference/java/sql/Time.html 2864 http://developer.android.com/reference/java/sql/Timestamp.html 2974 http://developer.android.com/reference/java/sql/Date.html [all …]
|
/frameworks/base/ |
D | preloaded-classes | 2054 java.sql.Date
|