Searched refs:state (Results 1 - 25 of 183) sorted by relevance

12345678

/hardware/ti/omap4xxx/
H A Dstacktrace.c51 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/broadcom/wlan/bcmdhd/bcmdhd_net_iface/
H A Dbcmdhd_net_iface.c29 } 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/qcom/display/liblight/
H A Dlights.c100 is_lit(struct light_state_t const* state) argument
102 return state->color & 0x00ffffff;
106 rgb_to_brightness(struct light_state_t const* state) argument
108 int color = state->color & 0x00ffffff;
115 struct light_state_t const* state)
118 int brightness = rgb_to_brightness(state);
127 struct light_state_t const* state)
135 switch (state->flashMode) {
137 onMS = state->flashOnMS;
138 offMS = state
114 set_light_backlight(struct light_device_t* dev, struct light_state_t const* state) argument
126 set_speaker_light_locked(struct light_device_t* dev, struct light_state_t const* state) argument
208 set_light_notifications(struct light_device_t* dev, struct light_state_t const* state) argument
219 set_light_attention(struct light_device_t* dev, struct light_state_t const* state) argument
[all...]
/hardware/msm7k/liblights/
H A Dlights.c124 is_lit(struct light_state_t const* state) argument
126 return state->color & 0x00ffffff;
150 rgb_to_brightness(struct light_state_t const* state) argument
152 int color = state->color & 0x00ffffff;
159 struct light_state_t const* state)
162 int brightness = rgb_to_brightness(state);
175 struct light_state_t const* state)
178 int on = is_lit(state);
187 struct light_state_t const* state)
190 int on = is_lit(state);
158 set_light_backlight(struct light_device_t* dev, struct light_state_t const* state) argument
174 set_light_keyboard(struct light_device_t* dev, struct light_state_t const* state) argument
186 set_light_buttons(struct light_device_t* dev, struct light_state_t const* state) argument
199 set_speaker_light_locked(struct light_device_t* dev, struct light_state_t const* state) argument
295 set_light_battery(struct light_device_t* dev, struct light_state_t const* state) argument
309 set_light_notifications(struct light_device_t* dev, struct light_state_t const* state) argument
325 set_light_attention(struct light_device_t* dev, struct light_state_t const* state) argument
[all...]
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/
H A Dloc_api_log.h51 extern const char* loc_get_engine_state_name(rpc_loc_engine_state_e_type state);
52 extern const char* loc_get_fix_session_state_name(rpc_loc_fix_session_state_e_type state);
/hardware/invensense/libsensors_iio/software/core/mllite/
H A Dresults_holder.h38 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);
H A Dresults_holder.c36 int acc_state; /**< Describes accel state */
40 long compass_count; /**< compass state internal counter */
43 int compass_state; /**< Internal compass state */
94 * @param[in] state value to set for magnetic field strength. Should be non-zero if it is large.
96 void inv_set_large_mag_field(int state) argument
98 rh.large_mag_field = state;
101 /** Gets the accel state set by inv_set_acc_state()
102 * @return accel state.
109 /** Sets the accel state. See inv_get_acc_state() to get the value.
110 * @param[in] state valu
112 inv_set_acc_state(int state) argument
132 inv_set_motion_state(unsigned char state) argument
334 inv_set_compass_bias_found(int state) argument
342 inv_set_compass_state(int state) argument
[all...]
/hardware/ril/mock-ril/src/js/
H A Dsimulated_radio_tests.js97 if (calls[i].state == CALLSTATE_INCOMING) {
137 // Make the first call in dialing state
141 if (calls[i].state == CALLSTATE_INCOMING) {
142 calls[i].state = CALLSTATE_DIALING;
156 calls[i].state = CALLSTATE_ALERTING;
166 calls[i].state = CALLSTATE_ACTIVE;
198 for (var state = CALLSTATE_ACTIVE; state <= CALLSTATE_WAITING; state++) {
199 var c0 = simulatedRadio.addCall(state, '1650284923
[all...]
H A Dsimulated_radio.js38 * Set radio state
60 function RilCall(state, phoneNumber, callerName) {
61 this.state = state;
177 * @return the first call that is in the given state
185 if (calls[i].state == callState) {
197 this.addCall = function(state, phoneNumber, callerName) {
202 c = new RilCall(state, phoneNumber, callerName);
249 print('c[' + c.index + ']: index=' + c.index + ' state=' + c.state
[all...]
/hardware/ti/wlan/wl1271/Test/
H A DconnDebug.c66 WLAN_OS_REPORT(("Invalid param type in Set Debug Connection command: %d, curr state %d\n\n", value, pConn->state));
80 WLAN_OS_REPORT(("Invalid param type in Get Debug Connection command: %d, curr state %d\n\n", value, pConn->state));
100 WLAN_OS_REPORT(("Connection Print Test, param = %d , curr state %d\n\n", *((TI_UINT32 *)pParam), pConn->state));
/hardware/libhardware/include/hardware/
H A Dbt_av.h38 /** 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 Dbt_pan.h39 * 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 Dbt_hf.h69 /** 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 Dlights.h130 struct light_state_t const* state);
/hardware/qcom/wlan/qcwcn/wpa_supplicant_8_lib/
H A Ddriver_cmd_nl80211.c46 static int wpa_driver_set_power_save(void *priv, int state) argument
61 if (state == WPA_PS_ENABLED)
82 int *state = (int *)arg; local
90 if (state) {
91 *state = (int)nla_get_u32(tb[NL80211_ATTR_PS_STATE]);
92 wpa_printf(MSG_DEBUG, "nl80211: Get power mode = %d", *state);
93 *state = (*state == NL80211_PS_ENABLED) ?
100 static int wpa_driver_get_power_save(void *priv, int *state) argument
117 ret = send_and_recv_msgs(drv, msg, get_power_mode_handler, state);
151 int state; local
160 int state = -1; local
[all...]
/hardware/invensense/mlsdk/mllite/
H A Dmlstates.c26 * @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 DmlMathFunc.c28 * 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 Dcalibrator.c57 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...]
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/
H A Ddriver_cmd_nl80211.c46 static int wpa_driver_set_power_save(void *priv, int state) argument
61 if (state == WPA_PS_ENABLED)
82 int *state = (int *)arg; local
90 if (state) {
91 *state = (int)nla_get_u32(tb[NL80211_ATTR_PS_STATE]);
92 wpa_printf(MSG_DEBUG, "nl80211: Get power mode = %d", *state);
93 *state = (*state == NL80211_PS_ENABLED) ?
100 static int wpa_driver_get_power_save(void *priv, int *state) argument
117 ret = send_and_recv_msgs(drv, msg, get_power_mode_handler, state);
231 int state; local
240 int state = -1; local
[all...]
/hardware/qcom/display/liboverlay/
H A Doverlay.cpp43 ALOGE("Overlay %s failed, state is OV_CLOSED; set state first",
63 OVASSERT(false, "%s Unknown state %d", __FUNCTION__, st);
83 utils::eOverlayState st = mState.state();
99 utils::eOverlayState st = mState.state();
115 utils::eOverlayState st = mState.state();
130 utils::eOverlayState st = mState.state();
146 utils::eOverlayState st = mState.state();
161 utils::eOverlayState st = mState.state();
188 return mState.state();
[all...]
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
H A DOMXZoom.cpp53 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 &params, BaseCameraAdapter::AdapterState state) argument
/hardware/ril/mock-ril/src/cpp/
H A Dexperiments.cpp61 int state = static_cast<int *>(p)[0]; local
62 ALOGD("GetReqScreenState state=%d", state);
63 return v8::Integer::New(state);
164 bool state = ss->state(); local
165 ALOGD("state=%d", state);
167 state = ss->state();
[all...]
/hardware/ti/wlan/wl1271/stad/src/Connection_Managment/
H A Dconn.c83 - Create the connection state machine
149 pConn->state = 0;
378 return conn_ibssSMEvent(&pConn->state, CONN_IBSS_CONNECT, (TI_HANDLE) pConn);
381 return conn_ibssSMEvent(&pConn->state, CONN_IBSS_CREATE, (TI_HANDLE) pConn);
384 return conn_infraSMEvent(&pConn->state, CONN_INFRA_CONNECT, (TI_HANDLE) pConn);
437 return conn_ibssSMEvent(&pConn->state, CONN_IBSS_DISCONNECT, (TI_HANDLE) pConn);
440 return conn_infraSMEvent(&pConn->state, CONN_INFRA_DISCONNECT, (TI_HANDLE) pConn);
479 conn_infraSMEvent(&pConn->state, CONN_INFRA_MLME_SUCC, pConn);
501 conn_infraSMEvent(&pConn->state, CONN_INFRA_DISCONNECT, pConn);
535 return conn_ibssSMEvent(&pConn->state, CONN_IBSS_RSN_SUC
[all...]
/hardware/ti/wlan/wl1271/stad/src/Sta_Management/
H A DhealthMonitor.h53 /* Config manager state machine defintions */
69 void healthMonitor_setState (TI_HANDLE hHealthMonitor, healthMonitorState_e state);
H A Dscr.h90 EScrClientState state[ SCR_RESOURCE_NUM_OF_RESOURCES ]; /**< the client current state, per resource */ member in struct:__anon3098
131 * \brief Searches the client database for a client with matching state, from startFrom to endAt\n
135 * \param requiredState - the state to match.\n

Completed in 340 milliseconds

12345678