Searched defs:enable (Results 1 - 25 of 71) sorted by relevance

123

/system/core/libsuspend/
H A Dautosuspend_ops.h21 int (*enable)(void); member in struct:autosuspend_ops
/system/core/adb/
H A Dsysdeps_unix.cpp20 int enable = (interval_sec > 0); local
21 if (adb_setsockopt(fd, SOL_SOCKET, SO_KEEPALIVE, &enable, sizeof(enable))) {
25 if (!enable) {
H A Dset_verity_enable_state_service.cpp47 const char* mount_point, bool enable)
70 if (!enable && metadata.disabled) {
75 if (enable && !metadata.disabled) {
80 if (!fh.set_verity_status(enable)) {
82 enable ? "enabled" : "disabled",
87 WriteFdFmt(fd, "Verity %s on %s\n", enable ? "enabled" : "disabled", mount_point);
93 bool enable = (cookie != NULL); local
127 enable)) {
138 enable ? "enable"
46 set_verity_enabled_state(int fd, const char *block_device, const char* mount_point, bool enable) argument
[all...]
/system/bt/bta/mce/
H A Dbta_mce_int.h63 tBTA_MCE_API_ENABLE enable; member in union:__anon526
/system/bt/main/
H A Dbte_main.c147 ** part of the Bluetooth stack enable sequence
206 void bte_main_enable_lpm(BOOLEAN enable) argument
208 hci->send_low_power_command(enable ? LPM_ENABLE : LPM_DISABLE);
/system/connectivity/dhcp_client/
H A Ddhcp_options_parser.cc154 bool* enable = static_cast<bool*>(value); local
156 *enable = true;
158 *enable = false;
/system/bt/bta/pan/
H A Dbta_pan_ci.c89 ** Description This function is called to enable or disable data flow on
100 void bta_pan_ci_tx_flow(UINT16 handle, BOOLEAN enable) argument
107 p_buf->enable = enable;
258 void bta_pan_ci_tx_flow(UINT16 handle, BOOLEAN enable) argument
261 UNUSED(enable);
H A Dbta_pan_int.h113 BOOLEAN enable; /* Flow control setting */ member in struct:__anon534
/system/bt/bta/sdp/
H A Dbta_sdp_int.h83 tBTA_SDP_API_ENABLE enable; member in union:__anon547
/system/bt/btif/co/
H A Dbta_gatts_co.c38 BOOLEAN enable; member in struct:__anon570
57 if (!p_cb->enable)
60 p_cb->enable = TRUE;
H A Dbta_pan_co.c293 ** Description This function is called by PAN to enable or disable
303 void bta_pan_co_rx_flow(UINT16 handle, UINT8 app_id, BOOLEAN enable) argument
307 UNUSED(enable);
309 BTIF_TRACE_API("bta_pan_co_rx_flow, enabled:%d, not used", enable);
313 btpan_set_flow_control(enable);
/system/bt/hci/src/
H A Dbtsnoop_net.c101 int enable = 1; local
102 if (setsockopt(listen_socket_, SOL_SOCKET, SO_REUSEADDR, &enable, sizeof(enable)) == -1) {
H A Dlow_power_manager.c133 static void enable(bool enable) { argument
135 if (enable)
136 LOG_ERROR(LOG_TAG, "%s still processing prior disable request, cannot enable.", __func__);
140 if (enable)
141 LOG_ERROR(LOG_TAG, "%s still processing prior enable request, ignoring new request to enable.", __func__);
143 LOG_WARN(LOG_TAG, "%s still processing prior enable request, cannot disable.", __func__);
144 } else if (state == LPM_ENABLED && enable) {
146 } else if (state == LPM_DISABLED && !enable) {
[all...]
/system/core/toolbox/upstream-netbsd/bin/dd/
H A Dmisc.c189 * Write summary to stderr according to format 'fmt'. If 'enable' is 0, it
194 dd_write_msg(const char *fmt, int enable) argument
206 #define ADDC(c) do { if (enable != 0) buffer_write(&c, 1, 0); } \
208 #define ADDS(p) do { if (enable != 0) buffer_write(p, strlen(p), 0); } \
/system/bt/osi/src/
H A Dsocket.c60 int enable = 1; local
61 if (setsockopt(ret->fd, SOL_SOCKET, SO_REUSEADDR, &enable, sizeof(enable)) == -1) {
/system/bt/stack/rfcomm/
H A Dport_utils.c499 void port_flow_control_peer(tPORT *p_port, BOOLEAN enable, UINT16 count) argument
507 /* if want to enable flow from peer */
508 if (enable)
553 /* if want to enable flow from peer */
554 if (enable)
H A Drfc_port_if.c300 void RFCOMM_FlowReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT8 enable) argument
313 p_port->local_ctrl.fc = !enable;
/system/connectivity/shill/dbus/
H A Dchromeos_modem_proxy.cc53 bool enable, Error* error, const ResultCallback& callback, int timeout) {
54 SLOG(&proxy_->GetObjectPath(), 2) << __func__ << ": " << enable; local
55 proxy_->EnableAsync(enable,
52 Enable( bool enable, Error* error, const ResultCallback& callback, int timeout) argument
H A Dchromeos_mm1_modem_proxy.cc52 void ChromeosModemProxy::Enable(bool enable, argument
56 SLOG(&proxy_->GetObjectPath(), 2) << __func__ << ": " << enable; local
57 proxy_->EnableAsync(enable,
/system/core/include/utils/
H A DRefBase.h103 // enable -- enable/disable tracking
104 // retain -- when tracking is enable, if true, then we save a stack trace
109 void trackMe(bool enable, bool retain);
120 inline void trackMe(bool enable, bool retain) argument
122 getWeakRefs()->trackMe(enable, retain);
/system/bt/bta/av/
H A Dbta_av_api.c55 ** Description Enable the advanced audio/video service. When the enable
284 void BTA_AvEnable_Sink(int enable) argument
291 p_buf->layer_specific = enable;
/system/bt/stack/gatt/
H A Dgatt_attr.c445 void GATT_ConfigServiceChangeCCC (BD_ADDR remote_bda, BOOLEAN enable, tBT_TRANSPORT transport) argument
/system/extras/simpleperf/
H A Devent_selection_set.cpp84 void EventSelectionSet::SetEnableOnExec(bool enable) { argument
88 // to enable it after perf_event_open(). Because some android kernels can't
90 if (enable) {
175 void EventSelectionSet::SetInherit(bool enable) { argument
177 selection.event_attr.inherit = (enable ? 1 : 0);
/system/netd/server/
H A DFirewallController.cpp111 int FirewallController::enableChildChains(ChildChain chain, bool enable) { argument
128 if (enable) {
H A DNetdNativeService.cpp136 binder::Status NetdNativeService::bandwidthEnableDataSaver(bool enable, bool *ret) { argument
139 int err = gCtls->bandwidthCtrl.enableDataSaver(enable);

Completed in 522 milliseconds

123