/system/chre/platform/shared/include/chre/target_platform/ |
H A D | platform_gnss_base.h | 41 static void locationStatusChangeCallback(bool enabled, uint8_t errorCode); 43 static void measurementStatusChangeCallback(bool enabled, uint8_t errorCode);
|
H A D | platform_wifi_base.h | 40 static void scanMonitorStatusChangeCallback(bool enabled, uint8_t errorCode);
|
/system/update_engine/binder_bindings/android/brillo/ |
H A D | IUpdateEngine.aidl | 33 void SetP2PUpdatePermission(in boolean enabled); 35 void SetUpdateOverCellularPermission(in boolean enabled);
|
/system/bt/osi/src/ |
H A D | allocation_tracker.cc | 44 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 D | gnss.h | 72 * 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 D | wifi.h | 61 * @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 D | platform_gnss.cc | 92 void PlatformGnssBase::locationStatusChangeCallback(bool enabled, argument 95 .handleLocationSessionStatusChange(enabled, errorCode); 104 void PlatformGnssBase::measurementStatusChangeCallback(bool enabled, argument
|
H A D | platform_wifi.cc | 90 void PlatformWifiBase::scanMonitorStatusChangeCallback(bool enabled, argument 93 .handleScanMonitorStateChange(enabled, errorCode);
|
/system/extras/simpleperf/ |
H A D | IOEventLoop.cpp | 28 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 D | srvc_battery_int.h | 50 bool enabled; member in struct:__anon1271
|
H A D | srvc_dis_int.h | 46 bool enabled; member in struct:__anon1273
|
H A D | srvc_eng_int.h | 52 bool enabled; member in struct:__anon1275
|
/system/core/libcutils/ |
H A D | trace-host.c | 28 void atrace_set_tracing_enabled(bool enabled __unused) { }
|
/system/update_engine/client_library/include/update_engine/ |
H A D | client.h | 79 virtual bool SetP2PUpdatePermission(bool enabled) = 0; 80 virtual bool GetP2PUpdatePermission(bool* enabled) const = 0;
|
/system/bt/service/example/heart_rate/ |
H A D | server_main.cc | 103 // 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 D | gnss_request_manager.h | 84 * @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 D | wifi_request_manager.h | 57 * 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 D | client_dbus.h | 56 bool SetP2PUpdatePermission(bool enabled) override; 57 bool GetP2PUpdatePermission(bool* enabled) const override;
|
H A D | client_binder.h | 62 bool SetP2PUpdatePermission(bool enabled) override; 63 bool GetP2PUpdatePermission(bool* enabled) const override;
|
/system/chre/core/ |
H A D | gnss_request_manager.cc | 58 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 D | wifi_request_manager.cc | 111 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 D | imu_cal.cc | 108 // 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 D | io.h | 95 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 D | TextOutput.h | 104 inline HexDump& setCArrayStyle(bool enabled); 191 inline HexDump& HexDump::setCArrayStyle(bool enabled) { argument 192 mCArrayStyle = enabled; return *this;
|
/system/update_engine/ |
H A D | update_engine_client.cc | 365 // 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");
|