/external/wpa_supplicant_6/wpa_supplicant/src/common/ |
defs.h | 94 * enum wpa_states - wpa_supplicant state 97 * state (wpa_s->wpa_state). The current state can be retrieved with 98 * wpa_supplicant_get_state() function and the state can be changed by calling 99 * wpa_supplicant_set_state(). In WPA state machine (wpa.c and preauth.c), the 101 * to access the state variable. 105 * WPA_DISCONNECTED - Disconnected state 107 * This state indicates that client is not associated, but is likely to 108 * start looking for an access point. This state is entered when a 114 * WPA_INACTIVE - Inactive state (wpa_supplicant disabled [all...] |
/hardware/invensense/mlsdk/mllite/ |
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) 90 switch (state) { 110 * @brief Perform a transition from the current state to newState. 115 * @param newState state we are transitioning to [all...] |
/external/chromium/chrome/browser/sync/ |
backend_migrator_unittest.cc | 88 // Test that in the normal case a migration does transition through each state 97 EXPECT_CALL(*manager(), state()) 102 EXPECT_EQ(BackendMigrator::DISABLING_TYPES, migrator.state()); 105 EXPECT_EQ(BackendMigrator::WAITING_FOR_PURGE, migrator.state()); 110 EXPECT_EQ(BackendMigrator::REENABLING_TYPES, migrator.state()); 113 EXPECT_EQ(BackendMigrator::IDLE, migrator.state()); 123 EXPECT_CALL(*manager(), state()) 127 EXPECT_EQ(BackendMigrator::WAITING_TO_START, migrator.state()); 130 EXPECT_CALL(*manager(), state()) 135 EXPECT_EQ(BackendMigrator::DISABLING_TYPES, migrator.state()); [all...] |
/external/skia/src/gpu/ |
app-android.cpp | 47 struct State { 48 State(); 49 ~State(); 176 static void drawIntoCanvas(State* state, SkCanvas* canvas) { 178 SkView* view = state->getView(); 186 State::State() { 200 State::~State() { 278 State* state = get_state(); local 351 State* state = get_state(); local [all...] |
/external/chromium/chrome/browser/sync/glue/ |
autofill_data_type_controller.h | 52 virtual State state() const; 76 void StartDone(StartResult result, State state); 77 void StartDoneImpl(StartResult result, State state, 88 void set_state(State state) { 90 state_ = state; 95 State state_ [all...] |
typed_url_data_type_controller.h | 62 virtual State state() const; 89 void StartDone(StartResult result, State state); 90 void StartDoneImpl(StartResult result, State state); 96 void set_state(State state) { 98 state_ = state; 104 State state_ [all...] |
/external/chromium/chrome/browser/ui/cocoa/bookmarks/ |
bookmark_bar_folder_hover_state.h | 10 // Hover state machine. Encapsulates the hover state for 13 // the following state transitions: 26 // there are periods where the hover state is in transtion between open and 29 // |hoverButton_| using this state information. This serialization is to 44 // We model hover state as a state machine with specific allowable 45 // transitions. |hoverState_| is the state of this machine at any 66 // State change APIs. 75 // Accessors and setters for button and hover state [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
MediaRecorderStateUnitTestTemplate.java | 65 * Calls method under test in the given state of the MediaRecorder object. 67 * @param state the MediaRecorder state in which the method under test is called. 69 private void callMediaRecorderMethodUnderTestInState(MediaRecorderStateErrors.MediaRecorderState state) { 70 Log.v(TAG, "call " + mMethodUnderTest + ": started in state " + state); 71 setMediaRecorderToState(state); 77 Log.v(TAG, "call " + mMethodUnderTest + ": ended in state " + state); 82 * object to the corresponding state, given the assumption that reset( [all...] |
/hardware/ti/wlan/wl1271/utils/ |
GenSM.c | 35 * \brief Generic state machine implementation 50 * \brief Cerates a generic state machine object 52 * Cerates a generic state machine object. Allocates system resources. 56 * \return Handle to the generic state machine object 76 * \brief Unloads a generic state machine object 78 * Unloads a generic state machine object. Frees system resources consumed by the object. 80 * \param hGenSM - hanlde to the generic state machine object 88 /* free the generic state machine object storage */ 94 * \brief Initializes the generic state machine object 96 * Initializes the generic state machine object. Store handles to other modules [all...] |
/system/core/libpixelflinger/ |
pixelflinger.cpp | 106 ggl_set_surface(c, &c->state.texture[tmu].surface, surface); 112 if (surface->format != c->state.buffers.color.format) 115 if (surface->width > c->state.buffers.coverageBufferSize) { 117 free(c->state.buffers.coverage); 118 c->state.buffers.coverage = (int16_t*)malloc(surface->width * 2); 119 c->state.buffers.coverageBufferSize = 120 c->state.buffers.coverage ? surface->width : 0; 122 ggl_set_surface(c, &(c->state.buffers.color), surface); 123 if (c->state.buffers.read.format == 0) { 124 ggl_set_surface(c, &(c->state.buffers.read), surface) [all...] |
/device/moto/stingray/liblights/ |
lights.c | 102 static int rgb_to_brightness(struct light_state_t const *state) 105 int color = state->color & 0x00ffffff; 121 struct light_state_t const *state) 124 int brightness = rgb_to_brightness(state); 134 set_notification_light(struct light_state_t const* state) 136 unsigned int brightness = rgb_to_brightness(state); 137 int blink = state->flashOnMS; 140 state->color, state->flashOnMS, state->flashOffMS) [all...] |
/external/libsepol/src/ |
link.c | 128 link_state_t *state = (link_state_t *) data; local 130 class_datum_t *src_class = state->src_class; 131 class_datum_t *dest_class = state->dest_class; 132 policy_module_t *mod = state->cur; 147 if (state->dest_class_req) { 151 ERR(state->handle, "Memory error"); 158 ERR(state->handle, "Memory error"); 166 ERR(state->handle, 174 ERR(state->handle, 176 state->cur_mod_name, perm_id 213 link_state_t *state = (link_state_t *) data; local 310 link_state_t *state = (link_state_t *) data; local 400 link_state_t *state = (link_state_t *) data; local 495 link_state_t *state = (link_state_t *) data; local 562 link_state_t *state = (link_state_t *) data; local 629 link_state_t *state = (link_state_t *) data; local 667 link_state_t *state = (link_state_t *) data; local 712 link_state_t *state = (link_state_t *) data; local 741 link_state_t *state = (link_state_t *) data; local 770 link_state_t *state = (link_state_t *) data; local 807 link_state_t *state = (link_state_t *) data; local 1047 link_state_t *state = (link_state_t *) data; local 1115 link_state_t *state = (link_state_t *) data; local 1167 link_state_t *state = (link_state_t *) data; local 1775 link_state_t *state = (link_state_t *) data; local 2357 link_state_t *state; local 2417 link_state_t *state = (link_state_t *)data; local 2478 link_state_t state; local [all...] |
/frameworks/base/core/java/android/server/ |
BluetoothInputProfileHandler.java | 65 BluetoothDeviceProfileState state) { 72 if (state != null) { 75 msg.obj = state; 93 BluetoothDeviceProfileState state) { 99 if (state != null) { 102 msg.obj = state; 157 for (int state : states) { 158 if (state == inputDeviceState) { 167 private void handleInputDeviceStateChange(BluetoothDevice device, int state) { 174 if (prevState == state) return 200 int state = connected ? BluetoothInputDevice.STATE_CONNECTED : local [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
StateSetTest.java | 39 // Add another state to the spec which the stateSet doesn't match 45 // Add an irrelevent state to the stateSpec 63 // Add another matching state to the the stateSet. We still fail 80 // Add another arrelevent state to the stateSet 86 // Add another state to the spec which the stateSet doesn't match 89 // Add an irrelevent state to the stateSet 124 int state; local 127 state = 1; 128 assertTrue(StateSet.stateSetMatches(stateSpec, state)); 130 state = 2 140 int state; local 156 int state = 0; local [all...] |
/external/chromium/net/base/ |
load_states.h | 14 // This is the default state. It corresponds to a resource load that has 20 // This state corresponds to a resource load that is blocked waiting for 27 // This state corresponds to a resource load that is blocked waiting for a 28 // proxy autoconfig script to return a proxy server to use. This state may 33 // This state indicates that we're in the process of establishing a tunnel 37 // This state corresponds to a resource load that is blocked waiting for a 43 // This state corresponds to a resource load that is blocked waiting for a 45 // requests that reuse a keep-alive connection skip this state. 48 // This state corresponds to a resource load that is blocked waiting for the 52 // This state corresponds to a resource load that is blocked waiting t [all...] |
/external/dhcpcd/ |
if-pref.c | 41 if (si->state && !ti->state) 43 if (!si->state && ti->state) 45 if (!si->state && !ti->state) 48 if (si->state->new && !ti->state->new) 50 if (!si->state->new && ti->state->new [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
eap_vendor_test.c | 35 enum { INIT, CONFIRM, SUCCESS } state; member in struct:eap_vendor_test_data 46 data->state = INIT; 85 if (data->state == INIT && *pos != 1) { 87 "%d in INIT state", *pos); 92 if (data->state == CONFIRM && *pos != 3) { 94 "%d in CONFIRM state", *pos); 99 if (data->state == SUCCESS) { 101 "in SUCCESS state"); 106 if (data->state == CONFIRM) { 130 if (data->state == INIT) [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_vendor_test.c | 29 enum { INIT, CONFIRM, SUCCESS } state; member in struct:eap_vendor_test_data 40 data->state = INIT; 79 if (data->state == INIT && *pos != 1) { 81 "%d in INIT state", *pos); 86 if (data->state == CONFIRM && *pos != 3) { 88 "%d in CONFIRM state", *pos); 93 if (data->state == SUCCESS) { 95 "in SUCCESS state"); 100 if (data->state == CONFIRM) { 124 if (data->state == INIT) [all...] |
/external/opencv/cv/src/ |
cvstereobm.cpp | 57 CvStereoBMState* state = 0; local 63 state = (CvStereoBMState*)cvAlloc( sizeof(*state) ); 64 if( !state ) 67 state->preFilterType = CV_STEREO_BM_NORMALIZED_RESPONSE; 68 state->preFilterSize = 9; 69 state->preFilterCap = 31; 70 state->SADWindowSize = 15; 71 state->minDisparity = 0; 72 state->numberOfDisparities = numberOfDisparities > 0 ? numberOfDisparities : 64 [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/sip/ |
SipPhone.java | 115 != SipSession.State.INCOMING_CALL) { 134 if ((ringingCall.getState() == Call.State.INCOMING) || 135 (ringingCall.getState() == Call.State.WAITING)) { 168 throw new CallStateException("cannot dial in current state"); 170 if (foregroundCall.getState() == SipCall.State.ACTIVE) { 173 if (foregroundCall.getState() != SipCall.State.IDLE) { 175 throw new CallStateException("cannot dial in current state"); 203 if ((foregroundCall.getState() != SipCall.State.ACTIVE) 204 || (foregroundCall.getState() != SipCall.State.ACTIVE)) { 205 throw new CallStateException("wrong state to merge calls: fg= [all...] |
/external/chromium/webkit/glue/ |
webthemeengine_impl_mac.cc | 18 static ThemeTrackEnableState stateToHIEnableState(WebThemeEngine::State state) { 19 switch (state) { 31 WebThemeEngine::State state, 50 trackInfo.enableState = stateToHIEnableState(state); 53 state == WebThemeEngine::StatePressed ? kThemeThumbPressed : 0;
|
/external/webkit/Source/WebCore/platform/ |
PlatformTouchPoint.h | 38 enum State { 51 PlatformTouchPoint(unsigned id, const IntPoint& windowPos, State); 53 PlatformTouchPoint(int id, const IntPoint& windowPos, State); 55 PlatformTouchPoint(unsigned id, const IntPoint& windowPos, State); 59 State state() const { return m_state; } function in class:WebCore::PlatformTouchPoint 65 State m_state;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/ |
CurrentProgramPropertyAccessor.java | 17 package com.android.ide.eclipse.gltrace.state.transforms; 19 import com.android.ide.eclipse.gltrace.state.GLIntegerProperty; 20 import com.android.ide.eclipse.gltrace.state.GLStateType; 21 import com.android.ide.eclipse.gltrace.state.IGLProperty; 43 public IGLProperty getProperty(IGLProperty state) { 45 IGLProperty currentProgramProperty = mCurrentProgramAccessor.getProperty(state); 59 mStateType).getProperty(state);
|
CurrentVboPropertyAccessor.java | 17 package com.android.ide.eclipse.gltrace.state.transforms; 20 import com.android.ide.eclipse.gltrace.state.GLIntegerProperty; 21 import com.android.ide.eclipse.gltrace.state.GLStateType; 22 import com.android.ide.eclipse.gltrace.state.IGLProperty; 51 public IGLProperty getProperty(IGLProperty state) { 53 IGLProperty currentBinding = mVboBindingAccessor.getProperty(state); 64 mVboProperty).getProperty(state);
|
TexturePropertyAccessor.java | 17 package com.android.ide.eclipse.gltrace.state.transforms; 19 import com.android.ide.eclipse.gltrace.state.GLIntegerProperty; 20 import com.android.ide.eclipse.gltrace.state.GLStateType; 21 import com.android.ide.eclipse.gltrace.state.IGLProperty; 46 public IGLProperty getProperty(IGLProperty state) { 48 IGLProperty targetTexture = mTextureUnitPropertyAccessor.getProperty(state); 61 return textureAccessor.getProperty(state);
|