/system/core/rootdir/ |
D | ueventd.rc | 4 /dev/null 0666 root root 5 /dev/zero 0666 root root 6 /dev/full 0666 root root 7 /dev/ptmx 0666 root root 8 /dev/tty 0666 root root 9 /dev/random 0666 root root 10 /dev/urandom 0666 root root 12 /dev/hw_random 0440 root system 13 /dev/ashmem 0666 root root 14 /dev/binder 0666 root root [all …]
|
/system/core/adf/libadfhwc/ |
D | adfhwc.cpp | 41 int adf_eventControl(struct adf_hwc_helper *dev, int disp, int event, in adf_eventControl() argument 47 if ((size_t)disp >= dev->intf_fds.size()) in adf_eventControl() 52 return adf_set_event(dev->intf_fds[disp], ADF_EVENT_VSYNC, enabled); in adf_eventControl() 65 int adf_blank(struct adf_hwc_helper *dev, int disp, int blank) in adf_blank() argument 67 if ((size_t)disp >= dev->intf_fds.size()) in adf_blank() 71 return adf_interface_blank(dev->intf_fds[disp], dpms_mode); in adf_blank() 74 int adf_query_display_types_supported(struct adf_hwc_helper *dev, int *value) in adf_query_display_types_supported() argument 77 if (dev->intf_fds.size() > 0) in adf_query_display_types_supported() 79 if (dev->intf_fds.size() > 1) in adf_query_display_types_supported() 85 int adf_getDisplayConfigs(struct adf_hwc_helper *dev, int disp, in adf_getDisplayConfigs() argument [all …]
|
/system/keymaster/include/keymaster/ |
D | soft_keymaster_device.h | 78 static int close_device(hw_device_t* dev); 86 static int generate_keypair(const keymaster1_device_t* dev, const keymaster_keypair_t key_type, 88 static int import_keypair(const struct keymaster1_device* dev, const uint8_t* key, 90 static int get_keypair_public(const keymaster1_device_t* dev, const uint8_t* key_blob, 93 static int delete_keypair(const struct keymaster1_device* dev, const uint8_t* key_blob, 95 static int delete_all(const struct keymaster1_device* dev); 96 static int sign_data(const keymaster1_device_t* dev, const void* signing_params, 100 static int verify_data(const keymaster1_device_t* dev, const void* signing_params, 106 static keymaster_error_t get_supported_algorithms(const keymaster1_device_t* dev, 109 static keymaster_error_t get_supported_block_modes(const keymaster1_device_t* dev, [all …]
|
/system/core/adf/libadf/include/adf/ |
D | adf.h | 50 int adf_device_open(adf_id_t id, int flags, struct adf_device *dev); 54 void adf_device_close(struct adf_device *dev); 61 int adf_get_device_data(struct adf_device *dev, struct adf_device_data *data); 73 int adf_device_post(struct adf_device *dev, 80 int adf_device_attach(struct adf_device *dev, adf_id_t overlay_engine, 85 int adf_device_detach(struct adf_device *dev, adf_id_t overlay_engine, 93 ssize_t adf_interfaces(struct adf_device *dev, adf_id_t **interfaces); 101 ssize_t adf_interfaces_for_overlay_engine(struct adf_device *dev, 111 ssize_t adf_interfaces_filter_by_type(struct adf_device *dev, 119 ssize_t adf_interfaces_filter_by_flag(struct adf_device *dev, __u32 flag, [all …]
|
/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 | 118 struct usb_device_descriptor *dev; in filter_usb_device() local 130 dev = (struct usb_device_descriptor *)ptr; in filter_usb_device() 131 len -= dev->bLength; in filter_usb_device() 132 ptr += dev->bLength; in filter_usb_device() 140 info.dev_vendor = dev->idVendor; in filter_usb_device() 141 info.dev_product = dev->idProduct; in filter_usb_device() 142 info.dev_class = dev->bDeviceClass; in filter_usb_device() 143 info.dev_subclass = dev->bDeviceSubClass; in filter_usb_device() 144 info.dev_protocol = dev->bDeviceProtocol; in filter_usb_device() 156 if (dev->iSerialNumber) { in filter_usb_device()
|
/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/keymaster/ |
D | soft_keymaster_device.cpp | 167 static inline SoftKeymasterDevice* convert_device(const keymaster1_device_t* dev) { in convert_device() argument 168 return reinterpret_cast<SoftKeymasterDevice*>(const_cast<keymaster1_device_t*>(dev)); in convert_device() 172 int SoftKeymasterDevice::close_device(hw_device_t* dev) { in close_device() argument 173 delete reinterpret_cast<SoftKeymasterDevice*>(dev); in close_device() 178 int SoftKeymasterDevice::generate_keypair(const keymaster1_device_t* dev, in generate_keypair() argument 183 if (!dev || !key_params) in generate_keypair() 220 convert_device(dev)->impl_->GenerateKey(req, &rsp); in generate_keypair() 239 int SoftKeymasterDevice::import_keypair(const keymaster1_device_t* dev, const uint8_t* key, in import_keypair() argument 244 if (!dev || !key) in import_keypair() 261 convert_device(dev)->impl_->ImportKey(request, &response); in import_keypair() [all …]
|
D | android_keymaster_test_utils.h | 350 static keymaster0_device_t* device(const keymaster0_device_t* dev) { in device() 352 reinterpret_cast<Keymaster0CountingWrapper*>(dev->context); in device() 356 static void increment(const keymaster0_device_t* dev) { in increment() 358 reinterpret_cast<Keymaster0CountingWrapper*>(dev->context); in increment() 362 static int counting_close_device(hw_device_t* dev) { in counting_close_device() 363 keymaster0_device_t* k0_dev = reinterpret_cast<keymaster0_device_t*>(dev); in counting_close_device() 373 static int counting_generate_keypair(const struct keymaster0_device* dev, in counting_generate_keypair() 376 increment(dev); in counting_generate_keypair() 377 int result = device(dev)->generate_keypair(device(dev), key_type, key_params, key_blob, in counting_generate_keypair() 384 static int counting_import_keypair(const struct keymaster0_device* dev, const uint8_t* key, in counting_import_keypair() [all …]
|
/system/core/logcat/ |
D | logcat.cpp | 145 static void processBuffer(log_device_t* dev, struct log_msg *buf) in processBuffer() argument 152 if (dev->binary) { in processBuffer() 194 static void maybePrintStart(log_device_t* dev, bool printDividers) { in maybePrintStart() argument 195 if (!dev->printed || printDividers) { in maybePrintStart() 199 dev->printed ? "switch to" : "beginning of", in maybePrintStart() 200 dev->device); in maybePrintStart() 205 dev->printed = true; in maybePrintStart() 477 log_device_t* dev; in main() local 603 dev = devices; in main() 604 devices = dev->next; in main() [all …]
|
/system/core/adf/libadf/ |
D | adf.c | 87 int adf_device_open(adf_id_t id, int flags, struct adf_device *dev) in adf_device_open() argument 92 dev->id = id; in adf_device_open() 95 dev->fd = open(filename, flags); in adf_device_open() 96 if (dev->fd < 0) in adf_device_open() 102 void adf_device_close(struct adf_device *dev) in adf_device_close() argument 104 if (dev->fd >= 0) in adf_device_close() 105 close(dev->fd); in adf_device_close() 108 int adf_get_device_data(struct adf_device *dev, struct adf_device_data *data) in adf_get_device_data() argument 115 err = ioctl(dev->fd, ADF_GET_DEVICE_DATA, data); in adf_get_device_data() 144 err = ioctl(dev->fd, ADF_GET_DEVICE_DATA, data); in adf_get_device_data() [all …]
|
/system/core/adf/libadfhwc/include/adfhwc/ |
D | adfhwc.h | 104 struct adf_hwc_helper **dev); 109 void adf_hwc_close(struct adf_hwc_helper *dev); 118 int adf_eventControl(struct adf_hwc_helper *dev, int disp, int event, 120 int adf_blank(struct adf_hwc_helper *dev, int disp, int blank); 121 int adf_query_display_types_supported(struct adf_hwc_helper *dev, int *value); 122 int adf_getDisplayConfigs(struct adf_hwc_helper *dev, int disp, 124 int adf_getDisplayAttributes(struct adf_hwc_helper *dev, int disp,
|
/system/core/adb/ |
D | remount_service.cpp | 53 bool make_block_device_writable(const std::string& dev) { in make_block_device_writable() argument 54 int fd = unix_open(dev.c_str(), O_RDONLY | O_CLOEXEC); in make_block_device_writable() 69 std::string dev = find_mount(dir); in remount_partition() local 70 if (dev.empty()) { in remount_partition() 73 if (!make_block_device_writable(dev)) { in remount_partition() 75 dir, dev.c_str(), strerror(errno)); in remount_partition() 78 if (mount(dev.c_str(), dir, "none", MS_REMOUNT, nullptr) == -1) { in remount_partition()
|
D | usb_osx.cpp | 111 IOUSBDeviceInterface197 **dev = NULL; in AndroidInterfaceAdded() local 181 CFUUIDGetUUIDBytes(kIOUSBDeviceInterfaceID), (LPVOID*)&dev); in AndroidInterfaceAdded() 184 if (result || !dev) { in AndroidInterfaceAdded() 192 kr = (*dev)->GetDeviceVendor(dev, &vendor); in AndroidInterfaceAdded() 193 kr = (*dev)->GetDeviceProduct(dev, &product); in AndroidInterfaceAdded() 194 kr = (*dev)->GetLocationID(dev, &locationId); in AndroidInterfaceAdded() 200 kr = (*dev)->USBGetSerialNumberStringIndex(dev, &serialIndex); in AndroidInterfaceAdded() 216 kr = (*dev)->DeviceRequest(dev, &req); in AndroidInterfaceAdded() 234 kr = (*dev)->DeviceRequest(dev, &req); in AndroidInterfaceAdded() 250 (*dev)->Release(dev); in AndroidInterfaceAdded()
|
/system/security/softkeymaster/include/keymaster/ |
D | softkeymaster.h | 22 int openssl_generate_keypair(const keymaster0_device_t* dev, const keymaster_keypair_t key_type, 25 int openssl_import_keypair(const keymaster0_device_t* dev, const uint8_t* key, 28 int openssl_get_keypair_public(const struct keymaster0_device* dev, const uint8_t* key_blob, 32 int openssl_sign_data(const keymaster0_device_t* dev, const void* params, const uint8_t* keyBlob, 36 int openssl_verify_data(const keymaster0_device_t* dev, const void* params, const uint8_t* keyBlob,
|
/system/core/toolbox/upstream-netbsd/usr.bin/du/ |
D | du.c | 283 linkchk(dev_t dev, ino_t ino) in linkchk() argument 286 dev_t dev; in linkchk() member 302 if (dev == 0 && ino == 0) { in linkchk() 329 if (ohtable[i].ino || ohtable[i].dev) in linkchk() 330 linkchk(ohtable[i].dev, ohtable[i].ino); in linkchk() 336 tmp = dev; in linkchk() 344 while (htable[h].ino || htable[h].dev) { in linkchk() 345 if ((htable[h].ino == ino) && (htable[h].dev == dev)) in linkchk() 351 htable[h].dev = dev; in linkchk()
|
/system/core/toolbox/ |
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 …]
|
/system/extras/tests/workloads/ |
D | defs.sh | 60 chk1=$(functions 2>/dev/null) 61 chk2=$(typeset -F 2>/dev/null) 76 if ls /etc/* 2>/dev/null | grep -q android.hardware; then 82 adb devices -l 2>&1 >/dev/null 181 s=$(grep "Binder.*tracing_mark_write.*launching" $traceout 2>/dev/null | head -1| tr [\(\)\[\] 184 s=$(grep activityPause $traceout | head -1 2>/dev/null| tr [\(\)\[\] 200 f=$(grep "surfaceflinger.*tracing_mark_write.*$_app" $traceout 2>/dev/null | 207 f=$(grep " <...>-$pid.*tracing_mark_write.*$_app" $traceout 2>/dev/null | 218 ${ADB}dumpsys gfxinfo $_gfxapp reset 2>&1 >/dev/null 281 ${ADB}atrace --async_stop > /dev/null [all …]
|
/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/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/core/adf/libadf/tests/ |
D | adf_test.cpp | 29 int err = adf_device_open(dev_id, O_RDWR, &dev); in SetUp() 33 err = adf_find_simple_post_configuration(&dev, fmt8888, n_fmt8888, in SetUp() 38 intf = adf_interface_open(&dev, intf_id, O_RDWR); in SetUp() 42 eng = adf_overlay_engine_open(&dev, eng_id, O_RDWR); in SetUp() 52 adf_device_close(&dev); in TearDown() 117 int err = adf_device_attach(&dev, eng_id, intf_id); in attach() 124 int err = adf_device_detach(&dev, eng_id, intf_id); in detach() 145 adf_device dev; member in AdfTest 181 int err = adf_get_device_data(&dev, &data); in TEST_F() 267 int err = adf_device_attach(&dev, eng_id, intf_id); in TEST_F() [all …]
|
/system/bt/bta/sys/ |
D | utl.c | 193 UINT8 *dev; in utl_set_device_class() local 198 dev = BTM_ReadDeviceClass(); in utl_set_device_class() 199 BTM_COD_SERVICE_CLASS( service, dev ); in utl_set_device_class() 200 BTM_COD_MINOR_CLASS(minor, dev ); in utl_set_device_class() 201 BTM_COD_MAJOR_CLASS(major, dev ); in utl_set_device_class()
|
/system/bt/audio_a2dp_hw/ |
D | audio_a2dp_hw.c | 1010 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream() argument 1019 struct a2dp_audio_device *a2dp_dev = (struct a2dp_audio_device *)dev; in adev_open_output_stream() 1091 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream() argument 1094 struct a2dp_audio_device *a2dp_dev = (struct a2dp_audio_device *)dev; in adev_close_output_stream() 1111 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters() argument 1113 struct a2dp_audio_device *a2dp_dev = (struct a2dp_audio_device *)dev; in adev_set_parameters() 1127 static char * adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters() argument 1131 UNUSED(dev); in adev_get_parameters() 1144 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check() argument 1146 struct a2dp_audio_device *a2dp_dev = (struct a2dp_audio_device*)dev; in adev_init_check() [all …]
|
/system/netd/server/ |
D | PppController.cpp | 84 char dev[32]; in attachPppd() local 91 snprintf(dev, sizeof(dev), "/dev/%s", tty); in attachPppd() 95 if (execl("/system/bin/pppd", "/system/bin/pppd", "-detach", dev, "115200", in attachPppd()
|