/packages/apps/UnifiedEmail/src/com/android/mail/preferences/ |
BasePreferenceMigrator.java | 34 if (sMigrationNecessary.getAndSet(false)) {
|
/external/guava/guava-tests/test/com/google/common/collect/ |
CountTest.java | 45 assertEquals(10, holder.getAndSet(20));
|
/external/guava/guava/src/com/google/common/collect/ |
Count.java | 58 public int getAndSet(int newValue) {
|
AbstractMapBasedMultiset.java | 129 size -= toRemove.getValue().getAndSet(0); 283 oldCount = getAndSet(existingCounter, count); 286 oldCount = getAndSet(existingCounter, count); 297 private static int getAndSet(Count i, int count) { 302 return i.getAndSet(count); 311 int numberRemoved = frequency.getAndSet(0); 361 size -= toRemove.getValue().getAndSet(0);
|
/external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/atomic/ |
AtomicInteger.java | 48 public final int getAndSet(int newValue) {
|
AtomicLong.java | 48 public final long getAndSet(long newValue) {
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
AtomicDouble.java | 118 public final double getAndSet(double newValue) { 120 return longBitsToDouble(updater.getAndSet(this, next));
|
AtomicDoubleArray.java | 128 public final double getAndSet(int i, double newValue) { 130 return longBitsToDouble(longs.getAndSet(i, next));
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
AbstractMapBasedMultiset.java | 126 size -= toRemove.getValue().getAndSet(0); 280 oldCount = getAndSet(existingCounter, count); 283 oldCount = getAndSet(existingCounter, count); 294 private static int getAndSet(Count i, int count) { 299 return i.getAndSet(count); 308 int numberRemoved = frequency.getAndSet(0); 358 size -= toRemove.getValue().getAndSet(0);
|
/libcore/luni/src/main/java/java/nio/channels/spi/ |
AbstractSelector.java | 57 if (isOpen.getAndSet(false)) {
|
/libcore/luni/src/main/java/java/util/concurrent/atomic/ |
AtomicBoolean.java | 119 public final boolean getAndSet(boolean newValue) {
|
AtomicReference.java | 110 public final V getAndSet(V newValue) {
|
AtomicInteger.java | 88 public final int getAndSet(int newValue) {
|
AtomicLong.java | 102 public final long getAndSet(long newValue) {
|
AtomicIntegerArray.java | 118 public final int getAndSet(int i, int newValue) {
|
AtomicLongArray.java | 117 public final long getAndSet(int i, long newValue) {
|
AtomicReferenceArray.java | 132 public final E getAndSet(int i, E newValue) {
|
AtomicIntegerFieldUpdater.java | 131 public int getAndSet(T obj, int newValue) {
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
UiHandler.java | 81 int count = mCount.getAndSet(0);
|
/external/jmonkeyengine/engine/src/desktop/com/jme3/system/awt/ |
AwtPanel.java | 114 if (showing.getAndSet(currentShowing) != currentShowing){ 265 if (reshapeNeeded.getAndSet(false)){ 280 if (repaintRequest.getAndSet(false)){
|
/packages/apps/Dialer/src/com/android/dialer/voicemail/ |
VoicemailPlaybackPresenter.java | 259 if (mResultStillPending.getAndSet(false)) { 266 if (mResultStillPending.getAndSet(false)) { 284 if (mResultStillPending.getAndSet(false)) {
|
/libcore/luni/src/main/java/libcore/io/ |
Streams.java | 150 byte[] buffer = skipBuffer.getAndSet(null);
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
AtomicDoubleTest.java | 153 * getAndSet returns previous value and sets to given value 159 assertBitEquals(prev, at.getAndSet(x));
|
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/system/lwjgl/ |
LwjglDisplay.java | 172 if (needRestart.getAndSet(false)){
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/ |
Util.java | 266 byte[] buffer = skipBuffer.getAndSet(null);
|