Home
last modified time | relevance | path

Searched refs:on (Results 1 – 25 of 1103) sorted by relevance

12345678910>>...45

/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
Dstress_iio.c331 static int enable_gyro(int on){ in enable_gyro() argument
333 ret = write_sysfs_int_and_verify("gyro_enable", dev_dir_name, on); in enable_gyro()
340 static int enable_gyro_output(int on){ in enable_gyro_output() argument
342 gyro_data_is_enabled = on; in enable_gyro_output()
343 ret = write_sysfs_int_and_verify("gyro_fifo_enable", dev_dir_name, on); in enable_gyro_output()
350 static int enable_compass(int on){ in enable_compass() argument
353 compass_data_is_enabled = on; in enable_compass()
354 ret = write_sysfs_int_and_verify("compass_enable", dev_dir_name, on); in enable_compass()
361 static int enable_pressure(int on){ in enable_pressure() argument
364 ret = write_sysfs_int_and_verify("pressure_enable", dev_dir_name, on); in enable_pressure()
[all …]
/hardware/google/interfaces/light/1.0/default/
DLightExt.cpp29 Return<Status> LightExt::applyHBM(bool on) { in applyHBM() argument
35 if (!android::base::WriteStringToFile((on ? "1" : "0"), in applyHBM()
41 mCurHBM = on; in applyHBM()
42 ALOGI("Set HBM to %d", on); in applyHBM()
61 Return<Status> LightExt::setHbm(bool on) { in setHbm() argument
63 mRegHBM = on; in setHbm()
/hardware/interfaces/secure_element/1.0/
DISecureElement.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
48 * Secure Elements like UICC, Secure Elements on SD cards etc.
67 * @param aid AID to uniquely identify the applet on the Secure Element
69 * @return status SecureElementStatus::SUCCESS on success,
71 * element has reached the maximum limit on the number of
74 * doesn't match any applet on the secure element and
81 * empty vector on failure.
91 * @param aid AID to uniquely identify the applet on the Secure Element
93 * @return status SecureElementStatus::SUCCESS on success,
95 * element has reached the maximum limit on the number of
[all …]
/hardware/interfaces/atrace/1.0/
DIAtraceDevice.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
31 * for userspace tracing turning on.
36 * @return status SUCCESS on success,
37 * ERROR_TRACING_POINT on error with enabling categories,
38 * ERROR_INVALID_ARGUMENT on invalid argument passed.
47 * @return status SUCCESS on success,
48 * ERROR_TRACING_POINT on error with disabling categories.
/hardware/interfaces/power/1.1/
DIPower.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
27 * Report cumulative info on the statistics on subsystem-level sleep states
30 * @return subsystems supported on this device and their sleep states
31 * @return retval SUCCESS on success or FILESYSTEM_ERROR on filesystem
38 * powerHintAsync() is called to pass hints on power requirements which
/hardware/interfaces/wifi/1.2/
DIWifiChipEventCallback.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
27 * Struct describing the state of each iface operating on the radio chain
28 * (hardware MAC) on the device.
33 /** Wifi channel on which this interface is operating. */
39 * on the device.
48 * List of bands on which this radio chain is operating.
56 /** List of interfaces on this radio chain (hardware MAC). */
68 * radio chain (hardware MAC) on the device.
Dtypes.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
31 * transmits Discovery Beacons (based on the Wi-Fi Aware protocol selection criteria). The value
32 * can be increased to reduce power consumption (on devices which would transmit Discovery
48 … * Controls whether the device may terminate listening on a Discovery Window (DW) earlier than the
54 * Controls whether NAN RTT (ranging) is permitted. Global flag on any NAN RTT operations are
80 * Event indication is received on both initiator and responder side when negotiation for a
81 * data-path finish: on success or failure.
89 * The channel(s) on which the NDP is scheduled to operate.
98 * Event indication is received by all NDP owners whenever the channels on which the NDP operates
/hardware/interfaces/radio/1.3/
DIRadio.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
35 * Specify which bands modem's background scan must act on.
39 * For example, CBRS is only on LTE band 48. By specifying this band,
52 * Toggle logical modem on/off. This is similar to @1.0::IRadio.setRadioPower(), however that
55 * which it is called. A modem stack must be on/active only when both setRadioPower() and
56 * enableModem() are set to on for it.
61 * @param on True to turn on the logical modem, otherwise turn it off.
65 oneway enableModem(int32_t serial, bool on);
68 * Request status of logical modem. It returns isEnabled=true if the logical modem is on.
/hardware/interfaces/power/1.0/
DIPower.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
33 * Typical actions are to turn on or off devices and adjust
44 * interactive state prior to turning on the screen.
53 * powerHint() is called to pass hints on power requirements which
66 * setFeature() is called to turn on or off a particular feature
67 * depending on the state parameter.
76 * Report cumulative info on the statistics on platform-level sleep states
84 * @return retval SUCCESS on success or FILESYSTEM_ERROR on filesystem
/hardware/qcom/power/
Dpower.c166 static void power_set_interactive(struct power_module *module, int on) in power_set_interactive() argument
169 last_state = on; in power_set_interactive()
171 if (last_state == on) in power_set_interactive()
174 last_state = on; in power_set_interactive()
177 ALOGV("%s %s", __func__, (on ? "ON" : "OFF")); in power_set_interactive()
178 if (on) { in power_set_interactive()
/hardware/interfaces/audio/5.0/
DIPrimaryDevice.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
53 * on the legacy HAL.
63 * on the legacy HAL.
73 * equivalent to getting AUDIO_PARAMETER_KEY_BT_SCO_WB on the legacy HAL.
82 * equivalent to setting AUDIO_PARAMETER_KEY_BT_SCO_WB on the legacy HAL.
92 * is equivalent to getting "hfp_enable" parameter value on the legacy HAL.
101 * is equivalent to setting "hfp_enable" parameter on the legacy HAL.
112 * on the legacy HAL.
123 * on the legacy HAL (except that legacy HAL implementations expect
141 * getting AUDIO_PARAMETER_KEY_TTY_MODE on the legacy HAL.
[all …]
/hardware/interfaces/audio/6.0/
DIPrimaryDevice.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
53 * on the legacy HAL.
63 * on the legacy HAL.
73 * equivalent to getting AUDIO_PARAMETER_KEY_BT_SCO_WB on the legacy HAL.
82 * equivalent to setting AUDIO_PARAMETER_KEY_BT_SCO_WB on the legacy HAL.
92 * is equivalent to getting "hfp_enable" parameter value on the legacy HAL.
101 * is equivalent to setting "hfp_enable" parameter on the legacy HAL.
112 * on the legacy HAL.
123 * on the legacy HAL (except that legacy HAL implementations expect
141 * getting AUDIO_PARAMETER_KEY_TTY_MODE on the legacy HAL.
[all …]
/hardware/interfaces/audio/4.0/
DIPrimaryDevice.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
53 * on the legacy HAL.
63 * on the legacy HAL.
73 * equivalent to getting AUDIO_PARAMETER_KEY_BT_SCO_WB on the legacy HAL.
82 * equivalent to setting AUDIO_PARAMETER_KEY_BT_SCO_WB on the legacy HAL.
92 * is equivalent to getting "hfp_enable" parameter value on the legacy HAL.
101 * is equivalent to setting "hfp_enable" parameter on the legacy HAL.
112 * on the legacy HAL.
123 * on the legacy HAL (except that legacy HAL implementations expect
141 * getting AUDIO_PARAMETER_KEY_TTY_MODE on the legacy HAL.
[all …]
/hardware/interfaces/audio/2.0/
DIStream.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
34 * to getting AUDIO_PARAMETER_STREAM_FRAME_COUNT on the legacy HAL.
57 * equivalent to getting AUDIO_PARAMETER_STREAM_SUP_SAMPLING_RATES on the
66 * to setting AUDIO_PARAMETER_STREAM_SAMPLING_RATE on the legacy HAL.
82 * equivalent to getting AUDIO_PARAMETER_STREAM_SUP_CHANNELS on the legacy
91 * setting AUDIO_PARAMETER_STREAM_CHANNELS on the legacy HAL.
107 * equivalent to getting AUDIO_PARAMETER_STREAM_SUP_FORMATS on the legacy
116 * setting AUDIO_PARAMETER_STREAM_FORMAT on the legacy HAL.
182 * equivalent to setting AUDIO_PARAMETER_DEVICE_[DIS]CONNECT on the legacy
194 * setting AUDIO_PARAMETER_STREAM_HW_AV_SYNC on the legacy HAL.
[all …]
DIPrimaryDevice.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
44 * on the legacy HAL.
54 * on the legacy HAL.
63 * equivalent to getting AUDIO_PARAMETER_KEY_BT_SCO_WB on the legacy HAL.
72 * equivalent to setting AUDIO_PARAMETER_KEY_BT_SCO_WB on the legacy HAL.
88 * getting AUDIO_PARAMETER_KEY_TTY_MODE on the legacy HAL.
97 * AUDIO_PARAMETER_KEY_TTY_MODE on the legacy HAL.
107 * AUDIO_PARAMETER_KEY_HAC on the legacy HAL.
117 * AUDIO_PARAMETER_KEY_HAC on the legacy HAL.
/hardware/interfaces/power/stats/1.0/
DIPowerStats.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
25 * @return status SUCCESS on success or NOT_SUPPORTED if
26 * feature is not enabled or FILESYSTEM_ERROR on filesystem nodes
34 * Reports accumulated energy since boot on each rail.
40 * @return status SUCCESS on success or NOT_SUPPORTED if
41 * feature is not enabled or FILESYSTEM_ERROR on filesystem nodes
49 * Streams accumulated energy since boot on each rail. This API is
92 * @return status SUCCESS on success or FILESYSTEM_ERROR on filesystem
107 * @return powerEntityInfos List of information on each PowerEntity
108 * @return status SUCCESS on success, NOT_SUPPORTED if feature is not
[all …]
/hardware/google/interfaces/light/1.1/default/
DLightExt.cpp103 Return<Status> LightExt::setHbm(bool on) { in setHbm() argument
105 mRegHBM = on; in setHbm()
118 Return<Status> LightExt::setHbmSv(bool on) { in setHbmSv() argument
120 mRegHBMSV = on; in setHbmSv()
/hardware/interfaces/gatekeeper/1.0/
DIGatekeeper.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
45 * This buffer can be used on subsequent calls to enroll or
48 * This method may return ERROR_GENERAL_FAILURE or ERROR_RETRY_TIMEOUT on
49 * failure. It must return STATUS_OK on success.
84 * This method may return ERROR_GENERAL_FAILURE or ERROR_RETRY_TIMEOUT on
85 * failure. It must return STATUS_OK on success.
103 * This method may return ERROR_GENERAL_FAILURE or ERROR_RETRY_TIMEOUT on
104 * failure. It must return STATUS_OK on success.
112 * no users must be enrolled on the device.
117 * This method may return ERROR_GENERAL_FAILURE or ERROR_RETRY_TIMEOUT on
[all …]
/hardware/qcom/display/msm8909w_3100/libqservice/
DQServiceUtils.h69 inline android::status_t toggleScreenUpdate(uint32_t on) { in toggleScreenUpdate() argument
70 return sendSingleParam(qService::IQService::TOGGLE_SCREEN_UPDATES, on); in toggleScreenUpdate()
82 inline android::status_t setCameraLaunchStatus(uint32_t on) { in setCameraLaunchStatus() argument
83 return sendSingleParam(qService::IQService::SET_CAMERA_STATUS, on); in setCameraLaunchStatus()
/hardware/interfaces/secure_element/1.2/
DISecureElement.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
28 * a soft reset depends on hardware design.
32 * @return SecureElementStatus::SUCCESS on success and SecureElementStatus::FAILED on error.
/hardware/qcom/display/msm8998/libqservice/
DQServiceUtils.h69 inline android::status_t toggleScreenUpdate(uint32_t on) { in toggleScreenUpdate() argument
70 return sendSingleParam(qService::IQService::TOGGLE_SCREEN_UPDATES, on); in toggleScreenUpdate()
82 inline android::status_t setCameraLaunchStatus(uint32_t on) { in setCameraLaunchStatus() argument
83 return sendSingleParam(qService::IQService::SET_CAMERA_STATUS, on); in setCameraLaunchStatus()
/hardware/qcom/display/msm8909/libqservice/
DQServiceUtils.h69 inline android::status_t toggleScreenUpdate(uint32_t on) { in toggleScreenUpdate() argument
70 return sendSingleParam(qService::IQService::TOGGLE_SCREEN_UPDATES, on); in toggleScreenUpdate()
82 inline android::status_t setCameraLaunchStatus(uint32_t on) { in setCameraLaunchStatus() argument
83 return sendSingleParam(qService::IQService::SET_CAMERA_STATUS, on); in setCameraLaunchStatus()
/hardware/qcom/sdm845/display/libqservice/
DQServiceUtils.h69 inline android::status_t toggleScreenUpdate(uint32_t on) { in toggleScreenUpdate() argument
70 return sendSingleParam(qService::IQService::TOGGLE_SCREEN_UPDATES, on); in toggleScreenUpdate()
82 inline android::status_t setCameraLaunchStatus(uint32_t on) { in setCameraLaunchStatus() argument
83 return sendSingleParam(qService::IQService::SET_CAMERA_STATUS, on); in setCameraLaunchStatus()
/hardware/qcom/display/msm8996/libqservice/
DQServiceUtils.h69 inline android::status_t toggleScreenUpdate(uint32_t on) { in toggleScreenUpdate() argument
70 return sendSingleParam(qService::IQService::TOGGLE_SCREEN_UPDATES, on); in toggleScreenUpdate()
82 inline android::status_t setCameraLaunchStatus(uint32_t on) { in setCameraLaunchStatus() argument
83 return sendSingleParam(qService::IQService::SET_CAMERA_STATUS, on); in setCameraLaunchStatus()
/hardware/qcom/sm8150/display/libqservice/
DQServiceUtils.h69 inline android::status_t toggleScreenUpdate(uint32_t on) { in toggleScreenUpdate() argument
70 return sendSingleParam(qService::IQService::TOGGLE_SCREEN_UPDATES, on); in toggleScreenUpdate()
82 inline android::status_t setCameraLaunchStatus(uint32_t on) { in setCameraLaunchStatus() argument
83 return sendSingleParam(qService::IQService::SET_CAMERA_STATUS, on); in setCameraLaunchStatus()

12345678910>>...45