Home
last modified time | relevance | path

Searched refs:cfg (Results 1 – 19 of 19) sorted by relevance

/tools/acloud/public/
Dconfig_test.py96 cfg = config.AcloudConfigManager.LoadConfigFromProtocolBuffer(
98 self.assertEquals(cfg.service_account_name,
100 self.assertEquals(cfg.service_account_private_key_path,
102 self.assertEquals(cfg.project, "fake-project")
103 self.assertEquals(cfg.zone, "us-central1-f")
104 self.assertEquals(cfg.machine_type, "n1-standard-1")
105 self.assertEquals(cfg.network, "default")
106 self.assertEquals(cfg.ssh_private_key_path, "/path/to/ssh/key")
107 self.assertEquals(cfg.storage_bucket_name, "fake_bucket")
108 self.assertEquals(cfg.orientation, "portrait")
[all …]
Ddevice_driver_test.py55 cfg = mock.MagicMock()
56 cfg.service_account_name = "fake@service.com"
57 cfg.service_account_private_key_path = "/fake/path/to/key"
58 cfg.zone = "fake_zone"
59 cfg.disk_image_name = "fake_image.tar.gz"
60 cfg.disk_image_mime_type = "fake/type"
61 cfg.storage_bucket_name = "fake_bucket"
62 cfg.extra_data_disk_size_gb = 4
63 cfg.precreated_data_image_map = {
67 cfg.ssh_private_key_path = ""
[all …]
Ddevice_driver.py59 def __init__(self, cfg, devices=None): argument
61 self._cfg = cfg
62 credentials = auth.CreateCredentials(cfg, ALL_SCOPES)
67 cfg, credentials)
325 def _CreateSshKeyPairIfNecessary(cfg): argument
334 if not cfg.ssh_public_key_path:
341 elif cfg.ssh_public_key_path and not cfg.ssh_private_key_path:
346 elif cfg.ssh_public_key_path and cfg.ssh_private_key_path:
348 cfg.ssh_private_key_path, cfg.ssh_public_key_path)
355 def CreateAndroidVirtualDevices(cfg, argument
[all …]
Dacloud_main.py323 cfg = config_mgr.Load()
324 cfg.OverrideWithArgs(args)
327 device_driver.CheckAccess(cfg)
331 cfg,
341 report = device_driver.DeleteAndroidVirtualDevices(cfg,
344 report = device_driver.Cleanup(cfg, args.expiration_mins)
346 report = device_driver.AddSshRsa(cfg, args.user, args.ssh_rsa_path)
/tools/acloud/public/acloud_kernel/
Dacloud_kernel.py79 cfg = config_mgr.Load()
80 cfg.OverrideWithArgs(args)
82 k_swapper = kernel_swapper.KernelSwapper(cfg, args.instance_name)
Dkernel_swapper.py58 def __init__(self, cfg, instance_name): argument
65 credentials = auth.CreateCredentials(cfg, ALL_SCOPES)
67 cfg, credentials)
Dkernel_swapper_test.py34 self.cfg = mock.MagicMock()
48 self.kswapper = kernel_swapper.KernelSwapper(self.cfg,
/tools/dexter/dexter/
Ddissasembler.cc328 std::unique_ptr<lir::ControlFlowGraph> cfg; in Dissasemble() local
331 cfg.reset(new lir::ControlFlowGraph(&code_ir, false)); in Dissasemble()
334 cfg.reset(new lir::ControlFlowGraph(&code_ir, true)); in Dissasemble()
339 PrintCodeIrVisitor visitor(dex_ir_, cfg.get()); in Dissasemble()
Ddissasembler.h29 PrintCodeIrVisitor(std::shared_ptr<ir::DexFile> dex_ir, lir::ControlFlowGraph* cfg) in PrintCodeIrVisitor() argument
30 : dex_ir_(dex_ir), cfg_(cfg) {} in PrintCodeIrVisitor()
Dexperimental.cc364 lir::ControlFlowGraph cfg(&code_ir, true); in CodeCoverage() local
388 for (const auto& block : cfg.basic_blocks) { in CodeCoverage()
/tools/test/connectivity/tools/
D.gitignore25 .installed.cfg
/tools/test/connectivity/acts/
D.gitignore25 .installed.cfg
/tools/repohooks/
DREADME.md38 ## GLOBAL-PREUPLOAD.cfg
41 * `.repo/manifests/GLOBAL-PREUPLOAD.cfg`: The manifest git repo.
43 * `GLOBAL-PREUPLOAD.cfg`: The top level of the repo checkout.
47 These config files will be loaded first before stacking `PREUPLOAD.cfg`
50 ## PREUPLOAD.cfg
237 a lot. Will need to consider a `PREUPLOAD.cfg` knob.
/tools/test/connectivity/acts/framework/acts/test_utils/tel/
Dtel_test_utils.py261 if not ad.cfg["subscription"]:
265 for sub_id, sub_info in ad.cfg["subscription"].items():
316 ad.log.debug("cfg = %s", ad.cfg)
330 cfg = ad.cfg.copy()
332 cfg = {"subscription": {}}
385 ) and cfg["subscription"].get(sub_id):
386 sim_record["phone_num"] = cfg["subscription"][sub_id][
388 cfg['subscription'][sub_id] = sim_record
390 setattr(ad, 'cfg', cfg)
1382 caller_number = ad_caller.cfg['subscription'][subid_caller]['phone_num']
[all …]
Dtel_video_utils.py654 caller_number = ad_caller.cfg['subscription'][subid_caller]['phone_num']
655 callee_number = ad_callee.cfg['subscription'][subid_callee]['phone_num']
803 caller_number = ad_caller.cfg['subscription'][subid_caller]['phone_num']
804 callee_number = ad_callee.cfg['subscription'][subid_callee]['phone_num']
DTelephonyBaseTest.py199 sub["operator"] for sub in ad.cfg["subscription"].values()
/tools/test/connectivity/acts/tests/google/bt/pts/instructions/
DMCAP_PTS_INSTRUCTIONS47 …mdl BD_ADDR<xx:xx:xx:xx:xx:xx> mdep_handle<int> data_psm<hex>mdl_id <int> peer_dep_id<int> cfg<hex>
/tools/apksig/src/apksigner/java/com/android/apksigner/
Dhelp_sign.txt199 --provider-arg token.cfg --ks NONE --ks-type PKCS11 app.apk
/tools/test/connectivity/acts/tests/google/tel/live/
DTelLiveVoiceConfTest.py90 sub["operator"] for sub in ad.cfg["subscription"].values()