HomeSort by relevance Sort by last modified time
    Searched full:database (Results 1 - 25 of 6564) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/libxml2/win32/wince/
libxml2.vcb 1 Microsoft C/C++ program database 2.00
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowSQLiteOpenHelper.java 4 import android.database.sqlite.SQLiteDatabase;
5 import android.database.sqlite.SQLiteDatabase.CursorFactory;
6 import android.database.sqlite.SQLiteOpenHelper;
20 private static SQLiteDatabase database; field in class:ShadowSQLiteOpenHelper
23 if (database != null) {
24 database.close();
26 database = null;
31 if (database != null) {
32 database.close();
34 database = null
    [all...]
  /external/mockito/src/test/java/org/mockitousage/examples/use/
ArticleManager.java 13 private final ArticleDatabase database; field in class:ArticleManager
15 public ArticleManager(ArticleCalculator calculator, ArticleDatabase database) {
17 this.database = database;
24 database.updateNumberOfArticles(newspaper, articles);
25 database.updateNumberOfPolishArticles(newspaper, polishArticles);
26 database.updateNumberOfEnglishArticles(newspaper, articles - polishArticles);
30 List<Article> articles = database.getArticlesFor("Guardian");
34 database.save(article);
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
SQLiteOpenHelperTest.java 5 import android.database.sqlite.SQLiteDatabase;
6 import android.database.sqlite.SQLiteDatabase.CursorFactory;
7 import android.database.sqlite.SQLiteOpenHelper;
30 SQLiteDatabase database = helper.getReadableDatabase(); local
31 assertInitialDB(database);
36 SQLiteDatabase database = helper.getReadableDatabase(); local
38 database = helper.getReadableDatabase();
40 assertSubsequentDB(database);
53 SQLiteDatabase database = helper.getWritableDatabase(); local
54 assertInitialDB(database);
75 SQLiteDatabase database = helper.getWritableDatabase(); local
    [all...]
  /prebuilts/go/darwin-x86/api/
go1.8.txt 60 pkg database/sql, const LevelDefault = 0
61 pkg database/sql, const LevelDefault IsolationLevel
62 pkg database/sql, const LevelLinearizable = 7
63 pkg database/sql, const LevelLinearizable IsolationLevel
64 pkg database/sql, const LevelReadCommitted = 2
65 pkg database/sql, const LevelReadCommitted IsolationLevel
66 pkg database/sql, const LevelReadUncommitted = 1
67 pkg database/sql, const LevelReadUncommitted IsolationLevel
68 pkg database/sql, const LevelRepeatableRead = 4
69 pkg database/sql, const LevelRepeatableRead IsolationLeve
    [all...]
  /prebuilts/go/linux-x86/api/
go1.8.txt 60 pkg database/sql, const LevelDefault = 0
61 pkg database/sql, const LevelDefault IsolationLevel
62 pkg database/sql, const LevelLinearizable = 7
63 pkg database/sql, const LevelLinearizable IsolationLevel
64 pkg database/sql, const LevelReadCommitted = 2
65 pkg database/sql, const LevelReadCommitted IsolationLevel
66 pkg database/sql, const LevelReadUncommitted = 1
67 pkg database/sql, const LevelReadUncommitted IsolationLevel
68 pkg database/sql, const LevelRepeatableRead = 4
69 pkg database/sql, const LevelRepeatableRead IsolationLeve
    [all...]
  /external/autotest/frontend/migrations/
100_dummy_migrate.py 1 # This database migration does nothing. It works as a replacement for a reverted
3 # For routine database migration revert, a new CL should be added to add
7 # in each database.
  /frameworks/base/core/java/android/database/
DefaultDatabaseErrorHandler.java 16 package android.database;
21 import android.database.sqlite.SQLiteDatabase;
22 import android.database.sqlite.SQLiteException;
27 * Default class used to define the action to take when database corruption is reported
34 * android.database.sqlite.SQLiteDatabase.CursorFactory, DatabaseErrorHandler)}</li>
36 * android.database.sqlite.SQLiteDatabase.CursorFactory, int, DatabaseErrorHandler)}</li>
38 * The specified {@link DatabaseErrorHandler} is used to handle database corruption errors, if they
49 * defines the default method to be invoked when database corruption is detected.
50 * @param dbObj the {@link SQLiteDatabase} object representing the database on which corruption
54 Log.e(TAG, "Corruption reported by sqlite on database: " + dbObj.getPath())
    [all...]
DatabaseErrorHandler.java 17 package android.database;
19 import android.database.sqlite.SQLiteDatabase;
22 * An interface to let apps define an action to take when database corruption is detected.
27 * The method invoked when database corruption is detected.
28 * @param dbObj the {@link SQLiteDatabase} object representing the database on which corruption
  /frameworks/support/cursoradapter/api/
current.txt 4 ctor public deprecated CursorAdapter(android.content.Context, android.database.Cursor);
5 ctor public CursorAdapter(android.content.Context, android.database.Cursor, boolean);
6 ctor public CursorAdapter(android.content.Context, android.database.Cursor, int);
7 method public abstract void bindView(android.view.View, android.content.Context, android.database.Cursor);
8 method public void changeCursor(android.database.Cursor);
9 method public java.lang.CharSequence convertToString(android.database.Cursor);
11 method public android.database.Cursor getCursor();
17 method protected deprecated void init(android.content.Context, android.database.Cursor, boolean);
18 method public android.view.View newDropDownView(android.content.Context, android.database.Cursor, android.view.ViewGroup);
19 method public abstract android.view.View newView(android.content.Context, android.database.Cursor, android.view.ViewGroup)
    [all...]
  /frameworks/support/cursoradapter/api_legacy/
0.0.0.txt 4 ctor public deprecated CursorAdapter(android.content.Context, android.database.Cursor);
5 ctor public CursorAdapter(android.content.Context, android.database.Cursor, boolean);
6 ctor public CursorAdapter(android.content.Context, android.database.Cursor, int);
7 method public abstract void bindView(android.view.View, android.content.Context, android.database.Cursor);
8 method public void changeCursor(android.database.Cursor);
9 method public java.lang.CharSequence convertToString(android.database.Cursor);
11 method public android.database.Cursor getCursor();
17 method protected deprecated void init(android.content.Context, android.database.Cursor, boolean);
18 method public android.view.View newDropDownView(android.content.Context, android.database.Cursor, android.view.ViewGroup);
19 method public abstract android.view.View newView(android.content.Context, android.database.Cursor, android.view.ViewGroup)
    [all...]
28.0.0-alpha1.txt 4 ctor public deprecated CursorAdapter(android.content.Context, android.database.Cursor);
5 ctor public CursorAdapter(android.content.Context, android.database.Cursor, boolean);
6 ctor public CursorAdapter(android.content.Context, android.database.Cursor, int);
7 method public abstract void bindView(android.view.View, android.content.Context, android.database.Cursor);
8 method public void changeCursor(android.database.Cursor);
9 method public java.lang.CharSequence convertToString(android.database.Cursor);
11 method public android.database.Cursor getCursor();
17 method protected deprecated void init(android.content.Context, android.database.Cursor, boolean);
18 method public android.view.View newDropDownView(android.content.Context, android.database.Cursor, android.view.ViewGroup);
19 method public abstract android.view.View newView(android.content.Context, android.database.Cursor, android.view.ViewGroup)
    [all...]
current.txt 4 ctor public deprecated CursorAdapter(android.content.Context, android.database.Cursor);
5 ctor public CursorAdapter(android.content.Context, android.database.Cursor, boolean);
6 ctor public CursorAdapter(android.content.Context, android.database.Cursor, int);
7 method public abstract void bindView(android.view.View, android.content.Context, android.database.Cursor);
8 method public void changeCursor(android.database.Cursor);
9 method public java.lang.CharSequence convertToString(android.database.Cursor);
11 method public android.database.Cursor getCursor();
17 method protected deprecated void init(android.content.Context, android.database.Cursor, boolean);
18 method public android.view.View newDropDownView(android.content.Context, android.database.Cursor, android.view.ViewGroup);
19 method public abstract android.view.View newView(android.content.Context, android.database.Cursor, android.view.ViewGroup)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/
FilterStackSource.java 20 import android.database.Cursor;
21 import android.database.sqlite.SQLiteDatabase;
22 import android.database.sqlite.SQLiteException;
36 private SQLiteDatabase database = null; field in class:FilterStackSource
45 database = dbHelper.getWritableDatabase();
47 Log.w(LOGTAG, "could not open database", e);
52 database = null;
61 database.beginTransaction();
63 ret = (-1 != database.insert(FilterStack.TABLE, null, val));
64 database.setTransactionSuccessful()
    [all...]
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
SQLiteDatabaseTest.java 3 import static android.database.sqlite.SQLiteDatabase.OPEN_READWRITE;
10 import android.database.Cursor;
11 import android.database.sqlite.SQLiteDatabase;
12 import android.database.sqlite.SQLiteException;
34 private SQLiteDatabase database; field in class:SQLiteDatabaseTest
41 databasePath = RuntimeEnvironment.application.getDatabasePath("database.db");
44 database = openOrCreateDatabase(databasePath);
45 database.execSQL("CREATE TABLE table_name (\n" +
53 database.execSQL("CREATE TABLE rawtable (\n" +
61 database.execSQL("CREATE TABLE exectable (\n"
933 SQLiteDatabase database = SQLiteDatabase.openOrCreateDatabase(databasePath, null); local
    [all...]
SQLiteQueryBuilderTest.java 6 import android.database.Cursor;
7 import android.database.sqlite.SQLiteDatabase;
8 import android.database.sqlite.SQLiteQueryBuilder;
22 private SQLiteDatabase database; field in class:SQLiteQueryBuilderTest
29 database = SQLiteDatabase.create(null);
31 database.execSQL("create table " + TABLE_NAME + " ("
39 firstRecordId = database.insert(TABLE_NAME, null, values);
45 long secondRecordId = database.insert(TABLE_NAME, null, values);
51 database.insert(TABLE_NAME, null, values);
61 database.close()
    [all...]
SQLiteOpenHelperTest.java 7 import android.database.sqlite.SQLiteDatabase;
8 import android.database.sqlite.SQLiteDatabase.CursorFactory;
9 import android.database.sqlite.SQLiteOpenHelper;
35 SQLiteDatabase database = helper.getReadableDatabase(); local
36 assertDatabaseOpened(database, helper);
37 assertInitialDB(database, helper);
42 SQLiteDatabase database = helper.getReadableDatabase(); local
43 assertInitialDB(database, helper);
50 SQLiteDatabase database = helper.getReadableDatabase(); local
52 assertSubsequentDB(database, helper)
65 SQLiteDatabase database = helper.getWritableDatabase(); local
87 SQLiteDatabase database = helper.getWritableDatabase(); local
190 SQLiteDatabase database = helper.getWritableDatabase(); local
    [all...]
  /frameworks/support/work/workmanager/src/androidTest/java/androidx/work/
WorkDatabaseMigrationTest.java 19 import static android.database.sqlite.SQLiteDatabase.CONFLICT_FAIL;
28 import android.database.Cursor;
29 import android.database.sqlite.SQLiteException;
82 // Delete the database if it exists.
92 SupportSQLiteDatabase database = local
120 database.insert("workspec", CONFLICT_FAIL, contentValues);
126 database.execSQL(INSERT_ALARM_INFO, new Object[]{workSpecId1, 1});
127 database.execSQL(INSERT_ALARM_INFO, new Object[]{workSpecId2, 2});
129 database.close();
131 database = mMigrationTestHelper.runMigrationsAndValidate
165 SupportSQLiteDatabase database = local
204 SupportSQLiteDatabase database = local
    [all...]
  /system/tpm/attestation/server/
database.h 20 #include "attestation/common/database.pb.h"
24 // Manages a persistent database of attestation-related data.
25 class Database {
27 virtual ~Database() = default;
29 // Const access to the database protobuf.
32 // Mutable access to the database protobuf. Changes made to the protobuf will
37 // Writes the current database protobuf to disk.
40 // Reloads the database protobuf from disk.
  /frameworks/base/core/tests/coretests/src/android/database/
DatabaseErrorHandlerTest.java 17 package android.database;
20 import android.database.sqlite.SQLiteDatabase;
21 import android.database.sqlite.SQLiteDiskIOException;
22 import android.database.sqlite.SQLiteException;
60 // database file should still exist
67 // write junk into the database file
72 // since the database file is now corrupt, doing any sql on this database connection
90 // database file should be gone
92 // after corruption handler is called, the database file should be free o
    [all...]
  /frameworks/support/persistence/db/src/main/java/androidx/sqlite/db/
SupportSQLiteOpenHelper.java 20 import android.database.sqlite.SQLiteDatabase;
21 import android.database.sqlite.SQLiteException;
35 * An interface to map the behavior of {@link android.database.sqlite.SQLiteOpenHelper}.
43 * Return the name of the SQLite database being opened, as given to
49 * Enables or disables the use of write-ahead logging for the database.
52 * this flag is ignored if the database is opened read-only.
62 * Create and/or open a database that will be used for reading and writing.
63 * The first time this is called, the database will be opened and
67 * <p>Once opened successfully, the database is cached, so you can
68 * call this method every time you need to write to the database
    [all...]
  /frameworks/base/core/java/android/database/sqlite/
SQLiteOpenHelper.java 17 package android.database.sqlite;
23 import android.database.DatabaseErrorHandler;
24 import android.database.SQLException;
25 import android.database.sqlite.SQLiteDatabase.CursorFactory;
34 * A helper class to manage database creation and version management.
37 * optionally {@link #onOpen}, and this class takes care of opening the database
39 * Transactions are used to make sure the database is always in a sensible state.
42 * implementations to defer opening and upgrading the database until first use,
43 * to avoid blocking application startup with long-running database upgrades.
64 * Create a helper object to create, open, and/or manage a database
    [all...]
  /external/autotest/frontend/
db_router.py 5 """Django database Router
7 Django gets configured with three database connections in frontend/settings.py.
8 - The default database
9 - This database should be used for most things.
10 - For the master, this is the global database.
11 - For shards, this this is the shard-local database.
12 - The global database
13 - For the master, this is the same database as default, which is the global
14 database.
15 - For the shards, this is the global database (the same as for the master)
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Library/VarCheckLib/
VarCheckLib.uni 2 // Provides variable check services and database management.
4 // Provides variable check services and database management.
18 #string STR_MODULE_ABSTRACT #language en-US "Provides variable check services and database management"
20 #string STR_MODULE_DESCRIPTION #language en-US "Provides variable check services and database management."
  /frameworks/support/room/integration-tests/testapp/src/main/java/androidx/room/integration/testapp/database/
SampleDatabase.java 17 package androidx.room.integration.testapp.database;
19 import androidx.room.Database;
23 * Sample database of customers.
25 @Database(entities = {Customer.class},

Completed in 1431 milliseconds

1 2 3 4 5 6 7 8 91011>>