/hardware/interfaces/vibrator/1.0/default/ |
H A D | Vibrator.cpp | 11 * distributed under the License is distributed on an "AS IS" BASIS, 37 Return<Status> Vibrator::on(uint32_t timeout_ms) { function in class:android::hardware::vibrator::V1_0::implementation::Vibrator 40 ALOGE("on command failed : %s", strerror(-ret));
|
/hardware/qcom/display/msm8996/libqservice/ |
H A D | QServiceUtils.h | 69 inline android::status_t toggleScreenUpdate(uint32_t on) { argument 70 return sendSingleParam(qService::IQService::TOGGLE_SCREEN_UPDATES, on); 82 inline android::status_t setCameraLaunchStatus(uint32_t on) { argument 83 return sendSingleParam(qService::IQService::SET_CAMERA_STATUS, on);
|
/hardware/qcom/display/msm8998/libqservice/ |
H A D | QServiceUtils.h | 69 inline android::status_t toggleScreenUpdate(uint32_t on) { argument 70 return sendSingleParam(qService::IQService::TOGGLE_SCREEN_UPDATES, on); 82 inline android::status_t setCameraLaunchStatus(uint32_t on) { argument 83 return sendSingleParam(qService::IQService::SET_CAMERA_STATUS, on);
|
/hardware/qcom/display/msm8909/libqservice/ |
H A D | QServiceUtils.h | 81 inline android::status_t toggleScreenUpdate(uint32_t on) { argument 82 return sendSingleParam(qService::IQService::TOGGLE_SCREEN_UPDATE, on);
|
/hardware/qcom/display/msm8994/libqservice/ |
H A D | QServiceUtils.h | 77 inline android::status_t toggleScreenUpdate(uint32_t on) { argument 78 return sendSingleParam(qService::IQService::TOGGLE_SCREEN_UPDATE, on);
|
/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/broadcom/libbt/src/ |
H A D | upio.c | 12 * distributed under the License is distributed on an "AS IS" BASIS, 280 ** on/off. 286 int upio_set_bluetooth_power(int on) argument 293 switch(on) 307 if (bt_emul_enable == on) 310 UPIODBG("set_bluetooth_power [emul] %d", on); 312 bt_emul_enable = on; 355 ** Description Set i/o based on polarity 505 /* arm user space timer based on action */
|
/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 | 101 //-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/qcom/display/msm8909/libhwcomposer/ |
H A D | hwc_ad.cpp | 104 //-1 means feature is disabled on device 105 // 0 means feature exists but turned off, will be turned on by hwc 106 // 1 means feature is turned on by hwc 107 // Plus, we do this feature only on split primary displays. 178 //Set Security flag on writeback 238 // Only turn on AD if there are no errors during configuration stage 242 const int on = 1; local 243 adWrite(on);
|
H A D | hwc_qclient.cpp | 158 // Return the destRect on external, if external orienation 319 static void toggleScreenUpdate(hwc_context_t* ctx, uint32_t on) { argument 320 ALOGD("%s: toggle update: %d", __FUNCTION__, on); 321 if (on == 0) {
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
H A D | hwc_ad.cpp | 104 //-1 means feature is disabled on device 105 // 0 means feature exists but turned off, will be turned on by hwc 106 // 1 means feature is turned on by hwc 107 // Plus, we do this feature only on split primary displays. 178 //Set Security flag on writeback 238 // Only turn on AD if there are no errors during configuration stage 242 const int on = 1; local 243 adWrite(on);
|
H A D | hwc_qclient.cpp | 157 // Return the destRect on external, if external orienation 322 static void toggleScreenUpdate(hwc_context_t* ctx, uint32_t on) { argument 323 ALOGD("%s: toggle update: %d", __FUNCTION__, on); 324 if (on == 0) {
|
/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/qcom/bt/msm8909/libbt-vendor/src/ |
H A D | bt_vendor_qcom.c | 13 * distributed under the License is distributed on an "AS IS" BASIS, 241 ALOGV("%s: on : value is: %d", __func__, value); 248 ALOGV("%s: on : value is incremented to : %d", __func__, value); 339 char on = (en)?'1':'0'; local 346 ALOGI("bt_powerup: %c", on); 406 if(can_perform_action(on) == false) { 436 ALOGE("Write %c to rfkill\n", on); 439 if ((size = write(fd, &on, 1)) < 0) { 448 if(on == '0'){ 460 /* If wlan driver is not loaded, and bt is changed from off => on */ [all...] |
/hardware/qcom/bt/msm8992/libbt-vendor/src/ |
H A D | bt_vendor_qcom.c | 13 * distributed under the License is distributed on an "AS IS" BASIS, 234 ALOGV("%s: on : value is: %d", __func__, value); 240 ALOGV("%s: on : value is incremented to : %d", __func__, value); 326 char on = (en)?'1':'0'; local 333 ALOGI("bt_powerup: %c", on); 393 if(can_perform_action(on) == false) { 423 ALOGE("Write %c to rfkill\n", on); 426 if ((size = write(fd, &on, 1)) < 0) { 435 if(on == '0'){ 447 /* If wlan driver is not loaded, and bt is changed from off => on */ [all...] |
/hardware/qcom/bt/msm8996/libbt-vendor/src/ |
H A D | bt_vendor_qcom.c | 13 * distributed under the License is distributed on an "AS IS" BASIS, 257 ALOGV("%s: on : value is: %d", __func__, value); 264 ALOGV("%s: on : value is incremented to : %d", __func__, value); 355 char on = (en)?'1':'0'; local 362 ALOGI("bt_powerup: %c", on); 422 if(can_perform_action(on) == false) { 452 ALOGE("Write %c to rfkill\n", on); 456 if ((size = write(fd, &on, 1)) < 0) { 467 if(on == '0'){ 479 /* If wlan driver is not loaded, and bt is changed from off => on */ [all...] |
/hardware/qcom/bt/msm8998/libbt-vendor/src/ |
H A D | bt_vendor_qcom.c | 13 * distributed under the License is distributed on an "AS IS" BASIS, 235 ALOGV("%s: on : value is: %d", __func__, value); 242 ALOGV("%s: on : value is incremented to : %d", __func__, value); 326 - Or through STOP_WCNSS_FILTER byte on Control socket 349 //Make sure of hci_filter_status and return the state based on it 388 char on = (en)?'1':'0'; local 395 ALOGI("bt_powerup: %c", on); 454 if(can_perform_action(on) == false) { 487 if(on == '0'){ 510 ALOGI("Write %c to rfkill\n", 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/6515/libsensors_iio/ |
H A D | MPLSensor.cpp | 11 * distributed under the License is distributed on an "AS IS" BASIS, 197 /* instantiate pressure sensor on secondary bus */ 1209 LOGV_IF(PROCESS_VERBOSE, "HAL:DMP is set %s", (dmpState ? "on" : "off")); 1849 /* if neither step detector or step count is on */ 1904 /* need to also turn on/off the master enable */ 1926 /* need to also turn on/off the master enable */ 1939 /* need to also turn on/off the master enable */ 2016 /* Invensense Pressure on secondary bus */ 2131 int on = 1; local 2293 res = enableAccel(on); [all...] |
/hardware/invensense/65xx/libsensors_iio/ |
H A D | MPLSensor.cpp | 11 * distributed under the License is distributed on an "AS IS" BASIS, 285 /* instantiate pressure sensor on secondary bus */ 660 /* disable driver master enable the first sensor goes on */ 1761 /* if neither step detector or step count is on */ 1836 /* need to also turn on/off the master enable */ 1858 /* need to also turn on/off the master enable */ 1871 /* need to also turn on/off the master enable */ 1945 /* Invensense Pressure on secondary bus */ 2050 int on = 1; local 2203 res = enableAccel(on); [all...] |
/hardware/ril/libril/ |
H A D | ril_service.cpp | 11 * distributed under the License is distributed on an "AS IS" BASIS, 172 Return<void> setRadioPower(int32_t serial, bool on); 311 int32_t on, 480 * Returns true on success, and false on failure. 742 "got updated on another thread"); 1006 Return<void> RadioImpl::setRadioPower(int32_t serial, bool on) { argument 1007 RLOGD("setRadioPower: serial %d on %d", serial, on); 1008 dispatchInts(serial, mSlotId, RIL_REQUEST_RADIO_POWER, 1, BOOL_TO_INT(on)); 1579 sendBurstDtmf(int32_t serial, const hidl_string& dtmf, int32_t on, int32_t off) argument [all...] |