/device/google/coral/ |
D | init.msm.usb.configfs.rc | 30 on property:sys.usb.config=none && property:sys.usb.configfs=1 31 rm /config/usb_gadget/g1/configs/b.1/f1 32 rm /config/usb_gadget/g1/configs/b.1/f2 33 rm /config/usb_gadget/g1/configs/b.1/f3 34 rm /config/usb_gadget/g1/configs/b.1/f4 35 rm /config/usb_gadget/g1/configs/b.1/f5 36 rm /config/usb_gadget/g1/configs/b.1/f6 37 rm /config/usb_gadget/g1/configs/b.1/f7 38 rm /config/usb_gadget/g1/configs/b.1/f8 39 rm /config/usb_gadget/g1/configs/b.1/f9 [all …]
|
D | init.hardware.usb.rc | 18 mkdir /config/usb_gadget/g1 0770 19 mkdir /config/usb_gadget/g1/strings/0x409 0770 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/accessory.gs2 27 mkdir /config/usb_gadget/g1/functions/audio_source.gs3 [all …]
|
D | init.qcom.usb.sh | 75 usb_config=`getprop persist.vendor.usb.config` 78 setprop persist.vendor.usb.config diag,diag_mdm,qdss,qdss_mdm,serial_cdev,dpl,rmnet,adb 82 setprop persist.vendor.usb.config diag,adb 87 setprop persist.vendor.usb.config diag,adb 93 setprop persist.vendor.usb.config diag,adb 98 … setprop persist.vendor.usb.config diag,serial_cdev,serial_tty,rmnet_ipa,mass_storage,adb 101 setprop persist.vendor.usb.config diag,serial_smd,rmnet_qti_bam,adb 104 if [ -d /config/usb_gadget ]; then 105 setprop persist.vendor.usb.config diag,serial_cdev,rmnet,dpl,adb 110 setprop persist.vendor.usb.config diag,serial_smd,rmnet_ipa,adb [all …]
|
/device/linaro/hikey/ |
D | init.common.usb.rc | 2 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 …]
|
D | init.recovery.common.rc | 14 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 …]
|
D | init.hikey960.power.rc | 26 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/dragonboard/ |
D | init.common.usb.rc | 2 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/idVendor 0x18d1 7 write /config/usb_gadget/g1/bcdDevice 0x0223 8 write /config/usb_gadget/g1/strings/0x409/serialnumber ${ro.serialno} 9 write /config/usb_gadget/g1/strings/0x409/manufacturer "QUALCOMM" 10 write /config/usb_gadget/g1/strings/0x409/product "Android Gadget" 11 mkdir /config/usb_gadget/g1/functions/accessory.gs2 [all …]
|
/device/linaro/poplar/vendor/ |
D | init.poplar.usb.rc | 4 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/cuttlefish/host/commands/run_cvd/ |
D | launch.cc | 22 std::string GetAdbConnectorTcpArg(const cuttlefish::CuttlefishConfig& config) { in GetAdbConnectorTcpArg() argument 23 auto instance = config.ForDefaultInstance(); in GetAdbConnectorTcpArg() 27 std::string GetAdbConnectorVsockArg(const cuttlefish::CuttlefishConfig& config) { in GetAdbConnectorVsockArg() argument 28 auto instance = config.ForDefaultInstance(); in GetAdbConnectorVsockArg() 33 bool AdbModeEnabled(const cuttlefish::CuttlefishConfig& config, cuttlefish::AdbMode mode) { in AdbModeEnabled() argument 34 return config.adb_mode().count(mode) > 0; in AdbModeEnabled() 37 bool AdbVsockTunnelEnabled(const cuttlefish::CuttlefishConfig& config) { in AdbVsockTunnelEnabled() argument 38 auto instance = config.ForDefaultInstance(); in AdbVsockTunnelEnabled() 40 AdbModeEnabled(config, cuttlefish::AdbMode::VsockTunnel); in AdbVsockTunnelEnabled() 43 bool AdbVsockHalfTunnelEnabled(const cuttlefish::CuttlefishConfig& config) { in AdbVsockHalfTunnelEnabled() argument [all …]
|
D | launch.h | 13 const cuttlefish::CuttlefishConfig& config, 17 const cuttlefish::CuttlefishConfig& config, 20 const cuttlefish::CuttlefishConfig& config); 21 void LaunchModemSimulatorIfEnabled(const cuttlefish::CuttlefishConfig& config, 28 const cuttlefish::CuttlefishConfig& config, 32 void LaunchTombstoneReceiverIfEnabled(const cuttlefish::CuttlefishConfig& config, 34 void LaunchLogcatReceiver(const cuttlefish::CuttlefishConfig& config, 36 void LaunchConfigServer(const cuttlefish::CuttlefishConfig& config, 40 const cuttlefish::CuttlefishConfig& config); 43 const cuttlefish::CuttlefishConfig& config); [all …]
|
D | main.cc | 69 const cuttlefish::CuttlefishConfig& config) { in GetOnSubprocessExitCallback() argument 70 if (config.restart_subprocesses()) { in GetOnSubprocessExitCallback() 157 bool WriteCuttlefishEnvironment(const cuttlefish::CuttlefishConfig& config) { in WriteCuttlefishEnvironment() argument 158 auto env = cuttlefish::SharedFD::Open(config.cuttlefish_env_path().c_str(), in WriteCuttlefishEnvironment() 164 auto instance = config.ForDefaultInstance(); in WriteCuttlefishEnvironment() 174 cuttlefish::SharedFD DaemonizeLauncher(const cuttlefish::CuttlefishConfig& config) { in DaemonizeLauncher() argument 175 auto instance = config.ForDefaultInstance(); in DaemonizeLauncher() 262 auto config = cuttlefish::CuttlefishConfig::Get(); in PowerwashFiles() local 263 if (!config) { in PowerwashFiles() 268 auto instance = config->ForDefaultInstance(); in PowerwashFiles() [all …]
|
/device/google/crosshatch/ |
D | init.hardware.usb.rc | 18 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/bonito/ |
D | init.hardware.usb.rc | 18 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 …]
|
D | init.recovery.hardware.rc | 6 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/ |
D | init.beagle_x15board.usb.rc | 2 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/amlogic/yukawa/ |
D | init.recovery.hardware.rc | 2 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/idVendor 0x18d1 7 write /config/usb_gadget/g1/bcdDevice 0x0223 8 write /config/usb_gadget/g1/strings/0x409/serialnumber ${ro.serialno} 9 write /config/usb_gadget/g1/strings/0x409/manufacturer SEI 10 write /config/usb_gadget/g1/strings/0x409/product sei510 11 mkdir /config/usb_gadget/g1/functions/ffs.adb [all …]
|
D | init.yukawa.usb.rc | 2 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/idVendor 0x18d1 7 write /config/usb_gadget/g1/bcdDevice 0x0223 8 write /config/usb_gadget/g1/strings/0x409/serialnumber ${ro.serialno} 9 write /config/usb_gadget/g1/strings/0x409/manufacturer SEI 10 write /config/usb_gadget/g1/strings/0x409/product ${ro.hardware} 11 mkdir /config/usb_gadget/g1/functions/ffs.adb [all …]
|
/device/google/wahoo/ |
D | init.hardware.usb.rc | 18 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/google/cuttlefish/host/libs/config/ |
D | kernel_args.cpp | 50 std::vector<std::string> KernelCommandLineFromConfig(const cuttlefish::CuttlefishConfig& config) { in KernelCommandLineFromConfig() argument 51 auto instance = config.ForDefaultInstance(); in KernelCommandLineFromConfig() 54 AppendVector(&kernel_cmdline, config.vm_manager_kernel_cmdline()); in KernelCommandLineFromConfig() 55 AppendVector(&kernel_cmdline, config.boot_image_kernel_cmdline()); in KernelCommandLineFromConfig() 57 VmManager::ConfigureGpuMode(config.vm_manager(), config.gpu_mode())); in KernelCommandLineFromConfig() 58 AppendVector(&kernel_cmdline, VmManager::ConfigureBootDevices(config.vm_manager())); in KernelCommandLineFromConfig() 61 kernel_cmdline.push_back(concat("androidboot.lcd_density=", config.dpi())); in KernelCommandLineFromConfig() 63 "androidboot.setupwizard_mode=", config.setupwizard_mode())); in KernelCommandLineFromConfig() 64 if (!config.use_bootloader()) { in KernelCommandLineFromConfig() 66 if (config.boot_slot().empty()) { in KernelCommandLineFromConfig() [all …]
|
/device/linaro/hikey/hifi/xaf/host-apf/playback/ |
D | xa_playback.c | 233 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/host/commands/assemble_cvd/ |
D | disk_flags.cc | 226 bool ShouldCreateCompositeDisk(const cuttlefish::CuttlefishConfig& config) { in ShouldCreateCompositeDisk() argument 227 if (!cuttlefish::FileExists(config.composite_disk_path())) { in ShouldCreateCompositeDisk() 230 auto composite_age = cuttlefish::FileModificationTime(config.composite_disk_path()); in ShouldCreateCompositeDisk() 262 bool CreateCompositeDisk(const cuttlefish::CuttlefishConfig& config) { in CreateCompositeDisk() argument 263 …if (!cuttlefish::SharedFD::Open(config.composite_disk_path().c_str(), O_WRONLY | O_CREAT, 0644)->I… in CreateCompositeDisk() 264 LOG(ERROR) << "Could not ensure " << config.composite_disk_path() << " exists"; in CreateCompositeDisk() 267 if (config.vm_manager() == CrosvmManager::name()) { in CreateCompositeDisk() 288 std::string header_path = config.AssemblyPath("gpt_header.img"); in CreateCompositeDisk() 289 std::string footer_path = config.AssemblyPath("gpt_footer.img"); in CreateCompositeDisk() 291 config.composite_disk_path()); in CreateCompositeDisk() [all …]
|
/device/google/cuttlefish/host/commands/launch/ |
D | filesystem_explorer.cc | 34 cuttlefish::FetcherConfig config; in AvailableFilesReport() local 35 config.LoadFromFile(current_directory + "/fetcher_config.json"); in AvailableFilesReport() 36 return config; in AvailableFilesReport() 48 cuttlefish::FetcherConfig config; in AvailableFilesReport() local 49 config.RecordFlags(); in AvailableFilesReport() 51 config.add_cvd_file(cuttlefish::CvdFile(cuttlefish::FileSource::LOCAL_FILE, "", "", file)); in AvailableFilesReport() 53 config.SaveToFile(psuedo_fetcher_config); in AvailableFilesReport() 54 return config; in AvailableFilesReport()
|
/device/linaro/poplar/audio/ |
D | audio_hw.c | 78 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/generic/goldfish-opengl/system/egl/ |
D | eglDisplay.cpp | 210 EGLConfig config = getConfigAtIndex(i); in processConfigs() local 212 if (getConfigNativePixelFormat(config, &format)) { in processConfigs() 213 setConfigAttrib(config, EGL_NATIVE_VISUAL_ID, format); in processConfigs() 442 EGLBoolean eglDisplay::getAttribValue(EGLConfig config, EGLint attribIdx, EGLint * value) in getAttribValue() argument 449 *value = *(m_configs + (intptr_t)(getIndexOfConfig(config))*m_numConfigAttribs + attribIdx); in getAttribValue() 461 uint32_t eglDisplay::getIndexOfConfig(EGLConfig config) const { in getIndexOfConfig() 462 uintptr_t asInteger = (uintptr_t)config; in getIndexOfConfig() 472 EGLBoolean eglDisplay::getConfigAttrib(EGLConfig config, EGLint attrib, EGLint * value) in getConfigAttrib() argument 495 config, in getConfigAttrib() 503 void eglDisplay::dumpConfig(EGLConfig config) in dumpConfig() argument [all …]
|
/device/google/cuttlefish/common/libs/device_config/ |
D | host_device_config.cpp | 142 auto config = CuttlefishConfig::Get(); in Get() local 143 if (!config) return nullptr; in Get() 145 if (!dev_config->InitializeNetworkConfiguration(*config)) { in Get() 148 dev_config->InitializeScreenConfiguration(*config); in Get() 153 const CuttlefishConfig& config) { in InitializeNetworkConfiguration() argument 154 auto instance = config.ForDefaultInstance(); in InitializeNetworkConfiguration() 161 config.ril_dns())) { in InitializeNetworkConfiguration() 162 if (!netconfig.ObtainConfig(instance.mobile_tap_name(), config.ril_dns())) { in InitializeNetworkConfiguration() 187 const CuttlefishConfig& config) { in InitializeScreenConfiguration() argument 188 data_.screen.x_res = config.x_res(); in InitializeScreenConfiguration() [all …]
|