Searched defs:enabled (Results 1 - 25 of 38) sorted by relevance

12

/system/bt/stack/srvc/
H A Dsrvc_dis_int.h46 bool enabled; member in struct:__anon1273
H A Dsrvc_battery_int.h50 bool enabled; member in struct:__anon1271
H A Dsrvc_eng_int.h52 bool enabled; member in struct:__anon1275
/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/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);
H A Dhost_protocol_chre.cc124 uint64_t appId, uint32_t appVersion, bool enabled, bool isSystemNanoapp) {
126 builder, appId, appVersion, enabled, isSystemNanoapp);
121 addNanoappListEntry( FlatBufferBuilder& builder, DynamicVector<Offset<fbs::NanoappListEntry>>& offsetVector, uint64_t appId, uint32_t appVersion, bool enabled, bool isSystemNanoapp) argument
/system/bt/btif/include/
H A Dbtif_pan_internal.h78 int enabled; member in struct:__anon594
/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/core/libcutils/
H A Dtrace-dev.c59 // Set whether tracing is enabled in this process. This is used to prevent
61 void atrace_set_tracing_enabled(bool enabled) argument
63 atomic_store_explicit(&atrace_is_enabled, enabled, memory_order_release);
87 // Determine whether application-level tracing is enabled for this process.
94 // Check whether tracing is enabled for this process.
H A Dsched_policy.cpp112 Yet another way to decide if cpuset is enabled is to parse
123 static bool enabled = (access("/dev/cpuset/tasks", F_OK) == 0); local
125 return enabled;
136 static bool enabled = (access("/dev/stune/tasks", F_OK) == 0); local
138 return enabled;
/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/bta/gatt/
H A Dbta_gatts_int.h143 bool enabled; member in struct:__anon168
/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/core/adf/libadfhwc/
H A Dadfhwc.cpp42 int enabled)
44 if (enabled != !!enabled)
52 return adf_set_event(dev->intf_fds[disp], ADF_EVENT_VSYNC, enabled);
41 adf_eventControl(struct adf_hwc_helper *dev, int disp, int event, int enabled) argument
/system/extras/libfec/
H A Dfec_verity.cpp569 decide whether dm-verity should be enabled */
636 int fec_verity_set_status(struct fec_handle *f, bool enabled) argument
654 if (v->disabled == !enabled) {
658 uint32_t magic = enabled ? VERITY_MAGIC : VERITY_MAGIC_DISABLE;
667 enabled ? "enabled" : "disabled");
668 v->disabled = !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/netd/server/
H A DTetherController.cpp68 void configureForTethering(bool enabled) { argument
69 writeToFile(kTcpBeLiberal, enabled ? "1" : "0");
/system/netd/server/dns/
H A DDnsTlsTransport.cpp41 bool setNonBlocking(int fd, bool enabled) { argument
45 if (enabled) {
/system/update_engine/
H A Dbinder_service_brillo.cc137 Status BinderUpdateEngineBrilloService::SetP2PUpdatePermission(bool enabled) { argument
139 enabled);
149 bool enabled) {
151 &UpdateEngineService::SetUpdateOverCellularPermission, enabled);
148 SetUpdateOverCellularPermission( bool enabled) argument
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");
/system/update_engine/client_library/
H A Dclient_binder.cc99 bool BinderUpdateEngineClient::SetP2PUpdatePermission(bool enabled) { argument
100 return service_->SetP2PUpdatePermission(enabled).isOk();
103 bool BinderUpdateEngineClient::GetP2PUpdatePermission(bool* enabled) const {
104 return service_->GetP2PUpdatePermission(enabled).isOk();
H A Dclient_dbus.cc92 bool DBusUpdateEngineClient::SetP2PUpdatePermission(bool enabled) { argument
93 return proxy_->SetP2PUpdatePermission(enabled, nullptr);
96 bool DBusUpdateEngineClient::GetP2PUpdatePermission(bool* enabled) const {
97 return proxy_->GetP2PUpdatePermission(enabled, nullptr);

Completed in 463 milliseconds

12