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

123456

/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/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/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...]
H A Dctrl_server.js28 rsp.state = gRadioState;
43 setRadioState(radioReq.state);
45 // Prepare the response, return the current radio state
47 rsp.state = gRadioState;
/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/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...]
H A Dmldmp.c81 unsigned char state = inv_get_state(); local
88 if (state == INV_STATE_DMP_OPENED)
91 if (state == INV_STATE_DMP_STARTED) {
/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...]
H A Dplt.c42 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...]
H A Dmisc_cmds.c19 static int handle_push_nvs(struct nl80211_state *state, argument
80 static int handle_fetch_nvs(struct nl80211_state *state,
121 static int get_nvs_mac(struct nl80211_state *state, struct nl_cb *cb, argument
158 static int set_nvs_mac(struct nl80211_state *state, struct nl_cb *cb, argument
223 static int set_ref_nvs(struct nl80211_state *state, struct nl_cb *cb, argument
262 static int set_ref_nvs2(struct nl80211_state *state, struct nl_cb *cb, argument
305 static int set_upd_nvs(struct nl80211_state *state, struct nl_cb *cb, argument
346 static int get_dump_nvs(struct nl80211_state *state, struct nl_cb *cb, argument
373 static int set_autofem(struct nl80211_state *state, struct nl_cb *cb, argument
408 static int set_fem_manuf(struct nl80211_state *state, struc argument
[all...]
H A Dcalibrator.h50 int (*handler)(struct nl80211_state *state,
102 int handle_cmd(struct nl80211_state *state, enum id_input idby,
109 __u32 listen_events(struct nl80211_state *state,
111 __u32 __listen_events(struct nl80211_state *state,
/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/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/libhardware/include/hardware/
H A Dlights.h130 struct light_state_t const* state);
/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:__anon1780
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
H A Dscr.c382 pScr->clientArray[ i ].state[ j ] = SCR_CS_IDLE;
495 if ( (pScr->clientArray[ i ].state[ uResourceIndex ] == SCR_CS_PENDING) && /* the client is pending */
526 pScr->clientArray[ highestPending ].state[ uResourceIndex ] = SCR_CS_RUNNING;
582 pScr->clientArray[ pScr->runningClient[ uResourceIndex ] ].state[ uResourceIndex ] = SCR_CS_ABORTING;
602 if ( (pScr->clientArray[ i ].state[ uResourceIndex ] == SCR_CS_PENDING) && /* the client is pending */
631 pScr->clientArray[ highestPending ].state[ uResourceIndex ] = SCR_CS_RUNNING;
707 pScr->clientArray[ client ].state[ eResource ] = SCR_CS_PENDING;
718 pScr->clientArray[ client ].state[ eResource ] = SCR_CS_RUNNING;
724 if ( SCR_CS_ABORTING == pScr->clientArray[ pScr->runningClient[ eResource ] ].state[ eResource ] )
760 pScr->clientArray[ client ].state[ eResourc
[all...]
/hardware/msm7k/librpc/
H A Dsvc_clnt_common.c170 stack_crawl_state_t* state = (stack_crawl_state_t*)arg;
171 if (state->count) {
174 state->addrs[0] = ip;
175 state->addrs++;
176 state->count--;
185 stack_crawl_state_t state;
186 state.count = max_entries;
187 state.addrs = (intptr_t*)addrs;
188 _Unwind_Backtrace(trace_function, (void*)&state);
189 return max_entries - state
[all...]
/hardware/ti/wpan/tools/BluetoothSCOApp/src/com/ti/bluetoothSCOapp/
H A Dconnect.java55 int state = intent.getIntExtra(AudioManager.EXTRA_SCO_AUDIO_STATE, -1);
57 if (state == AudioManager.SCO_AUDIO_STATE_CONNECTED) {
59 } else if (state == AudioManager.SCO_AUDIO_STATE_DISCONNECTED) {
/hardware/libhardware_legacy/audio/
H A DAudioHardwareStub.h73 virtual status_t setMicMute(bool state) { mMicMute = state; return NO_ERROR; } argument
74 virtual status_t getMicMute(bool* state) { *state = mMicMute ; return NO_ERROR; } argument
/hardware/ril/mock-ril/src/python/
H A Dtcs.py192 rrs.state = ril_pb2.RADIOSTATE_UNAVAILABLE
193 print "rrs.state=%d" % (rrs.state)
202 print "rrs_new.state=%d" % (rrs_new.state)
217 print "response.state=%d" % (response.state)
219 (resp.status == 0) & (response.state == 1)):
222 print "ERROR: expecting cmd=0 token=1234567890123 status=0 state=1"
237 print "SUCCESS: response.state
[all...]

Completed in 365 milliseconds

123456