/frameworks/support/room/runtime/src/main/java/androidx/room/ |
Room.java | 36 * Creates a RoomDatabase.Builder for a persistent database. Once a database is built, you 39 * @param context The context for the database. This is usually the Application context. 40 * @param klass The abstract class which is annotated with {@link Database} and extends 42 * @param name The name of the database file. 43 * @param <T> The type of the database class. 44 * @return A {@code RoomDatabaseBuilder<T>} which you can use to create the database. 52 throw new IllegalArgumentException("Cannot build a database with null or empty name." 53 + " If you are trying to create an in memory database, use Room" 60 * Creates a RoomDatabase.Builder for an in memory database. Information stored in an in memor [all...] |
package-info.java | 18 * Room is a Database Object Mapping library that makes it easy to access database on Android 22 * to query the database and also verify such queries at compile time. This allows you to access 27 * <li>{@link androidx.room.Database Database}: This annotation marks a 28 * class as a database. It should be an abstract class that extends 35 * This class defines the list of entities and data access objects in the database. It is 39 * database row. For each {@link androidx.room.Entity Entity}, a database table 41 * {@link androidx.room.Database#entities() Database#entities} array. Each fiel [all...] |
/external/autotest/tko/ |
db_mysql.py | 9 def connect(self, host, database, user, password, port): 13 'db': database,
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
api_def_SqlDataset.pbtxt | 6 The database type. Currently, the only supported type is 'sqlite'. 12 A connection string to connect to the database.
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/VarCheckHiiLib/ |
VarCheckHiiGenFromHii.c | 2 Var Check Hii generation from Hii Database.
18 Generate from Hii Database.
33 // Locate HII Database protocol
49 // Allocate buffer to hold the HII Database.
56 // Export HII Database into the buffer.
61 DEBUG ((EFI_D_INFO, "VarCheckHiiGenDxeFromHii - HII Database exported at 0x%x, size = 0x%x\n", Buffer, BufferSize));
|
/external/python/cpython3/Modules/clinic/ |
pwdmodule.c.h | 9 "Return the password database entry for the given numeric user ID.\n" 11 "See `help(pwd)` for more on password database entries."); 20 "Return the password database entry for the given user name.\n" 22 "See `help(pwd)` for more on password database entries."); 51 "Return a list of all available password database entries, in arbitrary order.\n" 53 "See help(pwd) for more on password database entries.");
|
_gdbmmodule.c.h | 70 "Close the database."); 88 "Get a list of all keys in the database."); 108 "It\'s possible to loop over every key in the database using this method\n" 130 "The following code prints every key in the database db, without having\n" 165 "Reorganize the database.\n" 169 "database. GDBM will not shorten the length of a database file except\n" 189 "Flush the database to the disk file.\n" 191 "When the database has been opened in fast mode, this method forces\n" 210 "Open a dbm database and return a dbm object.\n [all...] |
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
SQLiteStatementTest.java | 6 import android.database.Cursor; 7 import android.database.sqlite.SQLiteDatabase; 8 import android.database.sqlite.SQLiteDoneException; 9 import android.database.sqlite.SQLiteStatement; 20 private SQLiteDatabase database; field in class:SQLiteStatementTest 27 database = SQLiteDatabase.openOrCreateDatabase(databasePath.getPath(), null); 28 SQLiteStatement createStatement = database.compileStatement("CREATE TABLE `routine` (`id` INTEGER PRIMARY KEY AUTOINCREMENT , `name` VARCHAR , `lastUsed` INTEGER DEFAULT 0 , UNIQUE (`name`)) ;"); 31 SQLiteStatement createStatement2 = database.compileStatement("CREATE TABLE `countme` (`id` INTEGER PRIMARY KEY AUTOINCREMENT , `name` VARCHAR , `lastUsed` INTEGER DEFAULT 0 , UNIQUE (`name`)) ;"); 37 database.close(); 42 SQLiteStatement insertStatement = database.compileStatement("INSERT INTO `routine` (`name` ,`lastUsed` ) VALUES (?,?)") [all...] |
ShadowSQLiteConnectionTest.java | 9 import android.database.Cursor; 10 import android.database.sqlite.SQLiteDatabase; 11 import android.database.sqlite.SQLiteDatatypeMismatchException; 12 import android.database.sqlite.SQLiteStatement; 31 private SQLiteDatabase database; field in class:ShadowSQLiteConnectionTest 39 database = createDatabase("database.db"); 40 SQLiteStatement createStatement = database.compileStatement( 43 conn = getSQLiteConnection(database); 48 database.close() [all...] |
ShadowSimpleCursorAdapterTest.java | 5 import android.database.Cursor; 6 import android.database.sqlite.SQLiteDatabase; 51 SQLiteDatabase database = SQLiteDatabase.create(null); local 52 database.execSQL("CREATE TABLE table_name(_id INT PRIMARY KEY, name VARCHAR(255));"); 62 database.execSQL(insert); 66 return database.rawQuery(sql, null);
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
DatabaseTestBase.java | 4 import android.database.Cursor; 5 import android.database.sqlite.SQLiteDatabase; 24 protected SQLiteDatabase database; field in class:DatabaseTestBase 29 database = SQLiteDatabase.openDatabase("path", null, 0); 30 shDatabase = Robolectric.shadowOf(database); 31 database.execSQL("CREATE TABLE table_name (\n" + 39 database.execSQL("CREATE TABLE rawtable (\n" + 47 database.execSQL("CREATE TABLE exectable (\n" + 63 database.insert("rawtable", null, values); 72 database.insert("rawtable", null, values2) [all...] |
SQLiteStatementTest.java | 3 import android.database.sqlite.SQLiteDatabase; 4 import android.database.sqlite.SQLiteDoneException; 5 import android.database.sqlite.SQLiteStatement; 21 private SQLiteDatabase database; field in class:SQLiteStatementTest 25 database = SQLiteDatabase.openDatabase("path", null, 0); 26 SQLiteStatement createStatement = database.compileStatement("CREATE TABLE `routine` (`id` INTEGER PRIMARY KEY AUTOINCREMENT , `name` VARCHAR , `lastUsed` INTEGER DEFAULT 0 , UNIQUE (`name`)) ;"); 29 SQLiteStatement createStatement2 = database.compileStatement("CREATE TABLE `countme` (`id` INTEGER PRIMARY KEY AUTOINCREMENT , `name` VARCHAR , `lastUsed` INTEGER DEFAULT 0 , UNIQUE (`name`)) ;"); 35 database.close(); 40 SQLiteStatement insertStatement = database.compileStatement("INSERT INTO `routine` (`name` ,`lastUsed` ) VALUES (?,?)"); 52 Statement statement = shadowOf(database).getConnection().createStatement() [all...] |
/frameworks/support/persistence/db/src/main/java/androidx/sqlite/db/ |
SupportSQLiteDatabase.java | 20 import android.database.Cursor; 21 import android.database.SQLException; 22 import android.database.sqlite.SQLiteDatabase; 23 import android.database.sqlite.SQLiteTransactionListener; 36 * A database abstraction which removes the framework dependency and allows swapping underlying 37 * sql versions. It mimics the behavior of {@link android.database.sqlite.SQLiteDatabase} 154 * Marks the current transaction as successful. Do not do any more database work between 155 * calling this and calling endTransaction. Do as little non-database work as possible in that 172 * Returns true if the current thread is holding an active connection to the database. 175 * to the database meant that the thread was holding an actual lock on th [all...] |
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
Mapper.java | 21 import android.database.Cursor; 22 import android.database.DatabaseUtils; 23 import android.database.sqlite.SQLiteDatabase; 51 Mapper(MtpDatabase database) { 52 mDatabase = database; 56 * Puts device information to database. 58 * @return If device is added to the database. 62 final SQLiteDatabase database = mDatabase.getSQLiteDatabase(); local 63 database.beginTransaction(); 77 database.setTransactionSuccessful() 95 final SQLiteDatabase database = mDatabase.getSQLiteDatabase(); local 163 final SQLiteDatabase database = mDatabase.getSQLiteDatabase(); local 200 final SQLiteDatabase database = mDatabase.getSQLiteDatabase(); local 245 final SQLiteDatabase database = mDatabase.getSQLiteDatabase(); local 329 final SQLiteDatabase database = mDatabase.getSQLiteDatabase(); local 380 final SQLiteDatabase database = mDatabase.getSQLiteDatabase(); local 434 final SQLiteDatabase database = mDatabase.getSQLiteDatabase(); local [all...] |
/external/v8/tools/clang/pylib/clang/ |
compile_db.py | 12 """Generates a compile database using ninja. 15 path: The build directory to generate a compile database for. 19 print 'Generating compile database in %s...' % path 27 """Reads a compile database into memory. 30 path: Directory that contains the compile database.
|
/packages/apps/Dialer/java/com/android/dialer/database/ |
Database.java | 17 package com.android.dialer.database; 22 /** Accessor for the database bindings. */ 23 public class Database { 27 private Database() {} 47 Database.databaseBindings = databaseBindings;
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/PlatformDriOverrideDxe/ |
InternalPlatDriOverrideDxe.h | 51 Free all the mapping database memory resource and initialize the mapping list entry.
53 @param MappingDataBase Mapping database list entry pointer
55 @retval EFI_INVALID_PARAMETER mapping database list entry is NULL
68 a set of Driver Device Paths, and create the mapping database in memory to contain these variable info.
70 @param MappingDataBase Mapping database list entry pointer
75 @retval EFI_SUCCESS Create the mapping database in memory successfully
86 Save the memory mapping database into NV environment variable(s).
89 @param MappingDataBase Mapping database list entry pointer
92 @retval EFI_SUCCESS Save memory mapping database successfully
103 Retrieves the image handle of the platform override driver for a controller in the system from the memory mapping database. [all...] |
/external/curl/lib/ |
dict.c | 131 char *database = NULL; local 155 database = strchr(word, ':'); 156 if(database) { 157 *database++ = (char)0; 158 strategy = strchr(database, ':'); 173 if((database == NULL) || (*database == (char)0)) { 174 database = (char *)"!"; 187 "%s " /* database */ 192 database, [all...] |
/external/autotest/site_utils/ |
setup_db.sh | 10 Setup database needed to run autotest.\n\ 14 -c Clobber existing database if it exists.\n\ 15 -m Allow remote access for database." 67 # Check if database exists, clobber existing database with user consent. 69 # Arguments: Name of the database 73 echo "Setting up Database: $db_name in MySQL..." 103 local sql_command="drop database if exists $db_name; \ 104 create database $db_name; \ 110 echo "Use existing database. Use option -c to clobber it. [all...] |
/frameworks/base/core/java/android/database/ |
package.html | 5 If you need to manage data in a private database, use the {@link 6 android.database.sqlite} classes. These classes are used to manage the {@link 7 android.database.Cursor} object returned from a content provider query. Databases
|
/frameworks/base/core/java/android/database/sqlite/ |
DatabaseObjectNotClosedException.java | 17 package android.database.sqlite; 20 * An exception that indicates that garbage-collector is finalizing a database object 25 private static final String s = "Application did not close the cursor or database object " +
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/ |
TestLauncherProvider.java | 4 import android.database.sqlite.SQLiteDatabase; 5 import android.database.sqlite.SQLiteOpenHelper; 10 * An extension of LauncherProvider backed up by in-memory database.
|
/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/db/ |
ImageDao.java | 32 * Inserts a {@link Image} into the database. 40 * Gets all {@link Image}s in the database. 42 * @return A list of all {@link Image}s in the database 57 * Gets all {@link Image}s in the database as a {@link LiveData}. 59 * @return A {@link LiveData} list of all {@link Image}s in the database 65 * Clears the database.
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
NoLocaleSQLiteHelper.java | 19 import static android.database.sqlite.SQLiteDatabase.NO_LOCALIZED_COLLATORS; 25 import android.database.DatabaseErrorHandler; 26 import android.database.sqlite.SQLiteDatabase; 27 import android.database.sqlite.SQLiteDatabase.CursorFactory; 28 import android.database.sqlite.SQLiteDatabase.OpenParams; 29 import android.database.sqlite.SQLiteOpenHelper;
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
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...] |