Home
last modified time | relevance | path

Searched defs:handle (Results 1 – 25 of 27) sorted by relevance

12

/system/core/adb/
Dusb_windows.c147 int register_new_device(usb_handle* handle) { in register_new_device()
259 int usb_write(usb_handle* handle, const void* data, int len) { in usb_write()
304 int usb_read(usb_handle *handle, void* data, int len) { in usb_read()
345 void usb_cleanup_handle(usb_handle* handle) { in usb_cleanup_handle()
363 void usb_kick(usb_handle* handle) { in usb_kick()
376 int usb_close(usb_handle* handle) { in usb_close()
400 const char *usb_name(usb_handle* handle) { in usb_name()
410 int recognized_device(usb_handle* handle) { in recognized_device()
453 usb_handle* handle = NULL; in find_devices() local
Dusb_osx.c258 usb_handle* handle = CheckInterface((IOUSBInterfaceInterface**)iface, in AndroidInterfaceAdded() local
288 usb_handle *handle = (usb_handle *)refCon; in AndroidInterfaceNotify() local
306 usb_handle* handle = NULL; in CheckInterface() local
452 int usb_write(usb_handle *handle, const void *buf, int len) in usb_write()
492 int usb_read(usb_handle *handle, void *buf, int len) in usb_read()
532 int usb_close(usb_handle *handle) in usb_close()
537 void usb_kick(usb_handle *handle) in usb_kick()
/system/core/libziparchive/
Dzip_archive_test.cc44 ZipArchiveHandle* handle) { in OpenArchiveWrapper()
56 ZipArchiveHandle handle; in TEST() local
63 ZipArchiveHandle handle; in TEST() local
71 ZipArchiveHandle handle; in TEST() local
107 ZipArchiveHandle handle; in TEST() local
127 ZipArchiveHandle handle; in TEST() local
183 ZipArchiveHandle handle; in TEST() local
217 ZipArchiveHandle handle; in TEST() local
230 ZipArchiveHandle handle; in TEST() local
Dzip_archive.cc688 ZipArchiveHandle* handle) { in OpenArchiveFd()
694 int32_t OpenArchive(const char* fileName, ZipArchiveHandle* handle) { in OpenArchive()
709 void CloseArchive(ZipArchiveHandle handle) { in CloseArchive()
898 int32_t StartIteration(ZipArchiveHandle handle, void** cookie_ptr, const char* prefix) { in StartIteration()
918 int32_t FindEntry(const ZipArchiveHandle handle, const char* entryName, in FindEntry()
939 IterationHandle* handle = (IterationHandle *) cookie; in Next() local
1079 int32_t ExtractToMemory(ZipArchiveHandle handle, in ExtractToMemory()
1116 int32_t ExtractEntryToFile(ZipArchiveHandle handle, in ExtractEntryToFile()
1162 int GetFileDescriptor(const ZipArchiveHandle handle) { in GetFileDescriptor()
/system/core/fastboot/
Dusb_windows.c155 int usb_write(usb_handle* handle, const void* data, int len) { in usb_write()
197 int usb_read(usb_handle *handle, void* data, int len) { in usb_read()
234 void usb_cleanup_handle(usb_handle* handle) { in usb_cleanup_handle()
252 void usb_kick(usb_handle* handle) { in usb_kick()
261 int usb_close(usb_handle* handle) { in usb_close()
278 int recognized_device(usb_handle* handle, ifc_match_func callback) { in recognized_device()
330 usb_handle* handle = NULL; in find_usb_device() local
Dusb_osx.c67 static int try_interfaces(IOUSBDeviceInterface182 **dev, usb_handle *handle) { in try_interfaces() argument
260 static int try_device(io_service_t device, usb_handle *handle) { in try_device()
381 static int init_usb(ifc_match_func callback, usb_handle **handle) { in init_usb()
455 usb_handle *handle = NULL; in usb_open() local
/system/core/fastbootd/
Dtransport_socket.c57 struct transport_handle handle; member
64 struct socket_handle * handle = container_of(thandle, struct socket_handle, handle); in socket_close() local
70 struct socket_handle *handle = calloc(sizeof(struct socket_handle), 1); in socket_connect() local
89 struct socket_handle *handle = container_of(thandle, struct socket_handle, handle); in socket_write() local
104 struct socket_handle *handle = container_of(thandle, struct socket_handle, handle); in socket_read() local
Dusb_linux_client.c69 struct transport_handle handle; member
/system/core/libutils/
DNativeHandle.cpp23 native_handle_t* handle, bool ownsHandle) { in create()
27 NativeHandle::NativeHandle(native_handle_t* handle, bool ownsHandle) in NativeHandle()
/system/core/libion/
Dion.c61 unsigned int flags, ion_user_handle_t *handle) in ion_alloc()
81 int ion_free(int fd, ion_user_handle_t handle) in ion_free()
89 int ion_map(int fd, ion_user_handle_t handle, size_t length, int prot, in ion_map()
118 int ion_share(int fd, ion_user_handle_t handle, int *share_fd) in ion_share()
142 ion_user_handle_t handle; in ion_alloc_fd() local
153 int ion_import(int fd, int share_fd, ion_user_handle_t *handle) in ion_import()
Dion_test.c41 int _ion_alloc_test(int *fd, ion_user_handle_t *handle) in _ion_alloc_test()
59 ion_user_handle_t handle; in ion_alloc_test() local
77 ion_user_handle_t handle; in ion_map_test() local
118 ion_user_handle_t handle; in ion_share_test() local
/system/core/libion/tests/
Dallocate_test.cpp34 ion_user_handle_t handle = 0; in TEST_F() local
49 ion_user_handle_t handle = 0; in TEST_F() local
64 ion_user_handle_t handle = 0; in TEST_F() local
79 ion_user_handle_t handle = 0; in TEST_F() local
142 ion_user_handle_t handle = 0; in TEST_F() local
Dion_test_fixture.cpp48 ion_user_handle_t handle = 0; in SetUp() local
Dinvalid_values_test.cpp58 ion_user_handle_t handle; in TEST_F() local
160 ion_user_handle_t handle; in TEST_F() local
Dmap_test.cpp35 ion_user_handle_t handle = 0; in TEST_F() local
/system/media/audio_utils/
Dtinysndfile.c70 SNDFILE *handle = (SNDFILE *) malloc(sizeof(SNDFILE)); in sf_open_read() local
303 SNDFILE *handle = (SNDFILE *) malloc(sizeof(SNDFILE)); in sf_open_write() local
330 void sf_close(SNDFILE *handle) in sf_close()
351 sf_count_t sf_readf_short(SNDFILE *handle, short *ptr, sf_count_t desiredFrames) in sf_readf_short()
396 sf_count_t sf_readf_float(SNDFILE *handle, float *ptr, sf_count_t desiredFrames) in sf_readf_float()
443 sf_count_t sf_readf_int(SNDFILE *handle, int *ptr, sf_count_t desiredFrames) in sf_readf_int()
490 sf_count_t sf_writef_short(SNDFILE *handle, const short *ptr, sf_count_t desiredFrames) in sf_writef_short()
527 sf_count_t sf_writef_float(SNDFILE *handle, const float *ptr, sf_count_t desiredFrames) in sf_writef_float()
/system/core/libion/kernel-headers/linux/
Dion.h51 ion_user_handle_t handle; member
55 ion_user_handle_t handle; member
60 ion_user_handle_t handle; member
/system/core/libion/original-kernel-headers/linux/
Dion.h91 ion_user_handle_t handle; member
105 ion_user_handle_t handle; member
114 ion_user_handle_t handle; member
/system/core/include/utils/
DNativeHandle.h35 const native_handle_t* handle() const { in handle() function
/system/core/fastbootd/commands/
Dvirtual_partitions.c37 int try_handle_virtual_partition(struct protocol_handle *handle, const char *arg) in try_handle_virtual_partition()
/system/keymaster/include/keymaster/
Dgoogle_keymaster.h120 keymaster_operation_handle_t handle; member
/system/core/libnativebridge/
Dnative_bridge.cc177 void* handle = dlopen(nb_library_filename, RTLD_LAZY); in LoadNativeBridge() local
473 void* NativeBridgeGetTrampoline(void* handle, const char* name, const char* shorty, in NativeBridgeGetTrampoline()
/system/core/include/system/
Dsound_trigger.h88 sound_trigger_module_handle_t handle; member
Dwindow.h117 buffer_handle_t handle; member
/system/core/sdcard/
Dsdcard.c159 struct handle { struct
163 struct dirhandle { argument

12