/hardware/libhardware/include/hardware/ |
H A D | audio_policy.h | 56 * - keep track of current system state (removable device connections, phone 57 * state, user requests...). 58 * System state changes and user actions are notified to audio policy 69 * current system state. 91 audio_policy_dev_state_t state, 100 /* indicate a change in phone state. Valid phones states are defined 102 void (*set_phone_state)(struct audio_policy *pol, audio_mode_t state); 243 /* dump state */
|
/hardware/libhardware/modules/audio/ |
H A D | audio_policy.c | 47 audio_policy_dev_state_t state, 61 static void ap_set_phone_state(struct audio_policy *pol, audio_mode_t state) argument 45 ap_set_device_connection_state(struct audio_policy *pol, audio_devices_t device, audio_policy_dev_state_t state, const char *device_address) argument
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
H A D | AudioHardwareInterface.h | 97 /** dump the state of the audio output device */ 163 /** dump the state of the audio input device */ 241 virtual status_t setMicMute(bool state) = 0; 242 virtual status_t getMicMute(bool* state) = 0; 278 /**This method dumps the state of the audio hardware */
|
H A D | AudioPolicyInterface.h | 43 // - keep track of current system state (removable device connections, phone state, user requests...). 44 // System state changes and user actions are notified to audio policy manager with methods of the AudioPolicyInterface. 49 // to close or reconfigure the output depending on other streams using this output and current system state. 71 AudioSystem::device_connection_state state, 76 // indicate a change in phone state. Valid phones states are defined by AudioSystem::audio_mode 77 virtual void setPhoneState(int state) = 0; 165 //dump state
|
/hardware/qcom/audio/hal/audio_extn/ |
H A D | audio_extn.h | 58 #define audio_extn_hfp_set_mic_mute(adev, state) (0) 67 int audio_extn_hfp_set_mic_mute(struct audio_device *adev, bool state);
|
/hardware/qcom/audio/hal/ |
H A D | platform_api.h | 81 int platform_set_mic_mute(void *platform, bool state); 83 int platform_set_device_mute(void *platform, bool state, char *dir);
|
/hardware/qcom/display/msm8909/sdm/include/core/ |
H A D | display_interface.h | 67 kStateOff, //!< Display is OFF. Contents are not rendered in this state. Client will not 68 //!< receive VSync events in this state. This is default state as well. 70 kStateOn, //!< Display is ON. Contents are rendered in this state. 72 kStateDoze, //!< Display is ON and it is configured in a low power state. 75 //!< Display is ON in a low power state and continue showing its current 78 kStateStandby, //!< Display is OFF. Client will continue to receive VSync events in this state 79 //!< if VSync is enabled. Contents are not rendered in this state. 332 /*! @brief Method to get current state of the display device. 334 @param[out] state \lin [all...] |
/hardware/qcom/display/msm8909/sdm/libs/core/ |
H A D | display_base.h | 59 virtual DisplayError GetDisplayState(DisplayState *state); 65 virtual DisplayError SetDisplayState(DisplayState state);
|
/hardware/qcom/display/msm8909w_3100/sdm/include/core/ |
H A D | display_interface.h | 67 kStateOff, //!< Display is OFF. Contents are not rendered in this state. Client will not 68 //!< receive VSync events in this state. This is default state as well. 70 kStateOn, //!< Display is ON. Contents are rendered in this state. 72 kStateDoze, //!< Display is ON and it is configured in a low power state. 75 //!< Display is ON in a low power state and continue showing its current 78 kStateStandby, //!< Display is OFF. Client will continue to receive VSync events in this state 79 //!< if VSync is enabled. Contents are not rendered in this state. 332 /*! @brief Method to get current state of the display device. 334 @param[out] state \lin [all...] |
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/ |
H A D | display_base.h | 59 virtual DisplayError GetDisplayState(DisplayState *state); 65 virtual DisplayError SetDisplayState(DisplayState state);
|
H A D | display_base.cpp | 352 DisplayError DisplayBase::GetDisplayState(DisplayState *state) { argument 354 if (!state) { 358 *state = state_; 410 DisplayError DisplayBase::SetDisplayState(DisplayState state) { argument 415 DLOGI("Set state = %d, display %d", state, display_type_); 417 if (state == state_) { 418 DLOGI("Same state transition is requested."); 422 switch (state) { 457 DLOGE("Spurious state [all...] |
/hardware/qcom/display/msm8996/sdm/libs/core/ |
H A D | display_base.h | 63 virtual DisplayError GetDisplayState(DisplayState *state); 68 virtual DisplayError SetDisplayState(DisplayState state);
|
/hardware/qcom/display/msm8998/sdm/include/core/ |
H A D | display_interface.h | 67 kStateOff, //!< Display is OFF. Contents are not rendered in this state. Client will not 68 //!< receive VSync events in this state. This is default state as well. 70 kStateOn, //!< Display is ON. Contents are rendered in this state. 72 kStateDoze, //!< Display is ON and it is configured in a low power state. 75 //!< Display is ON in a low power state and continue showing its current 78 kStateStandby, //!< Display is OFF. Client will continue to receive VSync events in this state 79 //!< if VSync is enabled. Contents are not rendered in this state. 323 /*! @brief Method to get current state of the display device. 325 @param[out] state \lin [all...] |
/hardware/qcom/display/msm8998/sdm/libs/core/ |
H A D | display_base.h | 58 virtual DisplayError GetDisplayState(DisplayState *state); 64 virtual DisplayError SetDisplayState(DisplayState state);
|
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
H A D | hwc_display.cpp | 640 bool state; local 642 state = true; 644 state = false; 648 error = display_intf_->SetVSyncState(state); 664 DisplayState state = kStateOff; local 676 state = kStateOff; 682 state = kStateOn; 686 state = kStateDoze; 690 state = kStateDozeSuspend; 697 ATRACE_INT("SetPowerMode ", state); 1602 DisplayState state; local [all...] |
/hardware/qcom/bt/msm8909/libbt-vendor/src/ |
H A D | bt_vendor_qcom.c | 338 char state; local 366 /* Assign rfkill_id and find bluetooth rfkill state path*/ 386 asprintf(&rfkill_state, "/sys/class/rfkill/rfkill%d/state", rfkill_id = i); 977 uint8_t *state = (uint8_t *) param; local 978 uint8_t wake_assert = (*state == BT_VND_LPM_WAKE_ASSERT) ? \ 996 uint8_t *state = (uint8_t *) param; local 997 uint8_t wake_assert = (*state == BT_VND_LPM_WAKE_ASSERT) ? \
|
/hardware/qcom/bt/msm8992/libbt-vendor/src/ |
H A D | bt_vendor_qcom.c | 325 char state; local 353 /* Assign rfkill_id and find bluetooth rfkill state path*/ 373 asprintf(&rfkill_state, "/sys/class/rfkill/rfkill%d/state", rfkill_id = i); 951 uint8_t *state = (uint8_t *) param; local 952 uint8_t wake_assert = (*state == BT_VND_LPM_WAKE_ASSERT) ? \ 970 uint8_t *state = (uint8_t *) param; local 971 uint8_t wake_assert = (*state == BT_VND_LPM_WAKE_ASSERT) ? \
|
/hardware/qcom/bt/msm8996/libbt-vendor/src/ |
H A D | bt_vendor_qcom.c | 354 char state; local 382 /* Assign rfkill_id and find bluetooth rfkill state path*/ 402 asprintf(&rfkill_state, "/sys/class/rfkill/rfkill%d/state", rfkill_id = i); 1016 uint8_t *state = (uint8_t *) param; local 1017 uint8_t wake_assert = (*state == BT_VND_LPM_WAKE_ASSERT) ? \ 1035 uint8_t *state = (uint8_t *) param; local 1036 uint8_t wake_assert = (*state == BT_VND_LPM_WAKE_ASSERT) ? \
|
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
H A D | hwc_display.cpp | 671 bool state; local 673 state = true; 675 state = false; 679 error = display_intf_->SetVSyncState(state); 695 DisplayState state = kStateOff; local 707 state = kStateOff; 713 state = kStateOn; 717 state = kStateDoze; 721 state = kStateDozeSuspend; 728 DisplayError error = display_intf_->SetDisplayState(state); 1708 DisplayState state; local [all...] |
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
H A D | hwc_display.cpp | 641 bool state; local 643 state = true; 645 state = false; 649 error = display_intf_->SetVSyncState(state); 665 DisplayState state = kStateOff; local 677 state = kStateOff; 683 state = kStateOn; 687 state = kStateDoze; 691 state = kStateDozeSuspend; 698 DisplayError error = display_intf_->SetDisplayState(state); 1627 DisplayState state; local [all...] |
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
H A D | hwc_display.cpp | 457 bool state; local 459 state = true; 461 state = false; 465 error = display_intf_->SetVSyncState(state); 481 DisplayState state = kStateOff; local 493 state = kStateOff; 496 state = kStateOn; 500 state = kStateDoze; 504 state = kStateDozeSuspend; 511 DisplayError error = display_intf_->SetDisplayState(state); 1399 DisplayState state; local [all...] |
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/ |
H A D | mm_camera_stream.c | 121 /* state machine function declare */ 215 LOGD("E, my_handle = 0x%x, fd = %d, state = %d", 216 my_obj->my_hdl, my_obj->fd, my_obj->state); 331 LOGD("E, my_handle = 0x%x, fd = %d, state = %d", 332 my_obj->my_hdl, my_obj->fd, my_obj->state); 333 if (MM_STREAM_STATE_ACTIVE != my_obj->state) { 334 /* this Cb will only received in active_stream_on state 336 LOGE("ERROR!! Wrong state (%d) to receive data notify!", 337 my_obj->state); 409 LOGD("E, my_handle = 0x%x, fd = %d, state [all...] |
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/ |
H A D | omx_vdec_test.cpp | 1707 DEBUG_PRINT("\nComponent %s is in LOADED state\n", vdecCompNames); 2064 OMX_STATETYPE state = OMX_StateInvalid; local 2065 OMX_GetState(dec_handle, &state); 2066 if (state == OMX_StateIdle) 2073 DEBUG_PRINT_ERROR("Error - Decoder is in state %d and trying to call OMX_FreeHandle \n", state); 2224 OMX_STATETYPE state = OMX_StateInvalid; local 2225 OMX_GetState(dec_handle, &state); 2226 if (state == OMX_StateExecuting) 2233 DEBUG_PRINT_ERROR("Error - Decoder is in state 2243 OMX_STATETYPE state = OMX_StateInvalid; local 2456 OMX_STATETYPE state = OMX_StateInvalid; local [all...] |
/hardware/qcom/msm8998/gpt-utils/ |
H A D | gpt-utils.cpp | 390 * \brief Checks GPT state (header signature and CRC) 394 * \param [out] state GPT header state 400 static int gpt_get_state(int fd, enum gpt_instance gpt, enum gpt_state *state) argument 408 *state = GPT_OK; 435 *state = GPT_BAD_SIGNATURE; 442 *state = GPT_BAD_CRC; 456 * \brief Sets GPT header state (used to corrupt and fix GPT signature) 460 * \param [in] state GPT header state t 466 gpt_set_state(int fd, enum gpt_instance gpt, enum gpt_state state) argument [all...] |
/hardware/ril/reference-ril/ |
H A D | reference-ril.c | 270 static int clccStateToRILState(int state, RIL_CallState *p_state) argument 273 switch(state) { 291 // index,isMT,state,mode,isMpty(,number,TOA)? 294 int state; local 306 err = at_tok_nextint(&line, &state); 309 err = clccStateToRILState(state, &(p_call->state)); 370 enum InterfaceState state) { 392 if ((state == kInterfaceUp && isUp) || (state 369 setInterfaceState(const char* interfaceName, enum InterfaceState state) argument 3616 char state = 0; local [all...] |