/system/security/keystore/ |
H A D | keystore.cpp | 141 ALOGE("could not open keymaster device in %s (%s)", 449 KeyStore(Entropy* entropy, keymaster_device_t* device) argument 451 , mDevice(device) 1004 const keymaster_device_t* device = keyStore->getDevice(); local 1005 if (device == NULL) { 1006 ALOGE("No keymaster device!"); 1010 if (device->delete_all == NULL) { 1011 ALOGV("keymaster device doesn't implement delete_all"); 1015 if (device->delete_all(device)) { 1068 const keymaster_device_t* device = keyStore->getDevice(); local 1123 const keymaster_device_t* device = keyStore->getDevice(); local 1161 const keymaster_device_t* device = keyStore->getDevice(); local 1194 const keymaster_device_t* device = keyStore->getDevice(); local 1231 const keymaster_device_t* device = keyStore->getDevice(); local [all...] |
/system/security/softkeymaster/ |
H A D | keymaster_openssl.cpp | 467 * Generic device handling 470 hw_device_t** device) { 496 *device = reinterpret_cast<hw_device_t*>(dev.release()); 469 openssl_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
|
/system/vold/ |
H A D | Volume.cpp | 236 // Only initialize the MBR if we are formatting the entire device 267 char device[256]; local 280 sscanf(line, "%255s %255s %255s\n", device, mount_path, rest); 336 SLOGE("Failed to get device nodes (%s)\n", strerror(errno)); 341 * and vold is asking to mount the primaryStorage device, then we need to decrypt 343 * block device 355 /* We only expect one device node returned when mounting encryptable volumes */ 356 SLOGE("Too many device nodes returned when mounting %d\n", getMountpoint()); 366 /* We now have the new sysfs path for the decrypted block device, and the 367 * majore and minor numbers for it. So, create the device, updat [all...] |
H A D | VolumeManager.cpp | 135 /* Lookup a volume to handle this device */ 318 SLOGE("ASEC loop device creation failed (%s)", strerror(errno)); 331 SLOGE("ASEC device mapping failed (%s)", strerror(errno)); 348 SLOGE("Failed to open new DM device for superblock write (%s)", strerror(errno)); 756 SLOGW("Failed to find loop device for {%s} (%s)", fileName, strerror(errno)); 887 SLOGE("ASEC loop device creation failed (%s)", strerror(errno)); 891 SLOGD("New loop device created at %s", loopDevice); 924 SLOGE("ASEC device mapping failed (%s)", strerror(errno)); 953 * The device mapper node needs to be created. Sometimes it takes a 1024 SLOGE("Image loop device creatio 1117 char device[256]; local 1453 char device[256]; local [all...] |
/system/bluetooth/bluez-clean-headers/bluetooth/ |
H A D | hci.h | 2347 uint16_t device; member in struct:__anon247
|
/system/core/adb/ |
H A D | adb.h | 153 /* a transport object models the connection to a remote device or emulator 154 ** there is one transport per connected device/emulator. a "local transport" 198 char *device; member in struct:atransport 275 ** If serial is non-NULL then only the device with that serial will be chosen. 453 /* used for USB device detection */ 469 #define CS_NOPERM 5 /* Insufficient permissions to communicate with the device */
|
H A D | usb_linux.c | 92 // set mark flag to indicate this device is still alive 107 // kick any devices in the device list that were not found in the device scan 156 struct usb_device_descriptor* device; local 180 // should have device and configuration descriptors, and atleast two endpoints 187 device = (struct usb_device_descriptor*)bufptr; 190 if((device->bLength != USB_DT_DEVICE_SIZE) || (device->bDescriptorType != USB_DT_DEVICE)) { 195 vid = device->idVendor; 196 pid = device [all...] |
/system/core/debuggerd/ |
H A D | getevent.c | 19 static int open_device(const char *device) argument 30 fd = open(device, O_RDWR); 45 //fprintf(stderr, "could not get device name for %s, %s\n", device, strerror(errno)); 49 //fprintf(stderr, "could not get location for %s, %s\n", device, strerror(errno)); 53 //fprintf(stderr, "could not get idstring for %s, %s\n", device, strerror(errno)); 71 device_names[nfds] = strdup(device); 77 int close_device(const char *device) argument 81 if(strcmp(device_names[i], device) == 0) {
|
/system/core/fastboot/ |
H A D | usb_osx.c | 52 /** An open usb device */ 95 // Get an iterator for the interfaces on the device 99 ERR("Couldn't create a device interface iterator: (%08x)\n", kr); 257 /** Try out the given device and see if there's a match. Returns 0 on 260 static int try_device(io_service_t device, usb_handle *handle) { argument 270 kr = IOCreatePlugInInterfaceForService(device, 280 // Now create the device interface. 284 ERR("Couldn't create a device interface (%08x)\n", (int) result); 289 * We don't need the intermediate interface after the device interface 294 // So, we have a device, finall 421 io_service_t device = IOIteratorNext(iterator); local [all...] |
/system/core/gpttool/ |
H A D | gpttool.c | 261 const char *device; local 270 device = argv[2]; 285 if (!strcmp(device, "/dev/sda") || 286 !strcmp(device, "/dev/sdb")) { 291 fd = open(device, O_RDWR); 293 fprintf(stderr,"error: cannot open '%s'\n", device); 297 fprintf(stderr,"error: cannot query block device size\n");
|
/system/core/include/diskconfig/ |
H A D | diskconfig.h | 90 char *device; member in struct:disk_info
|
/system/core/include/system/ |
H A D | audio.h | 379 // the device. It is unique and must be 388 static inline bool audio_is_output_device(audio_devices_t device) argument 390 if (((device & AUDIO_DEVICE_BIT_IN) == 0) && 391 (popcount(device) == 1) && ((device & ~AUDIO_DEVICE_OUT_ALL) == 0)) 397 static inline bool audio_is_input_device(audio_devices_t device) argument 399 if ((device & AUDIO_DEVICE_BIT_IN) != 0) { 400 device &= ~AUDIO_DEVICE_BIT_IN; 401 if ((popcount(device) == 1) && ((device 407 audio_is_output_devices(audio_devices_t device) argument 413 audio_is_a2dp_device(audio_devices_t device) argument 421 audio_is_bluetooth_sco_device(audio_devices_t device) argument 431 audio_is_usb_device(audio_devices_t device) argument 439 audio_is_remote_submix_device(audio_devices_t device) argument [all...] |
/system/core/init/ |
H A D | devices.c | 209 * device node. Unforunately changing the euid would prevent creation of 210 * some device nodes, so the uid has to be set with chown() and is still 240 INFO("adding platform device %s\n", name); 249 * given a name that may start with a platform device, find the length of the 250 * platform device prefix. If it doesn't start with a platform device, return 278 INFO("removing platform device %s\n", name); 380 /* skip root hub name and device. use device interface */ 411 const char *device; local [all...] |
/system/core/libusbhost/ |
H A D | usbhost.c | 182 D("Created device discovery thread\n"); 244 D("new device %s\n", path); 247 D("gone device %s\n", path); 288 void usb_device_close(struct usb_device *device) argument 290 close(device->fd); 291 free(device); 296 struct usb_device *device = calloc(1, sizeof(struct usb_device)); local 303 length = read(fd, device->desc, sizeof(device->desc)); 308 strncpy(device 321 usb_device_reopen_writeable(struct usb_device *device) argument 337 usb_device_get_fd(struct usb_device *device) argument 344 usb_device_get_name(struct usb_device *device) argument 349 usb_device_get_unique_id(struct usb_device *device) argument 372 usb_device_get_vendor_id(struct usb_device *device) argument 378 usb_device_get_product_id(struct usb_device *device) argument 384 usb_device_get_device_descriptor(struct usb_device *device) argument 389 usb_device_get_string(struct usb_device *device, int id) argument 427 usb_device_get_manufacturer_name(struct usb_device *device) argument 437 usb_device_get_product_name(struct usb_device *device) argument 447 usb_device_get_serial(struct usb_device *device) argument 457 usb_device_is_writeable(struct usb_device *device) argument 462 usb_descriptor_iter_init(struct usb_device *device, struct usb_descriptor_iter *iter) argument 479 usb_device_claim_interface(struct usb_device *device, unsigned int interface) argument 484 usb_device_release_interface(struct usb_device *device, unsigned int interface) argument 489 usb_device_connect_kernel_driver(struct usb_device *device, unsigned int interface, int connect) argument 500 usb_device_control_transfer(struct usb_device *device, int requestType, int request, int value, int index, void* buffer, int length, unsigned int timeout) argument 526 usb_device_bulk_transfer(struct usb_device *device, int endpoint, void* buffer, int length, unsigned int timeout) argument [all...] |
/system/core/logcat/ |
H A D | logcat.cpp | 56 char* device; member in struct:log_device_t 66 device = d; 224 snprintf(buf, sizeof(buf), "--------- beginning of %s\n", dev->device); 588 /* in an emulated device only. it basically looks for androidboot.logcat= */ 732 dev->fd = open(dev->device, mode); 734 fprintf(stderr, "Unable to open log device '%s': %s\n", 735 dev->device, strerror(errno)); 764 "max entry is %db, max payload is %db\n", dev->device,
|
/system/core/toolbox/ |
H A D | getevent.c | 294 static int open_device(const char *device, int print_flags) argument 305 fd = open(device, O_RDWR); 308 fprintf(stderr, "could not open %s, %s\n", device, strerror(errno)); 314 fprintf(stderr, "could not get driver version for %s, %s\n", device, strerror(errno)); 319 fprintf(stderr, "could not get driver id for %s, %s\n", device, strerror(errno)); 326 //fprintf(stderr, "could not get device name for %s, %s\n", device, strerror(errno)); 330 //fprintf(stderr, "could not get location for %s, %s\n", device, strerror(errno)); 334 //fprintf(stderr, "could not get idstring for %s, %s\n", device, strerror(errno)); 352 printf("add device 387 close_device(const char *device, int print_flags) argument 508 const char *device = NULL; local [all...] |
H A D | lsof.c | 106 char device[10]; local 116 while (fscanf(maps, "%*x-%*x %*s %zx %5s %ld %s\n", &offset, device, &inode, 119 if (inode == 0 || !strcmp(device, "00:00")) 124 "???", device, offset, inode, file);
|
H A D | umount.c | 32 char device[256]; local 45 count = fscanf(f, "%255s %255s %255s\n", device, mount_path, rest); 47 if (is_loop(device) && strcmp(path, mount_path) == 0) { 48 strlcpy(loopdev, device, LOOPDEV_MAXLEN); 76 // free the loop device 79 fprintf(stderr, "open loop device failed: %s\n", strerror(errno));
|
/system/extras/tests/bionic/libc/ |
H A D | Android.mk | 23 # device executable. 28 define device-test 43 # same as 'device-test' but builds a host executable instead 92 $(call device-test, $(sources)) 128 $(call device-test, $(sources)) 136 $(call device-test, $(sources)) 149 $(call device-test, $(sources)) 166 $(call device-test, $(sources)) 254 #$(call device-test, $(sources)) 257 # the shared version will use the target device' [all...] |
/system/extras/tests/bionic/libstdc++/ |
H A D | Android.mk | 24 # device executable. 29 define device-test 41 # same as 'device-test' but builds a host executable instead 77 # compiler flags, so only build this test for device/Bionic 82 $(call device-test, $(sources))
|