Searched defs:open (Results 1 - 23 of 23) sorted by relevance

/system/bt/hci/include/
H A Dhci_inject.h28 bool (*open)(const hci_t *hci_interface); member in struct:hci_inject_t
H A Dhci_hal.h44 // HAL will deny all requests to open the pod bay doors after this.
54 bool (*open)(void); member in struct:hci_hal_t
H A Dvendor.h51 bool (*open)( member in struct:vendor_t
/system/core/adb/
H A Dqemu_tracing.cpp27 * Redefine open and write for qemu_pipe.h that contains inlined references
31 #undef open macro
33 #define open adb_open macro
36 #undef open macro
38 #define open ___xxx_open macro
H A Dtransport_local.cpp172 * Redefine open and write for qemu_pipe.h that contains inlined references
175 #undef open macro
177 #define open adb_open macro
180 #undef open macro
182 #define open ___xxx_open macro
H A Dsysdeps.h170 return open(path, options);
179 return open(path, options, mode);
182 #define open ___xxx_unix_open macro
327 return TEMP_FAILURE_RETRY( open(path, options) );
336 return TEMP_FAILURE_RETRY( open( path, options, mode ) );
342 return TEMP_FAILURE_RETRY( open( pathname, options, mode ) );
348 int fd = TEMP_FAILURE_RETRY( open( pathname, options ) );
354 #undef open macro
355 #define open ___xxx_open macro
/system/bt/bta/include/
H A Dbta_pan_api.h90 tBTA_PAN_STATUS status; /* status of open event */
106 tBTA_PAN_OPEN open; /* Connection has been opened. */ member in union:__anon500
172 ** When connection is open callback function is called
H A Dbta_hf_client_api.h84 #define BTA_HF_CLIENT_OPEN_EVT 2 /* HF Client connection open */
87 #define BTA_HF_CLIENT_AUDIO_OPEN_EVT 5 /* Audio connection open */
88 #define BTA_HF_CLIENT_AUDIO_MSBC_OPEN_EVT 6 /* Audio connection with mSBC codec open */
108 /* HF Client open status */
235 tBTA_HF_CLIENT_OPEN open; member in union:__anon400
317 ** When connection is open callback function is called
358 ** gateway. The data connection remains open
H A Dbta_ag_api.h60 /* AG open status */
226 #define BTA_AG_OPEN_EVT 2 /* AG connection open */
229 #define BTA_AG_AUDIO_OPEN_EVT 5 /* Audio connection open */
315 tBTA_AG_OPEN open; member in union:__anon269
447 ** When connection is open callback function is called
488 ** or hnadsfree. The data connection remains open
H A Dbta_av_api.h238 #define BTA_AV_RC_OPEN_EVT 8 /* remote control channel open */
247 * signal channel is open and stream is not open
434 tBTA_AV_OPEN open; member in union:__anon342
556 ** be called before AVDT stream is open.
581 ** When connection is open callback function is called
H A Dbta_gatt_api.h115 #define BTA_GATTC_OPEN_EVT 2 /* GATTC open request status event */
127 #define BTA_GATTC_CANCEL_OPEN_EVT 14 /* cancel open event */
409 tBTA_GATTC_OPEN open; member in union:__anon376
1342 ** Description Open a direct open connection or add a background auto connection
1360 ** Description Cancel a direct open connection or remove a background auto connection
/system/bt/stack/avdt/
H A Davdt_ad.c338 /* if signaling channel, notify ccb that channel open */
364 ** for the channel and sends it an open event.
374 tAVDT_OPEN open; local
379 /* if signaling channel, notify ccb that channel open */
395 /* if media or other channel, notify scb that channel open */
404 open.peer_mtu = p_tbl->peer_mtu;
405 open.lcid = avdt_cb.ad.rt_tbl[p_tbl->ccb_idx][p_tbl->tcid].lcid;
406 open.hdr.err_code = avdt_ad_tcid_to_type(p_tbl->tcid);
407 avdt_scb_event(p_scb, AVDT_SCB_TC_OPEN_EVT, (tAVDT_SCB_EVT *) &open);
438 /* if media or other channel, notify scb that channel open */
[all...]
H A Davdt_int.h473 tAVDT_OPEN open; member in union:__anon803
/system/core/libutils/
H A DTokenizer.cpp52 status_t Tokenizer::open(const String8& filename, Tokenizer** outTokenizer) { function in class:android::Tokenizer
56 int fd = ::open(filename.string(), O_RDONLY);
/system/bt/bta/ag/
H A Dbta_ag_act.c83 ** Description Send open callback event to application.
91 tBTA_AG_OPEN open; local
93 /* call app callback with open event */
94 open.hdr.handle = bta_ag_scb_to_idx(p_scb);
95 open.hdr.app_id = p_scb->app_id;
96 open.status = status;
97 open.service_id = bta_ag_svc_id[p_scb->conn_service];
100 /* if p_data is provided then we need to pick the bd address from the open api structure */
101 bdcpy(open.bd_addr, p_data->api_open.bd_addr);
105 bdcpy(open
[all...]
/system/bt/stack/mcap/
H A Dmca_main.c347 ** for the channel and sends it an open event.
356 tMCA_OPEN open; local
361 open.peer_mtu = p_tbl->peer_mtu;
362 open.lcid = p_tbl->lcid;
365 open.param = MCA_INT;
368 open.param = MCA_ACP;
371 /* if control channel, notify ccb that channel open */
376 mca_ccb_event(p_ccb, MCA_CCB_LL_OPEN_EVT, (tMCA_CCB_EVT *)&open);
378 /* must be data channel, notify dcb that channel open */
387 mca_dcb_event(p_dcb, MCA_DCB_TC_OPEN_EVT, (tMCA_DCB_EVT *) &open);
[all...]
H A Dmca_int.h74 tMCA_OPEN open; member in union:__anon1229
83 MCA_CCB_OPEN_ST, /* open */
98 MCA_CCB_DL_OPEN_EVT, /* data channel open. */
99 MCA_CCB_LL_OPEN_EVT, /* Lower layer open. This event is sent when the lower layer channel is open. */
107 tMCA_OPEN open; member in union:__anon1232
123 MCA_DCB_OPEN_ST, /* open */
134 MCA_DCB_TC_OPEN_EVT, /* Transport Channel open. This event is sent when the channel is open.*/
/system/core/init/
H A Dbootchart.cpp140 size_t open = stat.find('('); local
142 if (open != std::string::npos && close != std::string::npos) {
143 stat.replace(open + 1, close - open - 1, full_name);
198 close(open(LOG_ACCT, O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC, 0644));
/system/bt/stack/include/
H A Dsdp_api.h89 tSDP_DR_OPEN open; member in union:__anon1161
/system/core/libsparse/
H A Doutput_file.c63 int (*open)(struct output_file *, int fd); member in struct:output_file_ops
177 .open = file_open,
261 .open = gz_file_open,
311 .open = callback_file_open,
671 out->ops->open(out, fd);
751 int file_fd = open(file, O_RDONLY | O_BINARY);
/system/bt/bta/av/
H A Dbta_av_aact.c414 /* if no streams available then stream open fails */
779 tBTA_AV_API_OPEN *p_buf = &p_scb->q_info.open;
887 /* Continue av open process */
888 p_scb->q_info.open.switch_res = BTA_AV_RS_DONE;
889 bta_av_do_disc_a2d (p_scb, (tBTA_AV_DATA *)&(p_scb->q_info.open));
945 memcpy(&p_scb->q_info.open, &p_data->api_open, sizeof(tBTA_AV_API_OPEN));
962 p_data = (tBTA_AV_DATA *)&p_scb->q_info.open;
963 /* continue to open if link role is ok */
1373 tBTA_AV_OPEN open; local
1401 p_scb->p_cos->open(p_sc
1801 tBTA_AV_OPEN open; local
[all...]
H A Dbta_av_int.h189 tBTA_AV_CO_OPEN open; member in struct:__anon36
442 tBTA_AV_API_OPEN open; /* used only before open and role switch member in union:__anon61
463 #define BTA_AV_COLL_API_CALLED 0x02 /* API open was called while incoming timer is running */
486 tBTA_AV_STATUS open_status; /* open failure status */
586 UINT8 rs_idx; /* (index + 1) to SCB for the one waiting for RS on open */
/system/security/keystore/
H A Dkeystore.cpp546 bool open() { function in class:Entropy
548 mRandom = TEMP_FAILURE_RETRY(::open(randomDevice, O_RDONLY));
550 ALOGE("open: %s: %s", randomDevice, strerror(errno));
748 int out = TEMP_FAILURE_RETRY(open(tmpFileName,
751 ALOGW("could not open file: %s: %s", tmpFileName, strerror(errno));
772 int in = TEMP_FAILURE_RETRY(open(filename, O_RDONLY));
932 int in = TEMP_FAILURE_RETRY(open(src->getMasterKeyFileName(), O_RDONLY));
941 int out = TEMP_FAILURE_RETRY(open(mMasterKeyFile,
969 int in = TEMP_FAILURE_RETRY(open(mMasterKeyFile, O_RDONLY));
1041 ALOGW("couldn't open use
[all...]

Completed in 513 milliseconds