/frameworks/base/docs/html/training/search/ |
search.jd | 26 <p>There are many ways to store your data, such as in an online database, in a local SQLite 27 database, or even in a text file. It is up to you to decide what is the best solution for your 35 memory via callbacks, instead of to a database file. To create a virtual table, create a class 48 android.database.sqlite.SQLiteOpenHelper}. The {@link android.database.sqlite.SQLiteOpenHelper} class 49 defines abstract methods that you must override so that your database table can be created and 50 upgraded when necessary. For example, here is some code that declares a database table that will 95 Log.w(TAG, "Upgrading database from version " + oldVersion + " to " 157 good place would be in the {@link android.database.sqlite.SQLiteOpenHelper#onCreate onCreate()} 199 in a {@link android.database.Cursor} that you can iterate through or use to build a {@link android.widget.ListView} [all...] |
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
UserDictionaryProvider.java | 28 import android.database.Cursor; 29 import android.database.SQLException; 30 import android.database.sqlite.SQLiteDatabase; 31 import android.database.sqlite.SQLiteOpenHelper; 32 import android.database.sqlite.SQLiteQueryBuilder; 40 * Provides access to a database of user defined words. Each item has a word and a frequency. 79 * This class helps open, create, and upgrade the database file. 102 Log.i(TAG, "Upgrading database from version " + oldVersion 107 Log.w(TAG, "Upgrading database from version " + oldVersion + " to " 153 // Get the database and run the quer [all...] |
/external/chromium/chrome/browser/history/ |
text_database_unittest.cc | 23 // pages in the database withoujt adding any extra functions to the DB object. 51 // Returns the number of rows currently in the database. 65 // Adds each of the test pages to the database. 99 // deleted on shutdown. Only open one database for each file. Returns NULL on 123 // Name of the main database file. 128 // First database with one page. 135 // Second database with one page. 142 // Detach, then reattach database one. The file should exist, so we force 148 // We should not be able to attach this random database for which no file 156 // Create a database and add some pages to it [all...] |
/frameworks/base/docs/html/sdk/api_diff/11/changes/ |
android.database.sqlite.SQLiteQueryBuilder.html | 10 android.database.sqlite.SQLiteQueryBuilder 74 Class android.database.sqlite.<A HREF="../../../../reference/android/database/sqlite/SQLiteQueryBuilder.html" target="_top"><font size="+2"><code>SQLiteQueryBuilder</code></font></A> 86 <A NAME="android.database.sqlite.SQLiteQueryBuilder.buildQuery_removed(java.lang.String[], java.lang.String, java.lang.String[], java.lang.String, java.lang.String, java.lang.String, java.lang.String)"></A> 93 <A NAME="android.database.sqlite.SQLiteQueryBuilder.buildUnionSubQuery_removed(java.lang.String, java.lang.String[], java.util.Set<java.lang.String>, int, java.lang.String, java.lang.String, java.lang.String[], java.lang.String, java.lang.String)"></A> 108 <A NAME="android.database.sqlite.SQLiteQueryBuilder.buildQuery_added(java.lang.String[], java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)"></A> 109 <nobr><code>String</code> <A HREF="../../../../reference/android/database/sqlite/SQLiteQueryBuilder.html#buildQuery(java.lang.String[], java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" target="_top"><code>buildQuery</code></A>(<code>String[],</nobr> String<nobr>,</nobr> String<nobr>,</nobr> String<nobr>,</nobr> String<nobr>,</nobr> String<nobr><nobr></code>)</nobr> 115 <A NAME="android.database.sqlite.SQLiteQueryBuilder.buildQuery_added(java.lang.String[], java.lang.String, java.lang.String[], java.lang.String, java.lang.String, java.lang.String, java.lang.String)"></A> 116 <nobr><code>String</code> <A HREF="../../../../reference/android/database/sqlite/SQLiteQueryBuilder.html#buildQuery(java.lang.String[], java.lang.String, java.lang.String[], java.lang.String, java.lang.String, java.lang.String, java.lang.String)" target="_top"><code>buildQuery</code></A>(<code>String[],</nobr> String<nobr>,</nobr> String[]<nobr>,</nobr> String<nobr>,</nobr> String<nobr>,</nobr> String<nobr>,</nobr> String<nobr><nobr></code>)</nobr> 122 <A NAME="android.database.sqlite.SQLiteQueryBuilder.buildUnionSubQuery_added(java.lang.String, java.lang.String[], java.util (…) [all...] |
android.database.CursorWrapper.html | 10 android.database.CursorWrapper 74 Class android.database.<A HREF="../../../../reference/android/database/CursorWrapper.html" target="_top"><font size="+2"><code>CursorWrapper</code></font></A> 86 <A NAME="android.database.CursorWrapper.getType_added(int)"></A> 87 <nobr><code>int</code> <A HREF="../../../../reference/android/database/CursorWrapper.html#getType(int)" target="_top"><code>getType</code></A>(<code>int</code>)</nobr> 93 <A NAME="android.database.CursorWrapper.getWrappedCursor_added()"></A> 94 <nobr><code>Cursor</code> <A HREF="../../../../reference/android/database/CursorWrapper.html#getWrappedCursor()" target="_top"><code>getWrappedCursor</code></A>()</nobr>
|
android.database.sqlite.SQLiteStatement.html | 10 android.database.sqlite.SQLiteStatement 74 Class android.database.sqlite.<A HREF="../../../../reference/android/database/sqlite/SQLiteStatement.html" target="_top"><font size="+2"><code>SQLiteStatement</code></font></A> 86 <A NAME="android.database.sqlite.SQLiteStatement.executeUpdateDelete_added()"></A> 87 <nobr><code>int</code> <A HREF="../../../../reference/android/database/sqlite/SQLiteStatement.html#executeUpdateDelete()" target="_top"><code>executeUpdateDelete</code></A>()</nobr> 93 <A NAME="android.database.sqlite.SQLiteStatement.simpleQueryForBlobFileDescriptor_added()"></A> 94 <nobr><code>ParcelFileDescriptor</code> <A HREF="../../../../reference/android/database/sqlite/SQLiteStatement.html#simpleQueryForBlobFileDescriptor()" target="_top"><code>simpleQueryForBlobFileDescriptor</code></A>()</nobr>
|
/development/samples/NotePad/src/com/example/android/notepad/ |
NotePadProvider.java | 30 import android.database.Cursor; 31 import android.database.SQLException; 32 import android.database.sqlite.SQLiteDatabase; 33 import android.database.sqlite.SQLiteOpenHelper; 34 import android.database.sqlite.SQLiteQueryBuilder; 51 * Provides access to a database of notes. Each note has a title, the note 59 * The database that the provider uses as its underlying data store 64 * The database version 69 * A projection map used to select columns from the database 74 * A projection map used to select columns from the database [all...] |
/external/webkit/Source/WebKit/android/WebCoreSupport/ |
GeolocationPermissions.cpp | 332 SQLiteDatabase database; local 333 if (!openDatabase(&database)) 338 if (!database.executeCommand("CREATE TABLE IF NOT EXISTS Permissions (origin TEXT UNIQUE NOT NULL, allow INTEGER NOT NULL)")) { 339 database.close(); 343 SQLiteStatement statement(database, "SELECT * FROM Permissions"); 345 database.close(); 353 database.close(); 364 SQLiteDatabase database; 365 if (!openDatabase(&database)) 368 SQLiteTransaction transaction(database); [all...] |
/bionic/libc/include/ |
nsswitch.h | 144 * and its dispatch control flags for a given database. 154 * or the requested database doesn't have an entry) 167 * An nsswitch module provides a mapping from (database name, method name) 172 const char *database; member in struct:__anon29 195 * ns_dbt - `nsswitch database thang' 196 * For each database in /etc/nsswitch.conf there is a ns_dbt, with its 200 const char *name; /* name of database */
|
/bionic/libc/private/ |
nsswitch.h | 144 * and its dispatch control flags for a given database. 155 * or the requested database doesn't have an entry) 168 * An nsswitch module provides a mapping from (database name, method name) 173 const char *database; member in struct:__anon629 196 * ns_dbt - `nsswitch database thang' 197 * For each database in /etc/nsswitch.conf there is a ns_dbt, with its 201 const char *name; /* name of database */
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
SQLiteProgramTest.java | 17 package android.database.sqlite.cts; 21 import android.database.Cursor; 22 import android.database.sqlite.SQLiteDatabase; 23 import android.database.sqlite.SQLiteDoneException; 24 import android.database.sqlite.SQLiteException; 25 import android.database.sqlite.SQLiteQuery; 26 import android.database.sqlite.SQLiteStatement;
|
/development/ndk/platforms/android-3/include/ |
nsswitch.h | 144 * and its dispatch control flags for a given database. 154 * or the requested database doesn't have an entry) 168 * An nsswitch module provides a mapping from (database name, method name) 173 const char *database; member in struct:__anon1182 196 * ns_dbt - `nsswitch database thang' 197 * For each database in /etc/nsswitch.conf there is a ns_dbt, with its 201 const char *name; /* name of database */
|
/external/javasqlite/src/main/java/SQLite/ |
Database.java | 4 * Main class wrapping an SQLite database. 7 public class Database { 22 * Open an SQLite database file. 24 * @param filename the name of the database file 49 * Open an SQLite database file. 51 * @param filename the name of the database file 78 * Open an SQLite database file. 80 * @param filename the name of the database file 123 * Open SQLite auxiliary database file for temporary 151 * Close the underlying SQLite database file [all...] |
/external/webkit/Source/WebCore/storage/ |
SQLTransactionSync.cpp | 34 #if ENABLE(DATABASE) 109 if (m_transactionClient->didExceedQuota(database())) { 120 m_transactionClient->didExecuteStatement(database()); 186 // Vacuum the database if anything was deleted. 190 // The commit was successful. If the transaction modified this database, notify the delegates. 192 m_transactionClient->didCommitWriteTransaction(database()); 212 #endif // ENABLE(DATABASE)
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
BordeauxSessionStorage.java | 21 import android.database.Cursor; 22 import android.database.SQLException; 23 import android.database.sqlite.SQLiteDatabase; 24 import android.database.sqlite.SQLiteOpenHelper; 30 // This class manages the database for storing the session data. 60 throw new RuntimeException("Can't open session database"); 76 Log.w(TAG, "Upgrading database from version " + oldVersion + " to "
|
/prebuilts/gcc/darwin-x86/mips/mipsel-linux-android-4.4.3/sysroot/usr/include/ |
nsswitch.h | 144 * and its dispatch control flags for a given database. 154 * or the requested database doesn't have an entry) 168 * An nsswitch module provides a mapping from (database name, method name) 173 const char *database; member in struct:__anon21186 196 * ns_dbt - `nsswitch database thang' 197 * For each database in /etc/nsswitch.conf there is a ns_dbt, with its 201 const char *name; /* name of database */
|
/prebuilts/gcc/linux-x86/mips/mipsel-linux-android-4.4.3/sysroot/usr/include/ |
nsswitch.h | 144 * and its dispatch control flags for a given database. 154 * or the requested database doesn't have an entry) 168 * An nsswitch module provides a mapping from (database name, method name) 173 const char *database; member in struct:__anon27239 196 * ns_dbt - `nsswitch database thang' 197 * For each database in /etc/nsswitch.conf there is a ns_dbt, with its 201 const char *name; /* name of database */
|
/prebuilts/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/ |
nsswitch.h | 144 * and its dispatch control flags for a given database. 154 * or the requested database doesn't have an entry) 167 * An nsswitch module provides a mapping from (database name, method name) 172 const char *database; member in struct:__anon27600 195 * ns_dbt - `nsswitch database thang' 196 * For each database in /etc/nsswitch.conf there is a ns_dbt, with its 200 const char *name; /* name of database */
|
/prebuilts/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/ |
nsswitch.h | 144 * and its dispatch control flags for a given database. 154 * or the requested database doesn't have an entry) 167 * An nsswitch module provides a mapping from (database name, method name) 172 const char *database; member in struct:__anon27954 195 * ns_dbt - `nsswitch database thang' 196 * For each database in /etc/nsswitch.conf there is a ns_dbt, with its 200 const char *name; /* name of database */
|
/prebuilts/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/ |
nsswitch.h | 144 * and its dispatch control flags for a given database. 154 * or the requested database doesn't have an entry) 167 * An nsswitch module provides a mapping from (database name, method name) 172 const char *database; member in struct:__anon28308 195 * ns_dbt - `nsswitch database thang' 196 * For each database in /etc/nsswitch.conf there is a ns_dbt, with its 200 const char *name; /* name of database */
|
/prebuilts/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/ |
nsswitch.h | 144 * and its dispatch control flags for a given database. 154 * or the requested database doesn't have an entry) 167 * An nsswitch module provides a mapping from (database name, method name) 172 const char *database; member in struct:__anon28733 195 * ns_dbt - `nsswitch database thang' 196 * For each database in /etc/nsswitch.conf there is a ns_dbt, with its 200 const char *name; /* name of database */
|
/prebuilts/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/ |
nsswitch.h | 144 * and its dispatch control flags for a given database. 154 * or the requested database doesn't have an entry) 167 * An nsswitch module provides a mapping from (database name, method name) 172 const char *database; member in struct:__anon29090 195 * ns_dbt - `nsswitch database thang' 196 * For each database in /etc/nsswitch.conf there is a ns_dbt, with its 200 const char *name; /* name of database */
|
/prebuilts/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/ |
nsswitch.h | 144 * and its dispatch control flags for a given database. 154 * or the requested database doesn't have an entry) 167 * An nsswitch module provides a mapping from (database name, method name) 172 const char *database; member in struct:__anon29520 195 * ns_dbt - `nsswitch database thang' 196 * For each database in /etc/nsswitch.conf there is a ns_dbt, with its 200 const char *name; /* name of database */
|
/prebuilts/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/ |
nsswitch.h | 144 * and its dispatch control flags for a given database. 154 * or the requested database doesn't have an entry) 168 * An nsswitch module provides a mapping from (database name, method name) 173 const char *database; member in struct:__anon29876 196 * ns_dbt - `nsswitch database thang' 197 * For each database in /etc/nsswitch.conf there is a ns_dbt, with its 201 const char *name; /* name of database */
|
/prebuilts/ndk/android-ndk-r6/platforms/android-3/arch-arm/usr/include/ |
nsswitch.h | 144 * and its dispatch control flags for a given database. 154 * or the requested database doesn't have an entry) 168 * An nsswitch module provides a mapping from (database name, method name) 173 const char *database; member in struct:__anon30495 196 * ns_dbt - `nsswitch database thang' 197 * For each database in /etc/nsswitch.conf there is a ns_dbt, with its 201 const char *name; /* name of database */
|