HomeSort by relevance Sort by last modified time
    Searched refs:State (Results 501 - 525 of 3236) sorted by null

<<21222324252627282930>>

  /packages/apps/Camera2/src/com/android/camera/captureintent/stateful/
StateImpl.java 27 * Provides a basic implementation for {@link State} interface.
30 public abstract class StateImpl implements State {
39 protected StateImpl(State previousState) {
49 public Optional<State> onEnter() {
  /packages/apps/DocumentsUI/src/com/android/documentsui/picker/
LoadLastAccessedStackTask.java 24 import com.android.documentsui.base.State;
41 private final State mState;
48 State state,
54 mState = state;
  /packages/apps/DocumentsUI/src/com/android/documentsui/roots/
LoadRootTask.java 29 import com.android.documentsui.base.State;
35 private final State mState;
40 public LoadRootTask(T activity, ProvidersAccess providers, State state, Uri rootUri) {
42 mState = state;
RootsLoader.java 27 import com.android.documentsui.base.State;
40 private final State mState;
44 public RootsLoader(Context context, ProvidersCache providers, State state) {
47 mState = state;
  /system/security/keystore/
user_state.h 42 void setState(State state);
43 State getState() const { return mState; }
79 State mState;
  /device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeHttpLib/
DxeHttpLib.c 79 This function return the updated state according to the input state and next character of
83 @param[in] State Current value of the parser state machine.
87 @return Updated state value.
92 IN HTTP_URL_PARSE_STATE State,
110 switch (State) {
147 return State;
171 HTTP_URL_PARSE_STATE State;
182 State = UrlParserUserInfo;
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/data/
Timer.java 30 import static com.android.deskclock.data.Timer.State.EXPIRED;
31 import static com.android.deskclock.data.Timer.State.MISSED;
32 import static com.android.deskclock.data.Timer.State.PAUSED;
33 import static com.android.deskclock.data.Timer.State.RESET;
34 import static com.android.deskclock.data.Timer.State.RUNNING;
41 public enum State {
44 /** The value assigned to this State in prior releases. */
47 State(int value) {
52 * @return the numeric value assigned to this state
59 * @return the state corresponding to the given {@code value
345 final State state; local
    [all...]
  /external/clang/lib/Format/
UnwrappedLineFormatter.cpp 50 /// \brief Update the indent state given that \p Line is going to be formatted
462 static void printLineState(const LineState &State) {
463 llvm::dbgs() << "State: ";
464 for (const ParenState &P : State.Stack) {
468 llvm::dbgs() << State.NextToken->TokenText << "\n";
489 /// \brief If the \p State's next token is an r_brace closing a nested block,
493 /// \p Penalty as well as \p State. If \p DryRun is false, also directly
509 bool formatChildren(LineState &State, bool NewLine, bool DryRun,
511 const FormatToken *LBrace = State.NextToken->getPreviousNonComment();
512 FormatToken &Previous = *State.NextToken->Previous
    [all...]
  /external/llvm/lib/Target/SystemZ/
SystemZCallingConv.h 92 CCState &State) {
93 SmallVectorImpl<CCValAssign> &PendingMembers = State.getPendingLocs();
111 unsigned Reg = State.AllocateReg(SystemZ::ArgGPRs);
112 unsigned Offset = Reg ? 0 : State.AllocateStack(8, 8);
120 State.addLoc(It);
  /external/llvm/unittests/ADT/
SmallVectorTest.cpp 779 EmplaceableArgState State;
780 EmplaceableArg() : State(EAS_Defaulted) {}
782 : State(X.State == EAS_Arg ? EAS_RValue : EAS_Failure) {}
784 : State(X.State == EAS_Arg ? EAS_LValue : EAS_Failure) {}
786 explicit EmplaceableArg(bool) : State(EAS_Arg) {}
799 EmplaceableState State;
801 Emplaceable() : State(ES_Emplaced) {}
805 : A0(std::forward<A0Ty>(A0)), State(ES_Emplaced) {
    [all...]
  /external/swiftshader/third_party/LLVM/lib/DebugInfo/
DWARFDebugLine.h 84 // Standard .debug_line state machine structure.
130 void appendRow(const DWARFDebugLine::Row &state) { Rows.push_back(state); }
143 struct State : public Row, public LineTable {
150 State() : row(StartParsingLineTable) {}
151 virtual ~State();
162 struct DumpingState : public State {
174 uint32_t *offset_ptr, State &state);
  /external/tensorflow/tensorflow/core/lib/core/
status.cc 23 state_ = std::unique_ptr<State>(new State);
34 void Status::SlowCopyFrom(const State* src) {
38 state_ = std::unique_ptr<State>(new State(*src));
  /frameworks/base/core/java/com/android/internal/app/procstats/
DumpUtils.java 106 STATE_PROTO_ENUMS[STATE_PERSISTENT] = ProcessStatsProto.State.PERSISTENT;
107 STATE_PROTO_ENUMS[STATE_TOP] = ProcessStatsProto.State.TOP;
108 STATE_PROTO_ENUMS[STATE_IMPORTANT_FOREGROUND] = ProcessStatsProto.State.IMPORTANT_FOREGROUND;
109 STATE_PROTO_ENUMS[STATE_IMPORTANT_BACKGROUND] = ProcessStatsProto.State.IMPORTANT_BACKGROUND;
110 STATE_PROTO_ENUMS[STATE_BACKUP] = ProcessStatsProto.State.BACKUP;
111 STATE_PROTO_ENUMS[STATE_SERVICE] = ProcessStatsProto.State.SERVICE;
112 STATE_PROTO_ENUMS[STATE_SERVICE_RESTARTING] = ProcessStatsProto.State.SERVICE_RESTARTING;
113 STATE_PROTO_ENUMS[STATE_RECEIVER] = ProcessStatsProto.State.RECEIVER;
114 STATE_PROTO_ENUMS[STATE_HEAVY_WEIGHT] = ProcessStatsProto.State.HEAVY_WEIGHT;
115 STATE_PROTO_ENUMS[STATE_HOME] = ProcessStatsProto.State.HOME
284 int state = imem+iscreen; local
321 int state = imem+iscreen; local
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
UserTile.java 29 import com.android.systemui.plugins.qs.QSTile.State;
34 public class UserTile extends QSTileImpl<State> implements UserInfoController.OnUserInfoChangedListener {
47 public State newTileState() {
48 return new QSTile.State();
86 protected void handleUpdateState(State state, Object arg) {
89 state.label = p.first;
91 state.contentDescription = p.first;
92 state.icon = new Icon() {
99 // TODO: Default state
    [all...]
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DozeTriggersTest.java 86 when(mMachine.getState()).thenReturn(DozeMachine.State.DOZE);
88 mTriggers.transitionTo(DozeMachine.State.UNINITIALIZED, DozeMachine.State.INITIALIZED);
89 mTriggers.transitionTo(DozeMachine.State.INITIALIZED, DozeMachine.State.DOZE);
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
QSIconViewImplTest.java 34 import com.android.systemui.plugins.qs.QSTile.State;
56 State s = new State();
77 State s = new State();
78 s.state = Tile.STATE_ACTIVE;
79 int desiredColor = mIconView.getColor(s.state);
  /packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/
WifiTile.java 49 private State mState = State.OFF;
90 public State getState() {
108 public void onWifiStateChanged(int state) {
109 mIconRes = WifiUtil.getIconRes(state);
110 int stringId = WifiUtil.getStateDesc(state);
118 mState = WifiUtil.isWifiOn(state) ? State.ON : State.OFF;
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
EditIpSettingsActivity.java 30 import com.android.tv.settings.connectivity.util.State;
38 State.FragmentChangeListener {
49 private State mSaveState;
50 private State mSaveSuccessState;
51 private State mSaveFailedState;
EditProxySettingsActivity.java 30 import com.android.tv.settings.connectivity.util.State;
38 State.FragmentChangeListener {
50 private State mSaveState;
51 private State mSaveSuccessState;
52 private State mSaveFailedState;
  /developers/build/prebuilts/gradle/WearSpeakerSample/wear/src/main/java/com/example/android/wearable/speaker/
SoundRecorder.java 54 private State mState = State.IDLE;
60 enum State {
77 if (mState != State.IDLE) {
78 Log.w(TAG, "Requesting to start recording while state was not IDLE");
88 mState = State.RECORDING;
123 mState = State.IDLE;
129 if (mState == State.RECORDING) {
131 mState = State.IDLE;
133 Log.w(TAG, "Requesting to stop recording while state was not RECORDING")
    [all...]
  /developers/samples/android/wearable/wear/WearSpeakerSample/wear/src/main/java/com/example/android/wearable/speaker/
SoundRecorder.java 54 private State mState = State.IDLE;
60 enum State {
77 if (mState != State.IDLE) {
78 Log.w(TAG, "Requesting to start recording while state was not IDLE");
88 mState = State.RECORDING;
123 mState = State.IDLE;
129 if (mState == State.RECORDING) {
131 mState = State.IDLE;
133 Log.w(TAG, "Requesting to stop recording while state was not RECORDING")
    [all...]
  /development/samples/browseable/WearSpeakerSample/src/com.example.android.wearable.speaker/
SoundRecorder.java 54 private State mState = State.IDLE;
60 enum State {
77 if (mState != State.IDLE) {
78 Log.w(TAG, "Requesting to start recording while state was not IDLE");
88 mState = State.RECORDING;
123 mState = State.IDLE;
129 if (mState == State.RECORDING) {
131 mState = State.IDLE;
133 Log.w(TAG, "Requesting to stop recording while state was not RECORDING")
    [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
ObjCSuperDeallocChecker.cpp 90 ProgramStateRef State = C.getState();
97 bool AlreadyCalled = State->contains<CalledSuperDealloc>(ReceiverSymbol);
125 ProgramStateRef State = C.getState();
132 State = State->add<CalledSuperDealloc>(ReceiverSymbol);
133 C.addTransition(State);
142 ProgramStateRef State = C.getState();
144 if (!State->contains<CalledSuperDealloc>(BaseSym))
208 ProgramStateRef State = C.getState();
215 if (State->contains<CalledSuperDealloc>(Sym))
    [all...]
  /external/guice/core/src/com/google/inject/internal/
State.java 44 interface State {
46 static final State NONE = new State() {
47 public State parent() {
118 public void blacklist(Key<?> key, State state, Object source) {
142 State parent();
186 * parent injector that would conflict and pass along their state to control the lifetimes.
188 void blacklist(Key<?> key, State state, Object source)
    [all...]
  /external/libcxx/benchmarks/
ContainerBenchmarks.hpp 12 void BM_ConstructIterIter(benchmark::State& st, Container, GenInputs gen) {
24 void BM_InsertValue(benchmark::State& st, Container c, GenInputs gen) {
37 void BM_InsertValueRehash(benchmark::State& st, Container c, GenInputs gen) {
52 void BM_InsertDuplicate(benchmark::State& st, Container c, GenInputs gen) {
68 void BM_EmplaceDuplicate(benchmark::State& st, Container c, GenInputs gen) {
83 static void BM_Find(benchmark::State& st, Container c, GenInputs gen) {
97 static void BM_FindRehash(benchmark::State& st, Container c, GenInputs gen) {

Completed in 1877 milliseconds

<<21222324252627282930>>