/cts/tests/tests/net/src/android/net/cts/ |
NetworkInfo_StateTest.java | 19 import android.net.NetworkInfo.State; 25 assertEquals(State.CONNECTED, State.valueOf("CONNECTED")); 26 assertEquals(State.CONNECTING, State.valueOf("CONNECTING")); 27 assertEquals(State.DISCONNECTED, State.valueOf("DISCONNECTED")); 28 assertEquals(State.DISCONNECTING, State.valueOf("DISCONNECTING")); 29 assertEquals(State.SUSPENDED, State.valueOf("SUSPENDED")) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/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 { 57 void advanceTo(State); 60 State m_state;
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
Service.java | 24 * An object with an operational state, plus asynchronous {@link #start()} and 25 * {@link #stop()} lifecycle methods to transfer into and out of this state. 29 * <li>{@link State#NEW} -></li> 30 * <li>{@link State#STARTING} -></li> 31 * <li>{@link State#RUNNING} -></li> 32 * <li>{@link State#STOPPING} -></li> 33 * <li>{@link State#TERMINATED}</li> 36 * If the service fails while starting, running or stopping, its state will be 37 * {@link State#FAILED}, and its behavior is undefined. Such a service cannot be 42 * make the threading and state management easier 87 State state(); method in interface:Service [all...] |
AbstractService.java | 22 import com.google.common.util.concurrent.Service.State; // javadoc needs this 48 * The internal state, which equals external state unless 51 private State state = State.NEW; field in class:AbstractService 85 public final ListenableFuture<State> start() { 88 if (state == State.NEW) { 89 state = State.STARTING 225 public final State state() { method in class:AbstractService [all...] |
/external/chromium_org/chrome/browser/ui/search/ |
search_model_observer.h | 13 // Informs the observer that the model's state has changed. 14 virtual void ModelChanged(const SearchModel::State& old_state, 15 const SearchModel::State& new_state) = 0;
|
search_model.h | 21 // An observable model for UI components that care about search model state 25 struct State { 26 State(); 27 State(const SearchMode& mode, 31 bool operator==(const State& rhs) const; 46 // Change the state. Change notifications are sent to observers. 47 void SetState(const State& state); 49 // Get the current state. 50 const State& state() const { return state_; function in class:SearchModel [all...] |
/external/chromium_org/components/password_manager/core/common/ |
password_manager_ui.h | 14 // The current state of the password manager's UI. 15 enum State { 28 // to be visible, in the management state. 32 // The icon needs to be visible, in the blacklisted state. 36 // Returns true if |state| represents a pending password. 37 bool IsPendingState(State state);
|
password_manager_ui.cc | 11 bool IsPendingState(State state) { 12 return state == PENDING_PASSWORD_AND_BUBBLE_STATE || 13 state == PENDING_PASSWORD_STATE;
|
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/ |
bookmark_bar_state.h | 13 // bookmark bar's state. 23 // Returns YES if the bookmark bar is in the given state and not in an 25 - (BOOL)isInState:(BookmarkBar::State)state; 27 // Returns YES if the bookmark bar is animating from the given state (to any 28 // other state), NO otherwise. 29 - (BOOL)isAnimatingToState:(BookmarkBar::State)state; 31 // Returns YES if the bookmark bar is animating to the given state (from any 32 // other state), NO otherwise [all...] |
/external/clang/lib/Format/ |
ContinuationIndenter.cpp | 72 LineState State; 73 State.FirstIndent = FirstIndent; 74 State.Column = FirstIndent; 75 State.Line = Line; 76 State.NextToken = Line->First; 77 State.Stack.push_back(ParenState(FirstIndent, Line->Level, FirstIndent, 80 State.LineContainsContinuedForLoopSection = false; 81 State.StartOfStringLiteral = 0; 82 State.StartOfLineLevel = 0; 83 State.LowestLevelOnLine = 0 [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/ |
dfa.h | 11 struct State; 23 struct State *state; member in struct:Action 34 struct State **rules; 45 struct State *to; 55 typedef struct State { 58 struct State *next; 59 struct State *link; 66 } State; 68 void Go_genGoto(Go*, FILE *, State*, State*, int*) [all...] |
/external/guava/guava/src/com/google/common/base/ |
AbstractIterator.java | 32 private State state = State.NOT_READY; field in class:AbstractIterator 36 private enum State { 45 state = State.DONE; 51 checkState(state != State.FAILED); 52 switch (state) { 63 state = State.FAILED; // temporary pessimis [all...] |
/external/guava/guava/src/com/google/common/collect/ |
AbstractIterator.java | 31 * end-of-data status without changing the iterator's state, using the {@link 65 private State state = State.NOT_READY; field in class:AbstractIterator 70 private enum State { 124 state = State.DONE; 130 checkState(state != State.FAILED); 131 switch (state) { [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/opt/telephony/src/java/com/android/internal/telephony/ |
MmiCode.java | 27 public enum State { 36 * @return Current state of MmiCode request 38 public State getState(); 54 * State becomes CANCELLED unless already COMPLETE or FAILED
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
DocumentLifecycle.h | 42 enum State { 71 Scope(DocumentLifecycle&, State finalState); 74 void setFinalState(State finalState) { m_finalState = finalState; } 78 State m_finalState; 84 DeprecatedTransition(State from, State to); 87 State from() const { return m_from; } 88 State to() const { return m_to; } 92 State m_from; 93 State m_to 118 State state() const { return m_state; } function in class:WebCore::DocumentLifecycle [all...] |
/external/chromium_org/third_party/skia/src/pdf/ |
SkPDFShader.h | 47 class State; 51 ShaderCanonicalEntry(SkPDFObject* pdfShader, const State* state); 55 const State* fState; 64 static SkPDFObject* GetPDFShaderByState(State* shaderState);
|
/external/skia/src/pdf/ |
SkPDFShader.h | 47 class State; 51 ShaderCanonicalEntry(SkPDFObject* pdfShader, const State* state); 55 const State* fState; 64 static SkPDFObject* GetPDFShaderByState(State* shaderState);
|
/external/chromium_org/chrome/browser/ui/passwords/ |
manage_passwords_icon.h | 14 // Get/set the icon's state. Implementations of this class must implement 16 // the icon's state to the user. 17 void SetState(password_manager::ui::State state); 18 password_manager::ui::State state() const { return state_; } function in class:ManagePasswordsIcon 27 // Called from SetState() iff the icon's state has changed in order to do 28 // whatever platform-specific UI work is necessary given the new state. 32 password_manager::ui::State state_;
|
/external/chromium_org/mojo/services/gles2/ |
command_buffer_type_conversions.h | 17 class TypeConverter<CommandBufferStatePtr, gpu::CommandBuffer::State> { 20 const gpu::CommandBuffer::State& input); 21 static gpu::CommandBuffer::State ConvertTo(
|
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/java/src/org/webrtc/ |
MediaSource.java | 34 public enum State { 44 public State state() { method in class:MediaSource 52 private static native State nativeState(long pointer);
|
/bootable/recovery/edify/ |
expr.h | 46 } State; 57 typedef Value* (*Function)(const char* name, State* state, 71 Value* EvaluateValue(State* state, Expr* expr); 78 char* Evaluate(State* state, Expr* expr); 81 Value* Literal(const char* name, State* state, int argc, Expr* argv[]); 86 Value* ConcatFn(const char* name, State* state, int argc, Expr* argv[]) [all...] |
/external/chromium_org/chrome/browser/ui/app_list/search/ |
tokenized_string_char_iterator.h | 23 struct State { 24 State(); 25 State(size_t token_index, int char_index); 55 // Helpers to get and restore the iterator's state. 56 State GetState() const; 57 void SetState(const State& state);
|
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
HTMLTreeBuilderSimulator.h | 48 typedef Vector<Namespace, 1> State; 52 static State stateFor(HTMLTreeBuilder*); 54 const State& state() const { return m_namespaceStack; } function in class:WebCore::HTMLTreeBuilderSimulator 55 void setState(const State& state) { m_namespaceStack = state; } 65 State m_namespaceStack;
|
/external/chromium_org/net/quic/crypto/ |
quic_server_info.h | 63 struct State { 64 State(); 65 ~State(); 77 DISALLOW_COPY_AND_ASSIGN(State); 82 const State& state() const; 83 State* mutable_state(); 91 State state_;
|