/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 208 bta_pan_co_rx_path(UNUSED_ATTR uint16_t handle, UNUSED_ATTR uint8_t app_id) argument 226 bta_pan_co_tx_write(UNUSED_ATTR uint16_t handle, UNUSED_ATTR uint8_t app_id, UNUSED_ATTR const RawAddress& src, UNUSED_ATTR const RawAddress& 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 249 bta_pan_co_tx_writebuf(UNUSED_ATTR uint16_t handle, UNUSED_ATTR uint8_t app_id, UNUSED_ATTR const RawAddress& src, UNUSED_ATTR const RawAddress& dst, UNUSED_ATTR uint16_t protocol, UNUSED_ATTR BT_HDR* p_buf, UNUSED_ATTR bool ext, UNUSED_ATTR bool forward) argument 273 bta_pan_co_rx_flow(UNUSED_ATTR uint16_t handle, UNUSED_ATTR uint8_t app_id, UNUSED_ATTR bool enable) argument 290 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 307 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, const RawAddress& src, 111 extern BT_HDR* bta_pan_ci_readbuf(uint16_t handle, RawAddress& src, 125 extern void bta_pan_ci_set_pfilters(uint16_t handle, uint16_t num_filters, 139 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, 154 extern void bta_pan_co_tx_writebuf(uint16_t handle, uint8_t app_id, 173 extern void bta_pan_co_rx_flow(uint16_t handle, uint8_t app_id, bool enable); 184 extern void bta_pan_co_pfilt_ind(uint16_t handle, bool indication, 197 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 87 /// Checks if there is opened usb handle in handle_list for this device. 90 /// Checks if there is opened usb handle in handle_list for this device. 94 /// Registers opened usb handle (adds it to handle_list). 95 int register_new_device(usb_handle* handle); 98 int recognized_device(usb_handle* handle); 117 /// Writes data to the opened usb handle 118 int usb_write(usb_handle* handle, const void* data, int len); 120 /// Reads data using the opened usb handle 121 int usb_read(usb_handle *handle, voi 160 register_new_device(usb_handle* handle) argument 355 usb_write(usb_handle* handle, const void* data, int len) argument 419 usb_read(usb_handle *handle, void* data, int len) argument 468 usb_cleanup_handle(usb_handle* handle) argument 490 usb_kick_locked(usb_handle* handle) argument 496 usb_kick(usb_handle* handle) argument 506 usb_close(usb_handle* handle) argument 530 usb_get_max_packet_size(usb_handle* handle) argument 534 recognized_device(usb_handle* handle) argument 585 usb_handle* handle = NULL; local [all...] |
/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 | 34 native_handle_t* handle = (native_handle_t*) storage; local 35 handle->version = sizeof(native_handle_t); 36 handle->numFds = numFds; 37 handle->numInts = numInts; 38 return handle; 57 native_handle_t* native_handle_clone(const native_handle_t* handle) { argument 58 native_handle_t* clone = native_handle_create(handle->numFds, handle->numInts); 61 for (int i = 0; i < handle->numFds; i++) { 62 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/libziparchive/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, const RawAddress& dst, argument 140 p_buf->layer_specific = handle; 160 void bta_pan_ci_rx_writebuf(uint16_t handle, cons argument 184 bta_pan_ci_readbuf(uint16_t handle, RawAddress& src, RawAddress& dst, uint16_t* p_protocol, bool* p_ext, bool* p_forward) argument 213 bta_pan_ci_set_mfilters(uint16_t handle, uint16_t num_mcast_filters, uint8_t* p_start_array, uint8_t* p_end_array) argument 229 bta_pan_ci_set_pfilters(uint16_t handle, uint16_t num_filters, uint16_t* p_start_array, uint16_t* p_end_array) argument 235 bta_pan_ci_tx_ready(UNUSED_ATTR uint16_t handle) argument 237 bta_pan_ci_rx_ready(UNUSED_ATTR uint16_t handle) argument 239 bta_pan_ci_tx_flow(UNUSED_ATTR uint16_t handle, UNUSED_ATTR bool enable) argument 241 bta_pan_ci_rx_writebuf(UNUSED_ATTR uint16_t handle, UNUSED_ATTR const RawAddress& src, UNUSED_ATTR const RawAddress& dst, UNUSED_ATTR uint16_t protocol, UNUSED_ATTR BT_HDR* p_buf, UNUSED_ATTR bool ext) argument 247 bta_pan_ci_readbuf(UNUSED_ATTR uint16_t handle, UNUSED_ATTR RawAddress& src, UNUSED_ATTR RawAddress& dst, UNUSED_ATTR uint16_t* p_protocol, UNUSED_ATTR bool* p_ext, UNUSED_ATTR bool* p_forward) argument 256 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 261 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/service/common/android/bluetooth/ |
H A D | IBluetoothGattServerCallback.aidl | 27 int request_id, int offset, boolean is_long, int handle); 30 int request_id, int offset, boolean is_long, int handle); 34 in byte[] value, int handle); 38 in byte[] value, int handle);
|
/system/bt/stack/include/ |
H A D | avct_api.h | 38 #define AVCT_BAD_HANDLE 2 /* Bad handle */ 104 typedef void(tAVCT_CTRL_CBACK)(uint8_t handle, uint8_t event, uint16_t result, 109 typedef void(tAVCT_MSG_CBACK)(uint8_t handle, uint8_t label, uint8_t cr, 190 extern uint16_t AVCT_RemoveConn(uint8_t handle); 209 extern uint16_t AVCT_CreateBrowse(uint8_t handle, uint8_t role); 224 extern uint16_t AVCT_RemoveBrowse(uint8_t handle); 236 extern uint16_t AVCT_GetBrowseMtu(uint8_t handle); 248 extern uint16_t AVCT_GetPeerMtu(uint8_t handle); 273 extern uint16_t AVCT_MsgReq(uint8_t handle, uint8_t label, uint8_t cr,
|
/system/core/trusty/storage/tests/ |
H A D | main.cpp | 103 void WriteReadAtOffsetHelper(file_handle_t handle, size_t blk, size_t cnt, bool complete); 105 void WriteZeroChunk(file_handle_t handle, storage_off_t off, size_t chunk_len, bool complete ); 106 void WritePatternChunk(file_handle_t handle, storage_off_t off, size_t chunk_len, bool complete); 107 void WritePattern(file_handle_t handle, storage_off_t off, size_t data_len, size_t chunk_len, bool complete); 109 void ReadChunk(file_handle_t handle, storage_off_t off, size_t chunk_len, 111 void ReadPattern(file_handle_t handle, storage_off_t off, size_t data_len, size_t chunk_len); 112 void ReadPatternEOF(file_handle_t handle, storage_off_t off, size_t chunk_len, size_t exp_len); 126 void StorageServiceTest::WriteZeroChunk(file_handle_t handle, storage_off_t off, argument 137 rc = storage_write(handle, off, data_buf, sizeof(data_buf), 142 void StorageServiceTest::WritePatternChunk(file_handle_t handle, storage_off_ argument 158 WritePattern(file_handle_t handle, storage_off_t off, size_t data_len, size_t chunk_len, bool complete) argument 174 ReadChunk(file_handle_t handle, storage_off_t off, size_t chunk_len, size_t head_len, size_t pattern_len, size_t tail_len) argument 206 ReadPattern(file_handle_t handle, storage_off_t off, size_t data_len, size_t chunk_len) argument 227 ReadPatternEOF(file_handle_t handle, storage_off_t off, size_t chunk_len, size_t exp_len) argument 252 file_handle_t handle; local 297 file_handle_t handle; local 334 file_handle_t handle; local 368 file_handle_t handle; local 396 file_handle_t handle; local 423 file_handle_t handle; local 465 file_handle_t handle; local 591 file_handle_t handle; local 637 file_handle_t handle; local 680 file_handle_t handle; local 747 WriteReadAtOffsetHelper(file_handle_t handle, size_t blk, size_t cnt, bool complete) argument 794 file_handle_t handle; local 822 file_handle_t handle; local 845 file_handle_t handle; local 866 file_handle_t handle; local 898 file_handle_t handle; local 918 file_handle_t handle; local 939 file_handle_t handle; local 959 file_handle_t handle; local 979 file_handle_t handle; local 996 file_handle_t handle; local 1013 file_handle_t handle; local 1030 file_handle_t handle; local 1055 file_handle_t handle; local 1082 file_handle_t handle; local 1125 file_handle_t handle; local 1238 file_handle_t handle; local 1282 file_handle_t handle; local 1328 file_handle_t handle; local 1446 file_handle_t handle; local 1495 file_handle_t handle; local 1550 file_handle_t handle; local 1597 file_handle_t handle; local 1643 file_handle_t handle; local 1667 file_handle_t handle; local 1746 file_handle_t handle; local 1853 file_handle_t handle; local 1945 file_handle_t handle; local 2002 file_handle_t handle; local 2082 file_handle_t handle; local 2331 file_handle_t handle; local 2424 file_handle_t handle; local 2472 file_handle_t handle; local 2529 file_handle_t handle; local [all...] |