/system/core/rootdir/ |
D | ueventd.rc | 1 /dev/null 0666 root root 2 /dev/zero 0666 root root 3 /dev/full 0666 root root 4 /dev/ptmx 0666 root root 5 /dev/tty 0666 root root 6 /dev/random 0666 root root 7 /dev/urandom 0666 root root 8 /dev/ashmem 0666 root root 9 /dev/binder 0666 root root 13 /dev/log/* 0666 root log [all …]
|
D | init.rc | 101 mkdir /dev/cpuctl 102 mount cgroup none /dev/cpuctl cpu 103 chown system system /dev/cpuctl 104 chown system system /dev/cpuctl/tasks 105 chmod 0660 /dev/cpuctl/tasks 106 write /dev/cpuctl/cpu.shares 1024 107 write /dev/cpuctl/cpu.rt_runtime_us 950000 108 write /dev/cpuctl/cpu.rt_period_us 1000000 110 mkdir /dev/cpuctl/apps 111 chown system system /dev/cpuctl/apps/tasks [all …]
|
/system/security/softkeymaster/ |
D | module.cpp | 40 static int openssl_close(hw_device_t *dev) { in openssl_close() argument 41 delete dev; in openssl_close() 53 Unique_keymaster_device_t dev(new keymaster_device_t); in openssl_open() local 54 if (dev.get() == NULL) in openssl_open() 57 dev->common.tag = HARDWARE_DEVICE_TAG; in openssl_open() 58 dev->common.version = 1; in openssl_open() 59 dev->common.module = (struct hw_module_t*) module; in openssl_open() 60 dev->common.close = openssl_close; in openssl_open() 62 dev->flags = KEYMASTER_SOFTWARE_ONLY; in openssl_open() 64 dev->generate_keypair = openssl_generate_keypair; in openssl_open() [all …]
|
/system/core/logcat/ |
D | logcat.cpp | 160 static void processBuffer(log_device_t* dev, struct logger_entry *buf) in processBuffer() argument 167 if (dev->binary) { in processBuffer() 181 binaryMsgBuf[0] = dev->label; in processBuffer() 211 static void chooseFirst(log_device_t* dev, log_device_t** firstdev) { in chooseFirst() argument 212 for (*firstdev = NULL; dev != NULL; dev = dev->next) { in chooseFirst() 213 if (dev->queue != NULL && (*firstdev == NULL || cmp(dev->queue, (*firstdev)->queue) < 0)) { in chooseFirst() 214 *firstdev = dev; in chooseFirst() 219 static void maybePrintStart(log_device_t* dev) { in maybePrintStart() argument 220 if (!dev->printed) { in maybePrintStart() 221 dev->printed = true; in maybePrintStart() [all …]
|
/system/core/toolbox/ |
D | lsusb.c | 28 static const char *get_str(struct usb_device *dev, int id) in get_str() argument 30 char *str = usb_device_get_string(dev, id); in get_str() 43 static void lsusb_parse_device_descriptor(struct usb_device *dev, in lsusb_parse_device_descriptor() argument 55 printf("\tiManufacturer: %s\n", get_str(dev, desc->iManufacturer)); in lsusb_parse_device_descriptor() 56 printf("\tiProduct: %s\n", get_str(dev, desc->iProduct)); in lsusb_parse_device_descriptor() 57 printf("\tiSerialNumber: %s\n", get_str(dev,desc->iSerialNumber)); in lsusb_parse_device_descriptor() 62 static void lsusb_parse_config_descriptor(struct usb_device *dev, in lsusb_parse_config_descriptor() argument 69 printf("\tiConfiguration: %s\n", get_str(dev, desc->iConfiguration)); in lsusb_parse_config_descriptor() 75 static void lsusb_parse_interface_descriptor(struct usb_device *dev, in lsusb_parse_interface_descriptor() argument 85 printf("\tiInterface: %s\n", get_str(dev, desc->iInterface)); in lsusb_parse_interface_descriptor() [all …]
|
D | du.c | 241 linkchk(dev_t dev, ino_t ino) in linkchk() argument 244 dev_t dev; in linkchk() member 260 if (dev == 0 && ino == 0) { in linkchk() 287 if (ohtable[i].ino || ohtable[i].dev) in linkchk() 288 linkchk(ohtable[i].dev, ohtable[i].ino); in linkchk() 294 tmp = dev; in linkchk() 302 while (htable[h].ino || htable[h].dev) { in linkchk() 303 if ((htable[h].ino == ino) && (htable[h].dev == dev)) in linkchk() 309 htable[h].dev = dev; in linkchk()
|
D | mount.c | 165 do_mount(char *dev, char *dir, char *type, unsigned long rwflag, void *data, int loop, in do_mount() argument 177 file_fd = open(dev, flags); in do_mount() 197 dev = loopdev; in do_mount() 201 fs_set_blk_rw(dev); in do_mount() 206 if (mount(dev, dir, s, rwflag, data) == -1) { in do_mount() 260 static int get_mounts_dev_dir(const char *arg, char **dev, char **dir) in get_mounts_dev_dir() argument 288 *dev = strdup(mount_dev); in get_mounts_dev_dir() 302 char *dev = NULL; in mount_main() local 346 dev = argv[optind]; in mount_main() 349 get_mounts_dev_dir(argv[optind], &dev, &dir); in mount_main() [all …]
|
D | umount.c | 14 static int is_loop(char *dev) in is_loop() argument 19 if (stat(dev, &st) == 0) { in is_loop()
|
/system/extras/tests/fstest/ |
D | perm_checker.conf | 39 /dev/ 755 755 root root root root 40 /dev/alarm 600 664 root radio root radio 41 /dev/ashmem 666 666 root root root root 42 /dev/android_adb 600 660 root adb root adb 43 /dev/android_adb_enable 600 660 root adb root adb 44 /dev/android_ums 640 640 mount mount mount mount 45 /dev/binder 666 666 root root root root 46 /dev/console 600 600 root root root root 47 /dev/full 666 666 root root root root 48 /dev/hw3d 660 660 system system graphics graphics [all …]
|
D | README | 21 A fully specified path name, which must end in / ex: /dev/ 22 A fully specified filename, symlink, device node, etc. ex: /dev/tty0 24 A recursive path specification, which ends in /... ex: /dev/... 25 A wildcard file specification, which ends in * ex: /dev/tty* 27 By convention /dev/* will include all files directly in /dev/, but not files 28 that are in subdirectories of /dev/, such as /dev/input/, unlike a
|
/system/core/fastboot/ |
D | usb_osx.c | 67 static int try_interfaces(IOUSBDeviceInterface182 **dev, usb_handle *handle) { in try_interfaces() argument 91 (*dev)->GetConfiguration(dev, &configuration); in try_interfaces() 93 (*dev)->SetConfiguration(dev, 1); in try_interfaces() 96 kr = (*dev)->CreateInterfaceIterator(dev, &request, &iterator); in try_interfaces() 263 IOUSBDeviceInterface182 **dev = NULL; in try_device() local 282 CFUUIDGetUUIDBytes(kIOUSBDeviceInterfaceID), (LPVOID) &dev); in try_device() 283 if ((result != 0) || (dev == NULL)) { in try_device() 296 kr = (*dev)->GetDeviceVendor(dev, &handle->info.dev_vendor); in try_device() 302 kr = (*dev)->GetDeviceProduct(dev, &handle->info.dev_product); in try_device() 308 kr = (*dev)->GetDeviceClass(dev, &handle->info.dev_class); in try_device() [all …]
|
D | usb_linux.c | 102 struct usb_device_descriptor *dev; in filter_usb_device() local 117 dev = (void*) ptr; in filter_usb_device() 118 len -= dev->bLength; in filter_usb_device() 119 ptr += dev->bLength; in filter_usb_device() 127 info.dev_vendor = dev->idVendor; in filter_usb_device() 128 info.dev_product = dev->idProduct; in filter_usb_device() 129 info.dev_class = dev->bDeviceClass; in filter_usb_device() 130 info.dev_subclass = dev->bDeviceSubClass; in filter_usb_device() 131 info.dev_protocol = dev->bDeviceProtocol; in filter_usb_device() 136 if (dev->iSerialNumber) { in filter_usb_device() [all …]
|
/system/extras/tests/ext4/ |
D | android_emmc_perf_tests.sh | 4 PERF_LOC=/dev 22 if ! adb shell true >/dev/null 2>&1 86 adb push "$PERF" /dev 99 adb shell umount /sdcard >/dev/null 2>&1 100 adb shell umount /mnt/sdcard >/dev/null 2>&1 101 adb shell umount /mnt/shell/sdcard0 >/dev/null 2>&1 102 adb shell umount /mnt/shell/emulated >/dev/null 2>&1 103 adb shell umount /cache >/dev/null 2>&1 106 adb shell umount /data >/dev/null 2>&1 116 adb shell dd if=/dev/zero of=$CACHE bs=1048576 count=512 [all …]
|
/system/core/rootdir/etc/ |
D | init.testmenu | 3 atdev=/dev/omap_csmi_tty0 4 pppdev=/dev/omap_csmi_tty1 6 n1=`cat /data/phoneentry1 2>/dev/null` 7 n2=`cat /data/phoneentry2 2>/dev/null` 8 n3=`cat /data/phoneentry3 2>/dev/null` 161 "1" ) cat /dev/omap_csmi_ffs >/data/ffsdata;; 162 "2" ) cat /data/ffsdata >/dev/omap_csmi_ffs;; 163 "3" ) cat /system/ffsdata >/dev/omap_csmi_ffs;; 164 "4" ) echo - >/dev/omap_csmi_ffs;; 168 cat /tmp/gain 2>/dev/null >/dev/omap_csmi_audio_tes [all …]
|
D | mountd.conf | 6 block_device /dev/block/mmcblk0
|
/system/security/softkeymaster/include/keymaster/ |
D | softkeymaster.h | 22 int openssl_generate_keypair(const keymaster_device_t* dev, 26 int openssl_import_keypair(const keymaster_device_t* dev, 30 int openssl_get_keypair_public(const struct keymaster_device* dev, 34 int openssl_sign_data(const keymaster_device_t* dev, 40 int openssl_verify_data(const keymaster_device_t* dev,
|
/system/core/adb/ |
D | remount_service.c | 74 char *dev; in remount_system() local 82 dev = find_mount("/system"); in remount_system() 84 if (!dev) in remount_system() 87 fd = unix_open(dev, O_RDONLY); in remount_system() 94 system_ro = mount(dev, "/system", "none", MS_REMOUNT, NULL); in remount_system() 96 free(dev); in remount_system()
|
D | usb_osx.c | 125 IOUSBDeviceInterface197 **dev = NULL; in AndroidInterfaceAdded() local 184 CFUUIDGetUUIDBytes(kIOUSBDeviceInterfaceID), (LPVOID) &dev); in AndroidInterfaceAdded() 187 if (result || !dev) { in AndroidInterfaceAdded() 196 kr = (*dev)->GetDeviceVendor(dev, &vendor); in AndroidInterfaceAdded() 197 kr = (*dev)->GetDeviceProduct(dev, &product); in AndroidInterfaceAdded() 198 kr = (*dev)->GetLocationID(dev, &locationId); in AndroidInterfaceAdded() 203 kr = (*dev)->USBGetSerialNumberStringIndex(dev, &serialIndex); in AndroidInterfaceAdded() 219 kr = (*dev)->DeviceRequest(dev, &req); in AndroidInterfaceAdded() 237 kr = (*dev)->DeviceRequest(dev, &req); in AndroidInterfaceAdded() 253 (*dev)->Release(dev); in AndroidInterfaceAdded()
|
D | usb_libusb.c | 48 libusb_device *dev; member 220 libusb_unref_device(h->dev); in usb_close() 244 libusb_unref_device(h->dev); in usb_kick() 378 check_device(libusb_device *dev) in check_device() argument 388 int r = libusb_get_device_descriptor(dev, &desc); in check_device() 408 uh.dev_bus = libusb_get_bus_number(dev); in check_device() 409 uh.dev_addr = libusb_get_device_address(dev); in check_device() 420 r = libusb_get_active_config_descriptor(dev, &config); in check_device() 447 r = libusb_open(dev, &uh.devh); in check_device() 448 uh.dev = dev; in check_device() [all …]
|
/system/media/camera/docs/ |
D | metadata-check-dependencies | 25 if ! which port >& /dev/null 29 elif [[ "$OSTYPE" == "linux-gnu" ]] && which apt-get >& /dev/null 55 if type -f "$bin" >& /dev/null 85 if python -c "import $mod" >& /dev/null
|
D | metadata-generate | 83 echo "Trying to cd into $dir_path" >& /dev/null 91 echo "Diff result was $diff_result" >& /dev/null 92 echo "Diff result was $diff_result" >& /dev/null 94 echo "No changes in ${git_path}" >& /dev/null 96 echo "There are changes in ${git_path}" >& /dev/null
|
/system/vold/ |
D | Devmapper.cpp | 77 if (!n->dev) { in dumpState() 100 … asprintf(&tmp, "%s %llu:%llu (no status available)", n->name, MAJOR(n->dev), MINOR(n->dev)); in dumpState() 102 asprintf(&tmp, "%s %llu:%llu %d %d 0x%.8x %llu:%llu", n->name, MAJOR(n->dev), in dumpState() 103 MINOR(n->dev), io2->target_count, io2->open_count, io2->flags, MAJOR(io2->dev), in dumpState() 104 MINOR(io2->dev)); in dumpState() 160 unsigned minor = (io->dev & 0xff) | ((io->dev >> 12) & 0xfff00); in lookupActive() 217 unsigned minor = (io->dev & 0xff) | ((io->dev >> 12) & 0xfff00); in create()
|
/system/netd/ |
D | PppController.cpp | 84 char dev[32]; in attachPppd() local 89 snprintf(dev, sizeof(dev), "/dev/%s", tty); in attachPppd() 93 if (execl("/system/bin/pppd", "/system/bin/pppd", "-detach", dev, "115200", in attachPppd()
|
/system/core/libusbhost/ |
D | usbhost.c | 410 int bus = 0, dev = 0; in usb_device_get_unique_id() local 411 sscanf(device->dev_name, USB_FS_ID_SCANNER, &bus, &dev); in usb_device_get_unique_id() 412 return bus * 1000 + dev; in usb_device_get_unique_id() 417 int bus = 0, dev = 0; in usb_device_get_unique_id_from_name() local 418 sscanf(name, USB_FS_ID_SCANNER, &bus, &dev); in usb_device_get_unique_id_from_name() 419 return bus * 1000 + dev; in usb_device_get_unique_id_from_name() 425 int dev = id % 1000; in usb_device_get_name_from_unique_id() local 427 snprintf(result, strlen(USB_FS_ID_FORMAT) - 1, USB_FS_ID_FORMAT, bus, dev); in usb_device_get_name_from_unique_id() 605 struct usb_request *usb_request_new(struct usb_device *dev, in usb_request_new() argument 629 req->dev = dev; in usb_request_new() [all …]
|
/system/core/include/usbhost/ |
D | usbhost.h | 44 struct usb_device *dev; member 212 struct usb_request *usb_request_new(struct usb_device *dev, 224 struct usb_request *usb_request_wait(struct usb_device *dev);
|