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

12

/hardware/qcom/camera/msm8998/QCamera2/HAL/android/
H A DQCamera2External.h41 inline android::status_t setCameraLaunchStatus(uint32_t on) { argument
42 return ::setCameraLaunchStatus(on);
/hardware/qcom/camera/msm8998/QCamera2/HAL3/android/
H A DQCamera3External.h41 inline android::status_t setCameraLaunchStatus(uint32_t on) { argument
42 return ::setCameraLaunchStatus(on);
/hardware/interfaces/vibrator/1.0/default/
H A DVibrator.cpp11 * 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/msm8909/libqservice/
H A DQServiceUtils.h69 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/msm8909w_3100/libqservice/
H A DQServiceUtils.h69 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/msm8996/libqservice/
H A DQServiceUtils.h69 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 DQServiceUtils.h69 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/msm8994/libqservice/
H A DQServiceUtils.h77 inline android::status_t toggleScreenUpdate(uint32_t on) { argument
78 return sendSingleParam(qService::IQService::TOGGLE_SCREEN_UPDATE, on);
/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/msm8909/libdisplayconfig/
H A DDisplayConfig.cpp294 int toggleScreenUpdate(uint32_t on) { argument
300 return intf->toggleScreenUpdate(on == 1);
335 int setCameraLaunchStatus(uint32_t on) { argument
341 return intf->setCameraLaunchStatus(on);
/hardware/qcom/display/msm8909w_3100/libdisplayconfig/
H A DDisplayConfig.cpp294 int toggleScreenUpdate(uint32_t on) { argument
300 return intf->toggleScreenUpdate(on == 1);
335 int setCameraLaunchStatus(uint32_t on) { argument
341 return intf->setCameraLaunchStatus(on);
/hardware/broadcom/libbt/src/
H A Dupio.c12 * distributed under the License is distributed on an "AS IS" BASIS,
283 ** on/off.
289 int upio_set_bluetooth_power(int on) argument
296 switch(on)
310 if (bt_emul_enable == on)
313 UPIODBG("set_bluetooth_power [emul] %d", on);
315 bt_emul_enable = on;
358 ** Description Set i/o based on polarity
508 /* arm user space timer based on action */
/hardware/qcom/camera/msm8998/QCamera2/
H A DQCamera2Factory.cpp252 * @halVersion: Based on camera_module_t.common.module_api_version
283 * DESCRIPTION: Attempt to turn on or off the torch mode of the flash unit.
287 * @on : Indicates whether to turn the flash on or off
292 int QCamera2Factory::set_torch_mode(const char* camera_id, bool on) argument
294 return gQCamera2Factory->setTorchMode(camera_id, on);
492 * @halVersion: Based on camera_module_t.common.module_api_version
539 * DESCRIPTION: Attempt to turn on or off the torch mode of the flash unit.
543 * @on : Indicates whether to turn the flash on o
548 setTorchMode(const char* camera_id, bool on) argument
[all...]
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
H A DIPACM_OffloadManager.cpp123 int on = 1, rel; local
151 rel = setsockopt(cc->fd_tcp, SOL_NETLINK, NETLINK_NO_ENOBUFS, &on, sizeof(int) );
160 rel = setsockopt(cc->fd_tcp, SOL_NETLINK, NETLINK_NO_ENOBUFS, &on, sizeof(int) );
211 /* check if netdev valid on device */
225 /* check if downstream netdev driver finished its configuration on IPA-HW */
240 IPACMDBG_H("cache event(%d) subnet info v4Addr (%x) v4Mask (%x) dev(%s) on entry (%d)\n",
253 IPACMDBG_H("subnet v6Mask: %08x:%08x:%08x:%08x dev(%s) on entry(%d), \n",
377 /* check if netdev valid on device */
384 /* check if downstream netdev driver finished its configuration on IPA-HW */
400 IPACMDBG_H("cache event(%d) ipv4 fateway: (%x) dev(%s) on entr
[all...]
/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/qcom/display/msm8909/sdm/libs/hwc2/
H A Dhwc_session_services.cpp365 Return<int32_t> HWCSession::toggleScreenUpdate(bool on) { argument
370 error = hwc_display_[HWC_DISPLAY_PRIMARY]->ToggleScreenUpdates(on);
372 DLOGE("Failed to toggle screen updates = %d. Error = %d", on, error);
440 Return<int32_t> HWCSession::setCameraLaunchStatus(uint32_t on) { argument
443 HWBwModes mode = on > 0 ? kBwCamera : kBwDefault;
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
H A Dhwc_session_services.cpp364 Return<int32_t> HWCSession::toggleScreenUpdate(bool on) { argument
369 error = hwc_display_[HWC_DISPLAY_PRIMARY]->ToggleScreenUpdates(on);
371 DLOGE("Failed to toggle screen updates = %d. Error = %d", on, error);
440 Return<int32_t> HWCSession::setCameraLaunchStatus(uint32_t on) { argument
443 HWBwModes mode = on > 0 ? kBwCamera : kBwDefault;
/hardware/qcom/display/msm8994/libhwcomposer/
H A Dhwc_ad.cpp104 //-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 Dhwc_qclient.cpp157 // 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 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/nxp/nfc/halimpl/self-test/
H A DphNxpNciHal_SelfTest.cc11 * distributed under the License is distributed on an "AS IS" BASIS,
1541 NFCSTATUS phNxpNciHal_RfFieldTest(uint8_t on) { argument
1546 NXPLOG_NCIHAL_D("phNxpNciHal_RfFieldTest - start %x\n", on);
1548 if (on == 0x01) {
1557 } else if (on == 0x00) {
/hardware/qcom/bt/msm8909/libbt-vendor/src/
H A Dbt_vendor_qcom.c13 * 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/msm8909w_3100/libbt-vendor/src/
H A Dbt_vendor_qcom.c13 * 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);
457 if(can_perform_action(on) == false) {
493 if(on == '0'){
516 ALOGI("Write %c to rfkill\n", on);
[all...]
/hardware/qcom/bt/msm8992/libbt-vendor/src/
H A Dbt_vendor_qcom.c13 * 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...]

Completed in 897 milliseconds

12