Searched defs:on (Results 1 - 7 of 7) 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,
133 static void power_set_interactive(struct power_module *module, int on) argument
136 last_state = on;
138 if (last_state == on)
141 last_state = on;
144 ALOGV("%s %s", __func__, (on ? "ON" : "OFF"));
145 if (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/invensense/libsensors_iio/software/simple_apps/mpu_iio/
H A Dmpu_iio.c142 void enable_flick(char *p, int on){ argument
145 ret = write_sysfs_int_and_verify("flick_int_on", p, on);
275 /* selelct which event to enable and interrupt on/off here */
/hardware/msm7k/liblights/
H A Dlights.c11 * distributed under the License is distributed on an "AS IS" BASIS,
141 // can reset the timer on the breathing mode, which looks bad.
178 int on = is_lit(state); local
180 err = write_int(KEYBOARD_FILE, on?255:0);
190 int on = is_lit(state); local
192 g_buttons = on;
193 err = write_int(BUTTON_FILE, on?255:0);
257 // pwm = 255 => always on
/hardware/invensense/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/libhardware_legacy/audio/
H A DAudioPolicyManagerBase.cpp11 * distributed under the License is distributed on an "AS IS" BASIS,
175 // do not force device change on duplicated output because if device is 0, it will
177 // a valid device selection on those outputs.
695 // increment usage count for this stream on the requested output:
718 // wait for audio on other active outputs to be presented when starting
769 // decrement usage count of this stream on the output
782 // force restoring the device selection on other active outputs if it differs from the
1034 // compute and apply stream volume on all outputs according to connected device
1788 ALOGV("checkOutputsForDevice(): clearing direct output profile %d on module %d",
1831 // As all active tracks on duplicate
2898 setStrategyMute(routing_strategy strategy, bool on, audio_io_handle_t output, int delayMs, audio_devices_t device) argument
2912 setStreamMute(int stream, bool on, audio_io_handle_t output, int delayMs, audio_devices_t device) argument
[all...]

Completed in 297 milliseconds