/hardware/ti/omap4xxx/ |
H A D | stacktrace.c | 51 stack_crawl_state_t* state = (stack_crawl_state_t*)arg; local 52 if (state->count) { 55 state->addrs[0] = ip; 56 state->addrs++; 57 state->count--; 70 stack_crawl_state_t state; local 71 state.count = max_entries; 72 state.addrs = (intptr_t*)addrs; 73 _Unwind_Backtrace(trace_function, (void*)&state); 74 return max_entries - state [all...] |
/hardware/qcom/audio/legacy/alsa_sound/ |
H A D | AudioPolicyManagerALSA.cpp | 49 void AudioPolicyManager::setPhoneState(int state) { argument 50 ALOGV("setPhoneState() state %d", state); 52 if (state < 0 || state >= AudioSystem::NUM_MODES) { 53 ALOGW("setPhoneState() invalid state %d", state); 57 if (state == mPhoneState) { 58 ALOGW("setPhoneState() setting same state %d", state); [all...] |
H A D | AudioPolicyManagerALSA.h | 38 virtual void setPhoneState(int state);
|
H A D | ALSAMixer.cpp | 351 status_t ALSAMixer::setCaptureMuteState(uint32_t device, bool state) argument 361 int err = snd_mixer_selem_set_capture_switch_all (info->elem, static_cast<int>(!state)); 364 state ? "enable" : "disable", info->name); 369 info->mute = state; 375 status_t ALSAMixer::getCaptureMuteState(uint32_t device, bool *state) argument 377 if (!state) return BAD_VALUE; 385 *state = info->mute; 392 status_t ALSAMixer::setPlaybackMuteState(uint32_t device, bool state) argument 402 int err = snd_mixer_selem_set_playback_switch_all (info->elem, static_cast<int>(!state)); 405 state 416 getPlaybackMuteState(uint32_t device, bool *state) argument [all...] |
/hardware/broadcom/wlan/bcmdhd/bcmdhd_net_iface/ |
H A D | bcmdhd_net_iface.c | 29 } state; variable in typeref:struct:net_if_snd_cmd_state 32 state.sock = socket(AF_INET, SOCK_DGRAM, 0); 33 if (state.sock < 0) { 56 bc += snprintf(&state.cmd[bc], sizeof(state.cmd) - bc, "%s ", argv[i]); 57 if (bc >= sizeof(state.cmd)) { 61 state.cmd[bc] = '\0'; 65 strncpy(state.ibuf, state.cmd, INTERFACE_MAX_BUFFER_SIZE); 67 priv_cmd.buf = state [all...] |
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/ |
H A D | results_holder.h | 38 void inv_set_acc_state(int state); 40 void inv_set_motion_state(unsigned char state); 58 void inv_set_compass_bias_found(int state); 60 void inv_set_large_mag_field(int state); 61 void inv_set_compass_state(int state); 74 void inv_set_accel_bias_found(int state);
|
H A D | results_holder.c | 39 int acc_state; /**< Describes accel state */ 44 long compass_count; /**< compass state internal counter */ 47 int compass_state; /**< Internal compass state */ 98 * @param[in] state value to set for magnetic field strength. Should be non-zero if it is large. 100 void inv_set_large_mag_field(int state) argument 102 rh.large_mag_field = state; 105 /** Gets the accel state set by inv_set_acc_state() 106 * @return accel state. 113 /** Sets the accel state. See inv_get_acc_state() to get the value. 114 * @param[in] state valu 116 inv_set_acc_state(int state) argument 136 inv_set_motion_state(unsigned char state) argument 338 inv_set_accel_bias_found(int state) argument 356 inv_set_compass_bias_found(int state) argument 364 inv_set_compass_state(int state) argument [all...] |
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
H A D | results_holder.h | 39 void inv_set_acc_state(int state); 41 void inv_set_motion_state(unsigned char state); 64 void inv_set_compass_bias_found(int state); 66 void inv_set_large_mag_field(int state); 67 void inv_set_compass_state(int state); 83 void inv_set_accel_bias_found(int state);
|
H A D | results_holder.c | 44 int acc_state; /**< Describes accel state */ 49 long compass_count; /**< compass state internal counter */ 52 int compass_state; /**< Internal compass state */ 138 * @param[in] state value to set for magnetic field strength. Should be non-zero if it is large. 140 void inv_set_large_mag_field(int state) argument 142 rh.large_mag_field = state; 145 /** Gets the accel state set by inv_set_acc_state() 146 * @return accel state. 153 /** Sets the accel state. See inv_get_acc_state() to get the value. 154 * @param[in] state valu 156 inv_set_acc_state(int state) argument 176 inv_set_motion_state(unsigned char state) argument 416 inv_set_accel_bias_found(int state) argument 434 inv_set_compass_bias_found(int state) argument 442 inv_set_compass_state(int state) argument [all...] |
/hardware/qcom/display/msm8960/liblight/ |
H A D | lights.c | 116 is_lit(struct light_state_t const* state) argument 118 return state->color & 0x00ffffff; 122 rgb_to_brightness(struct light_state_t const* state) argument 124 int color = state->color & 0x00ffffff; 131 struct light_state_t const* state) 134 int brightness = rgb_to_brightness(state); 143 struct light_state_t const* state) 151 switch (state->flashMode) { 153 onMS = state->flashOnMS; 154 offMS = state 130 set_light_backlight(struct light_device_t* dev, struct light_state_t const* state) argument 142 set_speaker_light_locked(struct light_device_t* dev, struct light_state_t const* state) argument 240 set_light_notifications(struct light_device_t* dev, struct light_state_t const* state) argument 251 set_light_attention(struct light_device_t* dev, struct light_state_t const* state) argument [all...] |
/hardware/qcom/display/msm8974/liblight/ |
H A D | lights.c | 116 is_lit(struct light_state_t const* state) argument 118 return state->color & 0x00ffffff; 122 rgb_to_brightness(struct light_state_t const* state) argument 124 int color = state->color & 0x00ffffff; 131 struct light_state_t const* state) 134 int brightness = rgb_to_brightness(state); 143 struct light_state_t const* state) 151 switch (state->flashMode) { 153 onMS = state->flashOnMS; 154 offMS = state 130 set_light_backlight(struct light_device_t* dev, struct light_state_t const* state) argument 142 set_speaker_light_locked(struct light_device_t* dev, struct light_state_t const* state) argument 240 set_light_notifications(struct light_device_t* dev, struct light_state_t const* state) argument 251 set_light_attention(struct light_device_t* dev, struct light_state_t const* state) argument [all...] |
/hardware/qcom/display/msm8x26/liblight/ |
H A D | lights.c | 116 is_lit(struct light_state_t const* state) argument 118 return state->color & 0x00ffffff; 122 rgb_to_brightness(struct light_state_t const* state) argument 124 int color = state->color & 0x00ffffff; 131 struct light_state_t const* state) 134 int brightness = rgb_to_brightness(state); 143 struct light_state_t const* state) 151 switch (state->flashMode) { 153 onMS = state->flashOnMS; 154 offMS = state 130 set_light_backlight(struct light_device_t* dev, struct light_state_t const* state) argument 142 set_speaker_light_locked(struct light_device_t* dev, struct light_state_t const* state) argument 240 set_light_notifications(struct light_device_t* dev, struct light_state_t const* state) argument 251 set_light_attention(struct light_device_t* dev, struct light_state_t const* state) argument [all...] |
/hardware/libhardware/include/hardware/ |
H A D | bt_av.h | 38 /** Callback for connection state change. 39 * state will have one of the values from btav_connection_state_t 41 typedef void (* btav_connection_state_callback)(btav_connection_state_t state, 44 /** Callback for audiopath state change. 45 * state will have one of the values from btav_audio_state_t 47 typedef void (* btav_audio_state_callback)(btav_audio_state_t state,
|
H A D | bt_pan.h | 39 * Callback for pan connection state 41 typedef void (*btpan_connection_state_callback)(btpan_connection_state_t state, bt_status_t error, 43 typedef void (*btpan_control_state_callback)(btpan_control_state_t state, bt_status_t error, 59 * enable the pan service by specified role. The result state of 61 * the state of connecting panu device will be notified by btpan_connection_state_callback 69 * start bluetooth pan connection to the remote device by specified pan role. The result state will be 74 * stop bluetooth pan connection. The result state will be returned by btpan_connection_state_callback
|
H A D | bt_hf.h | 69 /** Callback for connection state change. 70 * state will have one of the values from BtHfConnectionState 72 typedef void (* bthf_connection_state_callback)(bthf_connection_state_t state, bt_bdaddr_t *bd_addr); 74 /** Callback for audio connection state change. 75 * state will have one of the values from BtHfAudioState 77 typedef void (* bthf_audio_state_callback)(bthf_audio_state_t state, bt_bdaddr_t *bd_addr); 79 /** Callback for VR connection state change. 80 * state will have one of the values from BtHfVRState 82 typedef void (* bthf_vr_cmd_callback)(bthf_vr_state_t state); 264 bthf_call_state_t state, bthf_call_mode_ [all...] |
H A D | lights.h | 130 struct light_state_t const* state);
|
H A D | bt_hl.h | 73 * state will have one of the values from bthl_app_reg_state_t 75 typedef void (* bthl_app_reg_state_callback)(int app_id, bthl_app_reg_state_t state); 77 /** Callback for channel connection state change. 78 * state will have one of the values from 81 typedef void (* bthl_channel_state_callback)(int app_id, bt_bdaddr_t *bd_addr, int mdep_cfg_index, int channel_id, bthl_channel_state_t state, int fd);
|
/hardware/invensense/60xx/mlsdk/mllite/ |
H A D | mlstates.c | 26 * @brief Basic state machine definition and support for the Motion Library. 30 * @brief The Motion Library state machine definition. 84 * @brief return a string containing the label assigned to the given state. 85 * @param state The state of which the label has to be returned. 86 * @return A string containing the state label. 88 char *inv_state_name(unsigned char state) argument 90 switch (state) { 110 * @brief Perform a transition from the current state to newState. 115 * @param newState state w [all...] |
H A D | mlMathFunc.c | 28 * The filters A and B should be (sizeof(long) * state->length). 29 * The state variables x and y should be (sizeof(long) * (state->length - 1)) 31 * The state variables x and y should be initialized prior to the first call 33 * @param state Contains the length of the filter, filter coefficients and 34 * filter state variables x and y. 37 void inv_filter_long(struct filter_long *state, long x) argument 39 const long *b = state->b; 40 const long *a = state->a; 41 long length = state [all...] |
/hardware/ti/wlan/mac80211/ti-utils/ |
H A D | calibrator.c | 57 static int nl80211_init(struct nl80211_state *state) argument 61 state->nl_sock = nl_socket_alloc(); 62 if (!state->nl_sock) { 67 if (genl_connect(state->nl_sock)) { 73 if (genl_ctrl_alloc_cache(state->nl_sock, &state->nl_cache)) { 79 state->nl80211 = genl_ctrl_search_by_name(state->nl_cache, "nl80211"); 80 if (!state->nl80211) { 89 nl_cache_free(state 95 nl80211_cleanup(struct nl80211_state *state) argument 210 print_help(struct nl80211_state *state, struct nl_cb *cb, struct nl_msg *msg, int argc, char **argv) argument 278 __handle_cmd(struct nl80211_state *state, enum id_input idby, int argc, char **argv, const struct cmd **cmdout) argument 476 handle_cmd(struct nl80211_state *state, enum id_input idby, int argc, char **argv) argument [all...] |
H A D | plt.c | 42 static int plt_power_mode(struct nl80211_state *state, struct nl_cb *cb, argument 84 static int plt_tune_channel(struct nl80211_state *state, struct nl_cb *cb, argument 122 static int plt_ref_point(struct nl80211_state *state, struct nl_cb *cb, argument 215 static int plt_tx_bip(struct nl80211_state *state, struct nl_cb *cb, argument 267 static int plt_tx_tone(struct nl80211_state *state, struct nl_cb *cb, argument 306 static int plt_tx_cont(struct nl80211_state *state, struct nl_cb *cb, argument 379 static int plt_tx_stop(struct nl80211_state *state, struct nl_cb *cb, argument 409 static int plt_start_rx_statcs(struct nl80211_state *state, struct nl_cb *cb, argument 439 static int plt_stop_rx_statcs(struct nl80211_state *state, struct nl_cb *cb, argument 469 static int plt_reset_rx_statcs(struct nl80211_state *state, struc argument 533 plt_get_rx_statcs(struct nl80211_state *state, struct nl_cb *cb, struct nl_msg *msg, int argc, char **argv) argument 569 plt_rx_statistics(struct nl80211_state *state, struct nl_cb *cb, struct nl_msg *msg, int argc, char **argv) argument 644 plt_calibrate(struct nl80211_state *state, struct nl_cb *cb, struct nl_msg *msg, int argc, char **argv) argument [all...] |
/hardware/ti/wlan/mac80211/wpa_supplicant_lib/ |
H A D | driver_mac80211_nl.c | 47 static int wpa_driver_toggle_btcoex_state(char state) argument 54 ret = write(fd, &state, sizeof(state)); 57 wpa_printf(MSG_DEBUG, "%s: set btcoex state to '%c' result = %d", __func__, 58 state, ret);
|
/hardware/broadcom/libbt/src/ |
H A D | bt_vendor_brcm.c | 140 int *state = (int *) param; local 141 if (*state == BT_VND_PWR_OFF) 143 else if (*state == BT_VND_PWR_ON) 202 uint8_t *state = (uint8_t *) param; local 203 uint8_t wake_assert = (*state == BT_VND_LPM_WAKE_ASSERT) ? \
|
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/ |
H A D | OMXZoom.cpp | 53 BaseCameraAdapter::AdapterState state) 61 if ( ( ZOOM_ACTIVE & state ) != ZOOM_ACTIVE ) 96 CAMHAL_LOGEA("OMX component is in invalid state"); 141 AdapterState state; local 144 BaseCameraAdapter::getState(state); 156 if ( ZOOM_ACTIVE & state ) 176 if ( ZOOM_ACTIVE & state ) 212 ( ZOOM_ACTIVE & state ) ) 52 setParametersZoom(const CameraParameters ¶ms, BaseCameraAdapter::AdapterState state) argument
|
/hardware/qcom/audio/voice_processing/ |
H A D | voice_processing.c | 43 // Session state 49 // Effect/Preprocessor state 61 uint32_t state; // current state (enum effect_state) member in struct:effect_s 70 uint32_t state; // current state (enum session_state) member in struct:session_s 165 LOG_ALWAYS_FATAL("Bad state transition from %d to %d", from, to); 167 static int effect_set_state(struct effect_s *effect, uint32_t state) argument 170 ALOGV("effect_set_state() id %d, new %d old %d", effect->id, state, effect->state); [all...] |