HomeSort by relevance Sort by last modified time
    Searched refs:State (Results 1 - 25 of 2248) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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/skia/src/pdf/
SkPDFShader.h 52 class State {
65 State(SkShader* shader, const SkMatrix& canvasTransform,
69 bool operator==(const State& b) const;
71 State MakeAlphaToLuminosityState() const;
72 State MakeOpaqueState() const;
76 State(State&&) = default;
77 State& operator=(State&&) = default;
80 State(const State& other)
    [all...]
  /external/libcxx/test/support/
tracked_value.h 15 enum State { CONSTRUCTED, MOVED_FROM, DESTROYED };
16 State state; member in struct:TrackedValue
18 TrackedValue() : state(State::CONSTRUCTED) {}
20 TrackedValue(TrackedValue const& t) : state(State::CONSTRUCTED) {
21 assert(t.state != State::MOVED_FROM && "copying a moved-from object");
22 assert(t.state != State::DESTROYED && "copying a destroyed object")
    [all...]
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/support/
tracked_value.h 15 enum State { CONSTRUCTED, MOVED_FROM, DESTROYED };
16 State state; member in struct:TrackedValue
18 TrackedValue() : state(State::CONSTRUCTED) {}
20 TrackedValue(TrackedValue const& t) : state(State::CONSTRUCTED) {
21 assert(t.state != State::MOVED_FROM && "copying a moved-from object");
22 assert(t.state != State::DESTROYED && "copying a destroyed object")
    [all...]
  /bootable/recovery/updater/include/updater/
install.h 20 struct State;
25 void uiPrintf(State* _Nonnull state, const char* _Nonnull format, ...)
  /external/guice/extensions/service/src/com/google/inject/service/
AsyncService.java 39 private volatile State state; field in class:AsyncService
45 public synchronized final Future<State> start() {
46 Preconditions.checkState(state != State.STOPPED,
50 if (state == State.STARTED) {
51 return new FutureTask<State>(DO_NOTHING, State.STARTED);
54 return executor.submit(new Callable<State>() {
    [all...]
Service.java 23 * An object with an operational state, asynchronous {@link #start()} and
24 * {@link #stop()} lifecycle methods to transition in and out of this state.
36 * service has finished starting, and returns the resultant state. If
41 Future<State> start();
44 * If the service is {@link State#STARTED} initiates service shutdown and
51 * State#STOPPED} or throws an {@link ExecutionException}. If it has
54 Future<State> stop();
57 * Returns the current state of this service. One of {@link State} possible
59 * any state yet
61 State state(); method in interface:Service
    [all...]
CompositeService.java 44 * Represents the state of this composite service. Will equal FAILED
49 private volatile Service.State compositeState;
80 public Future<State> start() {
81 final List<Future<State>> tasks = Lists.newArrayList();
86 return futureGet(tasks, State.STARTED);
89 public Future<State> stop() {
90 final List<Future<State>> tasks = Lists.newArrayList();
95 return futureGet(tasks, State.STOPPED);
98 public State state() { method in class:CompositeService
    [all...]
  /external/llvm/include/llvm/Support/
raw_sha1_ostream.h 25 SHA1 State;
29 State.update(ArrayRef<uint8_t>((const uint8_t *)Ptr, Size));
36 return State.result();
39 /// Reset the internal state to start over from scratch.
40 void resetHash() { State.init(); }
  /system/update_engine/update_manager/
state.h 30 // The State class is an interface to the ensemble of providers. This class
31 // gives visibility of the state providers to policy implementations.
32 class State {
34 virtual ~State() {}
46 State() {}
49 DISALLOW_COPY_AND_ASSIGN(State);
  /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...]
  /art/tools/dexfuzz/src/dexfuzz/
StreamConsumer.java 37 private State state; field in class:StreamConsumer
42 enum State {
58 state = State.WAITING;
70 changeState(State.CONSUMING, State.WAITING);
80 changeState(State.SHOULD_STOP_CONSUMING, State.CONSUMING);
106 changeState(State.FINISHED, State.WAITING)
    [all...]
  /external/clang/lib/Format/
ContinuationIndenter.cpp 79 LineState State;
80 State.FirstIndent = FirstIndent;
81 State.Column = FirstIndent;
82 State.Line = Line;
83 State.NextToken = Line->First;
84 State.Stack.push_back(ParenState(FirstIndent, Line->Level, FirstIndent,
87 State.LineContainsContinuedForLoopSection = false;
88 State.StartOfStringLiteral = 0;
89 State.StartOfLineLevel = 0;
90 State.LowestLevelOnLine = 0
    [all...]
  /packages/apps/Camera2/src/com/android/camera/captureintent/stateful/
StateMachine.java 22 * Defines a state machine interface that any implementation of this interface
23 * is able to transition among different {@link State} and process various
28 * Obtains the current state.
30 * @return A {@link State} object that represents the current state.
32 public State getCurrentState();
35 * Sets the initial state of the state machine.
37 * @param initialState An initial {@link State}.
40 public boolean setInitialState(@Nonnull State initialState)
    [all...]
  /frameworks/native/services/surfaceflinger/
LayerRejecter.h 26 LayerRejecter(Layer::State &front,
27 Layer::State &current,
37 Layer::State &mFront;
38 Layer::State &mCurrent;
  /external/swiftshader/third_party/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/pdfium/core/fxge/skia/
fx_skia_device_unittest.cpp 18 struct State {
31 void EmptyTest(CFX_SkiaDeviceDriver* driver, const State&) {
37 void CommonTest(CFX_SkiaDeviceDriver* driver, const State& state) {
58 if (state.m_save == State::Save::kYes)
60 if (state.m_clip != State::Clip::kNo)
62 if (state.m_graphic == State::Graphic::kPath)
    [all...]
  /external/webrtc/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);
  /packages/apps/DocumentsUI/src/com/android/documentsui/
ActivityConfig.java 20 import com.android.documentsui.base.State;
31 public boolean canSelectType(String docMimeType, int docFlags, State state) {
35 public boolean isDocumentEnabled(String docMimeType, int docFlags, State state) {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DozeMachine.java 35 * DozeMachine implements a state machine that orchestrates how the UI and triggers work and
38 * During state transitions and in certain states, DozeMachine holds a wake lock.
45 public enum State {
46 /** Default state. Transition to INITIALIZED to get Doze going. */
107 private final ArrayList<State> mQueuedRequests = new ArrayList<>();
108 private State mState = State.UNINITIALIZED;
128 * This can be called during a state transition, in which case it will be queued until all
129 * queued state transitions are done.
133 * Note that {@link #transitionPolicy} can modify what state will be transitioned to
310 int state = newState.screenState(); local
    [all...]
  /external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
initialize.c 127 void WebRtcIsacfix_InitPitchAnalysis(PitchAnalysisStruct *State)
132 State->dec_buffer16[k] = 0;
135 State->decimator_state32[k] = 0;
139 State->inbuf[k] = 0;
141 WebRtcIsacfix_InitPitchFilter(&(State->PFstr_wght));
143 WebRtcIsacfix_InitPitchFilter(&(State->PFstr));
147 void WebRtcIsacfix_InitPlc( PLCstr *State )
149 State->decayCoeffPriodic = WEBRTC_SPL_WORD16_MAX;
150 State->decayCoeffNoise = WEBRTC_SPL_WORD16_MAX;
152 State->used = PLC_WAS_USED
    [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/skia/src/core/
SkBitmapController.h 23 class State : ::SkNoncopyable {
25 virtual ~State() {}
42 State* requestBitmap(const SkBitmapProvider&, const SkMatrix& inverse, SkFilterQuality,
45 State* requestBitmap(const SkBitmapProvider& bp, const SkMatrix& inv, SkFilterQuality quality) {
50 virtual State* onRequestBitmap(const SkBitmapProvider&, const SkMatrix& inv, SkFilterQuality,
65 State* onRequestBitmap(const SkBitmapProvider&, const SkMatrix& inverse, SkFilterQuality,
  /frameworks/base/telephony/java/com/android/internal/telephony/
OperatorInfo.java 26 public enum State {
37 private State mState = State.UNKNOWN;
55 public State
63 State state) {
69 mState = state;
84 this(operatorAlphaLong, operatorAlphaShort, operatorNumeric, State.UNKNOWN);
88 * See state strings defined in ril.h RIL_REQUEST_QUERY_AVAILABLE_NETWORKS
90 private static State rilStateToState(String s)
    [all...]
  /frameworks/minikin/tests/perftests/
FontLanguage.cpp 22 static void BM_FontLanguage_en_US(benchmark::State& state) {
23 while (state.KeepRunning()) {
29 static void BM_FontLanguage_en_Latn_US(benchmark::State& state) {
30 while (state.KeepRunning()) {
36 static void BM_FontLanguage_en_Latn_US_u_em_emoji(benchmark::State& state) {
37 while (state.KeepRunning()) {

Completed in 2115 milliseconds

1 2 3 4 5 6 7 8 91011>>