/device/linaro/hikey/bluetooth/ |
hci_packetizer.h | 41 enum State { HCI_PREAMBLE, HCI_PAYLOAD }; 42 State state_{HCI_PREAMBLE};
|
/external/brotli/java/org/brotli/dec/ |
BitReaderTest.java | 24 State reader = new State();
|
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/lexer/ |
Lexer.java | 12 protected State state = State.CONTENT; field in class:Lexer 69 @SuppressWarnings("hiding") int[][][] gotoTable = Lexer.gotoTable[this.state.id()]; 70 @SuppressWarnings("hiding") int[] accept = Lexer.accept[this.state.id()]; 167 switch(state.id()) 169 case 0: state = State.CONTENT; break; 182 switch(state.id()) 184 case 3: state = State.COMMENT; break [all...] |
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lzma/ |
LZMACoder.java | 38 final State state = new State(); field in class:LZMACoder 40 final short[][] isMatch = new short[State.STATES][POS_STATES_MAX]; 41 final short[] isRep = new short[State.STATES]; 42 final short[] isRep0 = new short[State.STATES]; 43 final short[] isRep1 = new short[State.STATES]; 44 final short[] isRep2 = new short[State.STATES]; 45 final short[][] isRep0Long = new short[State.STATES][POS_STATES_MAX]; 69 state.reset() [all...] |
/external/puffin/src/ |
puff_reader.h | 47 state_(State::kReadingBlockMetadata) {} 64 // State when reading from the puffed buffer. 65 enum class State {
|
/frameworks/base/libs/hwui/tests/microbench/ |
LinearAllocatorBench.cpp | 26 static void BM_LinearStdAllocator_vectorBaseline(benchmark::State& state) { 27 while (state.KeepRunning()) { 37 static void BM_LinearStdAllocator_vector(benchmark::State& state) { 38 while (state.KeepRunning()) {
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/ |
QSIconView.java | 22 import com.android.systemui.plugins.qs.QSTile.State; 32 public abstract void setIcon(State state);
|
/hardware/interfaces/bluetooth/1.0/default/ |
hci_packetizer.h | 41 enum State { HCI_PREAMBLE, HCI_PAYLOAD }; 42 State state_{HCI_PREAMBLE};
|
/packages/apps/Camera2/src/com/android/camera/captureintent/state/ |
StateBackground.java | 17 package com.android.camera.captureintent.state; 30 import com.android.camera.captureintent.stateful.State; 35 * Represents a state that module is inactive in background. This is also the 36 * initial state of CaptureIntentModule. 48 State previousState, 62 private StateBackground(State previousState, 74 public Optional<State> processEvent(EventResume eventResume) { 75 return Optional.of((State) StateForeground.from( 85 public Optional<State> processEvent(EventOnSurfaceTextureAvailable event) { 96 State nextState = StateBackgroundWithSurfaceTexture.from [all...] |
StateForeground.java | 17 package com.android.camera.captureintent.state; 30 import com.android.camera.captureintent.stateful.State; 34 * Represents a state that module is active in foreground but waiting for 42 State previousState, 48 State previousState, 60 public Optional<State> processEvent(EventPause event) { 61 return Optional.of((State) StateBackground.from( 71 public Optional<State> processEvent(EventOnSurfaceTextureAvailable event) { 82 State nextState = StateForegroundWithSurfaceTexture.from( 97 public Optional<State> onEnter() [all...] |
/packages/apps/Dialer/java/com/android/dialer/enrichedcall/extensions/ |
StateExtension.java | 22 import com.android.dialer.enrichedcall.Session.State; 24 /** Extends the {@link State} to include a toString method. */ 27 /** Returns the string representation for the given {@link State}. */ 29 public static String toString(@State int callComposerState) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
StateAdapter.java | 17 package com.android.gallery3d.filtershow.state; 32 public class StateAdapter extends ArrayAdapter<State> { 52 State state = getItem(position); local 53 view.setState(state); 56 FilterRepresentation stateRep = state.getFilterRepresentation(); 67 public boolean contains(State state) { 69 if (state == getItem(i)) { 81 add(new State(mOriginalText)) 90 State state = getItem(i); local [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/utils/google-benchmark/test/ |
basic_test.cc | 6 void BM_empty(benchmark::State& state) { 7 while (state.KeepRunning()) { 8 benchmark::DoNotOptimize(state.iterations()); 14 void BM_spin_empty(benchmark::State& state) { 15 while (state.KeepRunning()) { 16 for (int x = 0; x < state.range(0); ++x) { 24 void BM_spin_pause_before(benchmark::State& state) { [all...] |
/system/bt/vendor_libs/linux/interface/ |
hci_packetizer.h | 42 enum State { HCI_PREAMBLE, HCI_PAYLOAD }; 43 State state_{HCI_PREAMBLE};
|
/system/chre/apps/chqts/src/general_test/ |
basic_sensor_test_base.cc | 74 mState(State::kPreStart), 144 mState = State::kPreConfigure; 205 // in this method, so it's not a race to set this state here.) 229 // We should receive the current state of this sensor after the 232 // our testing state to waiting for the last event. 233 mState = State::kExpectingLastDataEvent; 239 mState = State::kExpectingInitialDataEvent; 265 mState = State::kFinished; 278 // An on-change sensor is supposed to send its current state, which 284 if (mState == State::kExpectingInitialDataEvent) [all...] |
/system/update_engine/update_manager/ |
chromeos_policy.h | 58 EvaluationContext* ec, State* state, std::string* error, 63 State* state, 70 State* state, 77 State* state, 83 State* state, [all...] |
/frameworks/base/services/backup/java/com/android/server/backup/transport/ |
TransportClient.java | 102 @State 103 private int mState = State.IDLE; 160 * usable transport binder regardless of the state of the object, it may already be connected, 164 * one of its variants) can be called or not depending on the inner state. However, it won't be 206 case State.UNUSABLE: 210 case State.IDLE: 222 setStateLocked(State.BOUND_AND_CONNECTING, null); 226 // mState remains State.IDLE 231 case State.BOUND_AND_CONNECTING: 238 case State.CONNECTED [all...] |
/external/skia/src/core/ |
SkMiniRecorder.cpp | 67 SkMiniRecorder::SkMiniRecorder() : fState(State::kEmpty) {} 69 if (fState != State::kEmpty) { 70 // We have internal state pending. 74 SkASSERT(fState == State::kEmpty); 78 if (fState != State::kEmpty) { return false; } \ 79 fState = State::k##Type; \ 99 case State::k##Type: \ 100 fState = State::kEmpty; \ 107 case State::kEmpty: 121 case State::k##Type: { [all...] |
/external/skqp/src/core/ |
SkMiniRecorder.cpp | 67 SkMiniRecorder::SkMiniRecorder() : fState(State::kEmpty) {} 69 if (fState != State::kEmpty) { 70 // We have internal state pending. 74 SkASSERT(fState == State::kEmpty); 78 if (fState != State::kEmpty) { return false; } \ 79 fState = State::k##Type; \ 99 case State::k##Type: \ 100 fState = State::kEmpty; \ 107 case State::kEmpty: 121 case State::k##Type: { [all...] |
/bionic/benchmarks/ |
pthread_benchmark.cpp | 25 static void BM_pthread_self(benchmark::State& state) { 26 while (state.KeepRunning()) { 32 static void BM_pthread_getspecific(benchmark::State& state) { 36 while (state.KeepRunning()) { 44 static void BM_pthread_setspecific(benchmark::State& state) { 48 while (state.KeepRunning()) { 59 static void BM_pthread_once(benchmark::State& state) [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
CheckerContext.h | 28 /// State = State->set<Name>(K, V); 29 /// const Value *V = State->get<Name>(K); // Returns NULL if not in the map. 30 /// State = State->remove<Name>(K); 31 /// NameTy Map = State->get<Name>(); 44 /// State = State->add<Name>(E); 45 /// State = State->remove<Name>(E) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
CheckerContext.h | 28 /// State = State->set<Name>(K, V); 29 /// const Value *V = State->get<Name>(K); // Returns NULL if not in the map. 30 /// State = State->remove<Name>(K); 31 /// NameTy Map = State->get<Name>(); 44 /// State = State->add<Name>(E); 45 /// State = State->remove<Name>(E) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/clang/StaticAnalyzer/Core/PathSensitive/ |
CheckerContext.h | 28 /// State = State->set<Name>(K, V); 29 /// const Value *V = State->get<Name>(K); // Returns NULL if not in the map. 30 /// State = State->remove<Name>(K); 31 /// NameTy Map = State->get<Name>(); 44 /// State = State->add<Name>(E); 45 /// State = State->remove<Name>(E) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/include/clang/StaticAnalyzer/Core/PathSensitive/ |
CheckerContext.h | 28 /// State = State->set<Name>(K, V); 29 /// const Value *V = State->get<Name>(K); // Returns NULL if not in the map. 30 /// State = State->remove<Name>(K); 31 /// NameTy Map = State->get<Name>(); 44 /// State = State->add<Name>(E); 45 /// State = State->remove<Name>(E) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/include/clang/StaticAnalyzer/Core/PathSensitive/ |
CheckerContext.h | 28 /// State = State->set<Name>(K, V); 29 /// const Value *V = State->get<Name>(K); // Returns NULL if not in the map. 30 /// State = State->remove<Name>(K); 31 /// NameTy Map = State->get<Name>(); 44 /// State = State->add<Name>(E); 45 /// State = State->remove<Name>(E) [all...] |