HomeSort by relevance Sort by last modified time
    Searched full:state (Results 251 - 275 of 11717) sorted by null

<<11121314151617181920>>

  /frameworks/base/core/java/android/provider/
SyncStateContract.java 64 * Get the sync state that is associated with the account or null.
66 * with the {@link android.content.ContentProvider} that contains the sync state.
67 * @param uri the uri of the sync state
68 * @param account the {@link Account} whose sync state should be returned
69 * @return the sync state or null if there is no sync state associated with the account
94 * Assigns the data array as the sync state for the given account.
96 * with the {@link android.content.ContentProvider} that contains the sync state.
97 * @param uri the uri of the sync state
98 * @param account the {@link Account} whose sync state should be se
    [all...]
  /frameworks/base/services/surfaceflinger/
Barrier.h 29 inline Barrier() : state(CLOSED) { }
33 state = OPENED;
38 state = CLOSED;
42 while (state == CLOSED) {
50 volatile int state; member in class:android::Barrier
  /libcore/luni/src/test/java/libcore/java/util/
RandomTest.java 28 public String state; field in class:RandomTest.MyRandom
31 @Override protected synchronized int next(int bits) { return state.length(); }
32 @Override public synchronized void setSeed(long seed) { state = Long.toString(seed); }
37 assertNotNull(r1.state);
41 assertNotNull(r2.state);
  /sdk/ide_common/src/com/android/ide/common/resources/configuration/
NavigationStateQualifier.java 23 * Resource Qualifier for navigation state.
27 public static final String NAME = "Navigation State";
60 NavigationState state = NavigationState.getEnum(value); local
61 if (state != null) {
63 qualifier.mValue = state;
  /dalvik/vm/
Profile.cpp 365 MethodTraceState* state = &gDvm.methodTrace; local
369 dvmLockMutex(&state->startStopLock);
370 while (state->traceEnabled != 0) {
372 dvmUnlockMutex(&state->startStopLock);
374 dvmLockMutex(&state->startStopLock);
390 state->buf = (u1*) malloc(bufferSize);
391 if (state->buf == NULL) {
397 state->traceFile = fopen(traceFileName, "w");
399 state->traceFile = fdopen(traceFd, "w");
401 if (state->traceFile == NULL)
543 const MethodTraceState* state = &gDvm.methodTrace; local
553 MethodTraceState* state = &gDvm.methodTrace; local
735 MethodTraceState* state = &gDvm.methodTrace; local
    [all...]
  /external/markdown/
regression-tests.py 59 """ Tests of the State class for BlockParser. """
62 self.state = markdown.blockparser.State()
65 """ Test State when empty. """
66 self.assertEqual(self.state, [])
69 """ Test State.set(). """
70 self.state.set('a_state')
71 self.assertEqual(self.state, ['a_state'])
72 self.state.set('state2')
73 self.assertEqual(self.state, ['a_state', 'state2']
    [all...]
  /external/mesa3d/src/glsl/
glsl_compiler.cpp 152 struct _mesa_glsl_parse_state *state = local
156 state->error = preprocess(state, &source, &state->info_log,
157 state->extensions, ctx->API);
159 if (!state->error) {
160 _mesa_glsl_lexer_ctor(state, source);
161 _mesa_glsl_parse(state);
162 _mesa_glsl_lexer_dtor(state);
166 foreach_list_const(n, &state->translation_unit)
    [all...]
  /frameworks/base/media/libeffects/testlibs/
AudioBiquadFilter.h 34 // from its current state to the desired state.
52 // Resets the internal state of the filter.
53 // Coefficients are reset to identity, state becomes disabled. This change
82 // immediate If true, transitions to new state smoothly, without
88 // immediate If true, transitions to new state smoothly, without
107 // Filter state.
111 // In the process of smooth transition to bypass state.
113 // In the process of smooth transition to normal (enabled) state.
115 // In normal (enabled) state
    [all...]
  /external/guava/src/com/google/common/util/concurrent/
AbstractFuture.java 41 * <p>The state changing methods all return a boolean indicating success or
42 * failure in changing the future's state. Valid states are running,
73 * Checks if the sync is not in the running state.
80 * Checks if the sync is in the cancelled state.
96 * to {@code value}. This will set the state of the future to
98 * state was successfully changed.
101 * @return true if the state was successfully changed.
113 * to an error, {@code throwable}. This will set the state of the future to
115 * state was successfully changed.
118 * @return true if the state was successfully changed
247 int state = getState(); local
    [all...]
  /dalvik/libdex/
DexSwapVerify.cpp 92 static inline u4 fileOffset(const CheckState* state, const void* ptr) {
93 return ((const u1*) ptr) - state->fileStart;
99 static inline void* filePointer(const CheckState* state, u4 offset) {
100 return (void*) (state->fileStart + offset);
111 static inline bool checkPtrRange(const CheckState* state,
113 const void* fileStart = state->fileStart;
114 const void* fileEnd = state->fileEnd;
118 fileOffset(state, start), fileOffset(state, end));
131 * Assumes "const CheckState* state"
2820 CheckState state; local
    [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
MallocChecker.cpp 83 const GRState *evalAssume(const GRState *state, SVal Cond,
94 const GRState *state) {
95 return MallocMemAux(C, CE, state->getSVal(SizeEx), Init, state);
99 const GRState *state);
105 const GRState *state, unsigned Num, bool Hold) const;
129 const GRState *state = C.getState(); local
131 SVal L = state->getSVal(Callee);
196 const GRState *state = MallocMemAux(C, CE, CE->getArg(0), UndefinedVal(), local
198 C.addTransition(state);
208 const GRState *state = local
213 const GRState *state = MallocMemAux(C, CE, UnknownVal(), UndefinedVal(), local
250 const GRState *state = FreeMemAux(C, CE, C.getState(), 0, false); local
263 const GRState *state = FreeMemAux(C, CE, C.getState(), *I, local
494 const GRState *state = C.getState(); local
559 const GRState *state = C.getState(); local
577 const GRState *state = C.getState(); local
603 const GRState *state = B.getState(); local
626 const GRState *state = C.getState(); local
684 const GRState *state = C.getState(); local
    [all...]
  /external/ppp/pppd/
fsm.c 2 * fsm.c - {Link, IP} Control Protocol Finite State Machine.
77 * Initialize fsm state.
83 f->state = INITIAL;
101 switch( f->state ){
103 f->state = CLOSED;
108 f->state = STOPPED;
112 f->state = REQSENT;
117 FSMDEBUG(("%s: Up event in state %d!", PROTO_NAME(f), f->state));
131 switch( f->state ){
    [all...]
  /external/skia/src/pipe/
SkGPipeRead.cpp 142 SkGPipeState* state) {
149 SkGPipeState* state) {
156 SkGPipeState* state) {
163 SkGPipeState* state) {
170 SkGPipeState* state) {
177 SkGPipeState* state) {
183 SkGPipeState* state) {
189 SkGPipeState* state) {
194 SkGPipeState* state) {
202 SkGPipeState* state) {
    [all...]
  /external/jsilver/src/com/google/streamhtmlparser/impl/
ParserStateTable.java 22 * Holds a state table which is defined as the set of all
23 * recognized state transitions and the set of characters that
26 * <p>The logic of what character causes what state transition is derived from
30 * <p>This class provides methods to initially build the state table and then
33 * <p>Note on characters outside the extended ASCII range: Currently, all state
36 * U+00FF]. We use that property to design a more efficient state transition
38 * simply apply the DEFAULT transition for the given state - as we do for any
39 * character that is not a hot character for that state. If no default
40 * transition exists, we switch to the Internal Error state.
46 * any incorrect state transitions
    [all...]
  /device/samsung/tuna/liblight/
lights.c 75 static int rgb_to_brightness(struct light_state_t const *state)
77 int color = state->color & 0x00ffffff;
84 struct light_state_t const *state)
87 int brightness = rgb_to_brightness(state);
135 static int set_light_leds(struct light_state_t const *state, int type)
141 switch (state->flashMode) {
143 led.state = LED_LIGHT_OFF;
147 led.state = LED_LIGHT_SLOPE;
148 led.color = state->color & 0x00ffffff;
153 led.time_slope_up_1 = (SLOPE_UP_1 * state->flashOnMS) / 1000
    [all...]
  /external/chromium/net/socket/
ssl_host_info.cc 18 SSLHostInfo::State::State() {}
20 SSLHostInfo::State::~State() {}
22 void SSLHostInfo::State::Clear() {
58 const SSLHostInfo::State& SSLHostInfo::state() const { function in class:net::SSLHostInfo
62 SSLHostInfo::State* SSLHostInfo::mutable_state() {
67 State* state = mutable_state() local
79 State* state = mutable_state(); local
    [all...]
  /external/kernel-headers/original/linux/
textsearch.h 21 * struct ts_state - search state
69 * @state: search state
74 * a new search. May store/read persistant values in state->cb.
79 struct ts_state *state);
84 * @state: search state
90 struct ts_state *state);
96 * @state: search state
    [all...]
  /external/speex/include/speex/
speex_echo.h 62 /** Internal echo canceller state. Should never be accessed directly. */
66 * This holds the state of the echo canceller. You need one per channel.
69 /** Internal echo canceller state. Should never be accessed directly. */
72 /** Creates a new echo canceller state
75 * @return Newly-created echo canceller state
79 /** Creates a new multi-channel echo canceller state
84 * @return Newly-created echo canceller state
88 /** Destroys an echo canceller state
89 * @param st Echo canceller state
96 * @param st Echo canceller state
    [all...]
  /packages/apps/Browser/src/com/android/browser/
CrashRecoveryHandler.java 89 Log.v(LOGTAG, "Saving crash recovery state");
93 Bundle state = (Bundle) msg.obj;
94 state.writeToParcel(p, 0);
109 Log.i(LOGTAG, "Failed to save persistent state", e);
116 Log.v(LOGTAG, "Clearing crash recovery state");
118 File state = new File(mContext.getCacheDir(), STATE_FILE);
119 if (state.exists()) {
120 state.delete();
145 final Bundle state = new Bundle();
146 mController.onSaveInstanceState(state);
187 Bundle state = null; local
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/preference/
MyPreference.java 86 // Restore state
89 // Set state
100 * must save the instance state so it is able to, for example, survive
106 // No need to save instance state since it's persistent
110 // Save the instance state
117 protected void onRestoreInstanceState(Parcelable state) {
118 if (!state.getClass().equals(SavedState.class)) {
119 // Didn't save state for us in onSaveInstanceState
120 super.onRestoreInstanceState(state);
124 // Restore the instance state
    [all...]
  /development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/
GameView.java 47 public enum State {
56 private State(int value) {
64 public static State fromInt(int i) {
65 for (State s : values()) {
94 /** Contains one of {@link State#EMPTY}, {@link State#PLAYER1} or {@link State#PLAYER2}. */
95 private final State[] mData = new State[9];
98 private State mSelectedValue = State.EMPTY;
    [all...]
  /external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DataTruncationTest.java 66 assertEquals(i + " Final state mismatch", aDataTruncation
68 assertEquals(i + " Final state mismatch", aDataTruncation
70 assertEquals(i + " Final state mismatch", aDataTruncation
72 assertEquals(i + " Final state mismatch", aDataTruncation
74 assertEquals(i + " Final state mismatch", aDataTruncation
76 assertEquals(i + " Final state mismatch", aDataTruncation
78 assertEquals(i + " Final state mismatch", aDataTruncation
80 assertEquals(i + " Final state mismatch", aDataTruncation
152 assertEquals(i + " Final state mismatch", aDataTruncation
154 assertEquals(i + " Final state mismatch", aDataTruncatio
    [all...]
  /external/bison/m4/
mbrtowc.m4 23 mbstate_t state;
24 return ! (sizeof state && (mbrtowc) (&wc, s, n, &state));]])],
  /external/chromium/chrome/browser/sync/
sync_setup_wizard.h 19 enum State {
23 // (via Step) to the next state.
48 // A final state for when setup completes and it is possible it is the
60 // Advances the wizard to the specified state if possible, or opens a
65 void Step(State advance_state);
79 // gaia credentials in the event of a steady-state auth failure, this is
81 // the end state to pass to Run for a given |start_state|.
82 static State GetEndStateForDiscreteRun(State start_state);
84 // Helper to return whether |state| warrants starting a new flow
    [all...]
  /external/dropbear/libtomcrypt/src/hashes/sha2/
sha224.c 34 /* init the sha256 er... sha224 state ;-) */
36 Initialize the hash state
37 @param md The hash state you wish to initialize
46 md->sha256.state[0] = 0xc1059ed8UL;
47 md->sha256.state[1] = 0x367cd507UL;
48 md->sha256.state[2] = 0x3070dd17UL;
49 md->sha256.state[3] = 0xf70e5939UL;
50 md->sha256.state[4] = 0xffc00b31UL;
51 md->sha256.state[5] = 0x68581511UL;
52 md->sha256.state[6] = 0x64f98fa7UL
    [all...]

Completed in 776 milliseconds

<<11121314151617181920>>