Home
last modified time | relevance | path

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

1234

/system/core/rootdir/
Dinit.trace.rc8 # Allow the shell group to enable (some) kernel tracing.
13 chown root shell /sys/kernel/debug/tracing/events/sched/sched_switch/enable
14 chown root shell /sys/kernel/debug/tracing/events/sched/sched_wakeup/enable
15 chown root shell /sys/kernel/debug/tracing/events/power/cpu_frequency/enable
16 chown root shell /sys/kernel/debug/tracing/events/power/cpu_idle/enable
17 chown root shell /sys/kernel/debug/tracing/events/power/clock_set_rate/enable
18 chown root shell /sys/kernel/debug/tracing/events/cpufreq_interactive/enable
25 chmod 0664 /sys/kernel/debug/tracing/events/sched/sched_switch/enable
26 chmod 0664 /sys/kernel/debug/tracing/events/sched/sched_wakeup/enable
27 chmod 0664 /sys/kernel/debug/tracing/events/power/cpu_frequency/enable
[all …]
Dinit.usb.rc18 write /sys/class/android_usb/android0/enable 0
26 write /sys/class/android_usb/android0/enable 0
30 write /sys/class/android_usb/android0/enable 1
36 write /sys/class/android_usb/android0/enable 0
40 write /sys/class/android_usb/android0/enable 1
45 write /sys/class/android_usb/android0/enable 0
49 write /sys/class/android_usb/android0/enable 1
55 write /sys/class/android_usb/android0/enable 0
59 write /sys/class/android_usb/android0/enable 1
64 write /sys/class/android_usb/android0/enable 0
[all …]
/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.c131 static void enable(bool enable) { in enable() argument
133 if (enable) in enable()
138 if (enable) in enable()
142 } else if (state == LPM_ENABLED && enable) { in enable()
144 } else if (state == LPM_DISABLED && !enable) { in enable()
147 uint8_t command = enable ? BT_VND_LPM_ENABLE : BT_VND_LPM_DISABLE; in enable()
148 state = enable ? LPM_ENABLING : LPM_DISABLING; in enable()
197 enable(false); in event_disable()
201 enable(true); in event_enable()
Dbtsnoop_net.c97 int enable = 1; in listen_fn_() local
98 if (setsockopt(listen_socket_, SOL_SOCKET, SO_REUSEADDR, &enable, sizeof(enable)) == -1) { in listen_fn_()
/system/core/adb/
Dset_verity_enable_state_service.cpp80 const char* mount_point, bool enable) in set_verity_enabled_state() argument
83 const uint32_t new_magic = enable ? VERITY_METADATA_MAGIC_NUMBER in set_verity_enabled_state()
119 if (!enable && magic_number == VERITY_METADATA_MAGIC_DISABLE) { in set_verity_enabled_state()
124 if (enable && magic_number == VERITY_METADATA_MAGIC_NUMBER) { in set_verity_enabled_state()
142 enable ? "enabled" : "disabled", in set_verity_enabled_state()
147 WriteFdFmt(fd, "Verity %s on %s\n", enable ? "enabled" : "disabled", mount_point); in set_verity_enabled_state()
157 bool enable = (cookie != NULL); in set_verity_enabled_state_service() local
191 enable)) { in set_verity_enabled_state_service()
202 enable ? "enable" : "disable"); in set_verity_enabled_state_service()
/system/bt/tools/bdtool/
Dbdtool.c102 CALL_AND_WAIT(bt_interface->enable(false), adapter_state_changed); in main()
117 CALL_AND_WAIT(bt_interface->enable(false), adapter_state_changed); in main()
136 CALL_AND_WAIT(bt_interface->enable(false), adapter_state_changed); in main()
146 CALL_AND_WAIT(bt_interface->enable(false), adapter_state_changed); in main()
154 CALL_AND_WAIT(bt_interface->enable(false), adapter_state_changed); in main()
171 CALL_AND_WAIT(bt_interface->enable(false), adapter_state_changed); in main()
192 CALL_AND_WAIT(bt_interface->enable(false), adapter_state_changed); in main()
224 CALL_AND_WAIT(bt_interface->enable(false), 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/bt/btif/src/
Dbluetooth.c141 static int enable(bool start_restricted) { in enable() function
381 int dut_mode_configure(uint8_t enable) in dut_mode_configure() argument
389 return btif_dut_mode_configure(enable); in dut_mode_configure()
416 int config_hci_snoop_log(uint8_t enable) in config_hci_snoop_log() argument
423 btsnoop_get_interface()->set_api_wants_to_log(enable); in config_hci_snoop_log()
440 enable,
/system/bt/bta/pan/
Dbta_pan_ci.c104 void bta_pan_ci_tx_flow(UINT16 handle, BOOLEAN enable) in bta_pan_ci_tx_flow() argument
112 p_buf->enable = enable; in bta_pan_ci_tx_flow()
270 void bta_pan_ci_tx_flow(UINT16 handle, BOOLEAN enable) in bta_pan_ci_tx_flow() argument
273 UNUSED(enable); in bta_pan_ci_tx_flow()
/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
DLogStatistics.cpp29 LogStatistics::LogStatistics() : enable(false) { in LogStatistics()
81 if (!enable) { in add()
106 if (!enable) { in subtract()
128 if (!enable) { in drop()
337 if (enable) { in format()
395 if (enable) { in format()
452 if (enable && (logMask & (1 << LOG_ID_EVENTS))) { in format()
/system/bt/main/
Dbte_main.c212 void bte_main_enable_lpm(BOOLEAN enable) in bte_main_enable_lpm() argument
214 hci->send_low_power_command(enable ? LPM_ENABLE : LPM_DISABLE); in bte_main_enable_lpm()
/system/bt/btif/include/
Dbtif_api.h354 bt_status_t btif_dut_mode_configure(uint8_t enable);
398 bt_status_t btif_config_hci_snoop_log(uint8_t enable);
Dbtif_media.h273 void btif_a2dp_set_tx_flush(BOOLEAN enable);
274 void btif_a2dp_set_rx_flush(BOOLEAN enable);
/system/core/libsuspend/
Dautosuspend_ops.h21 int (*enable)(void); member
Dautosuspend.c81 ret = autosuspend_ops->enable(); in autosuspend_enable()
Dautosuspend_autosleep.c81 .enable = autosuspend_autosleep_enable,
/system/core/toolbox/upstream-netbsd/bin/dd/
Dmisc.c194 dd_write_msg(const char *fmt, int enable) in dd_write_msg() argument
206 #define ADDC(c) do { if (enable != 0) buffer_write(&c, 1, 0); } \ in dd_write_msg()
208 #define ADDS(p) do { if (enable != 0) buffer_write(p, strlen(p), 0); } \ in dd_write_msg()
/system/bt/osi/src/
Dsocket.c64 int enable = 1; in socket_new() local
65 if (setsockopt(ret->fd, SOL_SOCKET, SO_REUSEADDR, &enable, sizeof(enable)) == -1) { in socket_new()
/system/bt/bta/mce/
Dbta_mce_int.h63 tBTA_MCE_API_ENABLE enable; member
/system/bt/bta/include/
Dbta_pan_ci.h82 extern void bta_pan_ci_tx_flow(UINT16 handle, BOOLEAN enable);
/system/bt/bta/sdp/
Dbta_sdp_int.h83 tBTA_SDP_API_ENABLE enable; member
/system/bt/test/bluedroidtest/
DREADME.txt37 >enable
82 enable :: enables bluetooth

1234