HomeSort by relevance Sort by last modified time
    Searched refs:STRONG (Results 1 - 25 of 171) sorted by null

1 2 3 4 5 6 7

  /hardware/interfaces/vibrator/1.0/
types.hal 47 STRONG
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
CacheValue.java 46 STRONG,
64 * Returns true if the "strength" is set to {@code STRONG}.
66 public static boolean futureInstancesWillBeStrong() { return strength == Strength.STRONG; }
70 * It holds it directly if the value is null or if the current "strength" is {@code STRONG}.
78 return strength == Strength.STRONG ? new StrongValue<V>(value) : new SoftValue<V>(value);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
CacheValue.java 44 STRONG,
62 * Returns true if the "strength" is set to {@code STRONG}.
64 public static boolean futureInstancesWillBeStrong() { return strength == Strength.STRONG; }
68 * It holds it directly if the value is null or if the current "strength" is {@code STRONG}.
76 return strength == Strength.STRONG ? new StrongValue<V>(value) : new SoftValue<V>(value);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/impl/
CacheTest.java 45 CacheValue.setStrength(Strength.STRONG);
46 assertTrue("setStrength(STRONG).futureInstancesWillBeStrong()",
49 assertFalse("strong CacheValue not isNull()", sv.isNull());
50 assertTrue("strong CacheValue get()==same", sv.get() == this);
51 // A strong CacheValue never changes value.
54 assertTrue("strong CacheValue reset==same", sv.resetIfCleared("") == this);
73 CacheValue.setStrength(Strength.STRONG);
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/
CacheTest.java 42 CacheValue.setStrength(Strength.STRONG);
43 assertTrue("setStrength(STRONG).futureInstancesWillBeStrong()",
46 assertFalse("strong CacheValue not isNull()", sv.isNull());
47 assertTrue("strong CacheValue get()==same", sv.get() == this);
48 // A strong CacheValue never changes value.
51 assertTrue("strong CacheValue reset==same", sv.resetIfCleared("") == this);
70 CacheValue.setStrength(Strength.STRONG);
  /device/google/marlin/vibrator/
Vibrator.cpp 97 case EffectStrength::STRONG:
  /hardware/interfaces/vibrator/1.1/vts/functional/
VtsHalVibratorV1_1TargetTest.cpp 77 vibrator->perform_1_1(Effect_1_1::TICK, EffectStrength::STRONG, validatePerformEffect);
  /external/guava/guava-tests/test/com/google/common/cache/
CacheReferencesTest.java 17 import static com.google.common.cache.LocalCache.Strength.STRONG;
48 .withKeyStrengths(ImmutableSet.of(STRONG, Strength.WEAK))
49 .withValueStrengths(ImmutableSet.of(STRONG, Strength.WEAK, Strength.SOFT));
64 // maintain strong refs so these won't be collected, regardless of cache's key/value strength
155 // a strong reference to that value.
LocalCacheTest.java 154 assertSame(Strength.STRONG, map.keyStrength);
155 assertSame(Strength.STRONG, map.valueStrength);
164 assertSame(EntryFactory.STRONG, map.entryFactory);
349 checkStrength(map, Strength.WEAK, Strength.STRONG);
355 checkStrength(map, Strength.STRONG, Strength.WEAK);
356 assertSame(EntryFactory.STRONG, map.entryFactory);
361 checkStrength(map, Strength.STRONG, Strength.SOFT);
362 assertSame(EntryFactory.STRONG, map.entryFactory);
416 assertSame(EntryFactory.STRONG,
417 EntryFactory.getFactory(Strength.STRONG, false, false))
    [all...]
EmptyCachesTest.java 364 .withKeyStrengths(ImmutableSet.of(Strength.STRONG, Strength.WEAK))
PopulatedCachesTest.java 315 .withKeyStrengths(ImmutableSet.of(Strength.STRONG, Strength.WEAK))
  /external/guava/guava/src/com/google/common/collect/
MapMaker.java 133 * Constructs a new {@code MapMaker} instance with default settings, including strong keys, strong
253 * WeakReference} (by default, strong references are used).
272 if (strength != Strength.STRONG) {
273 // STRONG could be used during deserialization.
280 return MoreObjects.firstNonNull(keyStrength, Strength.STRONG);
285 * {@link WeakReference} (by default, strong references are used).
308 * {@link SoftReference} (by default, strong references are used). Softly-referenced objects will
341 if (strength != Strength.STRONG) {
342 // STRONG could be used during deserialization
    [all...]
MapMakerInternalMap.java 282 return keyStrength != Strength.STRONG;
286 return valueStrength != Strength.STRONG;
295 STRONG {
352 STRONG {
471 { STRONG, STRONG_EXPIRABLE, STRONG_EVICTABLE, STRONG_EXPIRABLE_EVICTABLE },
905 * To maintain this code, make a change for the strong reference type. Then, cut and paste, and
906 * replace "Strong" with "Soft" or "Weak" within the pasted text. The primary difference is that
907 * strong entries store the key reference directly while soft and weak entries delegate to their
    [all...]
  /external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/
CacheBuilder.java 238 * Constructs a new {@code CacheBuilder} instance with default settings, including strong keys,
239 * strong values, and no automatic eviction of any kind.
363 return MoreObjects.firstNonNull(keyStrength, Strength.STRONG);
373 return MoreObjects.firstNonNull(valueStrength, Strength.STRONG);
LocalCache.java 510 STRONG {
  /external/guava/guava-tests/test/com/google/common/collect/
ConcurrentHashMultisetTest.java 19 import static com.google.common.collect.MapMakerInternalMap.Strength.STRONG;
364 testIdentityKeyEquality(STRONG);
403 testLogicalKeyEquality(STRONG);
MapMakerInternalMapTest.java 79 assertSame(Strength.STRONG, map.keyStrength);
80 assertSame(Strength.STRONG, map.valueStrength);
88 assertSame(EntryFactory.STRONG, map.entryFactory);
226 checkStrength(map, Strength.WEAK, Strength.STRONG);
232 checkStrength(map, Strength.STRONG, Strength.WEAK);
233 assertSame(EntryFactory.STRONG, map.entryFactory);
238 checkStrength(map, Strength.STRONG, Strength.SOFT);
239 assertSame(EntryFactory.STRONG, map.entryFactory);
    [all...]
  /external/guava/guava/src/com/google/common/cache/
CacheBuilder.java 244 * Constructs a new {@code CacheBuilder} instance with default settings, including strong keys,
245 * strong values, and no automatic eviction of any kind.
505 * WeakReference} (by default, strong references are used).
528 return MoreObjects.firstNonNull(keyStrength, Strength.STRONG);
533 * {@link WeakReference} (by default, strong references are used).
554 * {@link SoftReference} (by default, strong references are used). Softly-referenced objects will
583 return MoreObjects.firstNonNull(valueStrength, Strength.STRONG);
    [all...]
LocalCache.java 365 return keyStrength != Strength.STRONG;
369 return valueStrength != Strength.STRONG;
378 STRONG {
443 STRONG {
562 STRONG, STRONG_ACCESS, STRONG_WRITE, STRONG_ACCESS_WRITE,
    [all...]
  /device/google/wahoo/vibrator/
Vibrator.cpp 170 case EffectStrength::STRONG:
  /frameworks/base/core/java/android/os/
VibrationEffect.java 672 case EffectStrength.STRONG:
  /frameworks/base/services/core/java/com/android/server/
VibratorService.java     [all...]
  /frameworks/base/core/java/com/android/internal/os/
ZygoteInit.java 165 CacheValue.setStrength(CacheValue.Strength.STRONG);
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
texi2html.py 202 '<STRONG><EM>Footnotes</EM></STRONG>\n<P>'
841 def open_strong(self): self.write('<STRONG>')
842 def close_strong(self): self.write('</STRONG>')
    [all...]
  /external/python/cpython2/Tools/scripts/
texi2html.py 202 '<STRONG><EM>Footnotes</EM></STRONG>\n<P>'
841 def open_strong(self): self.write('<STRONG>')
842 def close_strong(self): self.write('</STRONG>')
    [all...]

Completed in 2385 milliseconds

1 2 3 4 5 6 7