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

/hardware/libhardware_legacy/power/
H A Dpower_qemu.c11 * distributed under the License is distributed on an "AS IS" BASIS,
23 qemu_set_screen_state(int on) argument
25 qemu_control_command( "power:screen_state:%s", on ? "wake" : "standby" );
H A Dpower.c11 * distributed under the License is distributed on an "AS IS" BASIS,
65 static const char *on_state = "on";
163 set_screen_state(int on) argument
165 QEMU_FALLBACK(set_screen_state(on));
167 LOGI("*** set_screen_state %d", on);
179 if(on)
/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.
375 * The FIFO does not have to be on for this callback.
489 * @brief inv_start_bias_calc starts the bias calculation on the MPU.
500 * @brief inv_stop_bias_calc stops the bias calculation on the MPU.
610 * @param on
611 * Boolean to turn the interrupt on or off.
614 inv_error_t inv_set_motion_interrupt(unsigned char on) argument
623 if (on) {
641 if (on) {
661 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,
518 // if playing on 2 devices among which one is A2DP, use duplicated output
525 // if playing on 2 devices among which none is A2DP, use hardware output
532 // if playing on A2DP device, use a2dp output
538 // if playing on not A2DP device, use hardware output
571 // incremenent usage count for this stream on the requested output:
617 // decrement usage count of this stream on the output
830 // compute and apply stream volume on all outputs according to connected device
1373 // mute music on A2DP output if a notification or ringtone is playing
1399 // mute media strategy to avoid outputting sound on hardwar
2167 setStrategyMute(routing_strategy strategy, bool on, audio_io_handle_t output, int delayMs) argument
2177 setStreamMute(int stream, bool on, audio_io_handle_t output, int delayMs) argument
[all...]

Completed in 181 milliseconds