/external/guava/guava/src/com/google/common/base/ |
Suppliers.java | 73 * Returns a supplier which caches the instance retrieved during the first 80 * get()} is called on the reserialized instance. 82 * <p>If {@code delegate} is an instance created by an earlier call to {@code 123 * Returns a supplier that caches the instance supplied by the delegate and 132 * get()} is called on the reserialized instance. 190 * Returns a supplier that always supplies {@code instance}. 192 public static <T> Supplier<T> ofInstance(@Nullable T instance) { 193 return new SupplierOfInstance<T>(instance); 198 final T instance; field in class:Suppliers.SupplierOfInstance 200 SupplierOfInstance(@Nullable T instance) { [all...] |
Functions.java | 52 return ToStringFunction.INSTANCE; 57 INSTANCE; 75 return (Function<E, E>) IdentityFunction.INSTANCE; 80 INSTANCE;
|
/external/guava/guava-tests/test/com/google/common/base/ |
EquivalenceTest.java | 54 INSTANCE; 62 .onResultOf(LengthFunction.INSTANCE);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/ |
X500NameBuilder.java | 16 this(BCStyle.INSTANCE);
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/string/ |
StringPropertyEditor.java | 31 // Instance 34 public static final PropertyEditor INSTANCE = new StringPropertyEditor();
|
/libcore/luni/src/main/java/libcore/net/http/ |
HttpConnectionPool.java | 44 public static final HttpConnectionPool INSTANCE = new HttpConnectionPool();
|
HttpConnection.java | 44 * to the origin server or via a proxy. Create an instance using the {@link 98 return HttpConnectionPool.INSTANCE.get(address, connectTimeout); 117 return HttpConnectionPool.INSTANCE.get(address, connectTimeout); 128 return HttpConnectionPool.INSTANCE.get(new Address(uri, sslSocketFactory), connectTimeout);
|
/packages/apps/Browser/src/com/android/browser/stub/ |
NullController.java | 20 public static NullController INSTANCE = new NullController();
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountServerBaseFragment.java | 61 protected Callback mCallback = EmptyCallback.INSTANCE; 105 public static final Callback INSTANCE = new EmptyCallback(); 185 mCallback = EmptyCallback.INSTANCE; 221 mCallback = (callback == null) ? EmptyCallback.INSTANCE : callback;
|
/packages/apps/Email/src/com/android/email/view/ |
RigidWebView.java | 51 private final Clock mClock = Clock.INSTANCE;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
EnumXmlPropertyEditor.java | 29 public static final EnumXmlPropertyEditor INSTANCE = new EnumXmlPropertyEditor();
|
/packages/apps/Email/src/org/apache/commons/io/ |
FileSystemUtils.java | 51 /** Singleton instance, used mainly for testing. */
52 private static final FileSystemUtils INSTANCE = new FileSystemUtils();
137 return INSTANCE.freeSpaceOS(path, OS, false);
166 return INSTANCE.freeSpaceOS(path, OS, true);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppManager.java | 64 private static BluetoothOppManager INSTANCE; 66 /** Used when obtaining a reference to the singleton instance. */ 121 * Get singleton instance. 125 if (INSTANCE == null) { 126 INSTANCE = new BluetoothOppManager(); 128 INSTANCE.init(context); 130 return INSTANCE;
|
/packages/apps/Email/src/com/android/email/activity/ |
ThreePaneLayout.java | 121 private Callback mCallback = EmptyCallback.INSTANCE; 131 public static final Callback INSTANCE = new EmptyCallback(); 254 mCallback = (callback == null) ? EmptyCallback.INSTANCE : callback;
|
/external/apache-http/src/org/apache/http/impl/ |
EnglishReasonPhraseCatalog.java | 57 * The default instance of this catalog. 61 public final static EnglishReasonPhraseCatalog INSTANCE = 67 * If you need an instance of this class, use {@link #INSTANCE INSTANCE}.
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
RSAESOAEPparams.java | 22 public final static AlgorithmIdentifier DEFAULT_HASH_ALGORITHM = new AlgorithmIdentifier(OIWObjectIdentifiers.idSHA1, DERNull.INSTANCE);
|
RSASSAPSSparams.java | 25 public final static AlgorithmIdentifier DEFAULT_HASH_ALGORITHM = new AlgorithmIdentifier(OIWObjectIdentifiers.idSHA1, DERNull.INSTANCE);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
AlgorithmIdentifier.java | 167 v.add(DERNull.INSTANCE);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
BCRSAPrivateKey.java | 80 return KeyUtil.getEncodedPrivateKeyInfo(new AlgorithmIdentifier(PKCSObjectIdentifiers.rsaEncryption, DERNull.INSTANCE), new org.bouncycastle.asn1.pkcs.RSAPrivateKey(getModulus(), ZERO, getPrivateExponent(), ZERO, ZERO, ZERO, ZERO, ZERO));
|
BCRSAPublicKey.java | 92 return KeyUtil.getEncodedSubjectPublicKeyInfo(new AlgorithmIdentifier(PKCSObjectIdentifiers.rsaEncryption, DERNull.INSTANCE), new org.bouncycastle.asn1.pkcs.RSAPublicKey(getModulus(), getPublicExponent()));
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
JCERSAPrivateKey.java | 80 return KeyUtil.getEncodedPrivateKeyInfo(new AlgorithmIdentifier(PKCSObjectIdentifiers.rsaEncryption, DERNull.INSTANCE), new org.bouncycastle.asn1.pkcs.RSAPrivateKey(getModulus(), ZERO, getPrivateExponent(), ZERO, ZERO, ZERO, ZERO, ZERO));
|
JCERSAPublicKey.java | 94 return KeyUtil.getEncodedSubjectPublicKeyInfo(new AlgorithmIdentifier(PKCSObjectIdentifiers.rsaEncryption, DERNull.INSTANCE), new RSAPublicKeyStructure(getModulus(), getPublicExponent()));
|
X509SignatureUtil.java | 30 private static final ASN1Null derNull = DERNull.INSTANCE;
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/ |
BooleanObjectPropertyEditor.java | 34 // Instance 37 public static final PropertyEditor INSTANCE = new BooleanObjectPropertyEditor();
|
BooleanPropertyEditor.java | 34 // Instance 37 public static final PropertyEditor INSTANCE = new BooleanPropertyEditor();
|