/packages/apps/DeskClock/src/com/android/deskclock/data/ |
StopwatchDAO.java | 21 import com.android.deskclock.data.Stopwatch.State; 27 import static com.android.deskclock.data.Stopwatch.State.RESET; 35 /** Key to a preference that stores the state of the stopwatch. */ 36 private static final String STATE = "sw_state"; 59 final int stateIndex = prefs.getInt(STATE, RESET.ordinal()); 60 final State state = State.values()[stateIndex]; local 64 Stopwatch s = new Stopwatch(state, lastStartTime, lastWallClockTime, accumulatedTime); 75 * @param stopwatch the last state of the stopwatc [all...] |
TimerDAO.java | 21 import com.android.deskclock.data.Timer.State; 29 import static com.android.deskclock.data.Timer.State.RESET; 43 /** Prefix for a key to a preference that stores the state of the timer. */ 44 private static final String STATE = "timer_state_"; 80 final int stateValue = prefs.getInt(STATE + id, RESET.getValue()); 81 final State state = State.fromValue(stateValue); local 83 // Timer state may be null when migrating timers from prior releases which defined a 84 // "deleted" state. Such a state is no longer required [all...] |
/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/ |
ListDevicesOp.java | 29 * Remote operation for listing all known devices and their state. 33 private static final String STATE = "state"; 84 final String stateString = deviceStateJson.getString(STATE); 95 String msg = String.format("unrecognized state %s for device %s", stateString, 114 deviceStateJson.put(STATE, descriptor.getState().toString());
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/ |
LocationModeTestActivity.java | 47 private static final String STATE = "state"; 64 mState = savedInstanceState.getInt(STATE, 0); 86 outState.putInt(STATE, mState); 135 * Set the visible state of a test item to passed or failed. 148 * Set the visible state of a test item to waiting. 158 * Advances the state machine. 161 // Advance test state until we find case where it hasn't passed (yet) 195 * Return to the state machine to progress through the tests. 202 * Wait for things to settle before returning to the state machine [all...] |
/external/ims/rcs/rcsmanager/src/java/com/android/ims/ |
RcsPresenceInfo.java | 109 * Service state 143 * Service state. It is defined by ServiceState. 148 public static final String STATE = "state"; // ONLINE, etc. 192 * @return the service presence state which has been described in ServiceInfoKey. 196 * @see ServiceInfoKey#STATE 199 return getServiceInfo(serviceType, ServiceInfoKey.STATE, ServiceState.UNKNOWN); 266 private void set(int serviceType, int state, String serviceNumber, long timestamp) { 270 capability.putInt(ServiceInfoKey.STATE, state); [all...] |
/hardware/libhardware/modules/sensors/dynamic_sensor/ |
HidSensorDef.h | 22 STATE = 0x200201,
|
/frameworks/base/core/java/android/provider/ |
VoicemailContract.java | 47 * to convey its current state to the system. The columns and URIS for 181 * The mail box state of the voicemail. This field is currently not used by the system. 187 public static final String STATE = "state"; 189 * Value of {@link #STATE} when the voicemail is in inbox. 194 * Value of {@link #STATE} when the voicemail has been marked as deleted. 199 * Value of {@link #STATE} when the voicemail has marked as undeleted. 235 * The state of the voicemail transcription. 501 * The configuration state of the voicemail source. 527 * <p> This state must be used when the source has verified that the current user can b [all...] |
CalendarContract.java | [all...] |
ContactsContract.java | 687 * A table provided for sync adapters to use for storing private sync state data for contacts. 740 * A table provided for sync adapters to use for storing private sync state data for the [all...] |
/libcore/ojluni/src/main/java/java/util/concurrent/ |
FutureTask.java | 70 * on a "state" field updated via CAS to track completion, along 78 * The run state of this task, initially NEW. The run state 79 * transitions to a terminal state only in methods set, 80 * setException, and cancel. During completion, state may take on 87 * Possible state transitions: 93 private volatile int state; field in class:FutureTask 105 private Object outcome; // non-volatile, protected by state reads/writes 114 * @param s completed state value 137 this.state = NEW; // ensure visibility of callabl [all...] |
Phaser.java | 95 * state of the phaser. If necessary, you can perform any 106 * state, that may be checked using method {@link #isTerminated}. Upon 139 * only by registered parties, the current state of a phaser may be 147 * returns snapshots of these state queries in a form convenient for 268 * Primary state representation, holding four bit-fields: 276 * distinguished by the otherwise illegal state of having zero 281 * state decoding and encoding simple, and keeping race windows 284 * All state updates are performed via CAS except initial 294 private volatile long state; field in class:Phaser 376 * @param adjust value to subtract from state; [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
InteractiveVerifierActivity.java | 50 private static final String STATE = "state"; 143 int savedStateIndex = (savedState == null) ? 0 : savedState.getInt(STATE, 0); 145 Log.i(TAG, "restored state(" + savedStateIndex + "}, status(" + savedStatus + ")"); 177 outState.putInt(STATE, stateIndex); 180 Log.i(TAG, "saved state(" + stateIndex + "}, status(" + status + ")"); 316 * Return to the state machine to progress through the tests. 324 * Wait for things to settle before returning to the state machine.
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vr/ |
VrListenerVerifierActivity.java | 48 private static final String STATE = "state"; 72 mCurrentIdx = (savedState == null) ? 0 : savedState.getInt(STATE, 0); 115 outState.putInt(STATE, mCurrentIdx);
|
/libcore/ojluni/src/main/java/java/util/concurrent/locks/ |
AbstractQueuedLongSynchronizer.java | 46 * which synchronization state is maintained as a {@code long}. 49 * that all state-related parameters and results are defined 53 * 64 bits of state. 70 name and changing ints related with sync state to longs. Please 76 * with initial synchronization state of zero. 95 * The synchronization state. 97 private volatile long state; field in class:AbstractQueuedLongSynchronizer 100 * Returns the current value of synchronization state. 102 * @return current state value 105 return state; [all...] |
AbstractQueuedSynchronizer.java | 48 * single atomic {@code int} value to represent state. Subclasses 49 * must define the protected methods that change this state, and which 50 * define what that state means in terms of this object being acquired 53 * other state fields, but only the atomically updated {@code int} 86 * this object, and {@link #acquire}, given this saved state value, 87 * eventually restores this object to its previous acquired state. No 100 * integer maintaining state, so deserialized objects have empty 103 * initial state upon deserialization. 109 * the synchronization state using {@link #getState}, {@link 181 * synchronizers that can rely on {@code int} state, acquire, an 565 private volatile int state; field in class:AbstractQueuedSynchronizer [all...] |
StampedLock.java | 42 * access. The state of a StampedLock consists of a version and mode. 44 * controls access with respect to a lock state; "try" versions of 48 * the state of the lock. The three modes are: 108 * into initial unlocked state, so they are not useful for remote 115 * or converting locks does not carry any information about the state 199 * Conceptually, the primary state of the lock includes a sequence 252 * to normal volatile reads (of "state"). To force orderings of 257 * The memory layout keeps lock state and queue pointers together 285 // Values for lock state and stamp operations 293 // Initial value for lock state; avoid failure value zer 329 private transient volatile long state; field in class:StampedLock [all...] |
/external/libxml2/ |
valid.c | 261 * Each xmlValidState represent the validation state associated to the 341 * debug/maintain than a generic NFA -> DFA state based algo. The 345 * this is the content of a saved state for rollbacks 356 unsigned char state; /* ROLLBACK_XXX */ member in struct:_xmlValidState 365 #define STATE ctxt->vstate->state 376 unsigned char state) { 405 * Don't push on the stack a state already here 411 (ctxt->vstateTab[i].state == state)) 5724 xmlValidStatePtr state = ctxt->vstate; local 5816 xmlValidStatePtr state = ctxt->vstate; local 5890 xmlValidStatePtr state = ctxt->vstate; local [all...] |
/toolchain/binutils/binutils-2.25/include/opcode/ |
m88k.h | 72 #define STATE short
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
UIProvider.java | 43 * Values for the current state of a Folder/Account; note that it's possible that more than one [all...] |
/prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/ |
org.eclipse.equinox.ds_1.4.100.v20130515-2026.jar | |
/external/guice/extensions/persist/lib/ |
db4o-6.4.14.8131-java5.jar | |
/prebuilts/tools/common/m2/repository/itext/itext/2.0.8/ |
itext-2.0.8.jar | |
/external/robolectric/v1/lib/main/ |
android.jar | |
/prebuilts/sdk/14/ |
android.jar | |
/prebuilts/sdk/15/ |
android.jar | |