/system/core/nexus/ |
SupplicantStatus.cpp | 33 SupplicantStatus::SupplicantStatus(int state, int id, char *bssid, char *ssid) : 34 mWpaState(state), mId(id), mBssid(bssid), mSsid(ssid) { 36 LOGD("state %d, id %d, bssid %p, ssid %p\n", mWpaState, mId, mBssid, mSsid); 50 int state = SupplicantState::UNKNOWN; local 66 state = SupplicantState::DISCONNECTED; 68 state = SupplicantState::INACTIVE; 70 state = SupplicantState::SCANNING; 72 state = SupplicantState::ASSOCIATING; 74 state = SupplicantState::ASSOCIATED; 76 state = SupplicantState::FOURWAY_HANDSHAKE [all...] |
/external/chromium/chrome/browser/ui/cocoa/bookmarks/ |
bookmark_bar_state.h | 24 // bookmark bar's state. 34 // Returns YES if the bookmark bar is in the given state and not in an 36 - (BOOL)isInState:(bookmarks::VisualState)state; 38 // Returns YES if the bookmark bar is animating from the given state (to any 39 // other state), NO otherwise. 40 - (BOOL)isAnimatingToState:(bookmarks::VisualState)state; 42 // Returns YES if the bookmark bar is animating to the given state (from any 43 // other state), NO otherwise. 44 - (BOOL)isAnimatingFromState:(bookmarks::VisualState)state; 46 // Returns YES if the bookmark bar is animating from the first given state t [all...] |
/external/webkit/Source/WebCore/dom/ |
TreeWalker.cpp | 57 Node* TreeWalker::parentNode(ScriptState* state) 64 short acceptNodeResult = acceptNode(state, node.get()); 65 if (state && state->hadException()) 73 Node* TreeWalker::firstChild(ScriptState* state) 76 short acceptNodeResult = acceptNode(state, node.get()); 77 if (state && state->hadException()) 106 Node* TreeWalker::lastChild(ScriptState* state) 109 short acceptNodeResult = acceptNode(state, node.get()) [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
SupplicantState.java | 26 * state. This is more fine-grained than most users will be interested in. 28 * {@link android.net.NetworkInfo.State NetworkInfo.State}. 31 * state constants in <code>defs.h</code> in <code>wpa_supplicant</code>. 35 * This state indicates that client is not associated, but is likely to 36 * start looking for an access point. This state is entered when a 44 * This state is entered if the network interface is disabled. 51 * Inactive state (wpa_supplicant disabled). 53 * This state is entered if there are no enabled networks in the 63 * This state is entered when wpa_supplicant starts scanning for [all...] |
SupplicantStateTracker.java | 19 import com.android.internal.util.State; 31 * Tracks the state changes in supplicant and provides functionality 32 * that is based on these state changes: 56 private State mUninitializedState = new UninitializedState(); 57 private State mDefaultState = new DefaultState(); 58 private State mInactiveState = new InactiveState(); 59 private State mDisconnectState = new DisconnectedState(); 60 private State mScanState = new ScanState(); 61 private State mHandshakeState = new HandshakeState(); 62 private State mCompletedState = new CompletedState() 168 SupplicantState state = stateChangeResult.state; local 256 SupplicantState state = stateChangeResult.state; local 298 SupplicantState state = stateChangeResult.state; local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
StateManager.java | 36 private static final String KEY_MAIN = "activity-state"; 54 ActivityState state = null; local 56 state = klass.newInstance(); 64 state.initialize(mContext, data); 66 mStack.push(new StateEntry(data, state)); 67 state.onCreate(data, null); 68 if (mIsResumed) state.resume(); 78 ActivityState state = null; local 80 state = klass.newInstance(); 84 state.initialize(mContext, data) 215 ActivityState state = null; local 246 Bundle state = bundle.getBundle(KEY_STATE); local 271 Bundle state = new Bundle(); local [all...] |
/frameworks/base/libs/rs/ |
rsProgramStore.cpp | 31 mHal.state.ditherEnable = ditherEnable; 33 mHal.state.colorRWriteEnable = colorMaskR; 34 mHal.state.colorGWriteEnable = colorMaskG; 35 mHal.state.colorBWriteEnable = colorMaskB; 36 mHal.state.colorAWriteEnable = colorMaskA; 37 mHal.state.blendSrc = srcFunc; 38 mHal.state.blendDst = destFunc; 40 mHal.state.depthWriteEnable = depthMask; 41 mHal.state.depthFunc = depthFunc; 57 void ProgramStore::setup(const Context *rsc, ProgramStoreState *state) { [all...] |
/external/icu4c/i18n/ |
regexcst.pl | 9 # Compile the regular expression paser state table data into initialized C data. 27 $num_states = 1; # Always the state number for the line being compiled. 30 $states{"pop"} = 255; # Add the "pop" to the list of defined state names. 31 # This prevents any state from being labelled with "pop", 32 # and resolves references to "pop" in the next state field. 54 # State Label: handling. 55 # Does the first token end with a ":"? If so, it's the name of a state. 56 # Put in a hash, together with the current state number, 61 $state_name =~ s/://; # strip off the colon from the state name. 64 print " rbbicst: at line $line-num duplicate definition of state $state_name\n" [all...] |
/external/chromium/net/base/ |
transport_security_state_unittest.cc | 143 scoped_refptr<TransportSecurityState> state( 149 EXPECT_FALSE(state->IsEnabledForHost(&domain_state, "google.com", true)); 151 state->EnableHost("google.com", domain_state); 152 EXPECT_TRUE(state->IsEnabledForHost(&domain_state, "google.com", true)); 156 scoped_refptr<TransportSecurityState> state( 162 EXPECT_FALSE(state->IsEnabledForHost(&domain_state, "google.com", true)); 164 state->EnableHost("GOOgle.coM", domain_state); 165 EXPECT_TRUE(state->IsEnabledForHost(&domain_state, "google.com", true)); 169 scoped_refptr<TransportSecurityState> state( 175 EXPECT_FALSE(state->IsEnabledForHost(&domain_state, "GOOgle.coM", true)) [all...] |
/external/chromium/chrome/browser/ui/gtk/ |
gtk_chrome_button.h | 42 // Set the paint state to |state|. This overrides the widget's current state. 44 GtkStateType state); 46 // Revert to using the widget's current state for painting. 53 // Sets the partial hover state of the button. The acceptable range is 0.0 to 54 // 1.0. If |state| is outside of that range, then revert the button to normal 57 gdouble state);
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
GsmCall.java | 40 static State 41 stateFromDCState (DriverCall.State dcState) { 43 case ACTIVE: return State.ACTIVE; 44 case HOLDING: return State.HOLDING; 45 case DIALING: return State.DIALING; 46 case ALERTING: return State.ALERTING; 47 case INCOMING: return State.INCOMING; 48 case WAITING: return State.WAITING; 49 default: throw new RuntimeException ("illegal call state:" + dcState); 92 return state.toString() [all...] |
/external/expat/xmlwf/ |
ct.c | 7 int state = init; local 17 if (state == inAtom) 21 if (state == inAtom) 23 if (state != inString) 24 state++; 27 if (state > init) 28 --state; 29 else if (state != inString) 35 if (state == inAtom) 37 if (state == init [all...] |
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
ElementHasAttribute.java | 51 boolean state; 54 state = element.hasAttribute(""); 55 assertFalse("elementhasattribute01", state); 62 // boolean state; 68 // state = element.hasAttribute("defaultAttr"); 69 // assertTrue("elementhasattribute02", state); 74 boolean state; 80 state = element.hasAttribute("domestic"); 81 assertFalse("elementhasattribute03_False", state); 83 state = element.hasAttribute("domestic") [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
GuidelinePainter.java | 48 GuidelineHandler state = (GuidelineHandler) feedback.userData; local 50 for (INode dragged : state.mDraggedNodes) { 58 Set<INode> horizontalDeps = state.mHorizontalDeps; 59 Set<INode> verticalDeps = state.mVerticalDeps; 67 if (state.mDraggedNodes.contains(n)) { 75 if (state.mBounds != null) { 76 if (state instanceof MoveHandler) { 80 if (state.haveSuggestions()) { 86 gc.drawRect(state.mBounds); 90 int y = state.mBounds.y + feedback.dragBaseline [all...] |
/external/dropbear/libtomcrypt/src/mac/pelican/ |
pelican.c | 15 Pelican MAC, initialize state, by Tom St Denis 25 Initialize a Pelican state 26 @param pelmac The Pelican state to initialize 48 zeromem(pelmac->state, 16); 49 aes_ecb_encrypt(pelmac->state, pelmac->state, &pelmac->K); 60 LOAD32H(s0, pelmac->state ); 61 LOAD32H(s1, pelmac->state + 4); 62 LOAD32H(s2, pelmac->state + 8); 63 LOAD32H(s3, pelmac->state + 12) [all...] |
/external/webkit/Tools/Scripts/webkitpy/tool/steps/ |
abstractstep.py | 39 def _changed_files(self, state): 40 return self.cached_lookup(state, "changed_files") 43 "bug_title": lambda self, state: self._tool.bugs.fetch_bug(state["bug_id"]).title(), 44 "changed_files": lambda self, state: self._tool.scm().changed_files(self._options.git_commit), 45 "diff": lambda self, state: self._tool.scm().create_patch(self._options.git_commit, changed_files=self._changed_files(state)), 47 "changelogs": lambda self, state: self._tool.checkout().modified_changelogs(self._options.git_commit, changed_files=self._changed_files(state)), 50 def cached_lookup(self, state, key, promise=None) [all...] |
/frameworks/base/core/java/android/widget/ |
Checkable.java | 26 * Change the checked state of the view 28 * @param checked The new checked state 33 * @return The current checked state of the view 38 * Change the checked state of the view to the inverse of its current state
|
/external/llvm/lib/Target/ARM/ |
ARMCallingConv.h | 31 CCState &State, bool CanFail) { 35 if (unsigned Reg = State.AllocateReg(RegList, 4)) 36 State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo)); 43 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, 44 State.AllocateStack(8, 4), 50 if (unsigned Reg = State.AllocateReg(RegList, 4)) 51 State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo)); 53 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, 54 State.AllocateStack(4, 4), 62 CCState &State) { [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
reweight.h | 31 // distributive when reweighting towards the initial state and right 34 // An arc of weight w, with an origin state of potential p and 35 // destination state of potential q, is reweighted by p\wq when 36 // reweighting towards the initial state and by pw/q when reweighting 54 LOG(FATAL) << "Reweight: Reweighting to the initial state requires " 61 typename Arc::StateId state = sit.Value(); local 62 for (MutableArcIterator< MutableFst<Arc> > ait(fst, state); 66 if ((potential[state] == Weight::Zero()) || 70 && (potential[state] != Weight::Zero())) 72 potential[state], DIVIDE_LEFT) 90 typename Arc::StateId state = fst->Start(); local 111 typename Arc::StateId state = fst->AddState(); local [all...] |
/external/dhcpcd/ |
arp.c | 84 if ((iface->state->offer != NULL && 85 iface->state->offer->cookie != htonl(MAGIC_COOKIE)) || 86 (iface->state->new != NULL && 87 iface->state->new->cookie != htonl(MAGIC_COOKIE))) 94 if (!iface->state->lease.frominfo) 98 if (iface->state->lease.frominfo) 114 struct if_state *state = iface->state; local 115 struct if_options *opts = state->options; 119 state->fail.s_addr = 0 204 struct if_state *state = iface->state; local 249 struct if_state *state = iface->state; local [all...] |
/external/chromium/chrome/browser/sync/glue/ |
password_data_type_controller.h | 50 virtual State state() const; 58 void StartDone(StartResult result, State state); 59 void StartDoneImpl(StartResult result, State state); 65 void set_state(State state) { 67 state_ = state; 73 State state_ [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
StateMachine.java | 32 * <p>The state machine defined here is a hierarchical state machine which processes messages 35 * <p>A state is a <code>State</code> object and must implement 39 * cleanup of the state respectively. The <code>getName</code> method returns the 40 * name of the state the default implementation returns the class name it may be 41 * desirable to have this return the name of the state instance name instead. 42 * In particular if a particular state class has multiple instances.</p> 44 * <p>When a state machine is created <code>addState</code> is used to build the 46 * is the initial state. After construction the programmer calls <code>start</code 444 private State state; field in class:StateMachine.ProcessedMessageInfo 655 State state; field in class:StateMachine.SmHandler.StateInfo [all...] |
/development/tools/emulator/opengl/system/GLESv1_enc/ |
GLEncoder.cpp | 241 void GLEncoder::s_glEnableClientState(void *self, GLenum state) 245 int loc = ctx->m_state->getLocation(state); 249 void GLEncoder::s_glDisableClientState(void *self, GLenum state) 253 int loc = ctx->m_state->getLocation(state); 262 const GLClientState::VertexAttribState *state = ctx->m_state->getState(loc); local 264 if (state!=NULL) 265 return state->enabled; 275 // TODO set error state if needed; 317 const GLClientState::VertexAttribState *state = m_state->getStateAndEnableDirty(i, &enableDirty); 319 // do not process if state not vali [all...] |
/external/easymock/src/org/easymock/internal/ |
MocksControl.java | 28 private IMocksControlState state;
field in class:MocksControl 44 return state;
49 state.assertRecordState();
60 state.assertRecordState();
76 state = new RecordState(behavior);
97 state.replay();
98 state = new ReplayState(behavior);
107 state.verify();
117 state.checkOrder(value);
125 state.makeThreadSafe(threadSafe); [all...] |
/external/webkit/Source/WebCore/bindings/generic/ |
BindingSecurity.h | 53 static bool canAccessFrame(State<Binding>*, Frame*, bool reportError); 57 static bool checkNodeSecurity(State<Binding>*, Node* target); 59 static bool allowPopUp(State<Binding>*); 60 static bool allowSettingFrameSrcToJavascriptUrl(State<Binding>*, HTMLFrameElementBase*, String value); 61 static bool allowSettingSrcToJavascriptURL(State<Binding>*, Element*, String name, String value); 63 static bool shouldAllowNavigation(State<Binding>*, Frame*); 72 static bool canAccessWindow(State<Binding>*, DOMWindow* target); 78 bool BindingSecurity<Binding>::canAccessWindow(State<Binding>* state, 81 DOMWindow* activeWindow = state->activeWindow() [all...] |