/external/autotest/database/ |
D | database_connection.py | 210 def _read_options(self, db_type=None, host=None, username=None, argument 225 use_afe_setting = not bool(db_type or host or username or password) 229 self.db_type = self._get_option('db_type', db_type, use_afe_setting) 235 def _get_backend(self, db_type): argument 236 if db_type not in _BACKEND_MAP: 238 (db_type, ', '.join(_BACKEND_MAP.keys()))) 239 backend_class = _BACKEND_MAP[db_type] 275 def connect(self, db_type=None, host=None, username=None, password=None, argument 283 self._read_options(db_type, host, username, password, db_name) 285 self._backend = self._get_backend(self.db_type) [all …]
|
D | database_connection_unittest.py | 46 def get_fake_backend(db_type): argument 47 self._db_type = db_type 68 db.connect(db_type=_DB_TYPE, host=_HOST, username=_USER,
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/sdb/db/manager/ |
D | __init__.py | 48 db_type = boto.config.get('DB', 'db_type', 'SimpleDB') 64 db_type = boto.config.get(db_section, 'db_type', db_type) 76 if db_type == 'SimpleDB': 80 elif db_type == 'XML': 85 raise ValueError('Unknown db_type: %s' % db_type)
|
/external/autotest/client/tests/dbt2/ |
D | dbt2.py | 45 def execute(self, db_type, args = ''): argument 48 if (db_type == "mysql"): 50 elif (db_type == "pgpool"): 52 elif (db_type == "pgsql"):
|
D | control | 12 job.run_test('dbt2', db_type='pgsql', args='-w 1 -c 20 -d 1800 -s 100 -n -z "autotest pgsql"', tag=… 13 job.run_test('dbt2', db_type='pgpool', args='-w 1 -c 20 -d 1800 -s 100 -n -z "autotest pgpool"', ta… 14 job.run_test('dbt2', db_type='mysql', args='-w 1 -c 20 -d 1800 -s 100 -n -z "autotest mysql"', tag=…
|
/external/autotest/client/tests/sysbench/ |
D | control | 17 job.run_test('sysbench', db_type='pgsql', build=build, \ 23 job.run_test('sysbench', db_type='mysql', build=build, \
|
D | sysbench.py | 31 def run_once(self, db_type = 'pgsql', build = 1, \ argument 52 if (db_type == 'pgsql'): 54 elif (db_type == 'mysql'):
|
/external/autotest/tko/ |
D | db.py | 632 db_type = _get_db_type() 633 db_module = __import__("autotest_lib.tko." + db_type, globals(), 634 locals(), [db_type]) 635 db = getattr(db_module, db_type)(*args, **dargs)
|
/external/autotest/scheduler/ |
D | scheduler_lib.py | 74 db.connect(db_type='django')
|
D | monitor_db_cleanup_test.py | 17 self._database.connect(db_type='django')
|
D | rdb_testing_utils.py | 69 self.database.connect(db_type='django')
|
D | scheduler_models_unittest.py | 35 self._database.connect(db_type='django')
|
D | monitor_db_unittest.py | 103 self._database.connect(db_type='django')
|
D | monitor_db_functional_test.py | 358 self._database.connect(db_type='django')
|
/external/autotest/ |
D | global_config.ini | 7 db_type: mysql key
|