Searched refs:enabled (Results 1 - 25 of 72) sorted by relevance

123

/system/chre/platform/shared/include/chre/target_platform/
H A Dplatform_gnss_base.h41 static void locationStatusChangeCallback(bool enabled, uint8_t errorCode);
43 static void measurementStatusChangeCallback(bool enabled, uint8_t errorCode);
H A Dplatform_wifi_base.h40 static void scanMonitorStatusChangeCallback(bool enabled, uint8_t errorCode);
/system/update_engine/binder_bindings/android/brillo/
H A DIUpdateEngine.aidl33 void SetP2PUpdatePermission(in boolean enabled);
35 void SetUpdateOverCellularPermission(in boolean enabled);
/system/bt/osi/src/
H A Dallocation_tracker.cc44 static bool enabled = false; variable
54 if (enabled) return;
61 enabled = true;
67 if (!enabled) return;
70 enabled = false;
75 if (!enabled) return;
82 if (!enabled) return 0;
105 if (!enabled || !ptr) return ptr;
140 if (!enabled || !ptr) return ptr;
174 return (!enabled)
[all...]
/system/chre/pal/include/chre/pal/
H A Dgnss.h72 * session in the "enabled" state even though it does not expect to deliver
75 * @param enabled true if the location session is currently active, false
82 void (*locationStatusChangeCallback)(bool enabled, uint8_t errorCode);
88 * previously invoked with enabled=true.
108 * @param enabled true if the measurement session is currently active, false
112 void (*measurementStatusChangeCallback)(bool enabled, uint8_t errorCode);
H A Dwifi.h61 * @param enabled true if the scan monitor is currently active and
69 void (*scanMonitorStatusChangeCallback)(bool enabled, uint8_t errorCode);
105 * monitoring is enabled.
/system/chre/platform/shared/
H A Dplatform_gnss.cc92 void PlatformGnssBase::locationStatusChangeCallback(bool enabled, argument
95 .handleLocationSessionStatusChange(enabled, errorCode);
104 void PlatformGnssBase::measurementStatusChangeCallback(bool enabled, argument
H A Dplatform_wifi.cc90 void PlatformWifiBase::scanMonitorStatusChangeCallback(bool enabled, argument
93 .handleScanMonitorStateChange(enabled, errorCode);
/system/extras/simpleperf/
H A DIOEventLoop.cpp28 bool enabled; member in struct:IOEvent
31 : loop(loop), e(nullptr), callback(callback), enabled(false) {}
128 e->enabled = true;
153 if (ref->enabled) {
158 ref->enabled = false;
164 if (!ref->enabled) {
169 ref->enabled = true;
/system/bt/stack/srvc/
H A Dsrvc_battery_int.h50 bool enabled; member in struct:__anon1271
H A Dsrvc_dis_int.h46 bool enabled; member in struct:__anon1273
H A Dsrvc_eng_int.h52 bool enabled; member in struct:__anon1275
/system/core/libcutils/
H A Dtrace-host.c28 void atrace_set_tracing_enabled(bool enabled __unused) { }
/system/update_engine/client_library/include/update_engine/
H A Dclient.h79 virtual bool SetP2PUpdatePermission(bool enabled) = 0;
80 virtual bool GetP2PUpdatePermission(bool* enabled) const = 0;
/system/bt/service/example/heart_rate/
H A Dserver_main.cc103 // Bluetooth needs to be enabled for our demo to work.
104 bool enabled; local
105 bluetooth->IsEnabled(&enabled);
106 if (!enabled) {
107 LOG(ERROR) << "Bluetooth is not enabled.";
/system/chre/core/include/chre/core/
H A Dgnss_request_manager.h84 * @param enabled true if the location session is currently active
89 void handleLocationSessionStatusChange(bool enabled, uint8_t errorCode);
166 * Configures the location engine to be enabled/disabled. If enable is set to
198 * @param enable Whether the location session is being enabled or disabled for
209 * @return true if the location session is currently enabled.
286 * @param enabled true if the location session was enabled
289 void handleLocationSessionStatusChangeSync(bool enabled, uint8_t errorCode);
H A Dwifi_request_manager.h57 * multiple apps enable the scan monitor the PAL is only enabled once).
91 * @param enabled true if the result of the operation was an enabled scan
97 void handleScanMonitorStateChange(bool enabled, uint8_t errorCode);
161 //! The list of nanoapps who have enabled scan monitoring. This list is
166 //! made and the scan monitor must remain enabled when an active request has
189 * @return true if the scan monitor is enabled by any nanoapps.
310 * @param enabled true if the result of the operation was an enabled scan
316 void handleScanMonitorStateChangeSync(bool enabled, uint8_
[all...]
/system/update_engine/client_library/
H A Dclient_dbus.h56 bool SetP2PUpdatePermission(bool enabled) override;
57 bool GetP2PUpdatePermission(bool* enabled) const override;
H A Dclient_binder.h62 bool SetP2PUpdatePermission(bool enabled) override;
63 bool GetP2PUpdatePermission(bool* enabled) const override;
/system/chre/core/
H A Dgnss_request_manager.cc58 void GnssRequestManager::handleLocationSessionStatusChange(bool enabled, argument
61 bool enabled; member in struct:chre::CallbackState
69 cbState->enabled = enabled;
75 .handleLocationSessionStatusChangeSync(state->enabled,
274 // The location session was successfully enabled for this nanoapp and
295 // enabled nanoapp. Remove it from the list of requests.
349 bool enabled, uint8_t errorCode) {
362 success &= (stateTransition.enable == enabled);
348 handleLocationSessionStatusChangeSync( bool enabled, uint8_t errorCode) argument
H A Dwifi_request_manager.cc111 void WifiRequestManager::handleScanMonitorStateChange(bool enabled, argument
114 bool enabled; member in struct:chre::CallbackState
122 cbState->enabled = enabled;
128 .handleScanMonitorStateChangeSync(state->enabled, state->errorCode);
181 "enabled" : "disabled");
184 " Wifi scan monitor enabled nanoapps:\n");
271 // The scan monitor was successfully enabled for this nanoapp and
287 // The scan monitor was successfully disabled for a previously enabled
377 void WifiRequestManager::handleScanMonitorStateChangeSync(bool enabled, argument
[all...]
/system/chre/apps/imu_cal/
H A Dimu_cal.cc108 // Only configure enabled sensors.
146 gGyroEnabled = status.enabled;
200 ev->status.enabled != gGyroEnabled) {
201 // Modify sensor latency based on whether Gyro is enabled.
202 gGyroEnabled = ev->status.enabled;
/system/extras/libfec/include/fec/
H A Dio.h95 extern int fec_verity_set_status(struct fec_handle *f, bool enabled);
184 bool set_verity_status(bool enabled) { argument
185 return !fec_verity_set_status(handle_.get(), enabled);
/system/libhwbinder/include/hwbinder/
H A DTextOutput.h104 inline HexDump& setCArrayStyle(bool enabled);
191 inline HexDump& HexDump::setCArrayStyle(bool enabled) { argument
192 mCArrayStyle = enabled; return *this;
/system/update_engine/
H A Dupdate_engine_client.cc365 // Change the P2P enabled setting.
367 bool enabled = FLAGS_p2p_update == "yes"; local
368 if (!enabled && FLAGS_p2p_update != "no") {
372 if (!client_->SetP2PUpdatePermission(enabled)) {
402 // Show the current P2P enabled setting.
404 bool enabled; local
406 if (!client_->GetP2PUpdatePermission(&enabled)) {
412 << (enabled ? "ENABLED" : "DISABLED");

Completed in 425 milliseconds

123