/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
TrackerProvider.java | 23 import android.database.Cursor; 24 import android.database.sqlite.SQLiteDatabase; 25 import android.database.sqlite.SQLiteOpenHelper; 47 * This class helps open, create, and upgrade the database file. 69 Log.w(LOG_TAG, "Upgrading database from version " + oldVersion
|
/libcore/luni/src/main/java/javax/sql/ |
RowSetInternal.java | 36 * if there is a problem accessing the database. 50 * if there is a problem accessing the database. 60 * if there is a problem accessing the database, or if the 72 * if there is a problem accessing the database. 84 * if there is a problem accessing the database.
|
/packages/apps/Nfc/nci/jni/ |
RouteDataSet.cpp | 144 Database::iterator it; 329 ** database: store data in this database. 334 void RouteDataSet::importProtocolRoute (xmlNodePtr& element, Database& database) 391 database.push_back (data); 401 ** database: store data in this database. 406 void RouteDataSet::importTechnologyRoute (xmlNodePtr& element, Database& database) [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
ProfileAggregator.java | 18 import android.database.sqlite.SQLiteDatabase; 19 import android.database.sqlite.SQLiteDoneException; 20 import android.database.sqlite.SQLiteStatement; 33 * A version of the ContactAggregator for use against the profile database. 76 // Profile aggregation is simple - find the single contact in the database and attach to
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
CommonNicknameCache.java | 19 import android.database.Cursor; 20 import android.database.sqlite.SQLiteDatabase; 58 * Read all known common nicknames from the database and populate a Bloom 60 * of unnecessary database lookups for nicknames. Given a name, we will take 62 * that the name is not in the database. If it is, we still need to run a
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaUpgradeReceiver.java | 26 import android.database.sqlite.SQLiteDatabase; 37 * It's job is to prime the contacts database. Either create it 50 // Lookup the last known database version 73 Slog.i(TAG, "---> Start upgrade of media database " + file); 87 Slog.i(TAG, "<--- Finished upgrade of media database " + file
|
/external/chromium_org/third_party/sqlite/src/test/ |
filefmt.test | 13 # This file implements tests to verify database file format. 20 # Do not use a codec for tests in this file, as the database file is 28 # Database begins with valid 16-byte header string. 48 } {1 {file is encrypted or is not a database}} 88 } {1 {file is encrypted or is not a database}} 100 } {1 {file is encrypted or is not a database}} 117 } {1 {file is encrypted or is not a database}} 124 # the size of the database in the database file header, whereas 3.6.23.1 198 # statement would return SQLITE_CORRUPT. The database file was not actuall [all...] |
vtab7.test | 12 # of this test is reading and writing to the database from within a 81 # Write to an existing database table from within an xSync callback. 105 # Create a database table from within xSync callback. 116 # Drop a database table from within xSync callback. 131 } {1 {database table is locked}} 134 # Write to an attached database from xSync(). 155 # The following tests test that writing to the database from within 182 } {1 {database table is locked}} 191 } {1 {database table is locked}} 202 } {1 {database table is locked} [all...] |
corrupt2.test | 14 # segfault if it sees a corrupt database file. 21 # Do not use a codec for tests in this file, as the database file is 57 } {1 {file is encrypted or is not a database}} 77 } {1 {file is encrypted or is not a database}} 97 } {1 {database disk image is malformed}} 120 } {1 {database disk image is malformed}} 123 # Corrupt a database by having 2 indices of the same name: 148 } {1 {malformed database schema (a3) - index a3 already exists}} 191 } {1 {database disk image is malformed}} 197 } {1 {database disk image is malformed} [all...] |
/external/chromium_org/webkit/ |
storage_browser.gyp | 84 'browser/database/database_quota_client.cc', 85 'browser/database/database_quota_client.h', 86 'browser/database/database_tracker.cc', 87 'browser/database/database_tracker.h', 88 'browser/database/database_util.cc', 89 'browser/database/database_util.h', 90 'browser/database/databases_table.cc', 91 'browser/database/databases_table.h', 92 'browser/database/vfs_backend.cc', 93 'browser/database/vfs_backend.h' [all...] |
/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/ContactsProvider/src/com/android/providers/contacts/ |
AbstractContactsProvider.java | 25 import android.database.sqlite.SQLiteOpenHelper; 26 import android.database.sqlite.SQLiteTransactionListener; 34 * logic that SQLiteContentProvider does (i.e. starting transactions on the appropriate database), 35 * but exposes awareness of batch operations to the subclass so that cross-database operations 74 * The database helper to serialize all transactions on. If non-null, any new transaction 75 * created by this provider will automatically retrieve a writable database from this helper 76 * and initiate a transaction on that database. This should be used to ensure that operations 87 * The tag corresponding to the database used for serializing transactions. 117 * Specifies a database helper (and corresponding tag) to serialize all transactions on. 294 * Gets the database helper for this contacts provider. This is called once, during onCreate() [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_org/sql/ |
connection.cc | 30 // up the database. 57 // continue working with the database and tries to modify the 85 // -1 backs up the entire database. 256 // Closing the database while statements are in use is an API 286 // If the database was already closed by RazeAndClose(), then no 306 // table doesn't exist, it probably means this is a new database and there 350 // Create an in-memory database with the existing database's page 351 // size, then backup that database over the existing database [all...] |
recovery.cc | 26 // Failed to open temporary database to recover into. 38 // Failed to attach the corrupt database to the temporary database. 159 // Break any outstanding transactions on the original database to 165 // one database and stored to the other possibly could, but would be 169 // Disable exclusive locking mode so that the attached database can 171 // next database access, so immediately force an access. Enabling 182 // possible to fall back to a memory database. But it probably 240 // SQLITE_BUSY - cannot lock the destination database. This should 242 // database, Chromium generally doesn't do that [all...] |
/external/chromium_org/components/autofill/core/browser/ |
personal_data_manager.h | 42 // Handles loading and saving Autofill profile information to the web database. 43 // This class also stores the profiles loaded from the database for use during 59 void Init(scoped_refptr<AutofillWebDataService> database, 95 // Adds |profile| to the web database. 98 // Updates |profile| which already exists in the web database. 109 // Adds |credit_card| to the web database. 112 // Updates |credit_card| which already exists in the web database. 125 // Returns whether the personal data has been loaded from the web database. 129 // lifetime is until the web database is updated with new profile and credit 213 // database by adding, updating and removing profiles [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...] |
/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...] |
/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:__anon81 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:__anon699 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:__anon1275 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/chromium_org/chrome/browser/extensions/activity_log/ |
counting_policy.cc | 5 // A policy for storing activity log data to a database that performs 6 // aggregation to reduce the size of the database. The database layout is 52 // database. 85 // Columns in the main database table. See the file-level comment for a 95 // Miscellaneous SQL commands for initializing the database; these should be 228 // Columns that must match exactly for database rows to be coalesced. 235 // Whether to clean old records out of the activity log database. Do this 236 // much less frequently than database flushes since it is expensive, but 237 // always check on the first database flush (since there might be a larg [all...] |
/external/chromium_org/chrome/browser/history/android/ |
android_cache_database.h | 17 // This database is used to support Android ContentProvider APIs. 25 // Creates the database, deletes existing one if any; also attach it to the 26 // database returned by GetDB(). Returns sql::INIT_OK on success, otherwise 67 // Returns the database for the functions in this interface. The decendent of 74 // Creates the database and make it ready for attaching; returns true on 85 // The favicon_id is also cached because it is in thumbnail database. Its 107 // Attachs to history database; returns true on success.
|