Home
last modified time | relevance | path

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

/system/core/rootdir/
Dinit.usb.rc13 on property:sys.usb.config=none
17 setprop sys.usb.state ${sys.usb.config}
22 on property:sys.usb.config=adb
26 write /sys/class/android_usb/android0/functions ${sys.usb.config}
29 setprop sys.usb.state ${sys.usb.config}
32 on property:sys.usb.config=accessory
36 write /sys/class/android_usb/android0/functions ${sys.usb.config}
38 setprop sys.usb.state ${sys.usb.config}
41 on property:sys.usb.config=accessory,adb
45 write /sys/class/android_usb/android0/functions ${sys.usb.config}
[all …]
Dinit.rc60 mkdir /config 0500 root root
62 # See storage config details at http://source.android.com/tech/storage/
/system/extras/sound/
Dplaywav.c40 struct msm_audio_config config; in pcm_play() local
52 if(ioctl(afd, AUDIO_GET_CONFIG, &config)) { in pcm_play()
57 config.channel_count = channels; in pcm_play()
58 config.sample_rate = rate; in pcm_play()
59 if (ioctl(afd, AUDIO_SET_CONFIG, &config)) { in pcm_play()
63 sz = config.buffer_size; in pcm_play()
70 for (n = 0; n < config.buffer_count; n++) { in pcm_play()
/system/core/adb/
Dusb_libusb.c307 check_usb_interfaces(libusb_config_descriptor *config, in check_usb_interfaces() argument
312 for (i = 0; i < config->bNumInterfaces; ++i) { in check_usb_interfaces()
313 if (check_usb_interface(&config->interface[i], desc, uh) != -1) { in check_usb_interfaces()
386 libusb_config_descriptor *config = NULL; in check_device() local
420 r = libusb_get_active_config_descriptor(dev, &config); in check_device()
434 if (config == NULL) { in check_device()
440 if (config->interface != NULL) { in check_device()
441 found = check_usb_interfaces(config, &desc, &uh); in check_device()
445 libusb_free_config_descriptor(config); in check_device()
Dusb_linux.c157 struct usb_config_descriptor* config; in find_usb_device() local
200 config = (struct usb_config_descriptor *)bufptr; in find_usb_device()
202 if (config->bLength != USB_DT_CONFIG_SIZE || config->bDescriptorType != USB_DT_CONFIG) { in find_usb_device()
/system/core/healthd/
Dhealthd_board_default.cpp19 void healthd_board_init(struct healthd_config *config) in healthd_board_init() argument
Dhealthd.h76 void healthd_board_init(struct healthd_config *config);
/system/core/fastbootd/
DAndroid.mk20 config.c \
/system/core/include/usbhost/
Dusbhost.h37 unsigned char* config; member
/system/core/libutils/
DREADME36 * overlay package, matching config (eg res/values-en-land)
38 * original package, matching config
40 * overlay package, no config (eg res/values)
42 * original package, no config
/system/core/fastboot/
Dfastboot_protocol.txt109 "getvar:%s" Read a config/version variable from the bootloader.
/system/core/libusbhost/
Dusbhost.c523 iter->config = device->desc; in usb_descriptor_iter_init()
/system/core/init/
Dreadme.txt150 Parse an init config file, extending the current configuration.