/external/webkit/Source/WebCore/bindings/v8/specialization/ |
V8BindingState.h | 41 // Singleton implementation of State<V8Binding>. Uses V8's global data 42 // structures to return information about relevant execution state. 44 class State<V8Binding> : public State<GenericBinding> { 47 static State* Only(); 64 explicit State() {} 65 ~State(); 68 typedef State<V8Binding> V8BindingState;
|
V8BindingState.cpp | 41 State<V8Binding>* State<V8Binding>::Only() 43 DEFINE_STATIC_LOCAL(State, globalV8BindingState, ()); 47 DOMWindow* State<V8Binding>::activeWindow() 58 DOMWindow* State<V8Binding>::firstWindow() 63 Frame* State<V8Binding>::activeFrame() 77 Frame* State<V8Binding>::firstFrame() 82 void State<V8Binding>::immediatelyReportUnsafeAccessTo(Frame* target) 87 bool State<V8Binding>::processingUserGesture() 92 bool State<V8Binding>::allowsAccessFromFrame(Frame* frame [all...] |
/cts/tests/tests/net/src/android/net/cts/ |
NetworkInfo_StateTest.java | 19 import android.net.NetworkInfo.State; 25 @TestTargetClass(State.class) 35 assertEquals(State.CONNECTED, State.valueOf("CONNECTED")); 36 assertEquals(State.CONNECTING, State.valueOf("CONNECTING")); 37 assertEquals(State.DISCONNECTED, State.valueOf("DISCONNECTED")); 38 assertEquals(State.DISCONNECTING, State.valueOf("DISCONNECTING")) [all...] |
/libcore/luni/src/main/java/java/lang/ |
VMThread.java | 59 static final Thread.State[] STATE_MAP = new Thread.State[] { 60 Thread.State.TERMINATED, // ZOMBIE 61 Thread.State.RUNNABLE, // RUNNING 62 Thread.State.TIMED_WAITING, // TIMED_WAIT 63 Thread.State.BLOCKED, // MONITOR 64 Thread.State.WAITING, // WAIT 65 Thread.State.NEW, // INITIALIZING 66 Thread.State.NEW, // STARTING 67 Thread.State.RUNNABLE, // NATIV [all...] |
/external/guava/src/com/google/common/base/ |
Service.java | 23 * An object with an operational state, plus asynchronous {@link #start()} and 24 * {@link #stop()} lifecycle methods to transfer into and out of this state. 28 * <li>{@link State#NEW} -></li> 29 * <li>{@link State#STARTING} -></li> 30 * <li>{@link State#RUNNING} -></li> 31 * <li>{@link State#STOPPING} -></li> 32 * <li>{@link State#TERMINATED}</li> 35 * If the service fails while starting, running or stopping, its state will be 36 * {@link State#FAILED}, and its behavior is undefined. Such a service cannot be 42 * the threading and state management easier 86 State state(); method in interface:Service [all...] |
/external/guava/src/com/google/common/collect/ |
AbstractIterator.java | 30 * end-of-data status without changing the iterator's state, using the {@link 62 private State state = State.NOT_READY; field in class:AbstractIterator 64 private enum State { 118 state = State.DONE; 123 checkState(state != State.FAILED); 124 switch (state) { [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
NetworkState.java | 19 import android.net.NetworkInfo.State; 28 public static final int DO_NOTHING = -1; // no state change 30 private List<State> mStateDepository; 31 private State mTransitionTarget; 33 private String mReason = null; // record mReason of state transition failure 36 mStateDepository = new ArrayList<State>(); 38 mTransitionTarget = State.UNKNOWN; 41 public NetworkState(State currentState) { 42 mStateDepository = new ArrayList<State>(); 45 mTransitionTarget = State.UNKNOWN [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
OldThreadStateTest.java | 23 Thread.State [] exStates = { Thread.State.NEW, Thread.State.RUNNABLE, 24 Thread.State.BLOCKED, Thread.State.WAITING, 25 Thread.State.TIMED_WAITING, Thread.State.TERMINATED }; 32 assertEquals(exStates[i], Thread.State.valueOf(spNames[i])); 38 Thread.State.valueOf(s); 47 Thread.State [] thStates = Thread.State.values() [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
MmiCode.java | 27 public enum State { 36 * @return Current state of MmiCode request 38 public State getState(); 49 * State becomes CANCELLED unless already COMPLETE or FAILED
|
OperatorInfo.java | 26 public enum State { 37 private State state = State.UNKNOWN; field in class:OperatorInfo 55 public State 57 return state; 63 State state) { 69 this.state = state; [all...] |
/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/webkit/Source/WebCore/bindings/generic/ |
GenericBinding.h | 43 // Class to represent execution state for each language binding. 45 class State {}; 47 // Common notion of execution state for language bindings. 49 class State<GenericBinding> { 54 KURL completeURL(State<Binding>* state, const String& relativeURL) 58 Frame* frame = state->firstFrame();
|
/external/webkit/Source/WebCore/loader/ |
FrameLoaderStateMachine.h | 36 // Encapsulates a state machine for FrameLoader. Note that this is different from FrameState, 37 // which stores the state of the current load that FrameLoader is executing. 43 // Once a load has been committed, the state may 46 enum State { 60 void advanceTo(State); 63 State m_state;
|
/bootable/recovery/edify/ |
expr.h | 42 } State; 53 typedef Value* (*Function)(const char* name, State* state, 67 Value* EvaluateValue(State* state, Expr* expr); 74 char* Evaluate(State* state, Expr* expr); 77 Value* Literal(const char* name, State* state, int argc, Expr* argv[]); 82 Value* ConcatFn(const char* name, State* state, int argc, Expr* argv[]) [all...] |
/external/chromium/chrome/browser/sync/ |
sync_setup_wizard.h | 19 enum State { 23 // (via Step) to the next state. 48 // A final state for when setup completes and it is possible it is the 60 // Advances the wizard to the specified state if possible, or opens a 65 void Step(State advance_state); 79 // gaia credentials in the event of a steady-state auth failure, this is 81 // the end state to pass to Run for a given |start_state|. 82 static State GetEndStateForDiscreteRun(State start_state); 84 // Helper to return whether |state| warrants starting a new flow [all...] |
/external/guava/src/com/google/common/util/concurrent/ |
ForwardingService.java | 35 /*@Override*/ public Future<State> start() { 39 /*@Override*/ public State state() { method in class:ForwardingService 40 return delegate().state(); 43 /*@Override*/ public Future<State> stop() { 47 /*@Override*/ public State startAndWait() { 51 /*@Override*/ public State stopAndWait() {
|
AbstractService.java | 22 import com.google.common.base.Service.State; // javadoc needs this 50 * The internal state, which equals external state unless 53 private State state = State.NEW; field in class:AbstractService 86 public final Future<State> start() { 89 if (state == State.NEW) { 90 state = State.STARTING 232 public final State state() { method in class:AbstractService [all...] |
AbstractIdleService.java | 20 import com.google.common.base.Service.State; // for javadoc 38 /* use AbstractService for state management */ 41 executor(State.STARTING).execute(new Runnable() { 55 executor(State.STOPPING).execute(new Runnable() { 83 * @param state {@link State#STARTING} or {@link State#STOPPING}, used by the 86 protected Executor executor(final State state) { 89 new Thread(command, AbstractIdleService.this.toString() + " " + state) [all...] |
/external/chromium/chrome/browser/chromeos/ |
network_state_notifier.h | 21 enum State { 28 State state() const { function in class:chromeos::NetworkStateDetails 35 explicit NetworkStateDetails(State state) 36 : state_(state) { 39 State state_; 44 // NetworkStateNotifier sends notification when network state has 50 // Returns the singleton instance of the network state notifier; 68 // Retrieve the current state from libcros [all...] |
/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...] |
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/ |
GameActivity.java | 32 import com.example.android.tictactoe.library.GameView.State;
88 State player = mGameView.getCurrentPlayer();
89 if (player == State.UNKNOWN) {
90 player = State.fromInt(getIntent().getIntExtra(EXTRA_START_PLAYER, 1));
95 if (player == State.PLAYER2) {
98 if (player == State.WIN) {
104 private State selectTurn(State player) {
108 if (player == State.PLAYER1) {
112 } else if (player == State.PLAYER2) { [all...] |
/external/chromium/chrome/common/net/gaia/ |
google_service_auth_error.h | 11 // A GoogleServiceAuthError without additional data is just a State, defined 15 // transparent wrapper around 'State' due to additional Captcha data 17 // you must explicitly use the constructor when all you have is a State. 38 enum State { 92 // Construct a GoogleServiceAuthError from a State with no additional data. 93 explicit GoogleServiceAuthError(State s); 107 // to explicit class and State enum relation. Note: shouldn't be inlined! 111 const State& state() const; 120 GoogleServiceAuthError(State s, int error) [all...] |
/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;
|
/external/chromium/third_party/libjingle/source/talk/examples/call/ |
muc.h | 43 enum State { MUC_JOINING, MUC_JOINED, MUC_LEAVING }; 44 State state() const { return state_; } function in class:buzz::Muc 45 void set_state(State state) { state_ = state; } 58 State state_;
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
NetworkState.java | 19 import android.net.NetworkInfo.State; 26 * Data structure to keep track of the network state transitions. 30 * Desired direction of state transition. 36 private List<State> mStateDepository; 37 private State mTransitionTarget; 39 private String mReason = null; // record mReason of state transition failure 42 mStateDepository = new ArrayList<State>(); 44 mTransitionTarget = State.UNKNOWN; 47 public NetworkState(State currentState) { 48 mStateDepository = new ArrayList<State>(); [all...] |