Home
last modified time | relevance | path

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

1234567891011

/system/core/llkd/
Dllkd.rc1 # eng default for ro.llk.enable and ro.khungtask.enable
3 setprop llk.enable ${ro.llk.enable:-0}
4 setprop khungtask.enable ${ro.khungtask.enable:-0}
6 on property:ro.llk.enable=true
7 setprop llk.enable true
9 on property:llk.enable=1
10 setprop llk.enable true
12 on property:llk.enable=0
13 setprop llk.enable false
15 on property:ro.khungtask.enable=true
[all …]
Dllkd-debuggable.rc2 setprop llk.enable ${ro.llk.enable:-1}
3 setprop khungtask.enable ${ro.khungtask.enable:-1}
5 on property:ro.llk.enable=eng
6 setprop llk.enable ${ro.debuggable:-0}
8 on property:ro.khungtask.enable=eng
9 setprop khungtask.enable ${ro.debuggable:-0}
/system/core/adb/daemon/
Dset_verity_enable_state_service.cpp67 bool enable) { in set_verity_enabled_state() argument
89 if (!enable && metadata.disabled) { in set_verity_enabled_state()
94 if (enable && !metadata.disabled) { in set_verity_enabled_state()
99 if (!fh.set_verity_status(enable)) { in set_verity_enabled_state()
101 enable ? "enabled" : "disabled", in set_verity_enabled_state()
108 if (enable ? fs_mgr_overlayfs_teardown(mount_point, &change) in set_verity_enabled_state()
111 WriteFdFmt(fd, "%s overlayfs for %s\n", enable ? "disabling" : "using", mount_point); in set_verity_enabled_state()
114 WriteFdFmt(fd, "Overlayfs %s for %s failed with error %s\n", enable ? "teardown" : "setup", in set_verity_enabled_state()
117 WriteFdFmt(fd, "Verity %s on %s\n", enable ? "enabled" : "disabled", mount_point); in set_verity_enabled_state()
133 static bool overlayfs_setup(int fd, bool enable) { in overlayfs_setup() argument
[all …]
/system/chre/core/
Dgnss_manager.cc134 transition.enable, transition.nanoappInstanceId); in logStateToBuffer()
139 Nanoapp *nanoapp, bool enable, Milliseconds minInterval, in configure() argument
146 success = addRequestToQueue(instanceId, enable, minInterval, cookie); in configure()
147 } else if (stateTransitionIsRequired(enable, minInterval, hasRequest, in configure()
149 success = addRequestToQueue(instanceId, enable, minInterval, cookie); in configure()
151 success = controlPlatform(enable, minInterval, minTimeToNext); in configure()
160 instanceId, true /* success */, enable, minInterval, CHRE_ERROR_NONE, in configure()
185 uint32_t instanceId, bool enable, Milliseconds minInterval, in addRequestToQueue() argument
189 stateTransition.enable = enable; in addRequestToQueue()
242 bool enable, Milliseconds minInterval, uint32_t instanceId) { in updateRequests() argument
[all …]
Dwifi_request_manager.cc48 bool WifiRequestManager::configureScanMonitor(Nanoapp *nanoapp, bool enable, in configureScanMonitor() argument
56 success = addScanMonitorRequestToQueue(nanoapp, enable, cookie); in configureScanMonitor()
57 } else if (scanMonitorIsInRequestedState(enable, hasScanMonitorRequest)) { in configureScanMonitor()
61 enable, CHRE_ERROR_NONE, cookie); in configureScanMonitor()
62 } else if (scanMonitorStateTransitionIsRequired(enable, in configureScanMonitor()
64 success = addScanMonitorRequestToQueue(nanoapp, enable, cookie); in configureScanMonitor()
66 success = mPlatformWifi.configureScanMonitor(enable); in configureScanMonitor()
283 transition.enable ? "true" : "false", in logStateToBuffer()
317 bool enable, in addScanMonitorRequestToQueue() argument
322 scanMonitorStateTransition.enable = enable; in addScanMonitorRequestToQueue()
[all …]
Dnanoapp.cc59 void Nanoapp::configureNanoappInfoEvents(bool enable) { in configureNanoappInfoEvents() argument
60 if (enable) { in configureNanoappInfoEvents()
69 void Nanoapp::configureHostSleepEvents(bool enable) { in configureHostSleepEvents() argument
70 if (enable) { in configureHostSleepEvents()
/system/sepolicy/prebuilts/api/27.0/private/
Dgenfs_contexts65 genfscon sysfs /devices/virtual/timed_output/vibrator/enable u:object_r:sysfs_vibrator:s0
76 genfscon debugfs /tracing/events/sync/enable u:object_r:debugfs_tracing_deb…
77 genfscon debugfs /tracing/events/workqueue/enable u:object_r:debugfs_tracing_deb…
78 genfscon debugfs /tracing/events/regulator/enable u:object_r:debugfs_tracing_deb…
79 genfscon debugfs /tracing/events/pagecache/enable u:object_r:debugfs_tracing_deb…
80 genfscon debugfs /tracing/events/irq/enable u:object_r:debugfs_tracing_deb…
81 genfscon debugfs /tracing/events/ipi/enable u:object_r:debugfs_tracing_deb…
82 genfscon debugfs /tracing/events/f2fs/f2fs_sync_file_enter/enable u:object_r:debugfs_tracing_deb…
83 genfscon debugfs /tracing/events/f2fs/f2fs_sync_file_exit/enable u:object_r:debugfs_tracing_deb…
84 genfscon debugfs /tracing/events/f2fs/f2fs_write_begin/enable u:object_r:debugfs_tracing_deb…
[all …]
/system/chre/apps/sensor_world/
Dsensor_world.cc58 bool enable; member
68 .enable = kEnableDefault,
76 .enable = false, // InstantMotion is triggered by Prox
84 .enable = false, // StationaryDetect is triggered by Prox
92 .enable = kEnableDefault,
100 .enable = kEnableDefault,
108 .enable = kEnableDefault,
116 .enable = kEnableDefault,
124 .enable = kEnableDefault,
132 .enable = kEnableDefault,
[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/core/adb/
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/chre/core/include/chre/core/
Dgnss_manager.h119 bool enable; member
175 bool configure(Nanoapp *nanoapp, bool enable, Milliseconds minInterval,
201 bool addRequestToQueue(uint32_t instanceId, bool enable,
234 bool updateRequests(bool enable, Milliseconds minInterval,
250 uint32_t instanceId, bool success, bool enable,
261 uint32_t instanceId, bool success, bool enable,
288 bool controlPlatform(bool enable, Milliseconds minInterval,
Dwifi_request_manager.h72 bool configureScanMonitor(Nanoapp *nanoapp, bool enable, const void *cookie);
175 bool enable; //!< Requested scan monitor state member
271 bool addScanMonitorRequestToQueue(Nanoapp *nanoapp, bool enable,
281 bool updateNanoappScanMonitoringList(bool enable, uint32_t instanceId);
299 uint32_t nanoappInstanceId, bool success, bool enable, uint8_t errorCode,
310 uint32_t nanoappInstanceId, bool success, bool enable, uint8_t errorCode,
/system/chre/platform/shared/nanoapp/
Dnanoapp_support_lib_dso.cc139 bool chreAudioConfigureSource(uint32_t handle, bool enable, in chreAudioConfigureSource() argument
144 fptr(handle, enable, bufferDuration, deliveryInterval) : false; in chreAudioConfigureSource()
154 void chreConfigureHostSleepStateEvents(bool enable) { in chreConfigureHostSleepStateEvents() argument
157 fptr(enable); in chreConfigureHostSleepStateEvents()
168 bool chreGnssConfigureLocationMonitor(bool enable) { in chreGnssConfigureLocationMonitor() argument
170 return (fptr != nullptr) ? fptr(enable) : false; in chreGnssConfigureLocationMonitor()
181 bool chreSensorConfigureBiasEvents(uint32_t sensorHandle, bool enable) { in chreSensorConfigureBiasEvents() argument
183 return (fptr != nullptr) ? fptr(sensorHandle, enable) : false; in chreSensorConfigureBiasEvents()
/system/nfc/src/nfc/nfc/
Dnfc_main.cc211 evt_data.enable.nci_version = nfc_cb.nci_version; in nfc_enabled()
212 STREAM_TO_UINT32(evt_data.enable.nci_features, p); in nfc_enabled()
215 evt_data.enable.nci_interfaces = 0; in nfc_enabled()
218 evt_data.enable.nci_interfaces |= (1 << (*p)); in nfc_enabled()
226 nfc_cb.nci_interfaces = evt_data.enable.nci_interfaces; in nfc_enabled()
227 memcpy(evt_data.enable.vs_interface, nfc_cb.vs_interface, in nfc_enabled()
230 evt_data.enable.max_conn = *p++; in nfc_enabled()
231 STREAM_TO_UINT16(evt_data.enable.max_ce_table, p); in nfc_enabled()
233 nfc_cb.max_ce_table = evt_data.enable.max_ce_table; in nfc_enabled()
234 nfc_cb.nci_features = evt_data.enable.nci_features; in nfc_enabled()
[all …]
/system/core/rootdir/
Dinit.usb.rc27 write /sys/class/android_usb/android0/enable 0
35 write /sys/class/android_usb/android0/enable 0
39 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
54 write /sys/class/android_usb/android0/enable 0
58 write /sys/class/android_usb/android0/enable 1
64 write /sys/class/android_usb/android0/enable 0
68 write /sys/class/android_usb/android0/enable 1
73 write /sys/class/android_usb/android0/enable 0
[all …]
/system/chre/pal/include/chre/pal/
Dgnss.h209 bool enable, uint32_t minIntervalMs, uint32_t minTimeToNextFixMs);
234 bool enable, uint32_t minIntervalMs);
280 bool (*configurePassiveLocationListener)(bool enable);
/system/bt/test/suite/adapter/
Dadapter_unittest.cc38 EXPECT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in TEST_F()
52 EXPECT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in TEST_F()
65 EXPECT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in TEST_F()
117 EXPECT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in TEST_F()
133 EXPECT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in TEST_F()
158 EXPECT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in TEST_F()
183 EXPECT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in TEST_F()
/system/bt/btif/co/
Dbta_gatts_co.cc35 bool enable; member
53 if (!p_cb->enable) { in btif_gatts_check_init()
55 p_cb->enable = true; in btif_gatts_check_init()
/system/chre/platform/shared/
Dplatform_gnss.cc69 bool PlatformGnss::controlLocationSession(bool enable, Milliseconds minInterval, in controlLocationSession() argument
73 return mGnssApi->controlLocationSession(enable, in controlLocationSession()
104 bool PlatformGnss::controlMeasurementSession(bool enable, in controlMeasurementSession() argument
108 return mGnssApi->controlMeasurementSession(enable, in controlMeasurementSession()
Dchre_api_core.cc115 DLL_EXPORT void chreConfigureNanoappInfoEvents(bool enable) { in chreConfigureNanoappInfoEvents() argument
117 nanoapp->configureNanoappInfoEvents(enable); in chreConfigureNanoappInfoEvents()
120 DLL_EXPORT void chreConfigureHostSleepStateEvents(bool enable) { in chreConfigureHostSleepStateEvents() argument
122 nanoapp->configureHostSleepEvents(enable); in chreConfigureHostSleepStateEvents()
/system/bt/tools/bdtool/
Dbdtool.c100 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main()
115 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main()
138 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main()
149 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main()
157 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main()
176 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main()
202 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main()
242 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main()
/system/chre/platform/include/chre/platform/
Dplatform_gnss.h58 bool controlLocationSession(bool enable, Milliseconds minInterval,
78 bool controlMeasurementSession(bool enable, Milliseconds minInterval);
/system/bt/btif/src/
Dbtif_ble_advertiser.cc78 p_periodic_params->enable = periodic_params.enable; in parsePeriodicParams()
149 void Enable(uint8_t advertiser_id, bool enable, StatusCallback cb, in Enable() argument
153 << " ,enable: " << enable; in Enable()
159 advertiser_id, enable, jni_thread_wrapper(FROM_HERE, cb), duration, in Enable()
238 void SetPeriodicAdvertisingEnable(int advertiser_id, bool enable, in SetPeriodicAdvertisingEnable() argument
241 << " ,enable: " << enable; in SetPeriodicAdvertisingEnable()
246 BleAdvertisingManager::Get(), advertiser_id, enable, in SetPeriodicAdvertisingEnable()
/system/core/libunwindstack/
DLog.cpp34 void log_to_stdout(bool enable) { in log_to_stdout() argument
35 g_print_to_stdout = enable; in log_to_stdout()
/system/bt/stack/btm/
Dble_advertiser_hci_interface.h81 virtual void Enable(uint8_t enable, std::vector<SetEnableData> sets,
84 void Enable(uint8_t enable, uint8_t handle, uint16_t duration, in Enable() argument
92 Enable(enable, enableData, command_complete); in Enable()
103 virtual void SetPeriodicAdvertisingEnable(uint8_t enable, uint8_t handle,

1234567891011