Home
last modified time | relevance | path

Searched refs:enable (Results 1 – 25 of 154) sorted by relevance

1234567

/system/core/adb/
Dset_verity_enable_state_service.cpp47 const char* mount_point, bool enable) in set_verity_enabled_state() argument
70 if (!enable && metadata.disabled) { in set_verity_enabled_state()
75 if (enable && !metadata.disabled) { in set_verity_enabled_state()
80 if (!fh.set_verity_status(enable)) { in set_verity_enabled_state()
82 enable ? "enabled" : "disabled", in set_verity_enabled_state()
87 WriteFdFmt(fd, "Verity %s on %s\n", enable ? "enabled" : "disabled", mount_point); in set_verity_enabled_state()
93 bool enable = (cookie != NULL); in set_verity_enabled_state_service() local
127 enable)) { in set_verity_enabled_state_service()
138 enable ? "enable" : "disable"); in set_verity_enabled_state_service()
Dsysdeps_unix.cpp20 int enable = (interval_sec > 0); in set_tcp_keepalive() local
21 if (adb_setsockopt(fd, SOL_SOCKET, SO_KEEPALIVE, &enable, sizeof(enable))) { in set_tcp_keepalive()
25 if (!enable) { in set_tcp_keepalive()
/system/core/libpixelflinger/
Dpixelflinger.cpp60 static void ggl_enable_blending(context_t* c, int enable);
61 static void ggl_enable_scissor_test(context_t* c, int enable);
62 static void ggl_enable_alpha_test(context_t* c, int enable);
63 static void ggl_enable_logic_op(context_t* c, int enable);
64 static void ggl_enable_dither(context_t* c, int enable);
65 static void ggl_enable_stencil_test(context_t* c, int enable);
66 static void ggl_enable_depth_test(context_t* c, int enable);
67 static void ggl_enable_aa(context_t* c, int enable);
68 static void ggl_enable_point_aa_nice(context_t* c, int enable);
69 static void ggl_enable_texture2d(context_t* c, int enable);
[all …]
/system/bt/hci/src/
Dlow_power_manager.c133 static void enable(bool enable) { in enable() argument
135 if (enable) in enable()
140 if (enable) in enable()
144 } else if (state == LPM_ENABLED && enable) { in enable()
146 } else if (state == LPM_DISABLED && !enable) { in enable()
149 uint8_t command = enable ? BT_VND_LPM_ENABLE : BT_VND_LPM_DISABLE; in enable()
150 state = enable ? LPM_ENABLING : LPM_DISABLING; in enable()
203 enable(false); in event_disable()
207 enable(true); in event_enable()
Dbtsnoop_net.c101 int enable = 1; in listen_fn_() local
102 if (setsockopt(listen_socket_, SOL_SOCKET, SO_REUSEADDR, &enable, sizeof(enable)) == -1) { in listen_fn_()
/system/core/rootdir/
Dinit.usb.rc31 write /sys/class/android_usb/android0/enable 0
39 write /sys/class/android_usb/android0/enable 0
43 write /sys/class/android_usb/android0/enable 1
49 write /sys/class/android_usb/android0/enable 0
53 write /sys/class/android_usb/android0/enable 1
58 write /sys/class/android_usb/android0/enable 0
62 write /sys/class/android_usb/android0/enable 1
68 write /sys/class/android_usb/android0/enable 0
72 write /sys/class/android_usb/android0/enable 1
77 write /sys/class/android_usb/android0/enable 0
[all …]
/system/bt/test/suite/adapter/
Dadapter_unittest.cpp41 EXPECT_EQ(bt_interface()->enable(false), BT_STATUS_SUCCESS); in TEST_F()
55 EXPECT_EQ(bt_interface()->enable(false), BT_STATUS_SUCCESS); in TEST_F()
68 EXPECT_EQ(bt_interface()->enable(false), BT_STATUS_SUCCESS); in TEST_F()
118 EXPECT_EQ(bt_interface()->enable(false), BT_STATUS_SUCCESS); in TEST_F()
134 EXPECT_EQ(bt_interface()->enable(false), BT_STATUS_SUCCESS); in TEST_F()
159 EXPECT_EQ(bt_interface()->enable(false), BT_STATUS_SUCCESS); in TEST_F()
/system/bt/tools/bdtool/
Dbdtool.c102 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main()
117 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main()
136 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main()
146 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main()
154 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main()
171 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main()
194 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main()
226 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main()
/system/bt/btif/co/
Dbta_gatts_co.c38 BOOLEAN enable; member
57 if (!p_cb->enable) in btif_gatts_check_init()
60 p_cb->enable = TRUE; in btif_gatts_check_init()
Dbta_pan_co.c303 void bta_pan_co_rx_flow(UINT16 handle, UINT8 app_id, BOOLEAN enable) in bta_pan_co_rx_flow() argument
307 UNUSED(enable); in bta_pan_co_rx_flow()
309 BTIF_TRACE_API("bta_pan_co_rx_flow, enabled:%d, not used", enable); in bta_pan_co_rx_flow()
313 btpan_set_flow_control(enable); in bta_pan_co_rx_flow()
/system/connectivity/shill/supplicant/
Dsupplicant_interface_proxy_interface.h54 virtual bool SetSchedScan(bool enable) = 0;
55 virtual bool SetScan(bool enable) = 0;
61 virtual bool SetHT40Enable(const std::string& network, bool enable) = 0;
Dmock_supplicant_interface_proxy.h57 MOCK_METHOD1(SetSchedScan, bool(bool enable));
58 MOCK_METHOD1(SetScan, bool(bool enable));
63 MOCK_METHOD2(SetHT40Enable, bool(const std::string& network, bool enable));
/system/extras/ANRdaemon/
DANRdaemon.cpp188 static int dfs_enable(bool enable, const char* path) { in dfs_enable() argument
195 const char* control = (enable?"1":"0"); in dfs_enable()
214 static void dfs_set_property(uint64_t mtag, const char* mapp, bool enable) { in dfs_set_property() argument
229 dfs_enable(enable, dfs_sched_switch_path); in dfs_set_property()
230 dfs_enable(enable, dfs_sched_wakeup_path); in dfs_set_property()
233 dfs_enable(enable, dfs_stack_path); in dfs_set_property()
236 dfs_enable(enable, dfs_irq_path); in dfs_set_property()
239 dfs_enable(enable, dfs_sync_path); in dfs_set_property()
242 dfs_enable(enable, dfs_workq_path); in dfs_set_property()
/system/bt/bta/pan/
Dbta_pan_ci.c100 void bta_pan_ci_tx_flow(UINT16 handle, BOOLEAN enable) in bta_pan_ci_tx_flow() argument
107 p_buf->enable = enable; in bta_pan_ci_tx_flow()
258 void bta_pan_ci_tx_flow(UINT16 handle, BOOLEAN enable) in bta_pan_ci_tx_flow() argument
261 UNUSED(enable); in bta_pan_ci_tx_flow()
/system/connectivity/shill/dbus/
Dchromeos_supplicant_interface_proxy.cc328 bool enable) { in SetHT40Enable() argument
330 << " network: " << network << " enable: " << enable; in SetHT40Enable()
334 enable, in SetHT40Enable()
436 bool ChromeosSupplicantInterfaceProxy::SetSchedScan(bool enable) { in SetSchedScan() argument
437 SLOG(&interface_proxy_->GetObjectPath(), 2) << __func__ << ": " << enable; in SetSchedScan()
439 if (!properties_->sched_scan.SetAndBlock(enable)) { in SetSchedScan()
440 LOG(ERROR) << __func__ << " failed: " << enable; in SetSchedScan()
447 bool ChromeosSupplicantInterfaceProxy::SetScan(bool enable) { in SetScan() argument
448 SLOG(&interface_proxy_->GetObjectPath(), 2) << __func__ << ": " << enable; in SetScan()
450 if (!properties_->scan.SetAndBlock(enable)) { in SetScan()
[all …]
Dchromeos_supplicant_interface_proxy.h68 bool SetHT40Enable(const std::string& network, bool enable) override;
75 bool SetSchedScan(bool enable) override;
76 bool SetScan(bool enable) override;
Dchromeos_modem_proxy.cc53 bool enable, Error* error, const ResultCallback& callback, int timeout) { in Enable() argument
54 SLOG(&proxy_->GetObjectPath(), 2) << __func__ << ": " << enable; in Enable()
55 proxy_->EnableAsync(enable, in Enable()
/system/bt/btif/src/
Dbluetooth.c144 static int enable(bool start_restricted) { in enable() function
416 int dut_mode_configure(uint8_t enable) in dut_mode_configure() argument
424 return btif_dut_mode_configure(enable); in dut_mode_configure()
451 int config_hci_snoop_log(uint8_t enable) in config_hci_snoop_log() argument
458 btsnoop_get_interface()->set_api_wants_to_log(enable); in config_hci_snoop_log()
475 enable,
/system/core/logd/
DREADME.auditd8 To enable the audit subsystem, you must add this to your
12 To enable a LSM, you must consult that LSM's documentation, the
/system/netd/server/
DNetdNativeService.h40 binder::Status bandwidthEnableDataSaver(bool enable, bool *ret) override;
41 binder::Status networkRejectNonSecureVpn(bool enable, const std::vector<UidRange>& uids)
/system/extras/simpleperf/
Devent_selection_set.h62 void SetEnableOnExec(bool enable);
70 void SetInherit(bool enable);
/system/bt/main/
Dbte_main.c206 void bte_main_enable_lpm(BOOLEAN enable) in bte_main_enable_lpm() argument
208 hci->send_low_power_command(enable ? LPM_ENABLE : LPM_DISABLE); in bte_main_enable_lpm()
/system/connectivity/shill/
Dmock_device.h48 MOCK_METHOD3(SetEnabledPersistent, void(bool enable,
51 MOCK_METHOD3(SetEnabledNonPersistent, void(bool enable,
Ddevice.cc265 void Device::SetSchedScan(bool enable, Error* error) { in SetSchedScan() argument
1801 void Device::SetEnabled(bool enable) { in SetEnabled() argument
1802 SLOG(this, 2) << __func__ << "(" << enable << ")"; in SetEnabled()
1804 SetEnabledChecked(enable, false, &error, ResultCallback()); in SetEnabled()
1818 void Device::SetEnabledNonPersistent(bool enable, in SetEnabledNonPersistent() argument
1821 SetEnabledChecked(enable, false, error, callback); in SetEnabledNonPersistent()
1824 void Device::SetEnabledPersistent(bool enable, in SetEnabledPersistent() argument
1827 SetEnabledChecked(enable, true, error, callback); in SetEnabledPersistent()
1830 void Device::SetEnabledChecked(bool enable, in SetEnabledChecked() argument
1836 << (enable ? "starting" : "stopping"); in SetEnabledChecked()
[all …]
/system/connectivity/dhcp_client/
Ddhcp_options_parser.cc154 bool* enable = static_cast<bool*>(value); in GetOption() local
156 *enable = true; in GetOption()
158 *enable = false; in GetOption()

1234567