/system/core/adb/ |
D | usb_windows.c | 76 int register_new_device(usb_handle* handle); 79 int recognized_device(usb_handle* handle); 99 int usb_write(usb_handle* handle, const void* data, int len); 102 int usb_read(usb_handle *handle, void* data, int len); 105 void usb_cleanup_handle(usb_handle* handle); 108 void usb_kick(usb_handle* handle); 111 int usb_close(usb_handle* handle); 114 const char *usb_name(usb_handle* handle); 145 int register_new_device(usb_handle* handle) { in register_new_device() argument 146 if (NULL == handle) in register_new_device() [all …]
|
D | usb_osx.c | 258 usb_handle* handle = CheckInterface((IOUSBInterfaceInterface**)iface, in AndroidInterfaceAdded() local 260 if (handle == NULL) { in AndroidInterfaceAdded() 267 register_usb_transport(handle, (serial[0] ? serial : NULL), devpath, 1); in AndroidInterfaceAdded() 276 handle, in AndroidInterfaceAdded() 277 &handle->usbNotification); in AndroidInterfaceAdded() 288 usb_handle *handle = (usb_handle *)refCon; in AndroidInterfaceNotify() local 291 if (!handle) { in AndroidInterfaceNotify() 296 IOObjectRelease(handle->usbNotification); in AndroidInterfaceNotify() 297 usb_kick(handle); in AndroidInterfaceNotify() 306 usb_handle* handle = NULL; in CheckInterface() local [all …]
|
D | protocol.txt | 198 will be a select/epoll loop to handle io between various inbound and 216 a thread or subprocess to handle the io.
|
D | OVERVIEW.TXT | 137 and the device/emulator they point to. The ADB server must handle
|
D | sysdeps_win32.c | 99 HANDLE handle; member 111 #define fh_handle u.handle
|
/system/media/audio_utils/ |
D | tinysndfile.c | 97 SNDFILE *handle = (SNDFILE *) malloc(sizeof(SNDFILE)); in sf_open_read() local 98 handle->mode = SFM_READ; in sf_open_read() 99 handle->temp = NULL; in sf_open_read() 100 handle->stream = stream; in sf_open_read() 101 handle->bytesPerFrame = bytesPerFrame; in sf_open_read() 102 handle->remaining = dataSize / bytesPerFrame; in sf_open_read() 103 handle->info.frames = handle->remaining; in sf_open_read() 104 handle->info.samplerate = samplerate; in sf_open_read() 105 handle->info.channels = channels; in sf_open_read() 106 handle->info.format = SF_FORMAT_WAV; in sf_open_read() [all …]
|
/system/core/fastboot/ |
D | usb_windows.c | 70 int recognized_device(usb_handle* handle, ifc_match_func callback); 76 int usb_write(usb_handle* handle, const void* data, int len); 79 int usb_read(usb_handle *handle, void* data, int len); 82 void usb_cleanup_handle(usb_handle* handle); 85 void usb_kick(usb_handle* handle); 88 int usb_close(usb_handle* handle); 154 int usb_write(usb_handle* handle, const void* data, int len) { in usb_write() argument 161 if (NULL != handle) { in usb_write() 165 ret = AdbWriteEndpointSync(handle->adb_write_pipe, in usb_write() 175 usb_kick(handle); in usb_write() [all …]
|
D | usb_osx.c | 67 static int try_interfaces(IOUSBDeviceInterface182 **dev, usb_handle *handle) { in try_interfaces() argument 171 if ((*interface)->GetInterfaceClass(interface, &handle->info.ifc_class) != 0 || in try_interfaces() 172 (*interface)->GetInterfaceSubClass(interface, &handle->info.ifc_subclass) != 0 || in try_interfaces() 173 (*interface)->GetInterfaceProtocol(interface, &handle->info.ifc_protocol) != 0) in try_interfaces() 179 handle->info.has_bulk_in = 0; in try_interfaces() 180 handle->info.has_bulk_out = 0; in try_interfaces() 201 handle->info.has_bulk_in = 1; in try_interfaces() 202 handle->bulkIn = endpoint; in try_interfaces() 204 handle->info.has_bulk_out = 1; in try_interfaces() 205 handle->bulkOut = endpoint; in try_interfaces() [all …]
|
/system/core/libion/ |
D | ion.c | 58 unsigned int flags, struct ion_handle **handle) in ion_alloc() argument 71 *handle = data.handle; in ion_alloc() 75 int ion_free(int fd, struct ion_handle *handle) in ion_free() argument 78 .handle = handle, in ion_free() 83 int ion_map(int fd, struct ion_handle *handle, size_t length, int prot, in ion_map() argument 87 .handle = handle, in ion_map() 106 int ion_share(int fd, struct ion_handle *handle, int *share_fd) in ion_share() argument 110 .handle = handle, in ion_share() 126 struct ion_handle *handle; in ion_alloc_fd() local 129 ret = ion_alloc(fd, len, align, heap_mask, flags, &handle); in ion_alloc_fd() [all …]
|
D | ion_test.c | 26 int _ion_alloc_test(int *fd, struct ion_handle **handle) in _ion_alloc_test() argument 34 ret = ion_alloc(*fd, len, align, heap_mask, alloc_flags, handle); in _ion_alloc_test() 44 struct ion_handle *handle; in ion_alloc_test() local 46 if(_ion_alloc_test(&fd, &handle)) in ion_alloc_test() 49 ret = ion_free(fd, handle); in ion_alloc_test() 51 printf("%s failed: %s %p\n", __func__, strerror(ret), handle); in ion_alloc_test() 62 struct ion_handle *handle; in ion_map_test() local 65 if(_ion_alloc_test(&fd, &handle)) in ion_map_test() 68 ret = ion_map(fd, handle, len, prot, map_flags, 0, &ptr, &map_fd); in ion_map_test() 80 ret = ion_free(fd, handle); in ion_map_test() [all …]
|
/system/extras/ext4_utils/ |
D | ext4_jbd2.h | 42 #define ext4_journal_get_undo_access(handle, bh) __ext4_journal_get_undo_access(__func__, (handle… argument 43 #define ext4_journal_get_write_access(handle, bh) __ext4_journal_get_write_access(__func__, (hand… argument 44 #define ext4_forget(handle, is_metadata, inode, bh, block_nr) __ext4_forget(__func__, (handle), (… argument 45 #define ext4_journal_get_create_access(handle, bh) __ext4_journal_get_create_access(__func__, (ha… argument 46 #define ext4_handle_dirty_metadata(handle, inode, bh) __ext4_handle_dirty_metadata(__func__, (han… argument 50 #define ext4_journal_stop(handle) __ext4_journal_stop(__func__, (handle)) argument
|
/system/bluetooth/bluez-clean-headers/bluetooth/ |
D | hci.h | 346 uint16_t handle; member 354 uint16_t handle; member 401 uint16_t handle; member 409 uint16_t handle; member 415 uint16_t handle; member 422 uint16_t handle; member 451 uint16_t handle; member 457 uint16_t handle; member 465 uint16_t handle; member 471 uint16_t handle; member [all …]
|
/system/core/include/ion/ |
D | ion.h | 31 unsigned int flags, struct ion_handle **handle); 35 int ion_free(int fd, struct ion_handle *handle); 36 int ion_map(int fd, struct ion_handle *handle, size_t length, int prot, 38 int ion_share(int fd, struct ion_handle *handle, int *share_fd); 39 int ion_import(int fd, int share_fd, struct ion_handle **handle);
|
/system/media/audio_utils/include/audio_utils/ |
D | sndfile.h | 59 void sf_close(SNDFILE *handle); 62 sf_count_t sf_readf_short(SNDFILE *handle, short *ptr, sf_count_t desired); 65 sf_count_t sf_writef_short(SNDFILE *handle, const short *ptr, sf_count_t desired);
|
/system/extras/tests/bionic/libc/other/ |
D | test_timer_create.c | 36 handle(sigval_t v) in handle() function 57 se.sigev_notify_function = handle; in create()
|
D | test_timer_create2.c | 36 handle(int v) in handle() function 88 act->sa_handler = handle; in main()
|
D | test_timer_create3.c | 43 handle(sigval_t v) in handle() function 73 se.sigev_notify_function = handle; in create()
|
/system/core/libcutils/tests/memset_mips/ |
D | memset_omips.S | 54 SWHI a1, 0(a0) # Yes, handle first unaligned part
|
/system/core/sdcard/ |
D | sdcard.c | 92 struct handle { struct 809 struct handle *h; in handle_open() 840 struct handle *h = id_to_ptr(req->fh); in handle_read() 868 struct handle *h = id_to_ptr(req->fh); in handle_write() 916 struct handle *h = id_to_ptr(req->fh); in handle_release() 928 struct handle *h = id_to_ptr(req->fh); in handle_fsync()
|
/system/core/sh/ |
D | TOUR | 130 (in trap.c) are called to handle changes to these options. 154 it to handle temporary files correctly in obscure cases.) 213 redir.c Code to handle redirection of input and output. 214 jobs.c Code to handle forking, waiting, and job control. 326 is called at appropriate points to actually handle the signal. 354 cause the preprocessor can't handle functions with a variable
|
/system/core/include/system/ |
D | window.h | 111 buffer_handle_t handle; member
|