/system/security/softkeymaster/ |
H A D | module.cpp | 40 static int openssl_close(hw_device_t *dev) { argument 41 delete dev; 53 Unique_keymaster_device_t dev(new keymaster_device_t); 54 if (dev.get() == NULL) 57 dev->common.tag = HARDWARE_DEVICE_TAG; 58 dev->common.version = 1; 59 dev->common.module = (struct hw_module_t*) module; 60 dev->common.close = openssl_close; 62 dev->flags = KEYMASTER_SOFTWARE_ONLY; 64 dev [all...] |
/system/core/toolbox/ |
H A D | lsusb.c | 28 static const char *get_str(struct usb_device *dev, int id) argument 30 char *str = usb_device_get_string(dev, id); 43 static void lsusb_parse_device_descriptor(struct usb_device *dev, argument 55 printf("\tiManufacturer: %s\n", get_str(dev, desc->iManufacturer)); 56 printf("\tiProduct: %s\n", get_str(dev, desc->iProduct)); 57 printf("\tiSerialNumber: %s\n", get_str(dev,desc->iSerialNumber)); 62 static void lsusb_parse_config_descriptor(struct usb_device *dev, argument 69 printf("\tiConfiguration: %s\n", get_str(dev, desc->iConfiguration)); 75 static void lsusb_parse_interface_descriptor(struct usb_device *dev, argument 85 printf("\tiInterface: %s\n", get_str(dev, des 89 lsusb_parse_endpoint_descriptor(struct usb_device *dev, struct usb_endpoint_descriptor *desc) argument 102 lsusb_dump_descriptor(struct usb_device *dev, struct usb_descriptor_header *desc) argument 121 lsusb_parse_descriptor(struct usb_device *dev, struct usb_descriptor_header *desc) argument 150 struct usb_device *dev = usb_device_open(dev_name); local [all...] |
H A D | mount.c | 18 #define DEFAULT_LOOP_DEVICE "/dev/block/loop0" 46 { "dev", MS_NODEV, 0, MS_NODEV }, 165 do_mount(char *dev, char *dir, char *type, unsigned long rwflag, void *data, int loop, argument 177 file_fd = open(dev, flags); 197 dev = loopdev; 201 fs_set_blk_rw(dev); 206 if (mount(dev, dir, s, rwflag, data) == -1) { 260 static int get_mounts_dev_dir(const char *arg, char **dev, char **dir) argument 288 *dev = strdup(mount_dev); 302 char *dev local [all...] |
H A D | du.c | 241 linkchk(dev_t dev, ino_t ino) argument 244 dev_t dev; member in struct:entry 260 if (dev == 0 && ino == 0) { 287 if (ohtable[i].ino || ohtable[i].dev) 288 linkchk(ohtable[i].dev, ohtable[i].ino); 294 tmp = dev; 302 while (htable[h].ino || htable[h].dev) { 303 if ((htable[h].ino == ino) && (htable[h].dev == dev)) 309 htable[h].dev [all...] |
H A D | umount.c | 14 static int is_loop(char *dev) argument 19 if (stat(dev, &st) == 0) {
|
/system/extras/tests/fstest/ |
H A 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/hw3 [all...] |
H A D | mounts-test.sh | 24 adb shell ls /dev/*mem | grep -q $i
|
/system/core/rootdir/etc/ |
H A D | mountd.conf | 6 block_device /dev/block/mmcblk0
|
H A 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` 154 echo " 7: cat /dev/omap_csmi_battery_t" 155 echo " 8: cat /dev/omap_csmi_htc" 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_ff [all...] |
/system/security/softkeymaster/include/keymaster/ |
H A 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/logcat/ |
H A D | logcat.cpp | 33 #define LOG_FILE_DIR "/dev/log/" 160 static void processBuffer(log_device_t* dev, struct logger_entry *buf) argument 167 if (dev->binary) { 181 binaryMsgBuf[0] = dev->label; 211 static void chooseFirst(log_device_t* dev, log_device_t** firstdev) { argument 212 for (*firstdev = NULL; dev != NULL; dev = dev->next) { 213 if (dev->queue != NULL && (*firstdev == NULL || cmp(dev 219 maybePrintStart(log_device_t* dev) argument 233 skipNextEntry(log_device_t* dev) argument 240 printNextEntry(log_device_t* dev) argument 252 log_device_t* dev; local 466 log_device_t* dev; local [all...] |
/system/core/fastboot/ |
H A D | usb_osx.c | 67 static int try_interfaces(IOUSBDeviceInterface182 **dev, usb_handle *handle) { argument 91 (*dev)->GetConfiguration(dev, &configuration); 93 (*dev)->SetConfiguration(dev, 1); 96 kr = (*dev)->CreateInterfaceIterator(dev, &request, &iterator); 263 IOUSBDeviceInterface182 **dev = NULL; local 282 CFUUIDGetUUIDBytes(kIOUSBDeviceInterfaceID), (LPVOID) &dev); 283 if ((result != 0) || (dev [all...] |
H A D | usb_linux.c | 102 struct usb_device_descriptor *dev; local 117 dev = (void*) ptr; 118 len -= dev->bLength; 119 ptr += dev->bLength; 127 info.dev_vendor = dev->idVendor; 128 info.dev_product = dev->idProduct; 129 info.dev_class = dev->bDeviceClass; 130 info.dev_subclass = dev->bDeviceSubClass; 131 info.dev_protocol = dev->bDeviceProtocol; 136 if (dev [all...] |
/system/core/adb/ |
H A D | remount_service.c | 74 char *dev; local 82 dev = find_mount("/system"); 84 if (!dev) 87 fd = unix_open(dev, O_RDONLY); 94 system_ro = mount(dev, "/system", "none", MS_REMOUNT, NULL); 96 free(dev);
|
H A D | usb_osx.c | 125 IOUSBDeviceInterface197 **dev = NULL; local 184 CFUUIDGetUUIDBytes(kIOUSBDeviceInterfaceID), (LPVOID) &dev); 187 if (result || !dev) { 196 kr = (*dev)->GetDeviceVendor(dev, &vendor); 197 kr = (*dev)->GetDeviceProduct(dev, &product); 198 kr = (*dev)->GetLocationID(dev, &locationId); 203 kr = (*dev) [all...] |
H A D | usb_libusb.c | 48 libusb_device *dev; member in struct:usb_handle 220 libusb_unref_device(h->dev); 244 libusb_unref_device(h->dev); 378 check_device(libusb_device *dev) argument 388 int r = libusb_get_device_descriptor(dev, &desc); 408 uh.dev_bus = libusb_get_bus_number(dev); 409 uh.dev_addr = libusb_get_device_address(dev); 420 r = libusb_get_active_config_descriptor(dev, &config); 447 r = libusb_open(dev, &uh.devh); 448 uh.dev 585 libusb_device *dev= NULL; local [all...] |
/system/extras/tests/ext4/ |
H A D | android_emmc_perf_tests.sh | 4 PERF_LOC=/dev 22 if ! adb shell true >/dev/null 2>&1 32 CACHE="/dev/block/platform/omap/omap_hsmmc.0/by-name/cache" 38 CACHE="/dev/block/platform/sdhci-tegra.3/by-name/cache" 53 CACHE="/dev/block/platform/s3c-sdhci.0/by-name/userdata" 59 CACHE="/dev/block/platform/sdhci-tegra.3/by-name/CAC" 65 CACHE="/dev/block/platform/dw_mmc.0/by-name/cache" 71 CACHE="dev/block/platform/msm_sdcc.1/by-name/cache" 86 adb push "$PERF" /dev 99 adb shell umount /sdcard >/dev/nul [all...] |
/system/media/camera/docs/ |
H A 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
|
H A D | metadata-generate | 83 echo "Trying to cd into $dir_path" >& /dev/null 86 git rev-parse --show-toplevel 2> /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/core/init/ |
H A D | grab-bootchart.sh | 18 adb pull $LOGROOT/$f $TMPDIR/$f 2>&1 > /dev/null
|
/system/vold/ |
H A D | Devmapper.cpp | 58 if ((fd = open("/dev/device-mapper", O_RDWR)) < 0) { 77 if (!n->dev) { 100 asprintf(&tmp, "%s %llu:%llu (no status available)", n->name, MAJOR(n->dev), MINOR(n->dev)); 102 asprintf(&tmp, "%s %llu:%llu %d %d 0x%.8x %llu:%llu", n->name, MAJOR(n->dev), 103 MINOR(n->dev), io2->target_count, io2->open_count, io2->flags, MAJOR(io2->dev), 104 MINOR(io2->dev)); 141 if ((fd = open("/dev/device-mapper", O_RDWR)) < 0) { 160 unsigned minor = (io->dev [all...] |
/system/netd/ |
H A D | PppController.cpp | 84 char dev[32]; local 89 snprintf(dev, sizeof(dev), "/dev/%s", tty); 93 if (execl("/system/bin/pppd", "/system/bin/pppd", "-detach", dev, "115200",
|
/system/core/sh/ |
H A D | mkbuiltins | 47 if grep '^#define JOBS[ ]*1' ${shell} > /dev/null
|
/system/core/include/usbhost/ |
H A D | usbhost.h | 44 struct usb_device *dev; member in struct:usb_request 212 struct usb_request *usb_request_new(struct usb_device *dev, 224 struct usb_request *usb_request_wait(struct usb_device *dev);
|
/system/extras/fatblock/ |
H A D | fatblock.h | 49 dev_t dev; member in struct:file
|