/system/bt/stack/include/ |
sdp_api.h | 170 * Description This function is called to initialize a discovery database. 239 /* API of utilities to find data in the local discovery database */ 245 * Description This function queries an SDP database for a specific 247 * the beginning of the database, else it continues from the 272 * Description This function queries an SDP database for a specific 274 * the beginning of the database, else it continues from the 288 * Description This function queries an SDP database for a specific 290 * the beginning of the database, else it continues from the 324 * Description Query an SDP database for a specific service. 326 * of the database, else continue from the next record afte [all...] |
/external/autotest/frontend/ |
database_settings_helper.py | 7 """Helpers to load database settings. 10 which always must be the global database, a readonly connection to the 11 global database, and a connection to server database). 14 desired database type, should be obtained from the setting with the next lower 20 server database setting falls back to local database setting. That is, if 23 In case an instance is running on a shard, a global database must explicitly 110 """Retrieves a config value for the specified key for server database. 143 'NAME': getter('database'), [all...] |
/external/python/cpython2/Doc/library/ |
gdbm.rst | 36 Open a ``gdbm`` database and return a ``gdbm`` object. The *filename* argument 37 is the name of the database file. 44 | ``'r'`` | Open existing database for reading only | 47 | ``'w'`` | Open existing database for reading and | 50 | ``'c'`` | Open database for reading and writing, | 53 | ``'n'`` | Always create a new, empty database, open | 58 how the database is opened: 63 | ``'f'`` | Open the database in fast mode. Writes | 64 | | to the database will not be synchronized. | 67 | | to the database to be immediately written [all...] |
/frameworks/support/room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/migration/ |
MigrationKotlinTest.kt | 205 override fun migrate(database: SupportSQLiteDatabase) { 206 database.execSQL("CREATE TABLE Entity4 (`id` INTEGER, `name` TEXT," 246 override fun migrate(database: SupportSQLiteDatabase) { 247 database.execSQL("CREATE TABLE IF NOT EXISTS `Entity2` (`id` INTEGER NOT NULL," 253 override fun migrate(database: SupportSQLiteDatabase) { 254 database.execSQL("ALTER TABLE " + MigrationDbKotlin.Entity2.TABLE_NAME 260 override fun migrate(database: SupportSQLiteDatabase) { 261 database.execSQL("CREATE TABLE IF NOT EXISTS `Entity3` (`id` INTEGER NOT NULL," 267 override fun migrate(database: SupportSQLiteDatabase) { 268 database.execSQL("CREATE TABLE IF NOT EXISTS `Entity3_New` (`id` INTEGER NOT NULL, [all...] |
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastContentProvider.java | 25 import android.database.Cursor; 26 import android.database.sqlite.SQLiteDatabase; 27 import android.database.sqlite.SQLiteOpenHelper; 28 import android.database.sqlite.SQLiteQueryBuilder; 37 * ContentProvider for the database of received cell broadcasts. 68 /** The database for this content provider. */ 150 * Insert a new row. This throws an exception, as the database can only be modified by 153 * @param values a set of column_name/value pairs to add to the database. 162 * Delete one or more rows. This throws an exception, as the database can only be modified by 174 * Update one or more rows. This throws an exception, as the database can only be modified b [all...] |
/external/python/cpython2/Modules/ |
cgen.py | 186 # Generate the stub for the given function, using the database of argument 189 def generate(type, func, database): 197 for a_type, a_mode, a_factor, a_sub in database: 229 for i in range(len(database)): 230 a_type, a_mode, a_factor, a_sub = database[i] 247 for i in range(len(database)): 248 a_type, a_mode, a_factor, a_sub = database[i] 252 if 1 <= n <= len(database): 253 b_type, b_mode, b_factor, b_sub = database[n-1] 255 database[n-1] = b_type, 'i', a_factor, repr(i 498 database = [] variable [all...] |
/packages/apps/Dialer/java/com/android/dialer/database/ |
DialerDatabaseHelper.java | 17 package com.android.dialer.database; 23 import android.database.Cursor; 24 import android.database.sqlite.SQLiteDatabase; 25 import android.database.sqlite.SQLiteException; 26 import android.database.sqlite.SQLiteOpenHelper; 27 import android.database.sqlite.SQLiteStatement; 44 import com.android.dialer.common.database.Selection; 46 import com.android.dialer.database.FilteredNumberContract.FilteredNumberColumns; 56 * Database helper for smart dial. Designed as a singleton to make sure there is only one access 57 * point to the database. Provides methods to maintain, update, and query the database [all...] |
/packages/apps/Dialer/java/com/android/dialer/phonelookup/database/ |
PhoneLookupHistoryContentProvider.java | 17 package com.android.dialer.phonelookup.database; 25 import android.database.Cursor; 26 import android.database.DatabaseUtils; 27 import android.database.sqlite.SQLiteDatabase; 28 import android.database.sqlite.SQLiteQueryBuilder; 35 import com.android.dialer.phonelookup.database.contract.PhoneLookupHistoryContract; 36 import com.android.dialer.phonelookup.database.contract.PhoneLookupHistoryContract.PhoneLookupHistory; 135 SQLiteDatabase database = databaseHelper.getWritableDatabase(); local 162 long id = database.insert(PhoneLookupHistory.TABLE, null, values); 182 SQLiteDatabase database = databaseHelper.getWritableDatabase() local 229 SQLiteDatabase database = databaseHelper.getWritableDatabase(); local 279 SQLiteDatabase database = databaseHelper.getWritableDatabase(); local [all...] |
/external/protobuf/python/google/protobuf/ |
symbol_database.py | 31 """A database of Python protocol buffer generated symbols. 48 # The database can be used as a MessageFactory, to generate types based on 53 # The database's underlying descriptor pool can be queried, so it's not 67 """A database of Python generated symbols. 71 The symbol database can be used to keep a global registry of all protocol 83 """Registers the given message type in the local database. 101 """Registers the given enum descriptor in the local database. 113 """Registers the given file descriptor in the local database. 124 """Tries to find a symbol in the local database. 160 in the symbol database [all...] |
/external/python/cpython3/Lib/dbm/ |
__init__.py | 9 type of database being opened (determined by the whichdb function) in the case 54 """Open or create database at path given by *file*. 57 for read-write access of an existing database, 'c' for read-write access 58 to a new or existing database, and 'n' for read-write access to a new 59 database. 61 Note: 'r' and 'w' fail if the database doesn't exist; 'c' creates it 62 only if it doesn't exist; and 'n' always creates a new database. 77 # guess the type of an existing database, if not creating a new one 102 - None if the database file can't be read; 107 database using that module may still fail [all...] |
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/writer/ |
SQLiteOpenHelperWriter.kt | 27 import androidx.room.vo.Database 38 class SQLiteOpenHelperWriter(val database: Database) { 46 createOpenCallback(scope), database.identityHash, database.legacyIdentityHash) 65 return TypeSpec.anonymousClassBuilder(L, database.version).apply { 81 database.entities.forEach { entity -> 104 if (database.enableForeignKeys) { 117 database.bundle.buildCreateQueries().forEach { 128 database.entities.forEach [all...] |
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/migration/ |
JournalDbPostMigrationTest.java | 24 import android.database.Cursor; 25 import android.database.sqlite.SQLiteDatabase; 37 import androidx.room.Database; 108 @Database(entities = {User.class}, version = 3, exportSchema = false) 115 public void migrate(@NonNull SupportSQLiteDatabase database) { 116 database.execSQL("ALTER TABLE user ADD COLUMN `address` TEXT"); 117 Cursor cursor = database.query("SELECT * FROM user"); 124 database.update( 133 public void migrate(@NonNull SupportSQLiteDatabase database) { 134 database.execSQL("ALTER TABLE user ADD COLUMN `age` INTEGER NOT NULL DEFAULT 0") [all...] |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MtpService.java | 129 sServerHolder.database.setServer(null); 179 final MtpDatabase database = new MtpDatabase(this, MediaProvider.EXTERNAL_VOLUME, subdirs); local 201 new MtpServer(database, fd, mPtpMode, 204 database.setServer(server); 205 sServerHolder = new ServerHolder(server, database); 234 sServerHolder.database.addStorage(volume); 242 sServerHolder.database.removeStorage(volume); 249 @NonNull final MtpDatabase database; field in class:MtpService.ServerHolder 251 ServerHolder(@NonNull MtpServer server, @NonNull MtpDatabase database) { 253 Preconditions.checkNotNull(database); [all...] |
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
HiiDatabase.h | 2 The file provides Database manager for HII-related data
38 database events have this prototype. The actual event is encoded
57 database. See
74 database and returns a handle. If there is a
95 Handle was added to the HII database.
98 resources for the new database
117 handle Handle from the HII database. Before removing the
129 removed from the HII database.
130 @retval EFI_NOT_FOUND The specified Handle is not in database.
151 the existing package list in the HII database specified by [all...] |
/libcore/ojluni/src/main/java/javax/sql/ |
RowSetMetaData.java | 54 * @exception SQLException if a database access error occurs 67 * @exception SQLException if a database access error occurs 79 * @exception SQLException if a database access error occurs 91 * @exception SQLException if a database access error occurs 103 * @exception SQLException if a database access error occurs 118 * @exception SQLException if a database access error occurs 130 * @exception SQLException if a database access error occurs 142 * @exception SQLException if a database access error occurs 152 * @exception SQLException if a database access error occurs 161 * @exception SQLException if a database access error occur [all...] |
/libcore/ojluni/src/main/java/java/sql/ |
ResultSet.java | 35 * A table of data representing a database result set, which 36 * is usually generated by executing a statement that queries the database. 174 * @exception SQLException if a database access error occurs or this method is 181 * Releases this <code>ResultSet</code> object's database and 206 * @exception SQLException if a database access error occurs 220 * @exception SQLException if a database access error occurs or this method is 236 * if a database access error occurs or this method is 257 * if a database access error occurs or this method is 271 * if a database access error occurs or this method is 285 * if a database access error occurs or this method i [all...] |
PreparedStatement.java | 70 * @exception SQLException if a database access error occurs; 88 * @exception SQLException if a database access error occurs; 106 * marker in the SQL statement; if a database access error occurs or 121 * to an SQL <code>BIT</code> or <code>BOOLEAN</code> value when it sends it to the database. 127 * if a database access error occurs or 135 * to an SQL <code>TINYINT</code> value when it sends it to the database. 140 * marker in the SQL statement; if a database access error occurs or 148 * to an SQL <code>SMALLINT</code> value when it sends it to the database. 153 * marker in the SQL statement; if a database access error occurs or 161 * to an SQL <code>INTEGER</code> value when it sends it to the database [all...] |
/external/e2fsprogs/lib/et/test_cases/ |
heimdal2.c | 25 N_("Could not find service name in services database"), 31 N_("Entry already exists in database"), 32 N_("Database store error"), 33 N_("Database read error"), 36 N_("No such entry in the database"), 42 N_("Database is locked or in use--try again later"),
|
/external/google-benchmark/ |
.ycm_extra_conf.py | 5 # compilation database set (by default, one is not set). 35 database = ycm_core.CompilationDatabase( compilation_database_folder ) variable 37 database = None variable 89 compilation_info = database.GetCompilationInfoForFile( 94 return database.GetCompilationInfoForFile( filename ) 98 if database:
|
/external/selinux/libsemanage/src/ |
database_file.c | 5 * Implements: dbase_t (Database) 103 ERR(handle, "could not cache file database"); 113 /* Flush database to file */ 156 ERR(handle, "could not flush database to file"); 182 ERR(handle, "out of memory, could not initialize file database"); 204 /* Database API */
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
DatabaseUpgradeHelper.java | 19 import android.database.sqlite.SQLiteDatabase; 34 LogUtil.i(TAG, "Database upgrade started from version " + oldVersion + " to " + newVersion); 37 LogUtil.i(TAG, "Finished database upgrade"); 62 LogUtil.i(TAG, "Ugraded database to version 2"); 67 * Checks db version correctness at the end of each milestone release. If target database 94 LogUtil.e(TAG, "Database downgrade requested for version " +
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
CarrierProvider.java | 21 import android.database.Cursor; 22 import android.database.sqlite.SQLiteDatabase; 23 import android.database.sqlite.SQLiteQueryBuilder; 28 import android.database.SQLException; 34 * which is stored in a SQLite database. 127 * in-memory database.
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/ |
utmpx.h | 50 /* Open user accounting database. 56 /* Close user accounting database. 62 /* Get the next entry from the user accounting database. 68 /* Get the user accounting database entry corresponding to ID. 74 /* Get the user accounting database entry corresponding to LINE. 80 /* Write the entry UTMPX into the user accounting database.
|
/cts/tests/tests/database/src/android/database/cts/ |
DataSetObservableTest.java | 17 package android.database.cts; 19 import android.database.DataSetObservable; 20 import android.database.DataSetObserver;
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
RssContentProvider.java | 23 import android.database.Cursor; 24 import android.database.SQLException; 25 import android.database.sqlite.SQLiteDatabase; 26 import android.database.sqlite.SQLiteQueryBuilder; 67 // Database creation/version management helper. 83 Logger.getLogger("com.example.codelab.rssexample").info("DatabaseHelper.onCreate(): Created a database"); 85 Logger.getLogger("com.example.codelab.rssexample").warning("DatabaseHelper.onCreate(): Couldn't create a database!"); 92 // just drop the existing table, and recreate the database with the 101 // First we need to open the database. If this is our first time, 102 // the attempt to retrieve a database will thro [all...] |