/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
UPropertyAliases.java | 42 * singleton instance and cache it. 220 public static final UPropertyAliases INSTANCE; 224 INSTANCE = new UPropertyAliases();
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
TimeZoneNames.java | 46 * {@link TimeZoneFormat} assumes an instance of <code>TimeZoneNames</code> is immutable. If you want to provide 74 * what locale is used for getting an instance of <code>TimeZoneNames</code>. 147 * Returns an instance of <code>TimeZoneNames</code> for the specified locale. 151 * @return An instance of <code>TimeZoneNames</code> 159 * Returns an instance of <code>TimeZoneNames</code> for the specified 164 * @return An instance of <code>TimeZoneDisplayNames</code> 171 * Returns an instance of <code>TimeZoneNames</code> containing only short specific 177 * all other regions). The zone names returned by this instance are not localized. 461 * @return An instance of <code>TimeZoneNames</code>. 506 public static final DefaultTimeZoneNames INSTANCE = new DefaultTimeZoneNames() [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
UPropertyAliases.java | 41 * singleton instance and cache it. 219 public static final UPropertyAliases INSTANCE; 223 INSTANCE = new UPropertyAliases();
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
TimeZoneNames.java | 45 * {@link TimeZoneFormat} assumes an instance of <code>TimeZoneNames</code> is immutable. If you want to provide 73 * what locale is used for getting an instance of <code>TimeZoneNames</code>. 164 * Returns an instance of <code>TimeZoneNames</code> for the specified locale. 168 * @return An instance of <code>TimeZoneNames</code> 177 * Returns an instance of <code>TimeZoneNames</code> for the specified 182 * @return An instance of <code>TimeZoneDisplayNames</code> 190 * Returns an instance of <code>TimeZoneNames</code> containing only short specific 196 * all other regions). The zone names returned by this instance are not localized. 495 * @return An instance of <code>TimeZoneNames</code>. 538 public static final DefaultTimeZoneNames INSTANCE = new DefaultTimeZoneNames() [all...] |
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/ |
ShortNumberInfo.java | 47 private static final ShortNumberInfo INSTANCE = 68 /** Returns the singleton instance of the ShortNumberInfo. */ 70 return INSTANCE;
|
/external/mockito/src/org/mockito/internal/creation/ |
AcrossJVMSerializationFeature.java | 42 * <p><strong>Only one instance per mock! See {@link MethodInterceptorFilter}</strong></p> 77 * So, {@link ObjectOutputStream} will track the <code>writeReplace</code> method in the instance and 110 // mark started flag // per thread, not per instance 211 * Resolves the proxy to a new deserialized instance of the Mockito mock. 215 * @return A deserialized instance of the Mockito mock. 284 * @return The class that will be used to deserialize the instance mock. 295 // ClassImposterizer.INSTANCE.canImposterise(typeToMock); 298 ClassImposterizer.INSTANCE.setConstructorsAccessible(typeToMock, true); 299 Class<?> proxyClass = ClassImposterizer.INSTANCE.createProxyClass(
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/ |
DebugInfo.java | 65 return EmptyDebugInfo.INSTANCE; 71 public static final EmptyDebugInfo INSTANCE = new EmptyDebugInfo(); 115 // Create a MethodParameter iterator that uses our DexReader instance to read the parameter names.
|
/frameworks/native/vulkan/libvulkan/ |
driver_gen.h | 32 INSTANCE, 85 bool InitDriverTable(VkInstance instance,
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
CharsetEncoderTest.java | 169 static final Charset INSTANCE = new MockCharset(); 180 return new CharsetEncoder(INSTANCE, 1.f, 1.f) { 194 return new CharsetDecoder(INSTANCE, 1.f, 1.f) { 205 CharsetEncoder e = MockCharset.INSTANCE.newEncoder();
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
RDN.java | 483 private static final Comparator<AVA> INSTANCE = new AVAComparator(); 490 return INSTANCE;
|
/libcore/ojluni/src/main/java/sun/util/ |
LocaleServiceProviderPool.java | 52 * An instance of this class holds a set of the third party implementations of a particular 59 * A Map that holds singleton instances of this class. Each instance holds a 107 * A factory method that returns a singleton instance 297 * is called to obtain the provider's instance. 300 * @return provider's instance, or null. 313 * is called to obtain the provider's instance. 319 * @return provider's instance, or null. 334 * is called to obtain the provider's instance. 342 * @return provider's instance, or null. 385 // It is safe to assume that findProvider() returns the instance of type P [all...] |
/packages/apps/Camera2/src/com/android/camera/device/ |
MultiCameraDeviceLifecycle.java | 65 private static final MultiCameraDeviceLifecycle INSTANCE = new MultiCameraDeviceLifecycle( 69 ActiveCameraDeviceTracker.instance(), 73 public static MultiCameraDeviceLifecycle instance() { method in class:MultiCameraDeviceLifecycle 74 return Singleton.INSTANCE; 271 // If there is no currently open device, this instance is already in a
|
/packages/apps/Camera2/src/com/android/camera/one/v1/ |
LegacyOneCameraManagerImpl.java | 41 private static Optional<LegacyOneCameraManagerImpl> INSTANCE; 50 public static Optional<LegacyOneCameraManagerImpl> instance() { method in class:LegacyOneCameraManagerImpl 51 if (INSTANCE != null) { 52 return INSTANCE; 87 INSTANCE = Optional.of(cameraManager); 88 return INSTANCE;
|
/packages/apps/Camera2/src/com/android/camera/stats/profiler/ |
Profilers.java | 36 private static final Profilers INSTANCE = new Profilers( 45 /** get a single shared Profilers instance */ 46 public static Profilers instance() { method in class:Profilers 47 return Singleton.INSTANCE;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherAppState.java | 48 private static LauncherAppState INSTANCE; 55 if (INSTANCE == null) { 56 INSTANCE = new LauncherAppState(); 58 return INSTANCE; 62 return INSTANCE;
|
/packages/apps/Nfc/src/com/android/nfc/ |
ForegroundUtils.java | 44 private static final ForegroundUtils INSTANCE = new ForegroundUtils(); 62 return Singleton.INSTANCE;
|
/packages/apps/TV/usbtuner/src/com/android/usbtuner/tvinput/ |
UsbTunerDebug.java | 51 private static final UsbTunerDebug INSTANCE = new UsbTunerDebug(); 55 return LazyHolder.INSTANCE;
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
FileSystemUtils.java | 51 /** Singleton instance, used mainly for testing. */ 52 private static final FileSystemUtils INSTANCE = new FileSystemUtils(); 138 return INSTANCE.freeSpaceOS(path, OS, false); 167 return INSTANCE.freeSpaceOS(path, OS, true);
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
TelecomSystem.java | 90 private static TelecomSystem INSTANCE = null; 135 return INSTANCE; 138 public static void setInstance(TelecomSystem instance) { 139 if (INSTANCE != null) { 140 throw new RuntimeException("Attempt to set TelecomSystem.INSTANCE twice"); 142 Log.i(TelecomSystem.class, "TelecomSystem.INSTANCE being set"); 143 INSTANCE = instance;
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
CallServiceNotifier.java | 45 private static final CallServiceNotifier INSTANCE = new CallServiceNotifier(); 68 return INSTANCE;
|
TestCallList.java | 42 private static final TestCallList INSTANCE = new TestCallList(); 105 return INSTANCE;
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
SipAccountRegistry.java | 104 private static final SipAccountRegistry INSTANCE = new SipAccountRegistry(); 111 return INSTANCE;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
StringBuilderTest.java | 331 assertSame(sb, sb.append(Fixture.INSTANCE)); 332 assertEquals(Fixture.INSTANCE.toString(), sb.toString()); [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/style/ |
RFC4519Style.java | 165 * Singleton instance. 167 public static final X500NameStyle INSTANCE = new RFC4519Style();
|
/external/guava/guava/src/com/google/common/cache/ |
CacheBuilder.java | 191 INSTANCE; 198 INSTANCE; 244 * Constructs a new {@code CacheBuilder} instance with default settings, including strong keys, 252 * Constructs a new {@code CacheBuilder} instance with the settings specified in {@code spec}. 264 * Constructs a new {@code CacheBuilder} instance with the settings specified in {@code spec}. 457 * instance, this method returns {@code CacheBuilder<K1, V1>}. From this point on, either the 500 return (Weigher<K1, V1>) MoreObjects.firstNonNull(weigher, OneWeigher.INSTANCE); 714 * Specifies a listener instance that caches should notify each time an entry is removed for any 720 * point to the same instance, but only the returned reference has the correct generic type [all...] |