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

12

/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.h45 // HAL will deny all requests to open the pod bay doors after this.
57 bool (*open)(void); member in struct:hci_hal_t
H A Dvendor.h54 bool (*open)(const uint8_t* local_bdaddr, const hci_t* hci_interface); member in struct:vendor_t
/system/security/keystore/
H A Dentropy.cpp37 bool Entropy::open() { function in class:Entropy
39 mRandom = TEMP_FAILURE_RETRY(::open(randomDevice, O_RDONLY));
41 ALOGE("open: %s: %s", randomDevice, strerror(errno));
/system/chre/pal/include/chre/pal/
H A Dwifi.h140 bool (*open)(const struct chrePalSystemApi *systemApi, member in struct:chrePalWifiApi
H A Dwwan.h87 bool (*open)(const struct chrePalSystemApi *systemApi, member in struct:chrePalWwanApi
H A Dgnss.h58 * silently (from the client's perspective) restore open sessions.
153 bool (*open)(const struct chrePalSystemApi *systemApi, member in struct:chrePalGnssApi
/system/core/base/
H A Dutf8.cpp159 int open(const char* name, int flags, ...) { function in namespace:android::base::utf8
/system/bt/bta/include/
H A Dbta_pan_api.h81 tBTA_PAN_STATUS status; /* status of open event */
95 tBTA_PAN_OPEN open; /* Connection has been opened. */ member in union:__anon473
157 * When connection is open callback function is called
H A Dbta_hf_client_api.h98 #define BTA_HF_CLIENT_OPEN_EVT 2 /* HF Client connection open */
101 #define BTA_HF_CLIENT_AUDIO_OPEN_EVT 5 /* Audio connection open */
103 6 /* Audio connection with mSBC codec open */
126 /* HF Client open status */
242 tBTA_HF_CLIENT_OPEN open; member in union:__anon375
296 * When connection is open callback function is called
339 * gateway. The data connection remains open
/system/bt/stack/avdt/
H A Davdt_ad.cc295 /* if signaling channel, notify ccb that channel open */
319 * for the channel and sends it an open event.
328 tAVDT_OPEN open; local
333 /* if signaling channel, notify ccb that channel open */
348 /* if media or other channel, notify scb that channel open */
356 open.peer_mtu = p_tbl->peer_mtu;
357 open.lcid = avdt_cb.ad.rt_tbl[p_tbl->ccb_idx][p_tbl->tcid].lcid;
358 open.hdr.err_code = avdt_ad_tcid_to_type(p_tbl->tcid);
359 avdt_scb_event(p_scb, AVDT_SCB_TC_OPEN_EVT, (tAVDT_SCB_EVT*)&open);
387 /* if media or other channel, notify scb that channel open */
[all...]
/system/core/init/
H A Dbootchart.cpp61 if (!result) PLOG(ERROR) << "bootchart: failed to open " << filename;
125 size_t open = stat.find('('); local
127 if (open != std::string::npos && close != std::string::npos) {
128 stat.replace(open + 1, close - open - 1, full_name);
/system/core/libutils/
H A DTokenizer.cpp48 status_t Tokenizer::open(const String8& filename, Tokenizer** outTokenizer) { function in class:android::Tokenizer
52 int fd = ::open(filename.string(), O_RDONLY);
/system/nfc/src/hal/include/
H A Dnfc_hal_api.h88 tHAL_API_OPEN* open; member in struct:__anon1979
/system/bt/bta/ag/
H A Dbta_ag_act.cc71 * Description Send open callback event to application.
79 tBTA_AG_OPEN open; local
81 /* call app callback with open event */
82 open.hdr.handle = bta_ag_scb_to_idx(p_scb);
83 open.hdr.app_id = p_scb->app_id;
84 open.status = status;
85 open.service_id = bta_ag_svc_id[p_scb->conn_service];
87 /* if p_data is provided then we need to pick the bd address from the open
89 bdcpy(open.bd_addr, p_data->api_open.bd_addr);
91 bdcpy(open
[all...]
/system/bt/stack/mcap/
H A Dmca_main.cc314 * for the channel and sends it an open event.
322 tMCA_OPEN open; local
328 open.peer_mtu = p_tbl->peer_mtu;
329 open.lcid = p_tbl->lcid;
332 open.param = MCA_INT;
334 open.param = MCA_ACP;
337 /* if control channel, notify ccb that channel open */
341 mca_ccb_event(p_ccb, MCA_CCB_LL_OPEN_EVT, (tMCA_CCB_EVT*)&open);
343 /* must be data channel, notify dcb that channel open */
350 mca_dcb_event(p_dcb, MCA_DCB_TC_OPEN_EVT, (tMCA_DCB_EVT*)&open);
[all...]
H A Dmca_int.h75 tMCA_OPEN open; member in union:__anon1224
83 MCA_CCB_OPEN_ST, /* open */
102 MCA_CCB_DL_OPEN_EVT, /* data channel open. */
103 MCA_CCB_LL_OPEN_EVT, /* Lower layer open. This event is sent when the lower
104 layer channel is open. */
115 tMCA_OPEN open; member in union:__anon1227
132 MCA_DCB_OPEN_ST, /* open */
144 MCA_DCB_TC_OPEN_EVT, /* Transport Channel open. This event is sent when the
145 channel is open.*/
/system/core/liblog/
H A Dlogger.h47 int (*open)(); /* can be called multiple times, reusing current resources */ member in struct:android_log_transport_write
70 * Expect all to instantiate open automagically on any call,
71 * so we do not have an explicit open call.
/system/extras/libfec/include/fec/
H A Dio.h128 open(fn, mode, flags, roots);
135 bool open(const std::string& fn, int mode = O_RDONLY, int flags = 0, function in class:fec::io
/system/libhwbinder/
H A DProcessState.cpp297 int fd = open("/dev/hwbinder", O_RDWR | O_CLOEXEC);
271 LOG_ALWAYS_FATAL_IF(maxThreads < 1, �); status_t result = NO_ERROR; size_t kernelMaxThreads = maxThreads - 1; if (ioctl(mDriverFD, BINDER_SET_MAX_THREADS, &kernelMaxThreads) != -1) { AutoMutex _l(mLock); mMaxThreads = maxThreads; mSpawnThreadOnStart = !callerJoinsPool; } else { result = -errno; ALOGE(�, strerror(-result)); } return result; } void ProcessState::giveThreadPoolName() { androidSetThreadName( makeBinderThreadName().string() ); } static int open_driver() { int fd = open(�, O_RDWR | O_CLOEXEC); if (fd >= 0) argument
/system/core/adb/
H A Dtransport_local.cpp283 * Redefine open and write for qemu_pipe.h that contains inlined references
286 #undef open macro
289 #define open adb_open macro
293 #undef open macro
296 #define open ___xxx_open macro
H A Dsysdeps.h32 // Include this before open/close/unlink are defined as macros below.
237 #define open ___xxx_unix_open macro
384 // Note that this does not make a HANDLE value work with APIs like open(), nor
385 // does this make a value from open() passable to APIs taking a HANDLE. This
458 // On Unix, this is based on open(), so the file descriptor is a real OS file
468 return TEMP_FAILURE_RETRY( open(path, options) );
477 return TEMP_FAILURE_RETRY( open( path, options, mode ) );
485 return TEMP_FAILURE_RETRY( open( pathname, options, mode ) );
492 // On Unix, this is based on open(), but the Windows implementation (in
498 int fd = TEMP_FAILURE_RETRY( open( pathnam
[all...]
/system/netd/server/
H A DSockDiag.cpp74 bool SockDiag::open() { function in class:android::net::SockDiag
/system/bt/stack/include/
H A Dsdp_api.h85 tSDP_DR_OPEN open; member in union:__anon1186
/system/core/libsparse/
H A Doutput_file.c63 int (*open)(struct output_file *, int fd); member in struct:output_file_ops
182 .open = file_open,
268 .open = gz_file_open,
318 .open = callback_file_open,
678 out->ops->open(out, fd);
760 int file_fd = open(file, O_RDONLY | O_BINARY);

Completed in 925 milliseconds

12