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

1 2 3 4 5 6 7 8 91011>>

  /packages/apps/Camera2/src_pd/com/android/camera/debug/
LogHelper.java 20 private static final LogHelper INSTANCE = new LogHelper();
23 public static LogHelper instance() { method in class:LogHelper
24 return Singleton.INSTANCE;
  /external/guava/guava-tests/test/com/google/common/collect/
EmptyImmutableTableTest.java 30 private static final ImmutableTable<Character, Integer, String> INSTANCE = ImmutableTable.of();
33 return ImmutableSet.of(INSTANCE);
37 assertEquals(0, INSTANCE.hashCode());
45 .addEqualityGroup(INSTANCE, HashBasedTable.create(), TreeBasedTable.create())
53 .addEqualityGroup(INSTANCE)
59 assertEquals("{}", INSTANCE.toString());
63 assertEquals(0, INSTANCE.size());
67 assertNull(INSTANCE.get('a', 1));
71 assertTrue(INSTANCE.isEmpty());
75 assertEquals(ImmutableSet.of(), INSTANCE.cellSet())
    [all...]
  /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
EmptyImmutableTableTest.java 29 private static final ImmutableTable<Character, Integer, String> INSTANCE = ImmutableTable.of();
32 return ImmutableSet.of(INSTANCE);
36 assertEquals(0, INSTANCE.hashCode());
44 .addEqualityGroup(INSTANCE, HashBasedTable.create(), TreeBasedTable.create())
50 assertEquals("{}", INSTANCE.toString());
54 assertEquals(0, INSTANCE.size());
58 assertNull(INSTANCE.get('a', 1));
62 assertTrue(INSTANCE.isEmpty());
66 assertEquals(ImmutableSet.of(), INSTANCE.cellSet());
70 assertEquals(ImmutableMap.of(), INSTANCE.column(1))
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/ode/sampling/
DummyStepHandler.java 28 * the Singleton design pattern. This means that only one instance is
46 /** Get the only instance.
47 * @return the only instance
50 return LazyHolder.INSTANCE;
73 * object on each call, so if the instance wants to keep it across
84 /** Holder for the instance.
88 /** Cached field instance. */
89 private static final DummyStepHandler INSTANCE = new DummyStepHandler();
94 * @return the singleton instance
97 // return the singleton instance
    [all...]
  /frameworks/base/core/java/android/net/
ConnectivityThread.java 31 // A class implementing the lazy holder idiom: the unique static instance
36 private static final ConnectivityThread INSTANCE = createInstance();
50 return Singleton.INSTANCE;
54 return Singleton.INSTANCE.getLooper();
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
Clock.java 20 private static final Clock INSTANCE = new Clock();
22 private static Clock sInstance = INSTANCE;
35 sInstance = INSTANCE;
  /libcore/ojluni/src/test/java/time/tck/java/time/
TestIsoChronology.java 100 Chronology c = IsoChronology.INSTANCE;
113 assertNotNull(IsoChronology.INSTANCE);
121 assertEquals(IsoChronology.INSTANCE.eraOf(0), BCE);
122 assertEquals(IsoChronology.INSTANCE.eraOf(1), CE);
131 {IsoChronology.INSTANCE.date(1, 7, 8), LocalDate.of(1, 7, 8)},
132 {IsoChronology.INSTANCE.date(1, 7, 20), LocalDate.of(1, 7, 20)},
133 {IsoChronology.INSTANCE.date(1, 7, 21), LocalDate.of(1, 7, 21)},
135 {IsoChronology.INSTANCE.date(2, 7, 8), LocalDate.of(2, 7, 8)},
136 {IsoChronology.INSTANCE.date(3, 6, 27), LocalDate.of(3, 6, 27)},
137 {IsoChronology.INSTANCE.date(3, 5, 23), LocalDate.of(3, 5, 23)}
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/complex/
ComplexField.java 43 /** Get the unique instance.
44 * @return the unique instance
47 return LazyHolder.INSTANCE;
61 /** Holder for the instance.
65 /** Cached field instance. */
66 private static final ComplexField INSTANCE = new ComplexField();
71 * @return the singleton instance
74 // return the singleton instance
75 return LazyHolder.INSTANCE;
  /external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/
BigFractionField.java 43 /** Get the unique instance.
44 * @return the unique instance
47 return LazyHolder.INSTANCE;
61 /** Holder for the instance.
65 /** Cached field instance. */
66 private static final BigFractionField INSTANCE = new BigFractionField();
71 * @return the singleton instance
74 // return the singleton instance
75 return LazyHolder.INSTANCE;
FractionField.java 43 /** Get the unique instance.
44 * @return the unique instance
47 return LazyHolder.INSTANCE;
61 /** Holder for the instance.
65 /** Cached field instance. */
66 private static final FractionField INSTANCE = new FractionField();
71 * @return the singleton instance
74 // return the singleton instance
75 return LazyHolder.INSTANCE;
  /external/apache-commons-math/src/main/java/org/apache/commons/math/util/
BigRealField.java 43 /** Get the unique instance.
44 * @return the unique instance
47 return LazyHolder.INSTANCE;
61 /** Holder for the instance.
65 /** Cached field instance. */
66 private static final BigRealField INSTANCE = new BigRealField();
71 * @return the singleton instance
74 // return the singleton instance
75 return LazyHolder.INSTANCE;
  /external/smali/smalidea/src/test/java/org/jf/smalidea/
SmaliFileTypeTest.java 44 Assert.assertEquals(SmaliFileType.INSTANCE, file.getVirtualFile().getFileType());
45 Assert.assertEquals(SmaliFileType.INSTANCE, file.getFileType());
46 Assert.assertEquals(SmaliLanguage.INSTANCE, file.getLanguage());
  /libcore/ojluni/src/main/java/javax/crypto/
CryptoAllPermission.java 37 static final CryptoAllPermission INSTANCE = null;
JceSecurityManager.java 36 // singleton instance
37 static final JceSecurityManager INSTANCE = null;
  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
Clock.java 24 public static final Clock INSTANCE = new Clock();
  /dalvik/dexgen/src/com/android/dexgen/util/
DexClassLoaderHelper.java 23 * to obtain appropriate {@code DexClassLoader} instance, which can be then used for
29 private static final DexClassLoaderHelper INSTANCE = new DexClassLoaderHelper();
37 * Returns the sole instance of {@code DexClassLoaderHelper}.
39 * @return dex {@code DexClassLoaderHelper} sole instance
42 return DexClassLoaderHelperHolder.INSTANCE;
46 * Creates and returns DexClassLoader instance with its classpath
50 * classes canned into a working PathHolder instance.
51 * @return dex class loader instance with its classpath set to location
  /external/guava/guava/src/com/google/common/collect/
EmptyImmutableListMultimap.java 28 static final EmptyImmutableListMultimap INSTANCE
36 return INSTANCE; // preserve singleton property
EmptyImmutableSetMultimap.java 28 static final EmptyImmutableSetMultimap INSTANCE
36 return INSTANCE; // preserve singleton property
  /external/jarjar/src/main/com/tonicsystems/jarjar/
ManifestProcessor.java 26 private static final ManifestProcessor INSTANCE = new ManifestProcessor();
29 return INSTANCE;
  /external/mockito/src/main/java/org/mockito/internal/creation/instance/
DefaultInstantiatorProvider.java 5 package org.mockito.internal.creation.instance;
12 private final static Instantiator INSTANCE = new ObjenesisInstantiator();
18 return INSTANCE;
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
EmptyImmutableSet.java 31 static final EmptyImmutableSet INSTANCE = new EmptyImmutableSet();
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
DontCareFieldPosition.java 18 * DontCareFieldPosition is a singleton, and its instance is immutable.
20 * A <code>format</code> method use <code>fpos == DontCareFieldPosition.INSTANCE</code>
27 public static final DontCareFieldPosition INSTANCE = new DontCareFieldPosition();
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DontCareFieldPosition.java 17 * DontCareFieldPosition is a singleton, and its instance is immutable.
19 * A <code>format</code> method use <code>fpos == DontCareFieldPosition.INSTANCE</code>
25 public static final DontCareFieldPosition INSTANCE = new DontCareFieldPosition();
  /external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
MockMethodDispatcher.java 14 private static final ConcurrentMap<String, MockMethodDispatcher> INSTANCE = new ConcurrentHashMap<String, MockMethodDispatcher>();
17 if (mock == INSTANCE) { // Avoid endless loop if ConcurrentHashMap was redefined to check for being a mock.
20 return INSTANCE.get(identifier);
25 INSTANCE.putIfAbsent(identifier, dispatcher);
28 public abstract Callable<?> handle(Object instance, Method origin, Object[] arguments) throws Throwable;
30 public abstract boolean isMock(Object instance);
32 public abstract boolean isMocked(Object instance);
34 public abstract boolean isOverridden(Object instance, Method origin);
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/value/
ImmutableNullEncodedValue.java 37 public static final ImmutableNullEncodedValue INSTANCE = new ImmutableNullEncodedValue();

Completed in 1287 milliseconds

1 2 3 4 5 6 7 8 91011>>