Searched defs:on (Results 1 - 12 of 12) sorted by relevance

/hardware/libhardware/modules/power/
H A Dpower.c11 * distributed under the License is distributed on an "AS IS" BASIS,
32 static void power_set_interactive(struct power_module *module, int on) argument
/hardware/qcom/power/
H A Dpower.c11 * distributed under the License is distributed on an "AS IS" BASIS,
166 static void power_set_interactive(struct power_module *module, int on) argument
169 last_state = on;
171 if (last_state == on)
174 last_state = on;
177 ALOGV("%s %s", __func__, (on ? "ON" : "OFF"));
178 if (on) {
/hardware/qcom/display/msm8974/libhwcomposer/
H A Dhwc_ad.cpp130 //-1 means feature is disabled on device
131 // 0 means feature exists but turned off, will be turned on by hwc
132 // 1 means feature is turned on by hwc
227 const int on = 1; local
228 adWrite(on);
/hardware/broadcom/libbt/src/
H A Dupio.c12 * distributed under the License is distributed on an "AS IS" BASIS,
245 ** on/off.
251 int upio_set_bluetooth_power(int on) argument
258 switch(on)
272 if (bt_emul_enable == on)
275 UPIODBG("set_bluetooth_power [emul] %d", on);
277 bt_emul_enable = on;
320 ** Description Set i/o based on polarity
/hardware/qcom/display/msm8084/libhwcomposer/
H A Dhwc_ad.cpp133 //-1 means feature is disabled on device
134 // 0 means feature exists but turned off, will be turned on by hwc
135 // 1 means feature is turned on by hwc
136 // Plus, we do this feature only on split primary displays.
199 //Set Security flag on writeback
253 const int on = 1; local
254 adWrite(on);
/hardware/qcom/display/msm8226/libhwcomposer/
H A Dhwc_ad.cpp101 //-1 means feature is disabled on device
102 // 0 means feature exists but turned off, will be turned on by hwc
103 // 1 means feature is turned on by hwc
104 // Plus, we do this feature only on split primary displays.
174 //Set Security flag on writeback
234 // Only turn on AD if there are no errors during configuration stage
238 const int on = 1; local
239 adWrite(on);
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
H A Dmpu_iio.c188 int enable_flick(char *p, int on) argument
192 ret = write_sysfs_int_and_verify("flick_int_on", p, on);
294 /* select which event to enable and interrupt on/off here */
/hardware/invensense/60xx/mlsdk/mllite/
H A Dml.c12 distributed under the License is distributed on an "AS IS" BASIS,
119 * @param port System handle for 'port' MPU device is found on.
386 * The FIFO does not have to be on for this callback.
500 * @brief inv_start_bias_calc starts the bias calculation on the MPU.
511 * @brief inv_stop_bias_calc stops the bias calculation on the MPU.
621 * @param on
622 * Boolean to turn the interrupt on or off.
625 inv_error_t inv_set_motion_interrupt(unsigned char on) argument
634 if (on) {
652 if (on) {
672 inv_set_fifo_interrupt(unsigned char on) argument
[all...]
/hardware/invensense/6515/libsensors_iio/
H A DMPLSensor.cpp11 * distributed under the License is distributed on an "AS IS" BASIS,
169 /* instantiate pressure sensor on secondary bus */
1172 LOGV_IF(PROCESS_VERBOSE, "HAL:DMP is set %s", (dmpState ? "on" : "off"));
1797 /* if neither step detector or step count is on */
1852 /* need to also turn on/off the master enable */
1874 /* need to also turn on/off the master enable */
1887 /* need to also turn on/off the master enable */
1964 /* Invensense Pressure on secondary bus */
2079 int on = 1; local
2241 res = enableAccel(on);
[all...]
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
H A Dstress_iio.c255 /* selelct which event to enable and interrupt on/off here */
331 static int enable_gyro(int on){ argument
333 ret = write_sysfs_int_and_verify("gyro_enable", dev_dir_name, on);
340 static int enable_gyro_output(int on){ argument
342 gyro_data_is_enabled = on;
343 ret = write_sysfs_int_and_verify("gyro_fifo_enable", dev_dir_name, on);
350 static int enable_compass(int on){ argument
353 compass_data_is_enabled = on;
354 ret = write_sysfs_int_and_verify("compass_enable", dev_dir_name, on);
361 static int enable_pressure(int on){ argument
371 enable_quaternion(int on) argument
385 enable_step_detector(int on) argument
392 enable_step_indicator(int on) argument
400 enable_accel(int on) argument
413 enable_accel_output(int on) argument
424 enable_enable(int on) argument
440 write_dmp_event(int on) argument
493 enable_motion(int on) argument
905 enable_enable_main(int on) argument
[all...]
/hardware/invensense/65xx/libsensors_iio/
H A DMPLSensor.cpp11 * distributed under the License is distributed on an "AS IS" BASIS,
289 /* instantiate pressure sensor on secondary bus */
664 /* disable driver master enable the first sensor goes on */
1765 /* if neither step detector or step count is on */
1840 /* need to also turn on/off the master enable */
1862 /* need to also turn on/off the master enable */
1875 /* need to also turn on/off the master enable */
1949 /* Invensense Pressure on secondary bus */
2054 int on = 1; local
2208 res = enableAccel(on);
[all...]
/hardware/libhardware_legacy/audio/
H A DAudioPolicyManagerBase.cpp11 * distributed under the License is distributed on an "AS IS" BASIS,
183 // do not force device change on duplicated output because if device is 0, it will
185 // a valid device selection on those outputs.
753 // increment usage count for this stream on the requested output:
776 // wait for audio on other active outputs to be presented when starting
827 // decrement usage count of this stream on the output
840 // force restoring the device selection on other active outputs if it differs from the
897 // If effects where present on the output, audioflinger moved them to the primary
1133 // compute and apply stream volume on all outputs according to connected device
1336 ALOGV("isNonOffloadableEffectEnabled() non offloadable effect %s enabled on sessio
3354 setStrategyMute(routing_strategy strategy, bool on, audio_io_handle_t output, int delayMs, audio_devices_t device) argument
3368 setStreamMute(int stream, bool on, audio_io_handle_t output, int delayMs, audio_devices_t device) argument
[all...]

Completed in 649 milliseconds