/system/core/adb/ |
H A D | sysdeps_unix.cpp | 20 int enable = (interval_sec > 0); local 21 if (adb_setsockopt(fd, SOL_SOCKET, SO_KEEPALIVE, &enable, sizeof(enable))) { 25 if (!enable) {
|
H A D | set_verity_enable_state_service.cpp | 50 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); 138 bool enable = (cookie != NULL); local 146 // be possible to disable/enable on any build (except USER). For 151 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 D | autosuspend_ops.h | 21 int (*enable)(void); member in struct:autosuspend_ops
|
/system/core/libunwindstack/include/unwindstack/ |
H A D | Log.h | 24 void log_to_stdout(bool enable);
|
/system/chre/platform/include/chre/platform/ |
H A D | platform_gnss.h | 52 * @param enable Whether to enable/disable the location session. 58 bool controlLocationSession(bool enable, Milliseconds minInterval, 73 * @param enable Whether to enable/disable the measurement session. 78 bool controlMeasurementSession(bool enable, Milliseconds minInterval);
|
H A D | platform_wifi.h | 52 * @param enable true to enable listening for scan results. 56 bool configureScanMonitor(bool enable);
|
/system/chre/pal/include/chre/pal/ |
H A D | gnss.h | 190 * @param enable true to start/modify the session, false to stop the 203 bool enable, uint32_t minIntervalMs, uint32_t minTimeToNextFixMs); 216 * @param enable true to start/modify the session, false to stop the 228 bool enable, uint32_t minIntervalMs); 266 * @param enable true to turn the passive location listener on, false to 274 bool (*configurePassiveLocationListener)(bool enable);
|
/system/chre/platform/shared/nanoapp/ |
H A D | nanoapp_support_lib_dso.cc | 92 bool chreAudioConfigureSource(uint32_t handle, bool enable, argument 97 fptr(handle, enable, bufferDuration, deliveryInterval) : false; 107 void chreConfigureHostSleepStateEvents(bool enable) { argument 110 fptr(enable); 121 bool chreGnssConfigureLocationMonitor(bool enable) { argument 123 return (fptr != nullptr) ? fptr(enable) : false;
|
/system/bt/service/doc/ |
H A D | IBluetooth.txt | 48 boolean enable();
|
/system/chre/core/include/chre/core/ |
H A D | nanoapp.h | 97 * @param enable true if events are to be sent, false otherwise. 99 void configureNanoappInfoEvents(bool enable); 105 * @param enable true if events are to be sent, false otherwise. 107 void configureHostSleepEvents(bool enable);
|
H A D | gnss_manager.h | 119 bool enable; member in struct:chre::GnssSession::StateTransition 122 //! valid if enable is set to true. 164 * Configures the GNSS engine to be enabled/disabled. If enable is set to true 168 * @param enable Whether to enable or disable the engine. 175 bool configure(Nanoapp *nanoapp, bool enable, Milliseconds minInterval, 194 * @param enable Whether the session is being enabled or disabled for this 201 bool addRequestToQueue(uint32_t instanceId, bool enable, 241 * @param enable true if enabling the session. 242 * @param minInterval the minimum reporting interval if enable i [all...] |
H A D | wifi_request_manager.h | 58 * multiple apps enable the scan monitor the PAL is only enabled once). 62 * @param enable true to enable scan monitoring, false to disable scan 70 bool configureScanMonitor(Nanoapp *nanoapp, bool enable, const void *cookie); 175 bool enable; //!< Requested scan monitor state member in struct:chre::WifiRequestManager::PendingScanMonitorRequest 265 * @param enable The target requested scan monitoring state. 271 bool addScanMonitorRequestToQueue(Nanoapp *nanoapp, bool enable, 276 * @param enable true if enabling scan monitoring. 281 bool updateNanoappScanMonitoringList(bool enable, uint32_t instanceId); 289 * @param enable Th [all...] |
/system/chre/platform/shared/ |
H A D | chre_api_audio.cc | 45 DLL_EXPORT bool chreAudioConfigureSource(uint32_t handle, bool enable, argument 51 .configureSource(nanoapp, handle, enable, bufferDuration,
|
H A D | chre_api_wifi.cc | 30 DLL_EXPORT bool chreWifiConfigureScanMonitorAsync(bool enable, argument 34 .configureScanMonitor(nanoapp, enable, cookie);
|
H A D | platform_gnss.cc | 71 bool PlatformGnss::controlLocationSession(bool enable, Milliseconds minInterval, argument 75 return mGnssApi->controlLocationSession(enable, 106 bool PlatformGnss::controlMeasurementSession(bool enable, argument 110 return mGnssApi->controlMeasurementSession(enable,
|
/system/bt/binder/android/bluetooth/le/ |
H A D | IAdvertisingSetCallback.aidl | 26 void onAdvertisingEnabled(in int advertiserId, in boolean enable, in int status); 32 void onPeriodicAdvertisingEnabled(in int advertiserId, in boolean enable, in int status);
|
/system/chre/core/ |
H A D | nanoapp.cc | 61 void Nanoapp::configureNanoappInfoEvents(bool enable) { argument 62 if (enable) { 71 void Nanoapp::configureHostSleepEvents(bool enable) { argument 72 if (enable) {
|
H A D | gnss_manager.cc | 75 return configure(nanoapp, true /* enable */, minInterval, minTimeToNext, 81 return configure(nanoapp, false /* enable */, Milliseconds(UINT64_MAX), 135 " minInterval(ms)=%" PRIu64 " enable=%d" 138 transition.enable, transition.nanoappInstanceId); 145 Nanoapp *nanoapp, bool enable, Milliseconds minInterval, 152 success = addRequestToQueue(instanceId, enable, minInterval, cookie); 153 } else if (isInRequestedState(enable, minInterval, hasRequest)) { 155 instanceId, true /* success */, enable, minInterval, CHRE_ERROR_NONE, 157 } else if (stateTransitionIsRequired(enable, minInterval, hasRequest, 159 success = addRequestToQueue(instanceId, enable, minInterva 144 configure( Nanoapp *nanoapp, bool enable, Milliseconds minInterval, Milliseconds minTimeToNext, const void *cookie) argument 192 addRequestToQueue( uint32_t instanceId, bool enable, Milliseconds minInterval, const void *cookie) argument 259 updateRequests( bool enable, Milliseconds minInterval, uint32_t instanceId) argument 304 postAsyncResultEvent( uint32_t instanceId, bool success, bool enable, Milliseconds minInterval, uint8_t errorCode, const void *cookie) argument 332 postAsyncResultEventFatal( uint32_t instanceId, bool success, bool enable, Milliseconds minInterval, uint8_t errorCode, const void *cookie) argument 412 controlPlatform( bool enable, Milliseconds minInterval, Milliseconds ) argument [all...] |
/system/chre/apps/sensor_world/ |
H A D | sensor_world.cc | 41 // enable/disable each sensor. 45 //! Whether to enable sensor event logging or not. 50 // sensors for testing by locally overriding 'enable' field in SensorState. 58 bool enable; member in struct:chre::__anon1393::__anon1394::SensorState 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 223 bool enable = getNextLfsrState() & 0x1; local [all...] |
/system/bt/btif/include/ |
H A D | btif_av.h | 156 * @param enable true to enable the A2DP Source service, false to disable it 159 bt_status_t btif_av_source_execute_service(bool enable); 164 * @param enable true to enable the A2DP Sink service, false to disable it 167 bt_status_t btif_av_sink_execute_service(bool enable);
|
/system/core/libpixelflinger/ |
H A D | pixelflinger.cpp | 60 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 D | Log.cpp | 34 void log_to_stdout(bool enable) { argument 35 g_print_to_stdout = enable;
|
/system/bt/binder/android/bluetooth/ |
H A D | IBluetoothManager.aidl | 37 boolean enable(String packageName); 50 int updateBleAppCount(IBinder b, boolean enable, String packageName);
|
/system/hardware/interfaces/net/netd/1.1/ |
H A D | INetd.hal | 100 * @param enable bool to enable or disable forwarding. 103 setIpForwardEnable(bool enable) generates (StatusCode status); 111 * @param enable bool to enable or disable forwarding between the 116 bool enable)
|
/system/bt/btif/co/ |
H A D | bta_gatts_co.cc | 35 bool enable; member in struct:__anon494 53 if (!p_cb->enable) { 55 p_cb->enable = true;
|