/system/core/adb/ |
H A D | usb_windows.c | 68 /// Checks if there is opened usb handle in handle_list for this device. 71 /// Checks if there is opened usb handle in handle_list for this device. 75 /// Registers opened usb handle (adds it to handle_list). 76 int register_new_device(usb_handle* handle); 79 int recognized_device(usb_handle* handle); 98 /// Writes data to the opened usb handle 99 int usb_write(usb_handle* handle, const void* data, int len); 101 /// Reads data using the opened usb handle 102 int usb_read(usb_handle *handle, void* data, int len); 104 /// Cleans up opened usb handle 145 register_new_device(usb_handle* handle) argument 257 usb_write(usb_handle* handle, const void* data, int len) argument 302 usb_read(usb_handle *handle, void* data, int len) argument 343 usb_cleanup_handle(usb_handle* handle) argument 361 usb_kick(usb_handle* handle) argument 374 usb_close(usb_handle* handle) argument 398 usb_name(usb_handle* handle) argument 408 recognized_device(usb_handle* handle) argument 451 usb_handle* handle = NULL; local [all...] |
H A D | usb_osx.c | 258 usb_handle* handle = CheckInterface((IOUSBInterfaceInterface**)iface, local 260 if (handle == NULL) { 267 register_usb_transport(handle, (serial[0] ? serial : NULL), devpath, 1); 276 handle, 277 &handle->usbNotification); 288 usb_handle *handle = (usb_handle *)refCon; local 291 if (!handle) { 292 DBG("ERR: NULL handle\n"); 296 IOObjectRelease(handle->usbNotification); 297 usb_kick(handle); 306 usb_handle* handle = NULL; local 452 usb_write(usb_handle *handle, const void *buf, int len) argument 492 usb_read(usb_handle *handle, void *buf, int len) argument 528 usb_close(usb_handle *handle) argument 533 usb_kick(usb_handle *handle) argument [all...] |
H A D | sysdeps_win32.c | 99 HANDLE handle; member in union:FHRec_::__anon16 111 #define fh_handle u.handle 1441 * handle array into chunks with the chunk size less than 64, and fire up as many 1443 * handles, and will report back to the caller which handle has been set. 1452 /* A handle to an event to signal when waiting is over. This handle is shared 1456 /* Upon exit from a waiting thread contains the index of the handle that has 1457 * been signaled. The index is an absolute index of the signaled handle in 1461 * handle that was signaled. This is fine, because the caller cares only 1462 * about any handle bein [all...] |
/system/core/fastbootd/ |
H A D | protocol.h | 47 void (*handle)(struct protocol_handle *handle, const char *arg)); 53 void protocol_handle_command(struct protocol_handle *handle, char *buffer); 57 void fastboot_fail(struct protocol_handle *handle, const char *reason); 58 void fastboot_okay(struct protocol_handle *handle, const char *reason); 59 void fastboot_data(struct protocol_handle *handle, size_t len);
|
H A D | transport.h | 38 ssize_t transport_handle_write(struct transport_handle *handle, char *buffer, size_t len); 39 int transport_handle_download(struct transport_handle *handle, size_t len);
|
H A D | usb_linux_client.c | 70 struct transport_handle handle; member in struct:usb_handle 333 return &usb_handle->handle;
|
/system/media/audio_utils/ |
H A D | tinysndfile.c | 70 SNDFILE *handle = (SNDFILE *) malloc(sizeof(SNDFILE)); local 71 handle->mode = SFM_READ; 72 handle->temp = NULL; 73 handle->stream = stream; 74 handle->info.format = SF_FORMAT_WAV; 172 handle->bytesPerFrame = bytesPerFrame; 173 handle->info.samplerate = samplerate; 174 handle->info.channels = channels; 177 handle->info.format |= SF_FORMAT_PCM_U8; 180 handle 297 SNDFILE *handle = (SNDFILE *) malloc(sizeof(SNDFILE)); local 324 sf_close(SNDFILE *handle) argument 345 sf_readf_short(SNDFILE *handle, short *ptr, sf_count_t desiredFrames) argument 389 sf_readf_float(SNDFILE *handle, float *ptr, sf_count_t desiredFrames) argument 394 sf_writef_short(SNDFILE *handle, const short *ptr, sf_count_t desiredFrames) argument 426 sf_writef_float(SNDFILE *handle, const float *ptr, sf_count_t desiredFrames) argument [all...] |
/system/core/fastboot/ |
H A D | usb_windows.c | 70 int recognized_device(usb_handle* handle, ifc_match_func callback); 75 /// Writes data to the opened usb handle 76 int usb_write(usb_handle* handle, const void* data, int len); 78 /// Reads data using the opened usb handle 79 int usb_read(usb_handle *handle, void* data, int len); 81 /// Cleans up opened usb handle 82 void usb_cleanup_handle(usb_handle* handle); 84 /// Cleans up (but don't close) opened usb handle 85 void usb_kick(usb_handle* handle); 87 /// Closes opened usb handle 154 usb_write(usb_handle* handle, const void* data, int len) argument 196 usb_read(usb_handle *handle, void* data, int len) argument 233 usb_cleanup_handle(usb_handle* handle) argument 251 usb_kick(usb_handle* handle) argument 260 usb_close(usb_handle* handle) argument 272 recognized_device(usb_handle* handle, ifc_match_func callback) argument 324 usb_handle* handle = NULL; local [all...] |
H A D | usb_osx.c | 67 static int try_interfaces(IOUSBDeviceInterface182 **dev, usb_handle *handle) { argument 171 if ((*interface)->GetInterfaceClass(interface, &handle->info.ifc_class) != 0 || 172 (*interface)->GetInterfaceSubClass(interface, &handle->info.ifc_subclass) != 0 || 173 (*interface)->GetInterfaceProtocol(interface, &handle->info.ifc_protocol) != 0) 179 handle->info.has_bulk_in = 0; 180 handle->info.has_bulk_out = 0; 201 handle->info.has_bulk_in = 1; 202 handle->bulkIn = endpoint; 204 handle->info.has_bulk_out = 1; 205 handle 260 try_device(io_service_t device, usb_handle *handle) argument 381 init_usb(ifc_match_func callback, usb_handle **handle) argument 455 usb_handle *handle = NULL; local [all...] |
/system/extras/ext4_utils/ |
H A D | ext4_jbd2.h | 42 #define ext4_journal_get_undo_access(handle, bh) __ext4_journal_get_undo_access(__func__, (handle), (bh)) 43 #define ext4_journal_get_write_access(handle, bh) __ext4_journal_get_write_access(__func__, (handle), (bh)) 44 #define ext4_forget(handle, is_metadata, inode, bh, block_nr) __ext4_forget(__func__, (handle), (is_metadata), (inode), (bh), (block_nr)) 45 #define ext4_journal_get_create_access(handle, bh) __ext4_journal_get_create_access(__func__, (handle), (bh)) 46 #define ext4_handle_dirty_metadata(handle, inode, bh) __ext4_handle_dirty_metadata(__func__, (handle), (inod [all...] |
/system/core/libion/ |
H A D | ion.c | 58 unsigned int flags, struct ion_handle **handle) 71 *handle = data.handle; 75 int ion_free(int fd, struct ion_handle *handle) argument 78 .handle = handle, 83 int ion_map(int fd, struct ion_handle *handle, size_t length, int prot, argument 87 .handle = handle, 106 int ion_share(int fd, struct ion_handle *handle, in argument 57 ion_alloc(int fd, size_t len, size_t align, unsigned int heap_mask, unsigned int flags, struct ion_handle **handle) argument 126 struct ion_handle *handle; local 137 ion_import(int fd, int share_fd, struct ion_handle **handle) argument [all...] |
H A D | ion_test.c | 26 int _ion_alloc_test(int *fd, struct ion_handle **handle) argument 34 ret = ion_alloc(*fd, len, align, heap_mask, alloc_flags, handle); 44 struct ion_handle *handle; local 46 if(_ion_alloc_test(&fd, &handle)) 49 ret = ion_free(fd, handle); 51 printf("%s failed: %s %p\n", __func__, strerror(ret), handle); 62 struct ion_handle *handle; local 65 if(_ion_alloc_test(&fd, &handle)) 68 ret = ion_map(fd, handle, len, prot, map_flags, 0, &ptr, &map_fd); 80 ret = ion_free(fd, handle); 103 struct ion_handle *handle; local [all...] |
/system/core/include/ion/ |
H A 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/ |
H A D | sndfile.h | 61 void sf_close(SNDFILE *handle); 64 sf_count_t sf_readf_short(SNDFILE *handle, short *ptr, sf_count_t desired); 65 sf_count_t sf_readf_float(SNDFILE *handle, float *ptr, sf_count_t desired); 68 sf_count_t sf_writef_short(SNDFILE *handle, const short *ptr, sf_count_t desired); 69 sf_count_t sf_writef_float(SNDFILE *handle, const float *ptr, sf_count_t desired);
|
/system/extras/tests/bionic/libc/other/ |
H A D | test_timer_create.c | 36 handle(sigval_t v) function 57 se.sigev_notify_function = handle;
|
H A D | test_timer_create2.c | 36 handle(int v) function 88 act->sa_handler = handle;
|
H A D | test_timer_create3.c | 43 handle(sigval_t v) function 73 se.sigev_notify_function = handle;
|
/system/core/libcutils/tests/memset_mips/ |
H A D | memset_omips.S | 54 SWHI a1, 0(a0) # Yes, handle first unaligned part
|
/system/core/include/system/ |
H A D | window.h | 111 buffer_handle_t handle; member in struct:ANativeWindowBuffer 190 * cannot handle arbitrary rotations.
|
/system/core/sdcard/ |
H A D | sdcard.c | 154 struct handle { struct 1180 struct handle *h; 1216 struct handle *h = id_to_ptr(req->fh); 1244 struct handle *h = id_to_ptr(req->fh); 1292 struct handle *h = id_to_ptr(req->fh); 1304 struct handle *h = id_to_ptr(req->fh);
|