/hardware/libhardware/modules/power/ |
H A D | power.c | 11 * 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 D | power.c | 11 * 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 D | hwc_ad.cpp | 130 //-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 D | upio.c | 12 * 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 D | hwc_ad.cpp | 133 //-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 D | hwc_ad.cpp | 133 //-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. 195 //Set Security flag on writeback 248 const int on = 1; local 249 adWrite(on);
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/ |
H A D | mpu_iio.c | 188 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 D | ml.c | 12 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 D | MPLSensor.cpp | 11 * 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 D | stress_iio.c | 255 /* 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 D | MPLSensor.cpp | 11 * 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 D | AudioPolicyManagerBase.cpp | 11 * distributed under the License is distributed on an "AS IS" BASIS, 178 // do not force device change on duplicated output because if device is 0, it will 180 // a valid device selection on those outputs. 744 // increment usage count for this stream on the requested output: 767 // wait for audio on other active outputs to be presented when starting 818 // decrement usage count of this stream on the output 831 // force restoring the device selection on other active outputs if it differs from the 888 // If effects where present on the output, audioflinger moved them to the primary 1124 // compute and apply stream volume on all outputs according to connected device 1327 ALOGV("isNonOffloadableEffectEnabled() non offloadable effect %s enabled on sessio 3345 setStrategyMute(routing_strategy strategy, bool on, audio_io_handle_t output, int delayMs, audio_devices_t device) argument 3359 setStreamMute(int stream, bool on, audio_io_handle_t output, int delayMs, audio_devices_t device) argument [all...] |