/frameworks/base/core/java/android/os/ |
SystemService.java | 31 private static HashMap<String, State> sStates = Maps.newHashMap(); 34 * State of a known {@code init} service. 36 public enum State { 42 State(String state) { 43 sStates.put(state, this); 76 * Return current state of given service. 78 public static State getState(String service) { 80 final State state = sStates.get(rawState) local [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
FCDIterCollationIterator.java | 28 state = State.ITER_CHECK_FWD; 37 state = State.ITER_CHECK_FWD; 42 if(state.compareTo(State.ITER_CHECK_BWD) <= 0) { 44 } else if(state == State.ITER_IN_FCD_SEGMENT) { 57 if(state == State.ITER_CHECK_FWD) 444 private State state; local [all...] |
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
FCDIterCollationIterator.java | 26 state = State.ITER_CHECK_FWD; 35 state = State.ITER_CHECK_FWD; 40 if(state.compareTo(State.ITER_CHECK_BWD) <= 0) { 42 } else if(state == State.ITER_IN_FCD_SEGMENT) { 55 if(state == State.ITER_CHECK_FWD) 442 private State state; local [all...] |
/bionic/benchmarks/ |
inttypes_benchmark.cpp | 22 void BM_inttypes_strtoimax(benchmark::State& state) { 23 while (state.KeepRunning()) { 29 void BM_inttypes_strtoumax(benchmark::State& state) { 30 while (state.KeepRunning()) {
|
time_benchmark.cpp | 25 static void BM_time_clock_gettime(benchmark::State& state) { 28 while (state.KeepRunning()) { 34 static void BM_time_clock_gettime_syscall(benchmark::State& state) { 37 while (state.KeepRunning()) { 43 static void BM_time_clock_gettime_MONOTONIC_COARSE(benchmark::State& state) { 46 while (state.KeepRunning()) { 52 static void BM_time_clock_gettime_MONOTONIC_RAW(benchmark::State& state) [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/parser/ |
State.java | 7 final class State 9 int state; field in class:State 12 State(@SuppressWarnings("hiding") int state, @SuppressWarnings("hiding") ArrayList nodes) 14 this.state = state;
|
/frameworks/base/cmds/statsd/benchmark/ |
hello_world_benchmark.cpp | 18 static void BM_StringCreation(benchmark::State& state) { 19 while (state.KeepRunning()) std::string empty_string; 25 static void BM_StringCopy(benchmark::State& state) { 27 while (state.KeepRunning()) std::string copy(x);
|
/frameworks/base/core/java/com/android/internal/util/ |
State.java | 26 public class State implements IState { 31 protected State() { 57 * Name of State for debugging purposes. 60 * the instance name would better in cases where a State class 62 * state and the class name is sufficient and easy to get. You may
|
/frameworks/base/libs/androidfw/tests/ |
BenchmarkHelpers.h | 31 uint32_t resid, ::benchmark::State& state); 34 uint32_t resid, benchmark::State& state);
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
Config.java | 19 import static com.android.documentsui.base.State.ACTION_CREATE; 20 import static com.android.documentsui.base.State.ACTION_GET_CONTENT; 21 import static com.android.documentsui.base.State.ACTION_OPEN; 22 import static com.android.documentsui.base.State.ACTION_OPEN_TREE; 23 import static com.android.documentsui.base.State.ACTION_PICK_COPY_DESTINATION; 29 import com.android.documentsui.base.State; 37 public boolean canSelectType(String docMimeType, int docFlags, State state) { 38 if (!isDocumentEnabled(docMimeType, docFlags, state)) { 46 if (state.action == ACTION_OPEN_TREE || state.action == ACTION_PICK_COPY_DESTINATION) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
DictionaryListInterfaceState.java | 25 * Helper class to maintain the interface state of word list preferences. 29 * when scrolling, the view is reused so it doesn't keep its state, which means we need to keep 35 static class State { 40 private HashMap<String, State> mWordlistToState = new HashMap<>(); 44 final State state = mWordlistToState.get(wordlistId); local 45 if (null == state) return false; 46 return state.mOpen; 50 final State state = mWordlistToState.get(wordlistId) local 57 final State state = mWordlistToState.get(wordlistId); local [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/include/clang/StaticAnalyzer/Core/PathSensitive/ |
LoopUnrolling.h | 35 /// Returns if the given State indicates that is inside a completely unrolled 37 bool isUnrolledState(ProgramStateRef State); 45 ProgramStateRef processLoopEnd(const Stmt *LoopStmt, ProgramStateRef State);
|
/prebuilts/clang/host/darwin-x86/clang-4630689/include/clang/StaticAnalyzer/Core/PathSensitive/ |
LoopUnrolling.h | 35 /// Returns if the given State indicates that is inside a completely unrolled 37 bool isUnrolledState(ProgramStateRef State); 45 ProgramStateRef processLoopEnd(const Stmt *LoopStmt, ProgramStateRef State);
|
/prebuilts/clang/host/darwin-x86/clang-4639204/include/clang/StaticAnalyzer/Core/PathSensitive/ |
LoopUnrolling.h | 35 /// Returns if the given State indicates that is inside a completely unrolled 37 bool isUnrolledState(ProgramStateRef State); 45 ProgramStateRef processLoopEnd(const Stmt *LoopStmt, ProgramStateRef State);
|
/prebuilts/clang/host/darwin-x86/clang-4691093/include/clang/StaticAnalyzer/Core/PathSensitive/ |
LoopUnrolling.h | 35 /// Returns if the given State indicates that is inside a completely unrolled 37 bool isUnrolledState(ProgramStateRef State); 45 ProgramStateRef processLoopEnd(const Stmt *LoopStmt, ProgramStateRef State);
|
/prebuilts/clang/host/linux-x86/clang-4579689/include/clang/StaticAnalyzer/Core/PathSensitive/ |
LoopUnrolling.h | 35 /// Returns if the given State indicates that is inside a completely unrolled 37 bool isUnrolledState(ProgramStateRef State); 45 ProgramStateRef processLoopEnd(const Stmt *LoopStmt, ProgramStateRef State);
|
/prebuilts/clang/host/linux-x86/clang-4630689/include/clang/StaticAnalyzer/Core/PathSensitive/ |
LoopUnrolling.h | 35 /// Returns if the given State indicates that is inside a completely unrolled 37 bool isUnrolledState(ProgramStateRef State); 45 ProgramStateRef processLoopEnd(const Stmt *LoopStmt, ProgramStateRef State);
|
/prebuilts/clang/host/linux-x86/clang-4639204/include/clang/StaticAnalyzer/Core/PathSensitive/ |
LoopUnrolling.h | 35 /// Returns if the given State indicates that is inside a completely unrolled 37 bool isUnrolledState(ProgramStateRef State); 45 ProgramStateRef processLoopEnd(const Stmt *LoopStmt, ProgramStateRef State);
|
/prebuilts/clang/host/linux-x86/clang-4691093/include/clang/StaticAnalyzer/Core/PathSensitive/ |
LoopUnrolling.h | 35 /// Returns if the given State indicates that is inside a completely unrolled 37 bool isUnrolledState(ProgramStateRef State); 45 ProgramStateRef processLoopEnd(const Stmt *LoopStmt, ProgramStateRef State);
|
/system/chre/apps/chqts/src/general_test/ |
basic_audio_test.h | 34 enum class State { 41 State mState;
|
/external/apache-http/src/org/apache/http/impl/auth/ |
NTLMScheme.java | 53 enum State { 64 private State state; field in class:NTLMScheme 73 this.state = State.UNINITIATED; 100 if (this.state == State.UNINITIATED) { 101 this.state = State.CHALLENGE_RECEIVED; 103 this.state = State.FAILED [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
ConstraintManager.cpp | 21 static DefinedSVal getLocFromSymbol(const ProgramStateRef &State, 23 const MemRegion *R = State->getStateManager().getRegionManager() 28 ConditionTruthVal ConstraintManager::checkNull(ProgramStateRef State, 31 DefinedSVal V = Loc::isLocType(Ty) ? getLocFromSymbol(State, Sym) 33 const ProgramStatePair &P = assumeDual(State, V);
|
/external/llvm/lib/Support/ |
SHA1.cpp | 41 InternalState.State[0] = SEED_0; 42 InternalState.State[1] = SEED_1; 43 InternalState.State[2] = SEED_2; 44 InternalState.State[3] = SEED_3; 45 InternalState.State[4] = SEED_4; 58 a = InternalState.State[0]; 59 b = InternalState.State[1]; 60 c = InternalState.State[2]; 61 d = InternalState.State[3]; 62 e = InternalState.State[4] [all...] |
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lzma/ |
State.java | 2 * State 13 final class State { 31 private int state; field in class:State 33 State() {} 35 State(State other) { 36 state = other.state; 40 state = LIT_LIT; 44 return state; [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/utils/google-benchmark/test/ |
cxx03_test.cc | 11 void BM_empty(benchmark::State& state) { 12 while (state.KeepRunning()) { 13 volatile std::size_t x = state.iterations(); 21 void BM_old_arg_range_interface(benchmark::State& state) { 22 assert((state.range(0) == 1 && state.range(1) == 2) || 23 (state.range(0) == 5 && state.range(1) == 6)) [all...] |