/system/bt/btif/include/ |
H A D | btif_avrcp_audio_track.h | 30 * Creates an audio track object and returns a void handle. Use this handle to 34 * The ownership of the handle is maintained by the caller of this API and it 43 void BtifAvrcpAudioTrackStart(void* handle); 48 void BtifAvrcpAudioTrackPause(void* handle); 53 void BtifAvrcpSetAudioTrackGain(void* handle, float gain); 59 void BtifAvrcpAudioTrackStop(void* handle); 60 void BtifAvrcpAudioTrackDelete(void* handle); 67 int BtifAvrcpAudioTrackWriteData(void* handle, void* audioBuffer,
|
H A D | btif_sm.h | 66 * Returns Returns a pointer to the initialized state machine handle. 81 void btif_sm_shutdown(btif_sm_handle_t handle); 92 btif_sm_state_t btif_sm_get_state(btif_sm_handle_t handle); 104 bt_status_t btif_sm_dispatch(btif_sm_handle_t handle, btif_sm_event_t event, 119 bt_status_t btif_sm_change_state(btif_sm_handle_t handle,
|
H A D | btif_sock_thread.h | 47 int btsock_thread_add_fd(int handle, int fd, int type, int flags, 50 int btsock_thread_wakeup(int handle); 51 int btsock_thread_post_cmd(int handle, int cmd_type, 56 int btsock_thread_exit(int handle);
|
/system/bt/btif/co/ |
H A D | bta_ag_co.cc | 54 void bta_ag_co_data_open(uint16_t handle, tBTA_SERVICE_ID service) { argument 55 BTIF_TRACE_DEBUG("bta_ag_co_data_open handle:%d service:%d", handle, service); 69 void bta_ag_co_data_close(uint16_t handle) { argument 70 BTIF_TRACE_DEBUG("bta_ag_co_data_close handle:%d", handle); 85 void bta_ag_co_tx_write(uint16_t handle, UNUSED_ATTR uint8_t* p_data, argument 87 BTIF_TRACE_DEBUG("bta_ag_co_tx_write: handle: %d, len: %d", handle, len);
|
H A D | bta_pan_co.cc | 75 void bta_pan_co_open(uint16_t handle, uint8_t app_id, tBTA_PAN_ROLE local_role, argument 79 "handle:%d", 80 app_id, local_role, peer_role, handle); 83 conn = btpan_new_conn(handle, peer_addr, local_role, peer_role); 87 "conn->handle:%d should = handle:%d, local_role:%d, remote_role:%d", 88 btpan_cb.tap_fd, btpan_cb.open_count, conn->handle, handle, 93 conn->handle = handle; 118 bta_pan_co_close(uint16_t handle, uint8_t app_id) argument 154 bta_pan_co_tx_path(uint16_t handle, uint8_t app_id) argument 214 bta_pan_co_rx_path(UNUSED_ATTR uint16_t handle, UNUSED_ATTR uint8_t app_id) argument 232 bta_pan_co_tx_write(UNUSED_ATTR uint16_t handle, UNUSED_ATTR uint8_t app_id, UNUSED_ATTR BD_ADDR src, UNUSED_ATTR BD_ADDR dst, UNUSED_ATTR uint16_t protocol, UNUSED_ATTR uint8_t* p_data, UNUSED_ATTR uint16_t len, UNUSED_ATTR bool ext, UNUSED_ATTR bool forward) argument 253 bta_pan_co_tx_writebuf(UNUSED_ATTR uint16_t handle, UNUSED_ATTR uint8_t app_id, UNUSED_ATTR BD_ADDR src, UNUSED_ATTR BD_ADDR dst, UNUSED_ATTR uint16_t protocol, UNUSED_ATTR BT_HDR* p_buf, UNUSED_ATTR bool ext, UNUSED_ATTR bool forward) argument 276 bta_pan_co_rx_flow(UNUSED_ATTR uint16_t handle, UNUSED_ATTR uint8_t app_id, UNUSED_ATTR bool enable) argument 293 bta_pan_co_pfilt_ind(UNUSED_ATTR uint16_t handle, UNUSED_ATTR bool indication, UNUSED_ATTR tBTA_PAN_STATUS result, UNUSED_ATTR uint16_t len, UNUSED_ATTR uint8_t* p_filters) argument 310 bta_pan_co_mfilt_ind(UNUSED_ATTR uint16_t handle, UNUSED_ATTR bool indication, UNUSED_ATTR tBTA_PAN_STATUS result, UNUSED_ATTR uint16_t len, UNUSED_ATTR uint8_t* p_filters) argument [all...] |
/system/bt/bta/include/ |
H A D | bta_ag_ci.h | 43 extern void bta_ag_ci_rx_write(uint16_t handle, char* p_data, uint16_t len); 56 extern void bta_ag_ci_slc_ready(uint16_t handle); 68 extern void bta_ag_ci_wbs_command(uint16_t handle, char* p_data, uint16_t len);
|
H A D | bta_ag_co.h | 58 extern void bta_ag_co_data_open(uint16_t handle, tBTA_SERVICE_ID service); 71 extern void bta_ag_co_data_close(uint16_t handle); 85 extern void bta_ag_co_tx_write(uint16_t handle, uint8_t* p_data, uint16_t len);
|
H A D | bta_pan_ci.h | 46 extern void bta_pan_ci_tx_ready(uint16_t handle); 61 extern void bta_pan_ci_rx_ready(uint16_t handle); 69 * disable data flow when it is congested and cannot handle 78 extern void bta_pan_ci_tx_flow(uint16_t handle, bool enable); 94 extern void bta_pan_ci_rx_writebuf(uint16_t handle, BD_ADDR src, BD_ADDR dst, 110 extern BT_HDR* bta_pan_ci_readbuf(uint16_t handle, BD_ADDR src, BD_ADDR dst, 124 extern void bta_pan_ci_set_pfilters(uint16_t handle, uint16_t num_filters, 138 extern void bta_pan_ci_set_mfilters(uint16_t handle, uint16_t num_mcast_filters,
|
H A D | bta_pan_co.h | 76 extern void bta_pan_co_open(uint16_t handle, uint8_t app_id, 91 extern void bta_pan_co_close(uint16_t handle, uint8_t app_id); 106 extern void bta_pan_co_tx_path(uint16_t handle, uint8_t app_id); 121 extern void bta_pan_co_rx_path(uint16_t handle, uint8_t app_id); 136 extern void bta_pan_co_tx_write(uint16_t handle, uint8_t app_id, BD_ADDR src, 153 extern void bta_pan_co_tx_writebuf(uint16_t handle, uint8_t app_id, BD_ADDR src, 171 extern void bta_pan_co_rx_flow(uint16_t handle, uint8_t app_id, bool enable); 182 extern void bta_pan_co_pfilt_ind(uint16_t handle, bool indication, 195 extern void bta_pan_co_mfilt_ind(uint16_t handle, bool indication,
|
/system/core/libutils/ |
H A D | NativeHandle.cpp | 22 sp<NativeHandle> NativeHandle::create(native_handle_t* handle, bool ownsHandle) { argument 23 return handle ? new NativeHandle(handle, ownsHandle) : NULL; 26 NativeHandle::NativeHandle(native_handle_t* handle, bool ownsHandle) argument 27 : mHandle(handle), mOwnsHandle(ownsHandle) {
|
/system/media/audio_utils/ |
H A D | tinysndfile.c | 75 SNDFILE *handle = (SNDFILE *) malloc(sizeof(SNDFILE)); local 76 handle->mode = SFM_READ; 77 handle->temp = NULL; 78 handle->stream = stream; 79 handle->info.format = SF_FORMAT_WAV; 209 handle->bytesPerFrame = bytesPerFrame; 210 handle->info.samplerate = samplerate; 211 handle->info.channels = channels; 214 handle->info.format |= SF_FORMAT_PCM_U8; 217 handle 367 SNDFILE *handle = (SNDFILE *) malloc(sizeof(SNDFILE)); local 398 sf_close(SNDFILE *handle) argument 419 sf_readf_short(SNDFILE *handle, short *ptr, sf_count_t desiredFrames) argument 468 sf_readf_float(SNDFILE *handle, float *ptr, sf_count_t desiredFrames) argument 519 sf_readf_int(SNDFILE *handle, int *ptr, sf_count_t desiredFrames) argument 570 sf_writef_short(SNDFILE *handle, const short *ptr, sf_count_t desiredFrames) argument 607 sf_writef_float(SNDFILE *handle, const float *ptr, sf_count_t desiredFrames) argument 632 sf_writef_int(SNDFILE *handle, const int *ptr, sf_count_t desiredFrames) argument [all...] |
/system/core/libvndksupport/include/vndksupport/ |
H A D | linker.h | 25 int android_unload_sphal_library(void* handle);
|
/system/core/adb/client/ |
H A D | usb_windows.cpp | 46 rely on AdbWinApi.dll's handle validation and AdbCloseHandle(endpoint)'s 84 /// Checks if there is opened usb handle in handle_list for this device. 87 /// Checks if there is opened usb handle in handle_list for this device. 91 /// Registers opened usb handle (adds it to handle_list). 92 int register_new_device(usb_handle* handle); 95 int recognized_device(usb_handle* handle); 114 /// Writes data to the opened usb handle 115 int usb_write(usb_handle* handle, const void* data, int len); 117 /// Reads data using the opened usb handle 118 int usb_read(usb_handle *handle, voi 157 register_new_device(usb_handle* handle) argument 354 usb_write(usb_handle* handle, const void* data, int len) argument 418 usb_read(usb_handle *handle, void* data, int len) argument 467 usb_cleanup_handle(usb_handle* handle) argument 489 usb_kick_locked(usb_handle* handle) argument 495 usb_kick(usb_handle* handle) argument 505 usb_close(usb_handle* handle) argument 529 recognized_device(usb_handle* handle) argument 579 usb_handle* handle = NULL; local [all...] |
H A D | usb_osx.cpp | 82 static void usb_kick_locked(usb_handle* handle); 95 static void AddDevice(std::unique_ptr<usb_handle> handle) { argument 96 handle->mark = true; 98 g_usb_handles.push_back(std::move(handle)); 291 std::unique_ptr<usb_handle> handle = CheckInterface((IOUSBInterfaceInterface190**)iface, local 293 if (handle == nullptr) { 298 handle->devpath = devpath; 299 usb_handle* handle_p = handle.get(); 301 AddDevice(std::move(handle)); 324 std::unique_ptr<usb_handle> handle; local 452 usb_write(usb_handle *handle, const void *buf, int len) argument 491 usb_read(usb_handle *handle, void *buf, int len) argument 531 usb_close(usb_handle *handle) argument 543 usb_kick_locked(usb_handle *handle) argument 558 usb_kick(usb_handle *handle) argument [all...] |
/system/core/libvndksupport/ |
H A D | linker.c | 32 void* handle = android_dlopen_ext(name, flag, &dlextinfo); local 33 if (!handle) { 36 return handle; 46 int android_unload_sphal_library(void* handle) { return dlclose(handle); } argument
|
/system/bt/btif/src/ |
H A D | btif_sock_sdp.cc | 140 "record, handle: 0x%08x, scn: %d, name: %s, with_obex: %d", 159 uint32_t handle = SDP_CreateRecord(); local 160 if (handle == 0) { 180 if (!create_base_record(handle, name, channel, false /* with_obex */)) 189 if (!SDP_AddSequence(handle, (uint16_t)ATTR_ID_SERVICE_CLASS_ID_LIST, 1, 195 "service_name: %s, handle: 0x%08x", 196 name, handle); 197 return handle; 200 SDP_DeleteRecord(handle); 213 uint32_t handle local 267 uint32_t handle = SDP_CreateRecord(); local 341 int handle = SDP_CreateRecord(); local 403 int handle = 0; local 466 del_rfc_sdp_rec(int handle) argument [all...] |
H A D | btif_sm.cc | 56 * Returns Returns a pointer to the initialized state machine handle. 86 void btif_sm_shutdown(btif_sm_handle_t handle) { argument 87 btif_sm_cb_t* p_cb = (btif_sm_cb_t*)handle; 90 BTIF_TRACE_ERROR("%s : Invalid handle", __func__); 105 btif_sm_state_t btif_sm_get_state(btif_sm_handle_t handle) { argument 106 btif_sm_cb_t* p_cb = (btif_sm_cb_t*)handle; 109 BTIF_TRACE_ERROR("%s : Invalid handle", __func__); 128 bt_status_t btif_sm_dispatch(btif_sm_handle_t handle, btif_sm_event_t event, argument 132 btif_sm_cb_t* p_cb = (btif_sm_cb_t*)handle; 135 BTIF_TRACE_ERROR("%s : Invalid handle", __func_ 159 btif_sm_change_state(btif_sm_handle_t handle, btif_sm_state_t state) argument [all...] |
/system/media/audio_utils/include/audio_utils/ |
H A D | sndfile.h | 64 void sf_close(SNDFILE *handle); 70 sf_count_t sf_readf_short(SNDFILE *handle, int16_t *ptr, sf_count_t desired); 71 sf_count_t sf_readf_float(SNDFILE *handle, float *ptr, sf_count_t desired); 72 sf_count_t sf_readf_int(SNDFILE *handle, int *ptr, sf_count_t desired); 78 sf_count_t sf_writef_short(SNDFILE *handle, const int16_t *ptr, sf_count_t desired); 79 sf_count_t sf_writef_float(SNDFILE *handle, const float *ptr, sf_count_t desired); 80 sf_count_t sf_writef_int(SNDFILE *handle, const int *ptr, sf_count_t desired);
|
/system/core/libcutils/ |
H A D | native_handle.c | 37 native_handle_t* handle = (native_handle_t*) storage; local 38 handle->version = sizeof(native_handle_t); 39 handle->numFds = numFds; 40 handle->numInts = numInts; 42 return handle; 61 native_handle_t* native_handle_clone(const native_handle_t* handle) argument 63 native_handle_t* clone = native_handle_create(handle->numFds, handle->numInts); 66 for (i = 0; i < handle->numFds; i++) { 67 clone->data[i] = dup(handle [all...] |
/system/tpm/trunks/ |
H A D | scoped_key_handle_test.cc | 50 TPM_HANDLE handle = TPM_RH_FIRST; local 51 ScopedKeyHandle scoped_handle(factory_, handle); 52 EXPECT_CALL(mock_tpm_, FlushContextSync(handle, _)) 57 TPM_HANDLE handle = TPM_RH_FIRST; local 58 ScopedKeyHandle scoped_handle(factory_, handle); 59 EXPECT_EQ(handle, scoped_handle.get()); 63 TPM_HANDLE handle = TPM_RH_FIRST; local 64 ScopedKeyHandle scoped_handle(factory_, handle); 65 EXPECT_EQ(handle, scoped_handle.release()); 83 TPM_HANDLE handle local [all...] |
/system/core/include/ziparchive/ |
H A D | zip_archive_stream_entry.h | 33 static ZipArchiveStreamEntry* Create(ZipArchiveHandle handle, const ZipEntry& entry); 34 static ZipArchiveStreamEntry* CreateRaw(ZipArchiveHandle handle, const ZipEntry& entry); 37 ZipArchiveStreamEntry(ZipArchiveHandle handle) : handle_(handle) {} argument
|
/system/bt/bta/pan/ |
H A D | bta_pan_ci.cc | 54 void bta_pan_ci_tx_ready(uint16_t handle) { argument 57 p_buf->layer_specific = handle; 76 void bta_pan_ci_rx_ready(uint16_t handle) { argument 79 p_buf->layer_specific = handle; 91 * disable data flow when it is congested and cannot handle 100 void bta_pan_ci_tx_flow(uint16_t handle, bool enable) { argument 104 p_buf->hdr.layer_specific = handle; 123 void bta_pan_ci_rx_write(uint16_t handle, BD_ADDR dst, BD_ADDR src, argument 140 p_buf->layer_specific = handle; 160 void bta_pan_ci_rx_writebuf(uint16_t handle, BD_ADD argument 183 bta_pan_ci_readbuf(uint16_t handle, BD_ADDR src, BD_ADDR dst, uint16_t* p_protocol, bool* p_ext, bool* p_forward) argument 212 bta_pan_ci_set_mfilters(uint16_t handle, uint16_t num_mcast_filters, uint8_t* p_start_array, uint8_t* p_end_array) argument 228 bta_pan_ci_set_pfilters(uint16_t handle, uint16_t num_filters, uint16_t* p_start_array, uint16_t* p_end_array) argument 234 bta_pan_ci_tx_ready(UNUSED_ATTR uint16_t handle) argument 236 bta_pan_ci_rx_ready(UNUSED_ATTR uint16_t handle) argument 238 bta_pan_ci_tx_flow(UNUSED_ATTR uint16_t handle, UNUSED_ATTR bool enable) argument 240 bta_pan_ci_rx_writebuf(UNUSED_ATTR uint16_t handle, UNUSED_ATTR BD_ADDR src, UNUSED_ATTR BD_ADDR dst, UNUSED_ATTR uint16_t protocol, UNUSED_ATTR BT_HDR* p_buf, UNUSED_ATTR bool ext) argument 245 bta_pan_ci_readbuf(UNUSED_ATTR uint16_t handle, UNUSED_ATTR BD_ADDR src, UNUSED_ATTR BD_ADDR dst, UNUSED_ATTR uint16_t* p_protocol, UNUSED_ATTR bool* p_ext, UNUSED_ATTR bool* p_forward) argument 253 bta_pan_ci_set_pfilters(UNUSED_ATTR uint16_t handle, UNUSED_ATTR uint16_t num_filters, UNUSED_ATTR uint16_t* p_start_array, UNUSED_ATTR uint16_t* p_end_array) argument 258 bta_pan_ci_set_mfilters(UNUSED_ATTR uint16_t handle, UNUSED_ATTR uint16_t num_mcast_filters, UNUSED_ATTR uint8_t* p_start_array, UNUSED_ATTR uint8_t* p_end_array) argument [all...] |
/system/core/fastboot/ |
H A D | usb_windows.cpp | 71 WindowsUsbTransport(std::unique_ptr<usb_handle> handle) : handle_(std::move(handle)) {} argument 88 int recognized_device(usb_handle* handle, ifc_match_func callback); 93 /// Cleans up opened usb handle 94 void usb_cleanup_handle(usb_handle* handle); 96 /// Cleans up (but don't close) opened usb handle 97 void usb_kick(usb_handle* handle); 101 // Allocate our handle 184 DBG("usb_write NULL handle\n"); 217 DBG("usb_read NULL handle\ 226 usb_cleanup_handle(usb_handle* handle) argument 242 usb_kick(usb_handle* handle) argument 263 recognized_device(usb_handle* handle, ifc_match_func callback) argument 315 std::unique_ptr<usb_handle> handle; local 362 std::unique_ptr<usb_handle> handle = find_usb_device(callback); local [all...] |
/system/core/libion/ |
H A D | ion.c | 63 unsigned int flags, ion_user_handle_t *handle) 73 if (handle == NULL) 79 *handle = data.handle; 83 int ion_free(int fd, ion_user_handle_t handle) argument 86 .handle = handle, 91 int ion_map(int fd, ion_user_handle_t handle, size_t length, int prot, argument 97 .handle = handle, 62 ion_alloc(int fd, size_t len, size_t align, unsigned int heap_mask, unsigned int flags, ion_user_handle_t *handle) argument 122 ion_share(int fd, ion_user_handle_t handle, int *share_fd) argument 145 ion_user_handle_t handle; local 156 ion_import(int fd, int share_fd, ion_user_handle_t *handle) argument [all...] |
/system/bt/stack/pan/ |
H A D | pan_main.cc | 82 * Parameters: handle - handle for the connection 92 void pan_conn_ind_cb(uint16_t handle, BD_ADDR p_bda, tBT_UUID* remote_uuid, argument 136 BNEP_ConnectResp(handle, BNEP_CONN_FAILED_SRC_UUID); 168 BNEP_ConnectResp(handle, BNEP_CONN_FAILED_DST_UUID); 173 "pan_conn_ind_cb - for handle %d, current role %d, dst uuid 0x%x, src " 175 handle, pan_cb.role, local_uuid->uu.uuid16, remote_uuid->uu.uuid16, 181 BNEP_ConnectResp(handle, BNEP_CONN_FAILED_UUID_SIZE); 190 BNEP_ConnectResp(handle, BNEP_CONN_FAILED_SRC_UUID); 199 BNEP_ConnectResp(handle, BNEP_CONN_FAILED_DST_UUI 316 pan_connect_state_cb(uint16_t handle, UNUSED_ATTR BD_ADDR rem_bda, tBNEP_RESULT result, bool is_role_change) argument 415 pan_data_ind_cb(uint16_t handle, uint8_t* src, uint8_t* dst, uint16_t protocol, uint8_t* p_data, uint16_t len, bool ext) argument 509 pan_data_buf_ind_cb(uint16_t handle, uint8_t* src, uint8_t* dst, uint16_t protocol, BT_HDR* p_buf, bool ext) argument 615 pan_tx_data_flow_cb(uint16_t handle, tBNEP_RESULT event) argument 642 pan_proto_filt_ind_cb(uint16_t handle, bool indication, tBNEP_RESULT result, uint16_t num_filters, uint8_t* p_filters) argument 676 pan_mcast_filt_ind_cb(uint16_t handle, bool indication, tBNEP_RESULT result, uint16_t num_filters, uint8_t* p_filters) argument [all...] |