/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
CommonControllerOverlay.java | 45 protected enum State { 65 protected State mState; 76 mState = State.LOADING; 152 mState = State.PLAYING; 158 mState = State.PAUSED; 164 mState = State.ENDED; 170 mState = State.LOADING; 176 mState = State.ERROR; 220 if (mState == State.ENDED) { 224 } else if (mState == State.PAUSED || mState == State.PLAYING) [all...] |
TrimControllerOverlay.java | 43 if (mState == State.PLAYING) { 94 // The special thing here is that the State.ENDED include both cases of 98 if (mState == State.PLAYING || mState == State.PAUSED) { 100 } else if (mState == State.ENDED) {
|
/system/security/keystore/include/keystore/ |
keystore.h | 22 // note state values overlap with ResponseCode for the purposes of the state() API 23 enum State {
|
/system/update_engine/update_manager/ |
api_restricted_downloads_policy_impl.cc | 28 State* state, 34 ec->GetValue(state->updater_provider()->var_update_restrictions());
|
interactive_update_policy_impl.cc | 24 State* state, 27 UpdaterProvider* const updater_provider = state->updater_provider();
|
out_of_box_experience_policy_impl.cc | 24 State* state, 27 SystemProvider* const system_provider = state->system_provider(); 31 ec->GetValue(state->config_provider()->var_is_oobe_enabled());
|
/bionic/benchmarks/ |
semaphore_benchmark.cpp | 26 static void BM_semaphore_sem_getvalue(benchmark::State& state) { 30 while (state.KeepRunning()) { 37 static void BM_semaphore_sem_wait_sem_post(benchmark::State& state) { 41 while (state.KeepRunning()) { 83 void SetUp(const benchmark::State&) { 125 /* BENCHMARK_F(SemaphoreFixture, semaphore_sem_post)(benchmark::State& state) { 126 while (state.KeepRunning()) [all...] |
/development/samples/TicTacToeMain/src/com/example/android/tictactoe/ |
MainActivity.java | 26 import com.example.android.tictactoe.library.GameView.State; 53 startWithHuman ? State.PLAYER1.getValue() : State.PLAYER2.getValue());
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/ |
Tcp4Proto.h | 180 UINT8 State; ///< TCP state, such as SYN_SENT, LISTEN
237 UINT8 CongestState; ///< The current congestion state(RFC3782)
272 #define TCP_CONNECTED(state) ((state) > TCP_SYN_RCVD)
274 #define TCP_FIN_RCVD(State) \
275 (((State) == TCP_CLOSE_WAIT) || \
276 ((State) == TCP_LAST_ACK) || \
277 ((State) == TCP_CLOSING) || \
278 ((State) == TCP_TIME_WAIT)) [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/TcpDxe/ |
TcpProto.h | 137 #define TCP_CONNECTED(state) ((state) > TCP_SYN_RCVD)
139 #define TCP_FIN_RCVD(State) \
141 ((State) == TCP_CLOSE_WAIT) || \
142 ((State) == TCP_LAST_ACK) || \
143 ((State) == TCP_CLOSING) || \
144 ((State) == TCP_TIME_WAIT) \
147 #define TCP_LOCAL_CLOSED(State) \
149 ((State) == TCP_FIN_WAIT_1) || \
150 ((State) == TCP_FIN_WAIT_2) || \ [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
VforkChecker.cpp | 17 // The state transition diagram: 51 static bool isChildProcess(const ProgramStateRef State); 79 bool VforkChecker::isChildProcess(const ProgramStateRef State) { 80 return State->get<VforkResultRegion>() != VFORK_RESULT_INVALID; 147 ProgramStateRef State = C.getState(); 148 if (isChildProcess(State)) 185 ProgramStateRef State = C.getState(); 186 if (isChildProcess(State) 194 ProgramStateRef State = C.getState(); 195 if (!isChildProcess(State)) [all...] |
/external/google-benchmark/test/ |
diagnostics_test.cc | 2 // State::PauseTiming() 3 // State::ResumeTiming() 28 void try_invalid_pause_resume(benchmark::State& state) { 31 state.PauseTiming(); 36 state.ResumeTiming(); 41 (void)state; // avoid unused warning 45 void BM_diagnostic_test(benchmark::State& state) { 48 if (called_once == false) try_invalid_pause_resume(state); [all...] |
/external/libcxx/utils/google-benchmark/test/ |
diagnostics_test.cc | 2 // State::PauseTiming() 3 // State::ResumeTiming() 28 void try_invalid_pause_resume(benchmark::State& state) { 31 state.PauseTiming(); 36 state.ResumeTiming(); 41 (void)state; // avoid unused warning 45 void BM_diagnostic_test(benchmark::State& state) { 48 if (called_once == false) try_invalid_pause_resume(state); [all...] |
/external/owasp/sanitizer/src/main/org/owasp/html/ |
HtmlLexer.java | 49 private State state = State.OUTSIDE_TAG; field in class:HtmlLexer 69 private static enum State { 91 state = State.IN_TAG; 94 if (state == State.SAW_EQ && HtmlTokenType.TAGEND == token.type) { 98 state = State.IN_TAG 465 State state = null; local [all...] |
/external/puffin/src/ |
puff_writer.cc | 37 if (state_ == State::kWritingNonLiteral) { 40 state_ = State::kWritingSmallLiteral; 42 if (state_ == State::kWritingSmallLiteral) { 54 state_ = State::kWritingLargeLiteral; 122 state_ = State::kWritingNonLiteral; 145 state_ = State::kWritingNonLiteral; 163 state_ = State::kWritingNonLiteral; 180 case State::kWritingSmallLiteral: 189 state_ = State::kWritingNonLiteral; 193 case State::kWritingLargeLiteral [all...] |
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowNetworkInfo.java | 42 public NetworkInfo.State getState() { 43 return isConnected ? NetworkInfo.State.CONNECTED : 44 NetworkInfo.State.DISCONNECTED;
|
/external/skia/include/core/ |
SkDocument.h | 201 enum State { 206 State getState() const { return fState; } 210 State fState;
|
/external/skqp/include/core/ |
SkDocument.h | 201 enum State { 206 State getState() const { return fState; } 210 State fState;
|
/external/swiftshader/src/Shader/ |
VertexRoutine.hpp | 41 VertexRoutine(const VertexProcessor::State &state, const VertexShader *shader); 54 const VertexProcessor::State &state; member in class:sw::VertexRoutine 59 typedef VertexProcessor::State::Input Stream;
|
/external/v8/src/crankshaft/ |
hydrogen-flow-engine.h | 23 template <class State> 24 inline void Apply(State* state) { 36 // An example implementation of state that doesn't track anything. 54 // by the type of the state and the effects collected while walking over the 57 // The "State" collects which facts are known while passing over instructions 62 // each block at most twice; once for state, and optionally once for effects. 64 // The flow engine requires the State and Effects classes to implement methods 67 template <class State, class Effects> 82 State* AnalyzeOneBlock(HBasicBlock* block, State* state) 102 State* state = State::Finish(StateAt(block), block, zone_); local [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
bandwidth_estimator.h | 110 uint16_t WebRtcIsacfix_GetMinBytes(RateModel *State, 119 void WebRtcIsacfix_UpdateRateModel(RateModel *State, 125 void WebRtcIsacfix_InitRateModel(RateModel *State);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
EthernetSignalController.java | 28 SignalController<SignalController.State, SignalController.IconGroup> { 60 public SignalController.State cleanState() { 61 return new SignalController.State();
|
/frameworks/minikin/tests/perftests/ |
GraphemeBreak.cpp | 35 static void BM_GraphemeBreak_Ascii(benchmark::State& state) { 40 const size_t testIndex = state.range(0); 41 while (state.KeepRunning()) { 50 static void BM_GraphemeBreak_Emoji(benchmark::State& state) { 55 const size_t testIndex = state.range(0); 56 while (state.KeepRunning()) { 65 static void BM_GraphemeBreak_Emoji_Flags(benchmark::State& state) { [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
ImsPhoneCall.java | 127 sb.append(" state: "); 163 public void attach(Connection conn, State state) { 165 Rlog.v(LOG_TAG, "attach : " + mCallContext + " state = " + 166 state.toString()); 169 mState = state; 172 public void attachFake(Connection conn, State state) { 173 attach(conn, state); 180 if (mState != State.DISCONNECTED) [all...] |
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/utils/ |
StopWorkRunnable.java | 22 import androidx.work.State; 28 * A {@link Runnable} that can stop work and set the {@link State} to {@link State#ENQUEUED} if it's 29 * in {@link State#RUNNING}. 51 if (workSpecDao.getState(mWorkSpecId) == State.RUNNING) { 52 workSpecDao.setState(State.ENQUEUED, mWorkSpecId);
|