HomeSort by relevance Sort by last modified time
    Searched refs:database (Results 276 - 300 of 2108) sorted by null

<<11121314151617181920>>

  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowCursorAdapter.java 21 import android.database.ContentObserver;
22 import android.database.Cursor;
23 import android.database.DataSetObserver;
39 * Adapter that exposes data from a {@link android.database.Cursor Cursor} to a
ShadowAbstractCursor.java 7 import android.database.AbstractCursor;
8 import android.database.CursorWindow;
ShadowSQLiteProgram.java 3 import android.database.sqlite.SQLiteDatabase;
4 import android.database.sqlite.SQLiteProgram;
71 throw new IllegalStateException("database " + mDatabase.getPath() + " already closed");
  /frameworks/base/core/java/android/database/sqlite/
SQLiteOpenHelper.java 17 package android.database.sqlite;
20 import android.database.DatabaseErrorHandler;
21 import android.database.sqlite.SQLiteDatabase.CursorFactory;
25 * A helper class to manage database creation and version management.
28 * optionally {@link #onOpen}, and this class takes care of opening the database
30 * Transactions are used to make sure the database is always in a sensible state.
33 * implementations to defer opening and upgrading the database until first use,
34 * to avoid blocking application startup with long-running database upgrades.
45 // When true, getReadableDatabase returns a read-only database if it is just being opened.
46 // The database handle is reopened in read/write mode when getWritableDatabase is called
    [all...]
SQLiteProgram.java 17 package android.database.sqlite;
19 import android.database.DatabaseUtils;
  /frameworks/ex/common/java/com/android/common/content/
SyncStateContentProviderHelper.java 21 import android.database.Cursor;
22 import android.database.DatabaseUtils;
23 import android.database.sqlite.SQLiteDatabase;
  /frameworks/support/documents-archive/tests/src/android/support/provider/
StubProvider.java 19 import android.database.Cursor;
20 import android.database.MatrixCursor.RowBuilder;
21 import android.database.MatrixCursor;
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DirectoryListLoader.java 21 import android.database.ContentObserver;
22 import android.database.Cursor;
23 import android.database.MatrixCursor;
  /packages/apps/Dialer/tests/src/com/android/dialer/filterednumber/
BlockedNumbersMigratorTest.java 29 import com.android.dialer.database.FilteredNumberContract;
30 import com.android.dialer.database.FilteredNumberContract.FilteredNumber;
31 import com.android.dialer.database.FilteredNumberContract.FilteredNumberColumns;
  /packages/apps/Messaging/src/com/android/messaging/datamodel/
MediaScratchFileProvider.java 21 import android.database.Cursor;
22 import android.database.MatrixCursor;
23 import android.database.MatrixCursor.RowBuilder;
  /packages/apps/Messaging/src/com/android/messaging/ui/
CursorRecyclerAdapter.java 20 import android.database.ContentObserver;
21 import android.database.Cursor;
22 import android.database.DataSetObserver;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
UserBinaryDictionary.java 21 import android.database.ContentObserver;
22 import android.database.Cursor;
23 import android.database.sqlite.SQLiteException;
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarCache.java 20 import android.database.Cursor;
21 import android.database.sqlite.SQLiteDatabase;
22 import android.database.sqlite.SQLiteOpenHelper;
30 * a SQLite database.
62 * This exception is thrown when the cache encounter a null key or a null database reference
85 Log.e(TAG, "Could not read timezone database version from CalendarCache");
162 * Write a (key, value) pair in the database used by the cache. This method should be called in
165 * @param db the database (must not be null)
168 * @throws CacheException when key or database are null
173 throw new CacheException("Database cannot be null")
    [all...]
MetaData.java 22 import android.database.Cursor;
23 import android.database.sqlite.SQLiteDatabase;
24 import android.database.sqlite.SQLiteOpenHelper;
30 * values to avoid repeatedly banging on the database. It is also used
31 * for writing the values back to the database, while maintaining the
38 * These fields are updated atomically with the database.
49 * The cached copy of the meta-data fields from the database.
75 * database lock to read all the fields atomically.
84 // If the fields have not been initialized from the database,
85 // then read the database
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
DataRowHandlerForOrganization.java 20 import android.database.Cursor;
21 import android.database.DatabaseUtils;
22 import android.database.sqlite.SQLiteDatabase;
  /cts/tests/tests/database/src/android/database/sqlite/cts/
DatabaseStatementTest.java 17 package android.database.sqlite.cts;
20 import android.database.Cursor;
21 import android.database.sqlite.SQLiteConstraintException;
22 import android.database.sqlite.SQLiteDatabase;
23 import android.database.sqlite.SQLiteDoneException;
24 import android.database.sqlite.SQLiteStatement;
  /frameworks/base/core/tests/coretests/src/android/database/
DatabaseStatementTest.java 17 package android.database;
20 import android.database.Cursor;
21 import android.database.sqlite.SQLiteConstraintException;
22 import android.database.sqlite.SQLiteDatabase;
23 import android.database.sqlite.SQLiteDoneException;
24 import android.database.sqlite.SQLiteStatement;
CursorWindowTest.java 17 package android.database;
20 import android.database.CursorWindow;
DatabaseLockTest.java 17 package android.database;
19 import android.database.sqlite.SQLiteDatabase;
27 * This is a series of unit tests for database locks.
64 * attempting to access a database concurrently.
66 * same database at the same time with the same prioritization, neither thread
67 * is locked out and prevented from accessing the database.
114 * testLockLatency() tests the latency of database locks.
116 * the same database, the locking/unlocking of the database is done within an
  /packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
UserDictionaryProvider.java 27 import android.database.Cursor;
28 import android.database.MatrixCursor;
29 import android.database.SQLException;
30 import android.database.sqlite.SQLiteDatabase;
31 import android.database.sqlite.SQLiteOpenHelper;
32 import android.database.sqlite.SQLiteQueryBuilder;
48 * Provides access to a database of user defined words. Each item has a word and a frequency.
101 * This class helps open, create, and upgrade the database file.
124 Log.i(TAG, "Upgrading database from version " + oldVersion
129 Log.w(TAG, "Upgrading database from version " + oldVersion + " to
    [all...]
  /developers/demos/JustForUs/justforus/src/main/java/com/example/android/justforus/
AssetProvider.java 24 import android.database.Cursor;
25 import android.database.MatrixCursor;
  /developers/samples/android/content/WidgetData/Application/src/main/java/com/example/android/widgetdata/
WeatherDataProvider.java 21 import android.database.Cursor;
22 import android.database.MatrixCursor;
29 * will be stored in an external and persistent location (ie. File, Database, SharedPreferences) so
57 * Database, SharedPreferences) so that the data can persist if the process is ever killed.
  /development/samples/ApiDemos/src/com/example/android/apis/app/
QuickContactsDemo.java 23 import android.database.CharArrayBuffer;
24 import android.database.Cursor;
  /device/google/dragon/crash_collector/src/com/android/crashreportprovider/
CrashReportProvider.java 22 import android.database.Cursor;
23 import android.database.MatrixCursor;
  /frameworks/base/core/java/android/content/
ContentQueryMap.java 19 import android.database.ContentObserver;
20 import android.database.Cursor;
30 * the database that is to be used as the key of the map is user-configurable, and the

Completed in 735 milliseconds

<<11121314151617181920>>