/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
MmsSmsDatabaseHelper.java | 217 static final String DATABASE_NAME = "mmssms.db"; 244 private static void removeUnferencedCanonicalAddresses(SQLiteDatabase db) { 245 Cursor c = db.query(MmsSmsProvider.TABLE_THREADS, new String[] { "recipient_ids" }, 251 int rows = db.delete("canonical_addresses", null, null); 276 int rows = db.delete("canonical_addresses", sb.toString(), null); 285 public static void updateThread(SQLiteDatabase db, long thread_id) { 287 updateAllThreads(db, null, null); 291 db.beginTransaction(); 296 int rows = db.delete(MmsSmsProvider.TABLE_THREADS, 303 removeUnferencedCanonicalAddresses(db); 1479 SQLiteDatabase db = super.getWritableDatabase(); local [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarDatabaseHelper.java | 61 private static final String DATABASE_NAME = "calendar.db"; 325 public void onOpen(SQLiteDatabase db) { 326 mSyncState.onDatabaseOpened(db); 328 mCalendarsInserter = new DatabaseUtils.InsertHelper(db, Tables.CALENDARS); 329 mColorsInserter = new DatabaseUtils.InsertHelper(db, Tables.COLORS); 330 mEventsInserter = new DatabaseUtils.InsertHelper(db, Tables.EVENTS); 331 mEventsRawTimesInserter = new DatabaseUtils.InsertHelper(db, Tables.EVENTS_RAW_TIMES); 332 mInstancesInserter = new DatabaseUtils.InsertHelper(db, Tables.INSTANCES); 333 mAttendeesInserter = new DatabaseUtils.InsertHelper(db, Tables.ATTENDEES); 334 mRemindersInserter = new DatabaseUtils.InsertHelper(db, Tables.REMINDERS) 3129 SQLiteDatabase db = super.getWritableDatabase(); local 3369 final SQLiteDatabase db = getWritableDatabase(); local 3435 final SQLiteDatabase db = getWritableDatabase(); local [all...] |
/external/chromium/app/sql/ |
transaction_unittest.cc | 20 temp_dir_.path().AppendASCII("SQLTransactionTest.db"))); 22 ASSERT_TRUE(db().Execute("CREATE TABLE foo (a, b)")); 29 sql::Connection& db() { return db_; } function in class:SQLTransactionTest 33 sql::Statement count(db().GetUniqueStatement("SELECT count(*) FROM foo")); 45 sql::Transaction t(&db()); 50 EXPECT_TRUE(db().Execute("INSERT INTO foo (a, b) VALUES (1, 2)")); 63 sql::Transaction t(&db()); 68 EXPECT_TRUE(db().Execute("INSERT INTO foo (a, b) VALUES (1, 2)")); 75 sql::Transaction t2(&db()); 79 EXPECT_TRUE(db().Execute("INSERT INTO foo (a, b) VALUES (1, 2)")) [all...] |
/external/chromium_org/sql/ |
transaction_unittest.cc | 20 temp_dir_.path().AppendASCII("SQLTransactionTest.db"))); 22 ASSERT_TRUE(db().Execute("CREATE TABLE foo (a, b)")); 29 sql::Connection& db() { return db_; } function in class:SQLTransactionTest 33 sql::Statement count(db().GetUniqueStatement("SELECT count(*) FROM foo")); 45 sql::Transaction t(&db()); 50 EXPECT_TRUE(db().Execute("INSERT INTO foo (a, b) VALUES (1, 2)")); 63 sql::Transaction t(&db()); 68 EXPECT_TRUE(db().Execute("INSERT INTO foo (a, b) VALUES (1, 2)")); 75 sql::Transaction t2(&db()); 79 EXPECT_TRUE(db().Execute("INSERT INTO foo (a, b) VALUES (1, 2)")) [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/bin/tests/multisect/ |
bin-align.asm | 3 db 1 label 5 db 0 label 8 db 0 label
|
initbss.asm | 5 db 5 label
|
multisect5.asm | 4 times 0x100 db 0 6 times 0x100 db 0 9 times 0x100 db 0 11 times 0x100 db 0 13 times 0x100 db 0 16 times 0x11 db 0 18 times 0x104 db 0 20 times 0x100 db 0
|
nomultisect2.asm | 9 times 0x100 db 1 12 times 0x100 db 1
|
/development/samples/SampleSyncAdapter/samplesyncadapter_server/model/ |
datastore.py | 19 from google.appengine.ext import db namespace 22 class Contact(db.Model): 25 handle = db.StringProperty(required=True) 26 firstname = db.StringProperty() 27 lastname = db.StringProperty() 28 phone_home = db.PhoneNumberProperty() 29 phone_office = db.PhoneNumberProperty() 30 phone_mobile = db.PhoneNumberProperty() 31 email = db.EmailProperty() 32 status = db.TextProperty( [all...] |
/external/chromium_org/third_party/sqlite/src/tool/ |
rollback-test.c | 30 sqlite3 *db; local 31 rc = sqlite3_open(zFilename, &db); 34 zFilename, sqlite3_errmsg(db)); 35 sqlite3_close(db); 38 return db; 60 static void runSql(sqlite3 *db, const char *zSql){ 64 rc = sqlite3_exec(db, zSql, execCallback, 0, &zErr); 70 fprintf(stderr, "SQL error: %s\n", sqlite3_errmsg(db)); 76 sqlite3 *db; local 81 db = openDb(argv[argc-1]) [all...] |
/external/chromium_org/components/webdata/common/ |
web_database_table.cc | 13 bool WebDatabaseTable::Init(sql::Connection* db, sql::MetaTable* meta_table) { 14 db_ = db;
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/parsers/nasm/tests/ |
locallabel.asm | 2 db 0 label 4 db 0 label 11 db 0 label 13 db 0 label
|
newsect.asm | 8 times mytype.long-($-..@6.strucstart) db 0 10 times mytype_size-($-..@6.strucstart) db 0
|
orphannowarn.asm | 10 label5: times 2 db 5 11 label4 times 2 db 5
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/preprocs/nasm/tests/ |
orgsect.asm | 3 db 5 label
|
/external/chromium_org/content/test/data/indexeddb/ |
database_test.js | 11 db = event.target.result; 13 window.objectStore = db.createObjectStore('employees', {keyPath: 'id'}); 17 shouldBe('db.name', 'dbname'); 18 shouldBe('db.version', '1'); 19 shouldBe('db.objectStoreNames.length', '1'); 20 shouldBe('db.objectStoreNames[0]', '"employees"'); 23 db.deleteObjectStore('employees'); 24 shouldBe('db.objectStoreNames.length', '0');
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/bin/tests/ |
float-err.asm | 2 db 1.2 label 8 db -1.5 label
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/parsers/nasm/tests/worphan/ |
orphanwarn.asm | 10 label5: times 2 db 5 11 label4 times 2 db 5
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_cursor_pget_bug.py | 4 from test_all import db, test_support, get_new_environment_path, \ 11 db_name = 'test-cursor_pget.db' 15 self.env = db.DBEnv() 16 self.env.open(self.homeDir, db.DB_CREATE | db.DB_INIT_MPOOL) 17 self.primary_db = db.DB(self.env) 18 self.primary_db.open(self.db_name, 'primary', db.DB_BTREE, db.DB_CREATE) 19 self.secondary_db = db.DB(self.env 5 get_new_database_path namespace [all...] |
test_pickle.py | 16 from test_all import db, test_support, get_new_environment_path, get_new_database_path namespace 22 db_name = 'test-dbobj.db' 28 if hasattr(self, 'db'): 29 del self.db 35 self.env = db.DBEnv() 36 self.env.open(self.homeDir, db.DB_CREATE | db.DB_INIT_MPOOL) 37 self.db = db.DB(self.env [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_cursor_pget_bug.py | 4 from test_all import db, test_support, get_new_environment_path, \ 11 db_name = 'test-cursor_pget.db' 15 self.env = db.DBEnv() 16 self.env.open(self.homeDir, db.DB_CREATE | db.DB_INIT_MPOOL) 17 self.primary_db = db.DB(self.env) 18 self.primary_db.open(self.db_name, 'primary', db.DB_BTREE, db.DB_CREATE) 19 self.secondary_db = db.DB(self.env 5 get_new_database_path namespace [all...] |
test_pickle.py | 16 from test_all import db, test_support, get_new_environment_path, get_new_database_path namespace 22 db_name = 'test-dbobj.db' 28 if hasattr(self, 'db'): 29 del self.db 35 self.env = db.DBEnv() 36 self.env.open(self.homeDir, db.DB_CREATE | db.DB_INIT_MPOOL) 37 self.db = db.DB(self.env [all...] |
/external/chromium_org/third_party/tlslite/scripts/ |
tlsdb.py | 52 print " createsrp <db>" 53 print " createsharedkey <db>" 55 print " add <db> <user> <pass> [<bits>]" 56 print " del <db> <user>" 57 print " check <db> <user> [<pass>]" 58 print " list <db>" 95 db = VerifierDB(dbName) variable 96 db.create() 101 db = SharedKeyDB(dbName) variable 102 db.create( 110 db = VerifierDB(dbName) variable 119 db = SharedKeyDB(dbName) variable 132 db = VerifierDB(dbName) variable 135 db = SharedKeyDB(dbName) variable 149 db = VerifierDB(dbName) variable 152 db = SharedKeyDB(dbName) variable 172 db = VerifierDB(dbName) variable 175 db = SharedKeyDB(dbName) variable [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteOpenHelper.java | 207 SQLiteDatabase db = mDatabase; local 211 if (db != null) { 212 if (writable && db.isReadOnly()) { 213 db.reopenReadWrite(); 216 db = SQLiteDatabase.create(null); 221 db = SQLiteDatabase.openDatabase(path, mFactory, 224 db = mContext.openOrCreateDatabase(mName, mEnableWriteAheadLogging ? 235 db = SQLiteDatabase.openDatabase(path, mFactory, 240 onConfigure(db); 242 final int version = db.getVersion() [all...] |
/libcore/luni/src/test/java/libcore/sqlite/ |
OldExceptionTest.java | 24 private Database db = null; field in class:OldExceptionTest 28 db = new Database(); 33 db.open(dbFile.getName(), 0);
|