Home
last modified time | relevance | path

Searched refs:database (Results 1 – 25 of 471) sorted by relevance

12345678910>>...19

/frameworks/base/docs/html/training/basics/data-storage/
Ddatabases.jd41 <p>Saving data to a database is ideal for repeating or structured data,
44 SQLite databases on Android. The APIs you'll need to use a database
45 on Android are available in the {@link android.database.sqlite} package.</p>
51 declaration of how the database is organized. The schema is reflected in the SQL
52 statements that you use to create your database. You may find it helpful to
62 global to your whole database in the root level of the class. Then create an inner
68 will expect it to have. It's not required, but this can help your database
96 <p>Once you have defined how your database looks, you should implement methods
97 that create and maintain the database and tables. Here are some typical
117 storage</a>, Android stores your database in private disk space that's associated
[all …]
/frameworks/base/core/java/android/database/
DCrossProcessCursorWrapper.java17 package android.database;
19 import android.database.CrossProcessCursor;
20 import android.database.Cursor;
21 import android.database.CursorWindow;
22 import android.database.CursorWrapper;
DDefaultDatabaseErrorHandler.java16 package android.database;
21 import android.database.sqlite.SQLiteDatabase;
22 import android.database.sqlite.SQLiteException;
DDatabaseErrorHandler.java17 package android.database;
19 import android.database.sqlite.SQLiteDatabase;
/frameworks/base/media/java/android/mtp/
DMtpServer.java31 public MtpServer(MtpDatabase database, boolean usePtp) { in MtpServer() argument
32 native_setup(database, usePtp); in MtpServer()
33 database.setServer(this); in MtpServer()
67 private native final void native_setup(MtpDatabase database, boolean usePtp); in native_setup() argument
/frameworks/base/core/java/android/database/sqlite/
DSQLiteCursorDriver.java17 package android.database.sqlite;
19 import android.database.Cursor;
20 import android.database.sqlite.SQLiteDatabase.CursorFactory;
DSQLiteDirectCursorDriver.java17 package android.database.sqlite;
19 import android.database.Cursor;
20 import android.database.sqlite.SQLiteDatabase.CursorFactory;
DSQLiteException.java17 package android.database.sqlite;
19 import android.database.SQLException;
DSQLiteCursor.java17 package android.database.sqlite;
19 import android.database.AbstractWindowedCursor;
20 import android.database.CursorWindow;
21 import android.database.DatabaseUtils;
DSqliteWrapper.java18 package android.database.sqlite;
23 import android.database.Cursor;
24 import android.database.sqlite.SQLiteException;
/frameworks/base/test-runner/src/android/test/mock/
DMockCursor.java20 import android.database.CharArrayBuffer;
21 import android.database.ContentObserver;
22 import android.database.Cursor;
23 import android.database.DataSetObserver;
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DAggregatorStorage.java20 import android.database.SQLException;
21 import android.database.sqlite.SQLiteDatabase;
22 import android.database.sqlite.SQLiteOpenHelper;
DAggregatorRecordStorage.java21 import android.database.Cursor;
22 import android.database.SQLException;
23 import android.database.sqlite.SQLiteDatabase;
24 import android.database.sqlite.SQLiteOpenHelper;
DBordeauxSessionStorage.java21 import android.database.Cursor;
22 import android.database.SQLException;
23 import android.database.sqlite.SQLiteDatabase;
24 import android.database.sqlite.SQLiteOpenHelper;
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseErrorHandlerTest.java17 package android.database;
20 import android.database.sqlite.SQLiteDatabase;
21 import android.database.sqlite.SQLiteDiskIOException;
22 import android.database.sqlite.SQLiteException;
DDatabaseLocaleTest.java17 package android.database;
19 import android.database.sqlite.SQLiteDatabase;
20 import android.database.Cursor;
/frameworks/base/docs/html/tools/help/
Dsqlite3.jd23 <p>You can also optionally specify a full path to a database that you want to explore.
44 pull the database file from the device and start {@code sqlite3}:</p>
47 <li>Copy a database file from your device to your host machine:
49 adb pull &lt;database-file-on-device&gt;
53 <li>Start the sqlite3 tool from the <code>/tools</code> directory, specifying the database
56 sqlite3 &lt;database-file-on-host&gt;
/frameworks/base/docs/html/training/load-data-background/
Dhandle-results.jd36 {@link android.database.Cursor} containing the query results. You can use this object to
46 that data associated with the {@link android.database.Cursor} has changed. When the
51 To display {@link android.database.Cursor} data returned by
56 the {@link android.database.Cursor} to the view.
60 and then move a {@link android.database.Cursor} into the adapter in the
62 method. As soon as you move the {@link android.database.Cursor} into the adapter, the
64 {@link android.database.Cursor}.
111 {@link android.database.Cursor} becomes invalid. This usually occurs because the data associated
112 with the {@link android.database.Cursor} has changed. Before re-running the query,
115 this callback, you should delete all references to the current {@link android.database.Cursor}
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLocalProvider.java21 import android.database.Cursor;
22 import android.database.sqlite.SQLiteDatabase;
23 import android.database.sqlite.SQLiteOpenHelper;
24 import android.database.sqlite.SQLiteQueryBuilder;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/database/
DCursorMapper.java14 package android.support.v17.leanback.database;
16 import android.database.Cursor;
/frameworks/base/core/tests/coretests/src/android/content/
DMemoryFileProvider.java19 import android.database.Cursor;
20 import android.database.DatabaseUtils;
21 import android.database.sqlite.SQLiteDatabase;
22 import android.database.sqlite.SQLiteOpenHelper;
/frameworks/base/docs/html/training/search/
Dsearch.jd26 <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} cl…
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…
/frameworks/base/core/java/android/widget/
DBaseExpandableListAdapter.java19 import android.database.DataSetObservable;
20 import android.database.DataSetObserver;
DBaseAdapter.java19 import android.database.DataSetObservable;
20 import android.database.DataSetObserver;
/frameworks/base/test-runner/src/android/test/
DDatabaseTestUtils.java21 import android.database.sqlite.SQLiteDatabase;
22 import android.database.Cursor;

12345678910>>...19