/prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/pb_ds/detail/tree_policy/ |
node_metadata_selector.hpp | 75 template<typename Key, 87 typedef dumnode_const_iterator<Key, Data, _Alloc> __it_type;
|
/prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/pb_ds/detail/trie_policy/ |
node_metadata_selector.hpp | 75 template<typename Key, 87 typedef dumnode_const_iterator<Key, Data, _Alloc> __it_type;
|
/system/keymaster/include/keymaster/ |
key_factory.h | 25 class Key; 32 * subclass of Key. 55 UniquePtr<Key>* key) const = 0;
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
Key.java | 66 abstract class Key { 69 * for the type of this key. 78 * The type represented by this key. 98 Key withType(Types types, TypeMirror newType) { 108 * Returns true if the key is valid as an implicit key (that is, if it's valid for a just-in-time 130 // If the key has type arguments, validate that each type argument is declared. 139 // Also validate that the key is not the erasure of a generic type. 151 return MoreObjects.toStringHelper(Key.class) 187 Key forComponentMethod(ExecutableElement componentMethod) [all...] |
/external/apache-harmony/crypto/src/test/support/common/java/org/apache/harmony/crypto/tests/support/ |
MyCipher.java | 26 import java.security.Key; 80 protected void engineInit(int opmode, Key key, SecureRandom random) 85 protected void engineInit(int opmode, Key key, 91 protected void engineInit(int opmode, Key key, AlgorithmParameters params,
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/ |
EncodedKeySpec2Test.java | 20 import java.security.Key; 47 // check public key encoding 49 Key key = fact.generatePublic(new X509EncodedKeySpec(encoded)); local 51 assertTrue("public key encodings were different", 52 isEqual(key, keys.getPublic())); 54 // check private key encoding 56 key = fact.generatePrivate(new PKCS8EncodedKeySpec(encoded)); 58 assertTrue("private key encodings were different", 59 isEqual(key, keys.getPrivate())) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
KeyFactory.java | 4 import java.security.Key; 30 PrivateKey key = BouncyCastleProvider.getPrivateKey(info); local 32 if (key != null) 34 return key; 57 PublicKey key = BouncyCastleProvider.getPublicKey(info); local 59 if (key != null) 61 return key; 75 protected KeySpec engineGetKeySpec(Key key, Class keySpec) 78 if (keySpec.isAssignableFrom(PKCS8EncodedKeySpec.class) && key.getFormat().equals("PKCS#8") [all...] |
/external/guice/core/src/com/google/inject/ |
Binding.java | 24 * A mapping from a key (type and optional annotation) to the strategy for getting instances of the 63 * Returns the key for this binding. 65 Key<T> getKey();
|
/external/guice/core/src/com/google/inject/internal/ |
UntargettedBindingImpl.java | 21 import com.google.inject.Key; 28 UntargettedBindingImpl(InjectorImpl injector, Key<T> key, Object source) { 29 super(injector, key, source, new InternalFactory<T>() { 36 public UntargettedBindingImpl(Object source, Key<T> key, Scoping scoping) { 37 super(source, key, scoping); 48 public BindingImpl<T> withKey(Key<T> key) { 49 return new UntargettedBindingImpl<T>(getSource(), key, getScoping()) [all...] |
ExposedBindingImpl.java | 23 import com.google.inject.Key; 35 public ExposedBindingImpl(InjectorImpl injector, Object source, Key<T> key, 37 super(injector, key, source, factory, Scoping.UNSCOPED); 46 return ImmutableSet.<Dependency<?>>of(Dependency.get(Key.get(Injector.class))); 55 .add("key", getKey())
|
ExposedKeyFactory.java | 19 import com.google.inject.Key; 28 private final Key<T> key; field in class:ExposedKeyFactory 32 ExposedKeyFactory(Key<T> key, PrivateElements privateElements) { 33 this.key = key; 39 BindingImpl<T> explicitBinding = privateInjector.state.getExplicitBinding(key); 45 errors.withSource(explicitBinding.getSource()).exposedButNotBound(key);
|
/external/guice/core/src/com/google/inject/spi/ |
ProviderLookup.java | 24 import com.google.inject.Key; 45 public ProviderLookup(Object source, Key<T> key) { 46 this(source, Dependency.get(checkNotNull(key, "key"))); 59 public Key<T> getKey() { 110 Key<?> providerKey = getKey().ofType(Types.providerOf(getKey().getTypeLiteral().getType()));
|
/external/guice/extensions/servlet/src/com/google/inject/servlet/ |
ServletScopes.java | 25 import com.google.inject.Key; 62 public <T> Provider<T> scope(final Key<T> key, final Provider<T> creator) { 66 private final ImmutableSet<Key<?>> REQUEST_CONTEXT_KEYS = ImmutableSet.of( 67 Key.get(HttpServletRequest.class), 68 Key.get(HttpServletResponse.class), 69 new Key<Map<String, String[]>>(RequestParameters.class) {}); 82 T t = (T) context.map.get(key); 93 context.map.put(key, t != null ? t : NullObject.INSTANCE); 107 HttpServletRequest request = GuiceFilter.getOriginalRequest(key); [all...] |
/external/protobuf/src/google/protobuf/stubs/ |
map-util.h | 43 // If the key is present in the map then the value associated with that 44 // key is returned, otherwise the value passed as a default is returned. 48 const typename Collection::value_type::first_type& key, 50 typename Collection::const_iterator it = collection.find(key); 58 // If the key is present a const pointer to the associated value is returned, 63 const typename Collection::value_type::first_type& key) { 64 typename Collection::const_iterator it = collection.find(key); 72 // If the key is present a const pointer to the associated value is returned, 74 // This function does not distinguish between a missing key and a key mappe [all...] |
/frameworks/native/include/input/ |
KeyLayoutMap.h | 59 * Describes a mapping from keyboard scan codes and joystick axes to Android key codes and axes. 79 struct Key { 89 KeyedVector<int32_t, Key> mKeysByScanCode; 90 KeyedVector<int32_t, Key> mKeysByUsageCode; 97 const Key* getKey(int32_t scanCode, int32_t usageCode) const;
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/ |
MyCipher.java | 27 import java.security.Key; 83 protected void engineInit(int opmode, Key key, SecureRandom random) 88 protected void engineInit(int opmode, Key key, 94 protected void engineInit(int opmode, Key key, AlgorithmParameters params,
|
/libcore/luni/src/test/java/tests/security/spec/ |
EncodedKeySpec2Test.java | 22 import java.security.Key; 48 // check public key encoding 50 Key key = fact.generatePublic(new X509EncodedKeySpec(encoded)); local 52 assertTrue("public key encodings were different", 53 isEqual(key, keys.getPublic())); 55 // check private key encoding 57 key = fact.generatePrivate(new PKCS8EncodedKeySpec(encoded)); 59 assertTrue("private key encodings were different", 60 isEqual(key, keys.getPrivate())) [all...] |
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/ |
OptionalBinder.java | 32 import com.google.inject.Key; 94 * <p>Annotations are used to create different optionals of the same key/value 131 * OptionalBinder.newOptionalBinder(binder(), Key.get(String.class, LookupUrl.class)) 140 * OptionalBinder.newOptionalBinder(binder(), Key.get(String.class, LookupUrl.class)) 152 * OptionalBinder.newOptionalBinder(binder(), Key.get(String.class, LookupUrl.class)) 158 * bind(Key.get(String.class, LookupUrl.class)).toInstance(CUSTOM_LOOKUP_URL); 195 return newRealOptionalBinder(binder, Key.get(type)); 199 return newRealOptionalBinder(binder, Key.get(type)); 202 public static <T> OptionalBinder<T> newOptionalBinder(Binder binder, Key<T> type) { 206 static <T> RealOptionalBinder<T> newRealOptionalBinder(Binder binder, Key<T> type) [all...] |
/external/guice/core/src/com/google/inject/binder/ |
LinkedBindingBuilder.java | 19 import com.google.inject.Key; 45 ScopedBindingBuilder to(Key<? extends T> targetKey); 85 Key<? extends javax.inject.Provider<? extends T>> providerKey);
|
/external/guice/core/src/com/google/inject/name/ |
Names.java | 20 import com.google.inject.Key; 43 * Creates a constant binding to {@code @Named(key)} for each entry in 49 String key = entry.getKey(); local 51 binder.bind(Key.get(String.class, new NamedImpl(key))).toInstance(value); 56 * Creates a constant binding to {@code @Named(key)} for each property. This 67 binder.bind(Key.get(String.class, new NamedImpl(propertyName))).toInstance(value);
|
/external/guice/extensions/jmx/test/com/google/inject/tools/jmx/ |
JmxTest.java | 23 import com.google.inject.Key; 59 bind(Key.get(Object.class)).to(Key.get(Bar.class));
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
CipherWrapThread.java | 19 import java.security.Key; 34 Key key = kg.generateKey(); local 39 cip.init(Cipher.WRAP_MODE, key); 40 byte[] output = cip.wrap(key); 41 cip.init(Cipher.UNWRAP_MODE, key); 42 Key decrypted = cip.unwrap(output, getAlgName(), Cipher.SECRET_KEY); 44 checkEncodedData(key.getFormat().getBytes(), decrypted.getFormat().getBytes()); 45 checkEncodedData(key.getEncoded(), decrypted.getEncoded());
|
/libcore/support/src/test/java/tests/security/ |
CipherHelper.java | 20 import java.security.Key; 42 public void test(Key encryptKey, Key decryptKey) throws Exception {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
KeyDetector.java | 20 * This class handles key detection. 35 * Key detection object constructor with key hysteresis distances. 40 * starts from a modifier key such as shift and symbols key. 82 * Detect the key whose hitbox the touch point is in. 86 * @return the key that the touch point hits. 88 public Key detectHitKey(final int x, final int y) { 96 Key primaryKey = null; 97 for (final Key key: mKeyboard.getNearestKeys(touchX, touchY)) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
TimerProxy.java | 19 import com.android.inputmethod.keyboard.Key; 27 * @param typedKey the key that is typed. 29 public void startTypingStateTimer(@Nonnull Key typedKey); 32 * Check if a user is key typing. 38 * Start a timer to simulate repeated key presses while a user keep pressing a key. 39 * @param tracker the {@link PointerTracker} that points the key to be repeated. 40 * @param repeatCount the number of times that the key is repeating. Starting from 1. 41 * @param delay the interval delay to the next key repeat, in millisecond. 46 * Start a timer to detect a long pressed key [all...] |