HomeSort by relevance Sort by last modified time
    Searched refs:db (Results 401 - 425 of 1110) sorted by null

<<11121314151617181920>>

  /packages/apps/Browser/src/com/android/browser/provider/
BrowserProvider2.java 395 static final String DATABASE_NAME = "browser2.db";
403 public void onCreate(SQLiteDatabase db) {
404 db.execSQL("CREATE TABLE " + TABLE_BOOKMARKS + "(" +
429 db.execSQL("CREATE TABLE " + TABLE_HISTORY + "(" +
439 db.execSQL("CREATE TABLE " + TABLE_IMAGES + " (" +
445 db.execSQL("CREATE INDEX imagesUrlIndex ON " + TABLE_IMAGES +
448 db.execSQL("CREATE TABLE " + TABLE_SEARCHES + " (" +
454 db.execSQL("CREATE TABLE " + TABLE_SETTINGS + " (" +
459 createAccountsView(db);
460 createThumbnails(db);
881 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); local
1212 final SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
1229 final SQLiteDatabase db = mOpenHelper.getReadableDatabase(); local
1278 final SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
1401 final SQLiteDatabase db = mOpenHelper.getReadableDatabase(); local
1421 final SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
1671 final SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
1880 final SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
2017 final SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
2119 final SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
    [all...]
  /external/chromium_org/third_party/openssl/openssl/crypto/x509v3/
v3_conf.c 73 static char *conf_lhash_get_string(void *db, char *section, char *value);
74 static STACK_OF(CONF_VALUE) *conf_lhash_get_section(void *db, char *section);
154 if(!ctx->db || !ctx->db_meth)
387 if(!ctx->db || !ctx->db_meth || !ctx->db_meth->get_string)
393 return ctx->db_meth->get_string(ctx->db, name, section);
399 if(!ctx->db || !ctx->db_meth || !ctx->db_meth->get_section)
405 return ctx->db_meth->get_section(ctx->db, section);
413 ctx->db_meth->free_string(ctx->db, str);
420 ctx->db_meth->free_section(ctx->db, section);
423 static char *nconf_get_string(void *db, char *section, char *value
    [all...]
  /external/openssl/crypto/x509v3/
v3_conf.c 73 static char *conf_lhash_get_string(void *db, char *section, char *value);
74 static STACK_OF(CONF_VALUE) *conf_lhash_get_section(void *db, char *section);
154 if(!ctx->db || !ctx->db_meth)
387 if(!ctx->db || !ctx->db_meth || !ctx->db_meth->get_string)
393 return ctx->db_meth->get_string(ctx->db, name, section);
399 if(!ctx->db || !ctx->db_meth || !ctx->db_meth->get_section)
405 return ctx->db_meth->get_section(ctx->db, section);
413 ctx->db_meth->free_string(ctx->db, str);
420 ctx->db_meth->free_section(ctx->db, section);
423 static char *nconf_get_string(void *db, char *section, char *value
    [all...]
  /external/chromium/chrome/browser/importer/
firefox3_importer.cc 113 sql::Connection db;
114 if (!db.Open(file))
128 sql::Statement s(db.GetUniqueStatement(query));
159 sql::Connection db;
160 if (!db.Open(file))
167 LoadRootNodeID(&db, &toolbar_folder_id, &menu_folder_id, &unsorted_folder_id);
171 LoadLivemarkIDs(&db, &livemark_id);
178 GetTopBookmarkFolder(&db, toolbar_folder_id, &list);
179 GetTopBookmarkFolder(&db, menu_folder_id, &list);
180 GetTopBookmarkFolder(&db, unsorted_folder_id, &list)
    [all...]
  /external/chromium_org/chrome/utility/importer/
firefox_importer.cc 150 sql::Connection db;
151 if (!db.Open(file))
165 sql::Statement s(db.GetUniqueStatement(query));
194 sql::Connection db;
195 if (!db.Open(file))
202 LoadRootNodeID(&db, &toolbar_folder_id, &menu_folder_id, &unsorted_folder_id);
206 LoadLivemarkIDs(&db, &livemark_id);
213 GetTopBookmarkFolder(&db, toolbar_folder_id, &list);
214 GetTopBookmarkFolder(&db, menu_folder_id, &list);
215 GetTopBookmarkFolder(&db, unsorted_folder_id, &list)
    [all...]
  /external/chromium_org/third_party/leveldatabase/src/db/
c.cc 11 #include "leveldb/db.h"
22 using leveldb::DB;
46 struct leveldb_t { DB* rep; };
156 DB* db; local
157 if (SaveError(errptr, DB::Open(options->rep, std::string(name), &db))) {
161 result->rep = db;
165 void leveldb_close(leveldb_t* db) {
166 delete db->rep
    [all...]
  /frameworks/base/services/java/com/android/server/
LockSettingsService.java 356 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
367 db.beginTransaction();
368 db.delete(TABLE, COLUMN_USERID + "='" + userId + "'", null);
369 db.setTransactionSuccessful();
371 db.endTransaction();
395 private void writeToDb(SQLiteDatabase db, String key, String value, int userId) {
401 db.beginTransaction();
403 db.delete(TABLE, COLUMN_KEY + "=? AND " + COLUMN_USERID + "=?",
405 db.insert(TABLE, null, cv);
406 db.setTransactionSuccessful()
415 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); local
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppProvider.java 64 private static final String DB_NAME = "btopp.db";
130 public void onCreate(final SQLiteDatabase db) {
132 createTable(db);
135 //TODO: use this function to check garbage transfer left in db, for example,
142 * @Override public void onOpen(final SQLiteDatabase db) {
143 * super.onOpen(db); }
154 public void onUpgrade(final SQLiteDatabase db, int oldV, final int newV) {
167 dropTable(db);
168 createTable(db);
173 private void createTable(SQLiteDatabase db) {
233 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
305 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); local
391 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
435 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
    [all...]
  /external/chromium_org/content/test/data/indexeddb/
transaction_test.js 26 var finalTransaction = db.transaction(['employees'],
50 window.newTransaction = db.transaction(['employees'],
64 window.db = event.target.result;
66 deleteAllObjectStores(db);
67 db.createObjectStore('employees', {keyPath: 'id'});
cursor_test.js 55 db = event.target.result;
56 deleteAllObjectStores(db);
57 window.objectStore = db.createObjectStore('test');
version_change_blocked.js 32 db = event.target.result;
33 db.createObjectStore("someobjectstore");
36 db.close();
  /external/chromium_org/third_party/sqlite/src/test/
colmeta.test 77 set ::DB [sqlite3_connection_pointer db]
79 set tstbody [concat sqlite3_table_column_metadata $::DB $params]
84 db close
85 sqlite3 db test.db
87 set ::DB [sqlite3_connection_pointer db]
88 set tstbody [concat sqlite3_table_column_metadata $::DB $params]
  /external/libvpx/libvpx/vp9/common/x86/
vp9_intrapred_ssse3.asm 15 pb_1: times 16 db 1
17 pb_7m1: times 8 db 7, -1
18 pb_15: times 16 db 15
20 sh_b01234577: db 0, 1, 2, 3, 4, 5, 7, 7
21 sh_b12345677: db 1, 2, 3, 4, 5, 6, 7, 7
22 sh_b23456777: db 2, 3, 4, 5, 6, 7, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0
23 sh_b0123456777777777: db 0, 1, 2, 3, 4, 5, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7
24 sh_b1234567777777777: db 1, 2, 3, 4, 5, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7
25 sh_b2345677777777777: db 2, 3, 4, 5, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7
26 sh_b2w01234577: db 0, -1, 1, -1, 2, -1, 3, -1, 4, -1, 5, -1, 7, -1, 7, -
    [all...]
  /external/lzma/CPP/7zip/Archive/7z/
7zUpdate.cpp 142 const CArchiveDatabaseEx &db = *(const CArchiveDatabaseEx *)param; local
144 db.Folders[i1],
145 db.Folders[i2]));
149 db.NumUnpackStreamsVector[i1],
150 db.NumUnpackStreamsVector[i2]);
151 if (db.NumUnpackStreamsVector[i1] == 0)
154 db.Files[db.FolderStartFileIndex[i1]],
155 db.Files[db.FolderStartFileIndex[i2]]);
    [all...]
7zIn.cpp 811 // db.ArchiveInfo.DataStartPosition2 += db.ArchiveInfo.StartPositionAfterHeader;
865 CArchiveDatabaseEx &db
875 ReadArchiveProperties(db.ArchiveInfo);
885 db.ArchiveInfo.StartPositionAfterHeader,
886 db.ArchiveInfo.DataStartPosition2,
893 db.ArchiveInfo.DataStartPosition2 += db.ArchiveInfo.StartPositionAfterHeader;
904 db.ArchiveInfo.DataStartPosition,
905 db.PackSizes,
    [all...]
7zOut.cpp 564 const CArchiveDatabase &db,
571 for (i = 0; i < db.PackSizes.Size(); i++)
572 packedSize += db.PackSizes[i];
580 if (db.Folders.Size() > 0)
583 WritePackInfo(0, db.PackSizes,
584 db.PackCRCsDefined,
585 db.PackCRCs);
587 WriteUnpackInfo(db.Folders);
592 for (i = 0; i < db.Files.Size(); i++)
594 const CFileItem &file = db.Files[i];
    [all...]
  /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastContentProvider.java 119 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); local
120 Cursor c = qb.query(db, projection, selection, selectionArgs, null, null, orderBy);
190 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
196 // Use duplicate message ID detection in CellBroadcastAlertService instead of DB query.
198 long rowId = db.insert(CellBroadcastDatabaseHelper.TABLE_NAME, null, cv);
201 // Return true on DB write failure because we still want to notify the user.
216 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
218 int rowCount = db.delete(CellBroadcastDatabaseHelper.TABLE_NAME,
234 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
236 int rowCount = db.delete(CellBroadcastDatabaseHelper.TABLE_NAME, null, null)
255 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
    [all...]
  /packages/apps/Dialer/tests/src/com/android/dialer/database/
SmartDialPrefixTest.java 89 final SQLiteDatabase db = mTestHelper.getWritableDatabase(); local
90 mTestHelper.removeAllContacts(db);
165 final SQLiteDatabase db = mTestHelper.getWritableDatabase(); local
176 mTestHelper.insertUpdatedContactsAndNumberPrefix(db, contactCursor, Long.valueOf(0));
177 mTestHelper.insertNamePrefixes(db, nameCursor);
203 final SQLiteDatabase db = mTestHelper.getWritableDatabase(); local
214 mTestHelper.insertUpdatedContactsAndNumberPrefix(db, contactCursor, Long.valueOf(0));
215 mTestHelper.insertNamePrefixes(db, nameCursor);
238 final SQLiteDatabase db = mTestHelper.getWritableDatabase(); local
245 mTestHelper.insertUpdatedContactsAndNumberPrefix(db, contactCursor, Long.valueOf(0))
259 final SQLiteDatabase db = mTestHelper.getWritableDatabase(); local
302 final SQLiteDatabase db = mTestHelper.getWritableDatabase(); local
331 final SQLiteDatabase db = mTestHelper.getWritableDatabase(); local
354 final SQLiteDatabase db = mTestHelper.getWritableDatabase(); local
374 final SQLiteDatabase db = mTestHelper.getWritableDatabase(); local
395 final SQLiteDatabase db = mTestHelper.getWritableDatabase(); local
421 final SQLiteDatabase db = mTestHelper.getWritableDatabase(); local
461 final SQLiteDatabase db = mTestHelper.getWritableDatabase(); local
531 final SQLiteDatabase db = mTestHelper.getWritableDatabase(); local
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
SavedWallpaperImages.java 98 SQLiteDatabase db = mDb.getReadableDatabase(); local
99 Cursor result = db.query(ImageDb.TABLE_NAME,
151 SQLiteDatabase db = mDb.getReadableDatabase(); local
152 Cursor result = db.query(ImageDb.TABLE_NAME,
178 SQLiteDatabase db = mDb.getWritableDatabase(); local
179 db.delete(ImageDb.TABLE_NAME,
200 SQLiteDatabase db = mDb.getWritableDatabase(); local
204 db.insert(ImageDb.TABLE_NAME, null, values);
212 final static String DB_NAME = "saved_wallpaper_images.db";
237 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion)
    [all...]
  /external/chromium_org/third_party/sqlite/src/src/
test_mutex.c 362 sqlite3 *db; local
366 db = *((sqlite3 **)info.objClientData);
368 db = (sqlite3*)sqlite3TestTextToPtr(zCmd);
370 assert( db );
371 return db;
380 sqlite3 *db; local
382 Tcl_WrongNumArgs(interp, 1, objv, "DB");
385 db = getDbPointer(interp, objv[1]);
386 if( !db ){
389 sqlite3_mutex_enter(sqlite3_db_mutex(db));
399 sqlite3 *db; local
    [all...]
update.c 103 sqlite3 *db; /* The database structure */ local
133 db = pParse->db;
134 if( pParse->nErr || db->mallocFailed ){
143 iDb = sqlite3SchemaToIndex(pParse->db, pTab->pSchema);
168 aXRef = sqlite3DbMallocRaw(db, sizeof(int) * pTab->nCol );
222 pTab->aCol[j].zName, db->aDb[iDb].zName);
241 aRegIdx = sqlite3DbMallocRaw(db, sizeof(Index*) * nIdx );
331 if( (db->flags & SQLITE_CountRows) && !pParse->pTriggerTab ){
514 if( (db->flags & SQLITE_CountRows) && !pParse->pTriggerTab)
610 sqlite3 *db = pParse->db; \/* Database connection *\/ local
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
VoicemailContentTable.java 138 SQLiteDatabase db = mDbHelper.getWritableDatabase(); local
139 long rowId = getDatabaseModifier(db).insert(mTableName, null, copiedValues);
143 updateVoicemailUri(db, newUri);
168 private void updateVoicemailUri(SQLiteDatabase db, Uri newUri) {
171 // Directly update the db because we cannot update voicemail_uri through external
174 db.update(mTableName, values, UriData.createUriData(newUri).getWhereClause(), null);
179 final SQLiteDatabase db = mDbHelper.getWritableDatabase(); local
207 return getDatabaseModifier(db).delete(mTableName, combinedClause,
221 SQLiteDatabase db = mDbHelper.getReadableDatabase(); local
222 Cursor c = qb.query(db, projection, combinedClause, selectionArgs, null, null, sortOrder)
236 final SQLiteDatabase db = mDbHelper.getWritableDatabase(); local
    [all...]
SearchIndexManager.java 258 SQLiteDatabase db = mDbHelper.getWritableDatabase(); local
259 db.beginTransaction();
264 rebuildIndex(db);
266 db.setTransactionSuccessful();
269 db.endTransaction();
273 private void rebuildIndex(SQLiteDatabase db) {
278 mDbHelper.createSearchIndexTable(db, true);
279 count = buildAndInsertIndex(db, null);
323 final SQLiteDatabase db = mDbHelper.getWritableDatabase(); local
324 final int deleted = db.delete(Tables.SEARCH_INDEX
    [all...]
  /packages/providers/TelephonyProvider/src/com/android/providers/telephony/
TelephonyProvider.java 55 private static final String DATABASE_NAME = "telephony.db";
125 public void onCreate(SQLiteDatabase db) {
127 db.execSQL("CREATE TABLE " + CARRIERS_TABLE +
152 initDatabase(db);
155 private void initDatabase(SQLiteDatabase db) {
163 loadApns(db, parser);
188 loadApns(db, confparser);
200 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
214 db.execSQL("ALTER TABLE " + CARRIERS_TABLE +
221 db.execSQL("ALTER TABLE " + CARRIERS_TABLE
465 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); local
503 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
627 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
683 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
742 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
    [all...]
  /external/chromium_org/components/nacl/loader/
nacl_validation_query.cc 15 NaClValidationDB* db,
18 : db_(db),
41 NaClValidationQuery::NaClValidationQuery(NaClValidationDB* db,
45 db_(db),
158 NaClValidationDB* db, const std::string& profile_key,
164 cache->handle = new NaClValidationQueryContext(db, profile_key, nacl_version);

Completed in 295 milliseconds

<<11121314151617181920>>