HomeSort by relevance Sort by last modified time
    Searched defs:db (Results 51 - 75 of 735) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/selinux/libsepol/cil/src/
cil_verify.h 50 struct cil_db *db; member in struct:cil_args_verify
  /external/wpa_supplicant_8/hs20/server/www/
spp.php 48 $db = new PDO($osu_db); variable
49 if (!$db) {
53 $row = $db->query("SELECT password FROM users " .
56 $row = $db->query("SELECT osu_password FROM users " .
  /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastDatabaseHelper.java 43 static final String DATABASE_NAME = "cell_broadcasts.db";
62 public void onCreate(SQLiteDatabase db) {
63 db.execSQL("CREATE TABLE " + TABLE_NAME + " ("
85 createDeliveryTimeIndex(db);
88 private void createDeliveryTimeIndex(SQLiteDatabase db) {
89 db.execSQL("CREATE INDEX IF NOT EXISTS deliveryTimeIndex ON " + TABLE_NAME
115 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
120 log("Upgrading DB from version " + oldVersion + " to " + newVersion);
124 db.beginTransaction();
127 db.execSQL("DROP TABLE IF EXISTS " + TEMP_TABLE_NAME)
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/provider/
LauncherDbUtils.java 32 * A set of utility methods for Launcher DB used for DB updates and migration.
45 public static boolean prepareScreenZeroToHostQsb(SQLiteDatabase db) {
46 db.beginTransaction();
49 ArrayList<Long> screenIds = getScreenIdsFromCursor(db.query(WorkspaceScreens.TABLE_NAME,
62 renameScreen(db, 0, newScreenId);
66 renameScreen(db, screenIds.get(0), 0);
70 try (Cursor c = db.query(Favorites.TABLE_NAME, null,
79 new LossyScreenMigrationTask(app.getContext(), app.getInvariantDeviceProfile(), db)
81 db.setTransactionSuccessful()
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/datamodel/action/
ProcessDeliveryReportAction.java 59 final DatabaseWrapper db = DataModel.get().getDatabase(); local
73 db.beginTransaction();
83 BugleDatabaseOperations.readMessageData(db, smsMessageUri);
90 BugleDatabaseOperations.updateMessageRow(db, messageData.getMessageId(), values);
94 db.setTransactionSuccessful();
96 db.endTransaction();
ReceiveSmsMessageAction.java 59 final DatabaseWrapper db = DataModel.get().getDatabase(); local
86 db, rawSender.getNormalizedDestination());
88 getOrCreateConversationFromRecipient(db, threadId, blocked, rawSender);
96 // Only the primary user gets to insert the message into the telephony db and into bugle's
97 // db. The secondary user goes through this path, but skips doing the actual insert. It
108 // incoming messages are marked as seen in the telephony db
135 db.beginTransaction();
138 BugleDatabaseOperations.getOrCreateParticipantInTransaction(db, rawSender);
140 BugleDatabaseOperations.getOrCreateParticipantInTransaction(db, self);
145 BugleDatabaseOperations.insertNewMessageInTransaction(db, message)
    [all...]
  /packages/providers/TelephonyProvider/src/com/android/providers/telephony/
HbpcdLookupDatabaseHelper.java 87 private static final String DATABASE_NAME = "HbpcdLookup.db";
105 public void onCreate(SQLiteDatabase db) {
108 db.execSQL("CREATE TABLE " + HbpcdLookupProvider.TABLE_MCC_IDD +
113 db.execSQL("CREATE TABLE " + HbpcdLookupProvider.TABLE_MCC_LOOKUP_TABLE +
125 db.execSQL("CREATE TABLE " + HbpcdLookupProvider.TABLE_MCC_SID_CONFLICT +
130 db.execSQL("CREATE TABLE " + HbpcdLookupProvider.TABLE_MCC_SID_RANGE +
136 db.execSQL("CREATE TABLE " + HbpcdLookupProvider.TABLE_NANP_AREA_CODE +
140 db.execSQL("CREATE TABLE " + HbpcdLookupProvider.TABLE_ARBITRARY_MCC_SID_MATCH +
145 initDatabase(db);
149 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion)
    [all...]
  /prebuilts/gdb/darwin-x86/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_fileid.py 8 from test_all import db, test_support, get_new_environment_path, get_new_database_path namespace
17 # create DB 1
18 self.db1 = db.DB()
19 self.db1.open(self.db_path_1, dbtype=db.DB_HASH, flags=(db.DB_CREATE|db.DB_EXCL))
25 self.db2 = db.DB()
26 self.db2.open(self.db_path_2, dbtype=db.DB_HASH
    [all...]
test_get_none.py 8 from test_all import db, verbose, get_new_database_path namespace
25 d = db.DB()
26 d.open(self.filename, db.DB_BTREE, db.DB_CREATE)
53 d = db.DB()
54 d.open(self.filename, db.DB_BTREE, db.DB_CREATE)
60 self.assertRaises(db.DBNotFoundError, d.get, 'bad key'
    [all...]
test_join.py 1 """TestCases for using the DB.join and DBCursor.join_item methods.
8 from test_all import db, dbshelve, test_support, verbose, \
36 self.filename = self.__class__.__name__ + '.db'
38 self.env = db.DBEnv()
39 self.env.open(self.homeDir, db.DB_CREATE | db.DB_INIT_MPOOL | db.DB_INIT_LOCK )
52 priDB = db.DB(self.env)
53 priDB.open(self.filename, "primary", db.DB_BTREE, db.DB_CREATE
9 get_new_environment_path, get_new_database_path namespace
    [all...]
test_queue.py 2 TestCases for exercising a Queue DB.
9 from test_all import db, verbose, get_new_database_path namespace
31 d = db.DB()
33 d.open(self.filename, db.DB_QUEUE, db.DB_CREATE)
57 d = db.DB()
88 "Berkeley DB 3.1.17 with the patch in patches/qam_stat.diff")
95 # Basic Queue tests using the new DB.consume method in DB 3.2
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_bsddb3.py 58 from bsddb import db namespace
65 print >>sys.stderr, db.DB_VERSION_STRING
  /prebuilts/gdb/linux-x86/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_fileid.py 8 from test_all import db, test_support, get_new_environment_path, get_new_database_path namespace
17 # create DB 1
18 self.db1 = db.DB()
19 self.db1.open(self.db_path_1, dbtype=db.DB_HASH, flags=(db.DB_CREATE|db.DB_EXCL))
25 self.db2 = db.DB()
26 self.db2.open(self.db_path_2, dbtype=db.DB_HASH
    [all...]
test_get_none.py 8 from test_all import db, verbose, get_new_database_path namespace
25 d = db.DB()
26 d.open(self.filename, db.DB_BTREE, db.DB_CREATE)
53 d = db.DB()
54 d.open(self.filename, db.DB_BTREE, db.DB_CREATE)
60 self.assertRaises(db.DBNotFoundError, d.get, 'bad key'
    [all...]
test_join.py 1 """TestCases for using the DB.join and DBCursor.join_item methods.
8 from test_all import db, dbshelve, test_support, verbose, \
36 self.filename = self.__class__.__name__ + '.db'
38 self.env = db.DBEnv()
39 self.env.open(self.homeDir, db.DB_CREATE | db.DB_INIT_MPOOL | db.DB_INIT_LOCK )
52 priDB = db.DB(self.env)
53 priDB.open(self.filename, "primary", db.DB_BTREE, db.DB_CREATE
9 get_new_environment_path, get_new_database_path namespace
    [all...]
test_queue.py 2 TestCases for exercising a Queue DB.
9 from test_all import db, verbose, get_new_database_path namespace
31 d = db.DB()
33 d.open(self.filename, db.DB_QUEUE, db.DB_CREATE)
57 d = db.DB()
88 "Berkeley DB 3.1.17 with the patch in patches/qam_stat.diff")
95 # Basic Queue tests using the new DB.consume method in DB 3.2
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_bsddb3.py 58 from bsddb import db namespace
65 print >>sys.stderr, db.DB_VERSION_STRING
  /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_fileid.py 8 from test_all import db, test_support, get_new_environment_path, get_new_database_path namespace
17 # create DB 1
18 self.db1 = db.DB()
19 self.db1.open(self.db_path_1, dbtype=db.DB_HASH, flags=(db.DB_CREATE|db.DB_EXCL))
25 self.db2 = db.DB()
26 self.db2.open(self.db_path_2, dbtype=db.DB_HASH
    [all...]
test_get_none.py 8 from test_all import db, verbose, get_new_database_path namespace
25 d = db.DB()
26 d.open(self.filename, db.DB_BTREE, db.DB_CREATE)
53 d = db.DB()
54 d.open(self.filename, db.DB_BTREE, db.DB_CREATE)
60 self.assertRaises(db.DBNotFoundError, d.get, 'bad key'
    [all...]
test_join.py 1 """TestCases for using the DB.join and DBCursor.join_item methods.
8 from test_all import db, dbshelve, test_support, verbose, \
36 self.filename = self.__class__.__name__ + '.db'
38 self.env = db.DBEnv()
39 self.env.open(self.homeDir, db.DB_CREATE | db.DB_INIT_MPOOL | db.DB_INIT_LOCK )
52 priDB = db.DB(self.env)
53 priDB.open(self.filename, "primary", db.DB_BTREE, db.DB_CREATE
9 get_new_environment_path, get_new_database_path namespace
    [all...]
test_queue.py 2 TestCases for exercising a Queue DB.
9 from test_all import db, verbose, get_new_database_path namespace
31 d = db.DB()
33 d.open(self.filename, db.DB_QUEUE, db.DB_CREATE)
57 d = db.DB()
88 "Berkeley DB 3.1.17 with the patch in patches/qam_stat.diff")
95 # Basic Queue tests using the new DB.consume method in DB 3.2
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_bsddb3.py 58 from bsddb import db namespace
65 print >>sys.stderr, db.DB_VERSION_STRING

Completed in 350 milliseconds

1 23 4 5 6 7 8 91011>>