Home
last modified time | relevance | path

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

12345678910>>...17

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DDatabaseTestBase.java4 import android.database.Cursor;
5 import android.database.sqlite.SQLiteDatabase;
24 protected SQLiteDatabase database; field in DatabaseTestBase
29 database = SQLiteDatabase.openDatabase("path", null, 0); in setUp()
30 shDatabase = Robolectric.shadowOf(database); in setUp()
31 database.execSQL("CREATE TABLE table_name (\n" + in setUp()
39 database.execSQL("CREATE TABLE rawtable (\n" + in setUp()
47 database.execSQL("CREATE TABLE exectable (\n" + in setUp()
63 database.insert("rawtable", null, values); in setUp()
72 database.insert("rawtable", null, values2); in setUp()
[all …]
DSQLiteOpenHelperTest.java5 import android.database.sqlite.SQLiteDatabase;
6 import android.database.sqlite.SQLiteDatabase.CursorFactory;
7 import android.database.sqlite.SQLiteOpenHelper;
30 SQLiteDatabase database = helper.getReadableDatabase(); in testInitialGetReadableDatabase() local
31 assertInitialDB(database); in testInitialGetReadableDatabase()
36 SQLiteDatabase database = helper.getReadableDatabase(); in testSubsequentGetReadableDatabase() local
38 database = helper.getReadableDatabase(); in testSubsequentGetReadableDatabase()
40 assertSubsequentDB(database); in testSubsequentGetReadableDatabase()
53 SQLiteDatabase database = helper.getWritableDatabase(); in testInitialGetWritableDatabase() local
54 assertInitialDB(database); in testInitialGetWritableDatabase()
[all …]
DSQLiteStatementTest.java3 import android.database.sqlite.SQLiteDatabase;
4 import android.database.sqlite.SQLiteDoneException;
5 import android.database.sqlite.SQLiteStatement;
21 private SQLiteDatabase database; field in SQLiteStatementTest
25 database = SQLiteDatabase.openDatabase("path", null, 0); in setUp()
26 …SQLiteStatement createStatement = database.compileStatement("CREATE TABLE `routine` (`id` INTEGER … in setUp()
29 …SQLiteStatement createStatement2 = database.compileStatement("CREATE TABLE `countme` (`id` INTEGER… in setUp()
35 database.close(); in tearDown()
40 …SQLiteStatement insertStatement = database.compileStatement("INSERT INTO `routine` (`name` ,`lastU… in testExecuteInsert()
52 Statement statement = shadowOf(database).getConnection().createStatement(); in testExecuteInsert()
[all …]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowSQLiteOpenHelper.java4 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 ShadowSQLiteOpenHelper
23 if (database != null) { in __constructor__()
24 database.close(); in __constructor__()
26 database = null; in __constructor__()
31 if (database != null) { in close()
32 database.close(); in close()
34 database = null; in close()
[all …]
DShadowSQLiteStatement.java3 import android.database.sqlite.SQLiteDatabase;
4 import android.database.sqlite.SQLiteDoneException;
5 import android.database.sqlite.SQLiteStatement;
DShadowSQLiteDatabase.java4 import android.database.Cursor;
5 import android.database.DatabaseUtils;
6 import android.database.sqlite.*;
79 throw new android.database.SQLException(); in insertOrThrow()
183 public void execSQL(String sql) throws android.database.SQLException { in execSQL()
192 android.database.SQLException ase = new android.database.SQLException(); in execSQL()
/external/curl/lib/
Ddict.c131 char *database = NULL; in dict_do() local
155 database = strchr(word, ':'); in dict_do()
156 if(database) { in dict_do()
157 *database++ = (char)0; in dict_do()
158 strategy = strchr(database, ':'); in dict_do()
173 if((database == NULL) || (*database == (char)0)) { in dict_do()
174 database = (char *)"!"; in dict_do()
192 database, in dict_do()
213 database = strchr(word, ':'); in dict_do()
214 if(database) { in dict_do()
[all …]
/external/mockito/src/test/java/org/mockitousage/examples/use/
DArticleManager.java13 private final ArticleDatabase database; field in ArticleManager
15 public ArticleManager(ArticleCalculator calculator, ArticleDatabase database) { in ArticleManager() argument
17 this.database = database; in ArticleManager()
24 database.updateNumberOfArticles(newspaper, articles); in updateArticleCounters()
25 database.updateNumberOfPolishArticles(newspaper, polishArticles); in updateArticleCounters()
26 database.updateNumberOfEnglishArticles(newspaper, articles - polishArticles); in updateArticleCounters()
30 List<Article> articles = database.getArticlesFor("Guardian"); in updateRelatedArticlesCounters()
34 database.save(article); in updateRelatedArticlesCounters()
/external/v8/tools/testrunner/local/
Dperfdata.py53 self.database = shelve.open(filename, protocol=2)
62 self.database.close()
73 if key in self.database:
74 return self.database[key].avg
84 if testkey in self.database:
85 entry = self.database[testkey]
89 self.database[testkey] = entry
/external/google-benchmark/
D.ycm_extra_conf.py35 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/wpa_supplicant_8/hostapd/
Dhlr_auc_gw.txt1 HLR/AuC testing gateway for hostapd EAP-SIM/AKA database/authenticator
4 database/authentication gateway interface to HLR/AuC. It could be
18 database for more dynamic operations. This is enabled by adding
36 -D<DB file> = path to SQLite database
40 The SQLite database can be initialized with sqlite, e.g., by running
67 pseudonyms and reauth information into a SQLite database. This is
73 Milenage parameters based on IMSI from the database. The database can be
/external/autotest/server/site_tests/cheets_CTS/
Dcontrol.arm.android.database8 NAME = 'cheets_CTS.arm.android.database'
15 DOC = ('Run package android.database of the '
25 tag='android.database',
26 target_package='android.database',
Dcontrol.x86.android.database8 NAME = 'cheets_CTS.x86.android.database'
15 DOC = ('Run package android.database of the '
25 tag='android.database',
26 target_package='android.database',
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/database/
DTestCursor.java1 package com.xtremelabs.robolectric.tester.android.database;
4 import android.database.CharArrayBuffer;
5 import android.database.ContentObserver;
6 import android.database.Cursor;
7 import android.database.DataSetObserver;
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_pool.cc74 cpool->database = NULL; in _CreateDescriptorPool()
116 DescriptorDatabase* database) { in PyDescriptorPool_NewWithDatabase() argument
121 if (database != NULL) { in PyDescriptorPool_NewWithDatabase()
122 cpool->pool = new DescriptorPool(database); in PyDescriptorPool_NewWithDatabase()
123 cpool->database = database; in PyDescriptorPool_NewWithDatabase()
145 DescriptorDatabase* database = NULL; in New() local
147 database = new PyDescriptorDatabase(py_database); in New()
150 PyDescriptorPool_NewWithDatabase(database)); in New()
168 delete self->database; in Dealloc()
414 if (self->database != NULL) { in AddSerializedFile()
/external/clang/include/clang/Basic/
DBuiltinsLe64.def1 //==- BuiltinsLe64.def - Le64 Builtin function database ----------*- C++ -*-==//
10 // This file defines the Le64-specific builtin function database. Users of this
15 // The format of this database matches clang/Basic/Builtins.def.
DBuiltinsNEON.def1 //===--- BuiltinsNEON.def - NEON Builtin function database ------*- C++ -*-===//
10 // This file defines the NEON-specific builtin function database. Users of
15 // The format of this database matches clang/Basic/Builtins.def.
DBuiltinsXCore.def1 //===--- BuiltinsXCore.def - XCore Builtin function database ----*- C++ -*-===//
10 // This file defines the XCore-specific builtin function database. Users of
15 // The format of this database matches clang/Basic/Builtins.def.
DBuiltinsWebAssembly.def1 // BuiltinsWebAssembly.def - WebAssembly builtin function database -*- C++ -*-//
11 /// \brief This file defines the WebAssembly-specific builtin function database.
17 // The format of this database matches clang/Basic/Builtins.def.
/external/autotest/cli/
Dquery_results9 from autotest_lib.database import database_connection
79 database = database_connection.DatabaseConnection("AUTOTEST_WEB") variable
80 database.connect()
84 results = database.execute(sql, options.host_label)
/external/autotest/frontend/
Dsetup_test_environment.py33 database='readonly')
35 database='global')
37 database='server')
/external/autotest/database/
Dmigrate.py7 from autotest_lib.database import database_connection
435 manager = get_migration_manager(db_name=options.database,
475 database = database_connection.DatabaseConnection(db_name)
476 database.debug = debug
477 database.reconnect_enabled = False
478 database.connect()
479 return MigrationManager(database, force=force)
/external/autotest/site_utils/
Dcleanup_tko_db.py58 database = CONFIG.get_config_value(
63 '%s.', database, server)
67 utils.run_sql_cmd(server, user, password, CLEANUP_TKO_CMD, database)
/external/iproute2/doc/
Darpd.sgml27 <item><tt/-l/ - dump <tt/arpd/ database to stdout and exit. Output consists
33 <item><tt/-f FILE/ - read and load <tt/arpd/ database from <tt/FILE/
35 probably listing resulting database, if option <tt/-l/ is also given.
38 <item><tt/-b DATABASE/ - location of database file. Default location is
76 <p> <tt/arpd/ exits gracefully syncing database and restoring adjusted
78 <tt/SIGHUP/ syncs database to disk. <tt/SIGUSR1/ sends some statistics
80 database and leave <tt/sysctl/ parameters in an unpredictable state.
89 in its database.
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/scripts_cvs/searchcvs/
DREADME.searchcvs.setup.mysql.txt1 Search CVS is a tool for converting cvs commits into a mysql database, which
2 can be updated without worry of data duplication. The database is then searchable
12 3. Load database tables using .dump files provided.

12345678910>>...17