Home
last modified time | relevance | path

Searched refs:config (Results 1 – 25 of 342) sorted by relevance

12345678910>>...14

/device/google/cuttlefish_common/host/commands/launch/
Dlaunch.cc41 std::string GetAdbConnectorVsockArg(const vsoc::CuttlefishConfig& config) { in GetAdbConnectorVsockArg() argument
43 + std::to_string(config.vsock_guest_cid()) in GetAdbConnectorVsockArg()
47 bool AdbModeEnabled(const vsoc::CuttlefishConfig& config, const char* mode) { in AdbModeEnabled() argument
48 return config.adb_mode().count(mode) > 0; in AdbModeEnabled()
51 bool AdbTunnelEnabled(const vsoc::CuttlefishConfig& config) { in AdbTunnelEnabled() argument
52 return AdbModeEnabled(config, kAdbModeTunnel); in AdbTunnelEnabled()
55 bool AdbVsockTunnelEnabled(const vsoc::CuttlefishConfig& config) { in AdbVsockTunnelEnabled() argument
56 return config.vsock_guest_cid() > 2 in AdbVsockTunnelEnabled()
57 && AdbModeEnabled(config, kAdbModeVsockTunnel); in AdbVsockTunnelEnabled()
60 bool AdbVsockHalfTunnelEnabled(const vsoc::CuttlefishConfig& config) { in AdbVsockHalfTunnelEnabled() argument
[all …]
Dlaunch.h10 bool AdbUsbEnabled(const vsoc::CuttlefishConfig& config);
11 void ValidateAdbModeFlag(const vsoc::CuttlefishConfig& config);
13 cvd::Command GetIvServerCommand(const vsoc::CuttlefishConfig& config);
14 cvd::Command GetKernelLogMonitorCommand(const vsoc::CuttlefishConfig& config,
17 void LaunchLogcatReceiverIfEnabled(const vsoc::CuttlefishConfig& config,
19 void LaunchUsbServerIfEnabled(const vsoc::CuttlefishConfig& config,
21 void LaunchVNCServerIfEnabled(const vsoc::CuttlefishConfig& config,
24 void LaunchStreamAudioIfEnabled(const vsoc::CuttlefishConfig& config,
28 const vsoc::CuttlefishConfig& config,
31 const vsoc::CuttlefishConfig& config);
[all …]
Dmain.cc69 const vsoc::CuttlefishConfig& config) { in GetOnSubprocessExitCallback() argument
70 if (config.restart_subprocesses()) { in GetOnSubprocessExitCallback()
185 const vsoc::CuttlefishConfig& config) { in LaunchE2eTestIfEnabled() argument
186 if (config.run_e2e_test()) { in LaunchE2eTestIfEnabled()
188 cvd::Command(config.e2e_test_binary()), in LaunchE2eTestIfEnabled()
199 bool WriteCuttlefishEnvironment(const vsoc::CuttlefishConfig& config) { in WriteCuttlefishEnvironment() argument
200 auto env = cvd::SharedFD::Open(config.cuttlefish_env_path().c_str(), in WriteCuttlefishEnvironment()
207 config.PerInstancePath(".") + "\"\n"; in WriteCuttlefishEnvironment()
209 if (AdbUsbEnabled(config)) { in WriteCuttlefishEnvironment()
210 config_env += config.serial_number(); in WriteCuttlefishEnvironment()
[all …]
Ddata_image.cc77 bool ApplyDataImagePolicy(const vsoc::CuttlefishConfig& config) { in ApplyDataImagePolicy() argument
78 std::string data_image = config.data_image_path(); in ApplyDataImagePolicy()
84 if (config.data_policy() == kDataPolicyUseExisting) { in ApplyDataImagePolicy()
89 if (config.blank_data_image_mb() > 0) { in ApplyDataImagePolicy()
97 } else if (config.data_policy() == kDataPolicyAlwaysCreate) { in ApplyDataImagePolicy()
101 } else if (config.data_policy() == kDataPolicyCreateIfMissing) { in ApplyDataImagePolicy()
105 } else if (config.data_policy() == kDataPolicyResizeUpTo) { in ApplyDataImagePolicy()
110 LOG(ERROR) << "Invalid data_policy: " << config.data_policy(); in ApplyDataImagePolicy()
119 if (config.blank_data_image_mb() <= 0) { in ApplyDataImagePolicy()
123 CreateBlankImage(data_image.c_str(), config.blank_data_image_mb(), in ApplyDataImagePolicy()
[all …]
Dscreen_region_handler.cc23 void InitializeScreenRegion(const vsoc::CuttlefishConfig& config) { in InitializeScreenRegion() argument
31 dest->x_res = config.x_res(); in InitializeScreenRegion()
32 dest->y_res = config.y_res(); in InitializeScreenRegion()
33 dest->dpi = config.dpi(); in InitializeScreenRegion()
34 dest->refresh_rate_hz = config.refresh_rate_hz(); in InitializeScreenRegion()
/device/linaro/hikey/
Dinit.common.usb.rc2 mount configfs none /config
3 mkdir /config/usb_gadget/g1 0770 shell shell
4 mkdir /config/usb_gadget/g1/strings/0x409 0770 shell shell
5 write /config/usb_gadget/g1/bcdUSB 0x0200
6 write /config/usb_gadget/g1/driver_match_existing_only 0
7 write /config/usb_gadget/g1/idVendor 0x18d1
8 write /config/usb_gadget/g1/bcdDevice 0x0223
9 write /config/usb_gadget/g1/strings/0x409/serialnumber ${ro.serialno}
10 write /config/usb_gadget/g1/strings/0x409/manufacturer "HISILICON"
11 write /config/usb_gadget/g1/strings/0x409/product "ADB Gadget"
[all …]
Dinit.recovery.common.rc14 mount configfs none /config
15 mkdir /config/usb_gadget/g1 0770 shell shell
16 write /config/usb_gadget/g1/driver_match_existing_only 0
17 write /config/usb_gadget/g1/idVendor 0x18d1
18 write /config/usb_gadget/g1/idProduct 0xd001
19 mkdir /config/usb_gadget/g1/strings/0x409 0770
20 write /config/usb_gadget/g1/strings/0x409/serialnumber ${ro.serialno}
21 write /config/usb_gadget/g1/strings/0x409/manufacturer "HISILICON"
22 write /config/usb_gadget/g1/strings/0x409/product "ADB Gadget"
23 mkdir /config/usb_gadget/g1/functions/ffs.adb
[all …]
Dinit.hikey960.power.rc26 setprop ro.config.schetune.touchboost.value 20
27 setprop ro.config.schetune.touchboost.time_ns 1000000000
29 …setprop ro.config.cpufreq.max_freq.cluster0 "/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq"
30 setprop ro.config.cpufreq.low_power_max.cluster0 "999000"
31 …setprop ro.config.cpufreq.max_freq.cluster1 "/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq"
32 setprop ro.config.cpufreq.low_power_max.cluster1 "903000"
34 setprop ro.config.devfreq.ddr.min_freq.path "/sys/class/devfreq/ddr_devfreq/min_freq"
35 setprop ro.config.devfreq.ddr.min_freq.boost "685000000"
37 setprop ro.config.devfreq.gpu.min_freq.path "/sys/class/devfreq/e82c0000.mali/min_freq"
38 setprop ro.config.devfreq.gpu.min_freq.boost "960000000"
/device/linaro/poplar/vendor/
Dinit.poplar.usb.rc4 mount configfs none /config
5 mkdir /config/usb_gadget/g1 0770 shell shell
6 write /config/usb_gadget/g1/idVendor 0x18d1
7 write /config/usb_gadget/g1/bcdDevice 0x0223
8 write /config/usb_gadget/g1/bcdUSB 0x0200
9 mkdir /config/usb_gadget/g1/strings/0x409 0770
10 write /config/usb_gadget/g1/strings/0x409/serialnumber "0123456789POPLAR"
11 write /config/usb_gadget/g1/strings/0x409/manufacturer "HISILICON"
12 write /config/usb_gadget/g1/strings/0x409/product "ADB Gadget"
13 mkdir /config/usb_gadget/g1/functions/accessory.gs2
[all …]
/device/google/crosshatch/
Dinit.hardware.usb.rc18 mount configfs none /config
19 mkdir /config/usb_gadget/g1 0770
20 mkdir /config/usb_gadget/g1/strings/0x409 0770
21 write /config/usb_gadget/g1/bcdUSB 0x0200
22 write /config/usb_gadget/g1/idVendor 0x18d1
23 write /config/usb_gadget/g1/bcdDevice 0x0440
24 write /config/usb_gadget/g1/strings/0x409/serialnumber ${ro.serialno}
25 write /config/usb_gadget/g1/strings/0x409/manufacturer ${ro.product.manufacturer}
26 write /config/usb_gadget/g1/strings/0x409/product ${ro.product.model}
27 mkdir /config/usb_gadget/g1/functions/accessory.gs2
[all …]
/device/google/cuttlefish/shared/config/
Dinit.hardware.usb.rc18 mkdir /config/usb_gadget/g1 0770 shell shell
19 mkdir /config/usb_gadget/g1/strings/0x409 0770 shell shell
20 write /config/usb_gadget/g1/bcdUSB 0x0200
21 write /config/usb_gadget/g1/idVendor 0x18d1
22 write /config/usb_gadget/g1/bcdDevice 0x0440
23 write /config/usb_gadget/g1/strings/0x409/serialnumber ${ro.serialno}
24 write /config/usb_gadget/g1/strings/0x409/manufacturer ${ro.product.manufacturer}
25 write /config/usb_gadget/g1/strings/0x409/product ${ro.product.model}
26 mkdir /config/usb_gadget/g1/functions/mass_storage.0
27 mkdir /config/usb_gadget/g1/functions/accessory.gs2
[all …]
/device/google/bonito/
Dinit.hardware.usb.rc18 mount configfs none /config
19 mkdir /config/usb_gadget/g1 0770
20 mkdir /config/usb_gadget/g1/strings/0x409 0770
21 write /config/usb_gadget/g1/bcdUSB 0x0200
22 write /config/usb_gadget/g1/idVendor 0x18d1
23 write /config/usb_gadget/g1/bcdDevice 0x0440
24 write /config/usb_gadget/g1/strings/0x409/serialnumber ${ro.serialno}
25 write /config/usb_gadget/g1/strings/0x409/manufacturer ${ro.product.manufacturer}
26 write /config/usb_gadget/g1/strings/0x409/product ${ro.product.model}
27 mkdir /config/usb_gadget/g1/functions/accessory.gs2
[all …]
Dinit.recovery.hardware.rc6 mount configfs none /config
7 mkdir /config/usb_gadget/g1 0770 shell shell
8 write /config/usb_gadget/g1/idVendor 0x18d1
9 write /config/usb_gadget/g1/idProduct 0xd001
10 mkdir /config/usb_gadget/g1/strings/0x409 0770
11 write /config/usb_gadget/g1/strings/0x409/serialnumber ${ro.serialno}
12 write /config/usb_gadget/g1/strings/0x409/manufacturer ${ro.product.manufacturer}
13 write /config/usb_gadget/g1/strings/0x409/product ${ro.product.model}
14 mkdir /config/usb_gadget/g1/functions/ffs.adb
15 write /config/usb_gadget/g1/os_desc/use 1
[all …]
/device/ti/beagle_x15/
Dinit.beagle_x15board.usb.rc2 mkdir /config/usb_gadget/g1 0770 shell shell
3 mkdir /config/usb_gadget/g1/strings/0x409 0770 shell shell
4 write /config/usb_gadget/g1/bcdUSB 0x0200
5 write /config/usb_gadget/g1/idVendor 0x0451
6 write /config/usb_gadget/g1/bcdDevice 0x0223
7 write /config/usb_gadget/g1/strings/0x409/serialnumber ${ro.serialno}
8 write /config/usb_gadget/g1/strings/0x409/manufacturer ${ro.product.manufacturer}
9 write /config/usb_gadget/g1/strings/0x409/product ${ro.product.model}
10 mkdir /config/usb_gadget/g1/functions/ffs.adb
11 mkdir /config/usb_gadget/g1/functions/ffs.mtp
[all …]
/device/google/wahoo/
Dinit.hardware.usb.rc18 mount configfs none /config
19 mkdir /config/usb_gadget/g1 0770
20 mkdir /config/usb_gadget/g1/strings/0x409 0770
21 write /config/usb_gadget/g1/bcdUSB 0x0200
22 write /config/usb_gadget/g1/idVendor 0x18d1
23 write /config/usb_gadget/g1/bcdDevice 0x0440
24 write /config/usb_gadget/g1/strings/0x409/serialnumber ${ro.serialno}
25 write /config/usb_gadget/g1/strings/0x409/manufacturer ${ro.product.manufacturer}
26 write /config/usb_gadget/g1/strings/0x409/product ${ro.product.model}
27 mkdir /config/usb_gadget/g1/functions/mass_storage.0
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/logging/
Dconfig.py379 def __init__(self, config): argument
380 self.config = ConvertingDict(config)
381 self.config.configurator = self
418 d = self.config[m.groups()[0]]
472 def configure_custom(self, config): argument
474 c = config.pop('()')
477 props = config.pop('.', None)
479 kwargs = dict([(k, config[k]) for k in config if valid_ident(k)])
501 config = self.config
502 if 'version' not in config:
[all …]
/device/linaro/hikey/hifi/xaf/host-apf/playback/
Dxa_playback.c233 struct pcm_config config; in xa_playback_open() local
236 memset(&config, 0, sizeof(config)); in xa_playback_open()
237 config.channels = channels; in xa_playback_open()
238 config.rate = rate; in xa_playback_open()
239 config.period_size = period_size; in xa_playback_open()
240 config.period_count = period_count; in xa_playback_open()
242 config.format = PCM_FORMAT_S32_LE; in xa_playback_open()
244 config.format = PCM_FORMAT_S16_LE; in xa_playback_open()
245 config.start_threshold = 0; in xa_playback_open()
246 config.stop_threshold = 0; in xa_playback_open()
[all …]
/device/google/cuttlefish_common/host/libs/vm_manager/
Dvm_manager.cpp30 VmManager::VmManager(const vsoc::CuttlefishConfig* config) in VmManager() argument
31 : config_(config) {} in VmManager()
35 VmManager* GetManagerSingleton(const vsoc::CuttlefishConfig* config) { in GetManagerSingleton() argument
36 static std::shared_ptr<VmManager> vm_manager(new T(config)); in GetManagerSingleton()
46 [](const vsoc::CuttlefishConfig* config) { in __anone8b419450202()
47 return GetManagerSingleton<QemuManager>(config); in __anone8b419450202()
58 [](const vsoc::CuttlefishConfig* config) { in __anone8b419450502()
59 return GetManagerSingleton<CrosvmManager>(config); in __anone8b419450502()
71 const vsoc::CuttlefishConfig* config) { in Get() argument
73 return vm_manager_helpers_[vm_manager_name].builder(config); in Get()
[all …]
/device/linaro/bootloader/edk2/BaseTools/gcc/
Dmingw-gcc-build.py198 def __init__(self, config): argument
199 self.config = config
200 self.source_files = self.source_files[config.arch]
202 if config.options.skip_binutils:
205 if config.options.skip_gcc:
287 local_file = os.path.join(self.config.src_dir, fdata['filename'])
348 local_file = os.path.join(self.config.src_dir, fdata['filename'])
381 def __init__(self, source_files, config): argument
383 self.config = config
386 src = self.config.src_dir
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/
Dconfig.py62 config = ConfigParser()
63 config.read(rc)
64 sections = config.sections()
67 index_servers = config.get('distutils', 'index-servers')
81 current['username'] = config.get(server, 'username')
88 if config.has_option(server, key):
89 current[key] = config.get(server, key)
98 if config.has_option(server, 'repository'):
99 repository = config.get(server, 'repository')
102 return {'username': config.get(server, 'username'),
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/
Dtest_config.py87 config = cmd._read_pypirc()
89 config = config.items()
90 config.sort()
94 self.assertEqual(config, waited)
98 config = cmd._read_pypirc()
99 config = config.items()
100 config.sort()
104 self.assertEqual(config, waited)
/device/google/marlin/
Ddevice-sailfish.mk36 ro.config.vc_call_vol_steps=7 \
70 $(call add-product-sanitizer-module-config,wpa_supplicant,never)
71 $(call add-product-sanitizer-module-config,toybox_vendor,never)
72 $(call add-product-sanitizer-module-config,thermal-engine,never)
73 $(call add-product-sanitizer-module-config,netmgrd,never)
74 $(call add-product-sanitizer-module-config,mm-camera,never)
75 $(call add-product-sanitizer-module-config,myftm,never)
76 $(call add-product-sanitizer-module-config,libqcril,never)
77 $(call add-product-sanitizer-module-config,hostapd,never)
Ddevice-marlin.mk36 ro.config.vc_call_vol_steps=7 \
70 $(call add-product-sanitizer-module-config,wpa_supplicant,never)
71 $(call add-product-sanitizer-module-config,toybox_vendor,never)
72 $(call add-product-sanitizer-module-config,thermal-engine,never)
73 $(call add-product-sanitizer-module-config,netmgrd,never)
74 $(call add-product-sanitizer-module-config,mm-camera,never)
75 $(call add-product-sanitizer-module-config,myftm,never)
76 $(call add-product-sanitizer-module-config,libqcril,never)
77 $(call add-product-sanitizer-module-config,hostapd,never)
/device/linaro/poplar/audio/
Daudio_hw.c78 struct pcm_config config; member
100 out->config.start_threshold = PLAYBACK_PERIOD_START_THRESHOLD * PERIOD_SIZE; in start_output_stream()
101 out->config.avail_min = PERIOD_SIZE; in start_output_stream()
103 …pcm = pcm_open(CARD_OUT, PORT_CODEC, PCM_OUT | PCM_MMAP | PCM_NOIRQ | PCM_MONOTONIC, &out->config); in start_output_stream()
120 return out->config.rate; in out_get_sample_rate()
144 return audio_channel_out_mask_from_count(out->config.channels); in out_get_channels()
151 return audio_format_from_pcm_format(out->config.format); in out_get_format()
231 return (PERIOD_SIZE * PLAYBACK_PERIOD_COUNT * 1000) / out->config.rate; in out_get_latency()
299 size_t kernel_buffer_size = out->config.period_size * out->config.period_count; in out_get_presentation_position()
423 struct audio_config *config, in adev_open_output_stream() argument
[all …]
/device/linaro/hikey/uefi-tools/
Dparse-platforms.py16 value = config.get(args.platform, "EXTRA_FILES")
21 value = config.get(args.platform, "BUILD_ATF")
27 value = config.get(args.platform, "UEFI_BIN")
41 value = config.get(args.platform, args.option)
65 config = ConfigParser.ConfigParser() variable
66 config.read(config_filename)
68 platforms = config.sections()

12345678910>>...14