Searched refs:enable (Results 1 - 25 of 148) sorted by relevance

123456

/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.cpp50 bool enable) {
72 if (!enable && metadata.disabled) {
77 if (enable && !metadata.disabled) {
82 if (!fh.set_verity_status(enable)) {
84 enable ? "enabled" : "disabled",
89 WriteFdFmt(fd, "Verity %s on %s\n", enable ? "enabled" : "disabled", mount_point);
141 bool enable = (cookie != NULL); local
149 // be possible to disable/enable on any build (except USER). For
154 enable ? "enable"
49 set_verity_enabled_state(int fd, const char* block_device, const char* mount_point, bool enable) argument
[all...]
/system/core/libsuspend/
H A Dautosuspend_ops.h21 int (*enable)(void); member in struct:autosuspend_ops
/system/core/libunwindstack/include/unwindstack/
H A DLog.h24 void log_to_stdout(bool enable);
/system/chre/core/
H A Dgnss_request_manager.cc46 return configureLocationSession(nanoapp, true /* enable */, minInterval,
53 return configureLocationSession(nanoapp, false /* enable */,
117 " minInterval(ms)=%" PRIu64 " enable=%d"
120 transition.enable,
128 Nanoapp *nanoapp, bool enable, Milliseconds minInterval,
136 success = addLocationSessionRequestToQueue(instanceId, enable, minInterval,
138 } else if (locationSessionIsInRequestedState(enable, minInterval,
141 instanceId, true /* success */, enable, minInterval, CHRE_ERROR_NONE,
143 } else if (locationSessionStateTransitionIsRequired(enable, minInterval,
146 success = addLocationSessionRequestToQueue(instanceId, enable,
127 configureLocationSession( Nanoapp *nanoapp, bool enable, Milliseconds minInterval, Milliseconds minTimeToFirstFix, const void *cookie) argument
185 addLocationSessionRequestToQueue( uint32_t instanceId, bool enable, Milliseconds minInterval, const void *cookie) argument
252 updateLocationSessionRequests( bool enable, Milliseconds minInterval, uint32_t instanceId) argument
305 postLocationSessionAsyncResultEvent( uint32_t instanceId, bool success, bool enable, Milliseconds minInterval, uint8_t errorCode, const void *cookie) argument
339 postLocationSessionAsyncResultEventFatal( uint32_t instanceId, bool success, bool enable, Milliseconds minInterval, uint8_t errorCode, const void *cookie) argument
[all...]
H A Dwifi_request_manager.cc45 bool WifiRequestManager::configureScanMonitor(Nanoapp *nanoapp, bool enable, argument
53 success = addScanMonitorRequestToQueue(nanoapp, enable, cookie);
54 } else if (scanMonitorIsInRequestedState(enable, hasScanMonitorRequest)) {
58 enable, CHRE_ERROR_NONE, cookie);
59 } else if (scanMonitorStateTransitionIsRequired(enable,
61 success = addScanMonitorRequestToQueue(nanoapp, enable, cookie);
63 success = mPlatformWifi.configureScanMonitor(enable);
68 LOGE("Failed to enable the scan monitor for nanoapp instance %" PRIu32,
200 " enable=%s nanoappId=%" PRIu32 "\n",
201 transition.enable
236 addScanMonitorRequestToQueue(Nanoapp *nanoapp, bool enable, const void *cookie) argument
252 updateNanoappScanMonitoringList(bool enable, uint32_t instanceId) argument
298 postScanMonitorAsyncResultEvent( uint32_t nanoappInstanceId, bool success, bool enable, uint8_t errorCode, const void *cookie) argument
327 postScanMonitorAsyncResultEventFatal( uint32_t nanoappInstanceId, bool success, bool enable, uint8_t errorCode, const void *cookie) argument
[all...]
H A Dnanoapp.cc61 void Nanoapp::configureNanoappInfoEvents(bool enable) { argument
63 if (enable) {
76 FATAL_ERROR("Failed to configure nanoapp info events to %d", enable);
/system/chre/core/include/chre/core/
H A Dgnss_request_manager.h138 bool enable; member in struct:chre::GnssRequestManager::LocationSessionStateTransition
141 //! only valid if enable is set to true.
166 * Configures the location engine to be enabled/disabled. If enable is set to
171 * @param enable Whether to enable or disable the location engine.
178 bool configureLocationSession(Nanoapp *nanoapp, bool enable,
198 * @param enable Whether the location session is being enabled or disabled for
204 bool addLocationSessionRequestToQueue(uint32_t instanceId, bool enable,
246 * @param enable true if enabling the location session.
247 * @param minInterval the minimum reporting interval if enable i
[all...]
H A Dwifi_request_manager.h57 * multiple apps enable the scan monitor the PAL is only enabled once).
61 * @param enable true to enable scan monitoring, false to disable scan
68 bool configureScanMonitor(Nanoapp *nanoapp, bool enable, const void *cookie);
146 bool enable; member in struct:chre::WifiRequestManager::ScanMonitorStateTransition
224 * @param enable The target requested scan monitoring state.
229 bool addScanMonitorRequestToQueue(Nanoapp *nanoapp, bool enable,
234 * @param enable true if enabling scan monitoring.
238 bool updateNanoappScanMonitoringList(bool enable, uint32_t instanceId);
246 * @param enable Th
[all...]
/system/bt/service/doc/
H A DIBluetooth.txt48 boolean enable();
/system/chre/platform/shared/
H A Dchre_api_wifi.cc30 DLL_EXPORT bool chreWifiConfigureScanMonitorAsync(bool enable, argument
34 .configureScanMonitor(nanoapp, enable, cookie);
/system/bt/btif/include/
H A Dbtif_a2dp_source.h86 // If |enable| is true, the discarding is enabled, otherwise is disabled.
87 void btif_a2dp_source_set_tx_flush(bool enable);
H A Dbtif_a2dp_sink.h76 // If |enable| is true, the discarding is enabled, otherwise is disabled.
77 void btif_a2dp_sink_set_rx_flush(bool enable);
/system/chre/platform/include/chre/platform/
H A Dplatform_gnss.h52 * @param enable Whether to enable/disable the location session.
57 bool controlLocationSession(bool enable, Milliseconds minInterval,
H A Dplatform_wifi.h52 * @param enable true to enable listening for scan results.
55 bool configureScanMonitor(bool enable);
/system/chre/apps/sensor_world/
H A Dsensor_world.cc36 // sensors for testing by locally overriding 'enable' field in SensorState.
43 bool enable; member in struct:chre::__anon1306::__anon1307::SensorState
51 .enable = kEnableDefault,
56 .enable = false, // InstantMotion is triggered by Prox
59 .enable = false, // StationaryDetect is triggered by Prox
62 .enable = kEnableDefault,
67 .enable = kEnableDefault,
72 .enable = kEnableDefault,
77 .enable = kEnableDefault,
82 .enable
[all...]
/system/chre/pal/include/chre/pal/
H A Dgnss.h180 * @param enable true to start/modify the session, false to stop the
193 bool enable, uint32_t minIntervalMs, uint32_t minTimeToNextFixMs);
206 * @param enable true to start/modify the session, false to stop the
218 bool enable, uint32_t minIntervalMs);
/system/core/libpixelflinger/
H A 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);
290 ggl_enable_fog(context_t* c, int enable) argument
615 ggl_enable_blending(context_t* c, int enable) argument
625 ggl_enable_scissor_test(context_t* c, int enable) argument
635 ggl_enable_alpha_test(context_t* c, int enable) argument
645 ggl_enable_logic_op(context_t* c, int enable) argument
655 ggl_enable_dither(context_t* c, int enable) argument
669 ggl_enable_depth_test(context_t* c, int enable) argument
681 ggl_enable_aa(context_t* c, int enable) argument
691 ggl_enable_point_aa_nice(context_t* c, int enable) argument
701 ggl_enable_w_lerp(context_t* c, int enable) argument
711 ggl_enable_texture2d(context_t* c, int enable) argument
[all...]
/system/core/libunwindstack/
H A DLog.cpp34 void log_to_stdout(bool enable) { argument
35 g_print_to_stdout = enable;
/system/bt/btif/co/
H A Dbta_gatts_co.cc35 bool enable; member in struct:__anon552
53 if (!p_cb->enable) {
55 p_cb->enable = true;
/system/bt/test/suite/adapter/
H A Dadapter_unittest.cc38 EXPECT_EQ(bt_interface()->enable(false), BT_STATUS_SUCCESS);
52 EXPECT_EQ(bt_interface()->enable(false), BT_STATUS_SUCCESS);
65 EXPECT_EQ(bt_interface()->enable(false), BT_STATUS_SUCCESS);
116 EXPECT_EQ(bt_interface()->enable(false), BT_STATUS_SUCCESS);
132 EXPECT_EQ(bt_interface()->enable(false), BT_STATUS_SUCCESS);
157 EXPECT_EQ(bt_interface()->enable(false), BT_STATUS_SUCCESS);
182 EXPECT_EQ(bt_interface()->enable(false), BT_STATUS_SUCCESS);
/system/chre/apps/imu_cal/
H A Dimu_cal.cc39 bool enable; member in struct:chre::__anon1301::__anon1302::SensorState
66 .enable = true,
74 .enable = true,
81 .enable = true,
88 .enable = true,
107 if (!sensor.enable) {
169 "None of the required sensors to enable a runtime calibration were "
/system/bt/bta/include/
H A Dbta_pan_ci.h67 * Description This function is called to enable or disable data flow on
78 extern void bta_pan_ci_tx_flow(uint16_t handle, bool enable);
/system/bt/bta/mce/
H A Dbta_mce_int.h59 tBTA_MCE_API_ENABLE enable; member in union:__anon508
/system/bt/stack/btm/
H A Dble_advertiser_hci_interface.h80 virtual void Enable(uint8_t enable, std::vector<SetEnableData> sets,
83 void Enable(uint8_t enable, uint8_t handle, uint16_t duration, argument
91 Enable(enable, enableData, command_complete);
102 virtual void SetPeriodicAdvertisingEnable(uint8_t enable, uint8_t handle,

Completed in 1634 milliseconds

123456