HomeSort by relevance Sort by last modified time
    Searched refs:Key (Results 576 - 600 of 1431) sorted by null

<<21222324252627282930>>

  /external/guice/core/test/com/google/inject/spi/
InjectionPointTest.java 29 import com.google.inject.Key;
71 assertEquals("Key[type=java.lang.String, annotation=@com.google.inject.name.Named(value=a)]@"
75 assertEquals(Key.get(String.class, named("a")), dependency.getKey());
94 assertEquals("Key[type=java.lang.String, annotation=@com.google.inject.name.Named(value=b)]@"
98 assertEquals(Key.get(String.class, named("b")), dependency.getKey());
118 assertEquals("Key[type=java.lang.String, annotation=@com.google.inject.name.Named(value=c)]@"
122 assertEquals(Key.get(String.class, named("c")), dependency.getKey());
130 Dependency<String> dependency = Dependency.get(Key.get(String.class, named("d")));
131 assertEquals("Key[type=java.lang.String, annotation=@com.google.inject.name.Named(value=d)]",
135 assertEquals(Key.get(String.class, named("d")), dependency.getKey())
    [all...]
ToolStageInjectorTest.java 9 import com.google.inject.Key;
44 injector.getInstance(Key.get(Injector.class));
56 injector.getProvider(Key.get(Injector.class));
  /external/llvm/lib/Support/
YAMLTraits.cpp 124 bool Input::preflightKey(const char *Key, bool Required, bool, bool &UseDefault,
143 MN->ValidKeys.push_back(Key);
144 HNode *Value = MN->Mapping[Key].get();
147 setError(CurrentNode, Twine("missing required key '") + Key + "'");
170 setError(NN.second.get(), Twine("unknown key '") + NN.first() + "'");
356 setError(KeyNode, "Map key must be a scalar");
379 bool Input::MapHNode::isValidKey(StringRef Key) {
381 if (Key.equals(K))
436 bool Output::preflightKey(const char *Key, bool Required, bool SameAsDefault
    [all...]
  /packages/apps/Camera2/src/com/android/camera/one/v2/
ImageCaptureManager.java 23 import android.hardware.camera2.CaptureResult.Key;
87 * @param key the {@link CaptureResult} key this listener listens for.
90 * {@link android.hardware.camera2.CaptureResult.Key} this
93 * the {@link android.hardware.camera2.CaptureResult.Key}
97 public void onImageMetadataChange(Key<?> key, Object second, Object newValue,
305 * Map from CaptureResult key to the frame number of the capture result
306 * containing the most recent value for this key and the most recent value
307 * of the key
    [all...]
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
KeyStore3Test.java 26 import java.security.Key;
118 Key key = keyPair.getPrivate(); local
120 mockKeyStore.setKeyEntry("Alias", key, null, null);
127 mockKeyStore.setKeyEntry("Alias", key, null,
134 mockKeyStore.setKeyEntry("Alias", key, null, new Certificate[] { certificate });
139 Key key = keyPair.getPublic(); local
140 mockKeyStore.setKeyEntry("Alias1", key, null, null);
141 mockKeyStore.setKeyEntry("Alias2", key, null
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
BaseStreamCipher.java 7 import java.security.Key;
87 Key key)
89 return key.getEncoded().length * 8;
148 Key key,
161 // basic key check
163 if (!(key instanceof SecretKey))
165 throw new InvalidKeyException("Key for algorithm " + key.getAlgorithm() + " not suitable for symmetric enryption.")
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/s3/
test_bucket.py 12 from boto.s3.key import Key
41 key = bucket.new_key('mykey')
43 self.assertEqual(key.bucket, bucket)
44 self.assertEqual(key.key, 'mykey')
51 key = bucket.new_key('')
58 key = bucket.delete_key('')
147 ('Contents', Key),
157 ('Contents', Key),
    [all...]
  /external/guice/core/src/com/google/inject/internal/
BindingProcessor.java 21 import com.google.inject.Key;
75 ConstructorBindingImpl<T> onInjector = ConstructorBindingImpl.create(injector, key,
81 putBinding(invalidBinding(injector, key, source));
97 = Scoping.scope(key, injector, factory, source, scoping);
98 putBinding(new InstanceBindingImpl<T>(injector, key, source, scopedFactory, injectionPoints,
117 = Scoping.scope(key, injector, factory, source, scoping);
118 putBinding(new ProviderInstanceBindingImpl<T>(injector, key, source, scopedFactory, scoping,
126 Key<? extends javax.inject.Provider<? extends T>> providerKey = binding.getProviderKey();
134 key, injector, (InternalFactory<? extends T>) boundProviderFactory, source, scoping);
136 injector, key, source, scopedFactory, scoping, providerKey))
    [all...]
EncounterImpl.java 24 import com.google.inject.Key;
127 public <T> Provider<T> getProvider(Key<T> key) {
129 return lookups.getProvider(key);
133 return getProvider(Key.get(type));
Initializer.java 25 import com.google.inject.Key;
125 private final Key<T> key; field in class:Initializer.InjectableReference
128 public InjectableReference(InjectorImpl injector, T instance, Key<T> key,
131 this.key = key; // possibly null!
170 "No membersInjector available for instance: %s, from key: %s", instance, key);
176 key,
    [all...]
  /external/guice/core/test/com/google/inject/name/
NamedEquivalanceTest.java 27 import com.google.inject.Key;
59 private static Key<String> keyForAnnotation(Annotation annotation) {
60 return Key.get(String.class, annotation);
63 private static Key<String> keyForAnnotationType(Class<? extends Annotation> annotationType) {
64 return Key.get(String.class, annotationType);
  /external/guice/core/test/com/google/inject/util/
OverrideModuleTest.java 36 import com.google.inject.Key;
64 private static final Key<String> key2 = Key.get(String.class, named("2"));
65 private static final Key<String> key3 = Key.get(String.class, named("3"));
105 assertEquals("B", injector.getInstance(Key.get(String.class, named("Test"))));
280 public <T> Provider<T> scope(Key<T> key, Provider<T> unscoped) {
307 public <T> Provider<T> scope(Key<T> key, Provider<T> unscoped)
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyStore3Test.java 28 import java.security.Key;
109 Key key = keyPair.getPrivate(); local
111 mockKeyStore.setKeyEntry("Alias", key, null, null);
118 mockKeyStore.setKeyEntry("Alias", key, null,
125 mockKeyStore.setKeyEntry("Alias", key, null, new Certificate[]{certificate});
131 Key key = keyPair.getPublic(); local
132 mockKeyStore.setKeyEntry("Alias1", key, null, null);
133 mockKeyStore.setKeyEntry("Alias2", key, null
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
MainKeyboardAccessibilityDelegate.java 26 import com.android.inputmethod.keyboard.Key;
162 // ignored because it can be determined by each key's talk back announce.
169 // Resetting automatic shifted mode by pressing the shift key causes the transition
177 // Resetting caps locked mode by pressing the shift key causes the transition
212 public void performClickOn(final Key key) {
213 final int x = key.getHitBox().centerX();
214 final int y = key.getHitBox().centerY();
216 Log.d(TAG, "performClickOn: key=" + key
    [all...]
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
KeyboardView.java 50 import jp.co.omronsoft.openwnn.Keyboard.Key;
59 * detecting key presses and touch movements.
69 * Called when the user presses a key. This is sent before the {@link #onKey} is called.
71 * @param primaryCode the unicode of the key being pressed. If the touch is not on a valid
72 * key, the value will be zero.
77 * Called when the user releases a key. This is sent after the {@link #onKey} is called.
79 * @param primaryCode the code of the key that was released
84 * Send a key press to the listener.
85 * @param primaryCode this is the key that was pressed
87 * with the primary code being the first. If the primary key code i
650 Key key = keys[i]; local
712 final Key key = keys[i]; local
808 final Key key = keys[nearestKeyIndices[i]]; local
850 final Key key = mKeys[index]; local
1028 final Key key = mKeys[keyIndex]; local
1314 Key key = mKeys[mRepeatKeyIndex]; local
    [all...]
  /cts/tests/tests/keystore/src/android/keystore/cts/
AESGCMCipherTestBase.java 21 import java.security.Key;
181 Key key = importKey(getKatKey()); local
184 init(Cipher.DECRYPT_MODE, key, getKatAlgorithmParameterSpec());
193 Key key = importKey(getKatKey()); local
197 init(Cipher.DECRYPT_MODE, key, getKatAlgorithmParameterSpec());
  /external/guice/core/src/com/google/inject/
AbstractModule.java 91 * @see Binder#bind(Key)
93 protected <T> LinkedBindingBuilder<T> bind(Key<T> key) {
94 return binder().bind(key);
176 * Adds a dependency from this module to {@code key}. When the injector is
177 * created, Guice will report an error if {@code key} cannot be injected.
183 protected void requireBinding(Key<?> key) {
184 binder().getProvider(key);
200 * @see Binder#getProvider(Key)
    [all...]
  /external/guice/core/test/com/google/inject/
ProviderInjectionTest.java 156 assertEquals(28, injector.getInstance(Key.get(Count.class, named("c"))).value);
157 assertEquals(30, injector.getInstance(Key.get(Count.class, named("b"))).value);
158 assertEquals(31, injector.getInstance(Key.get(Count.class, named("a"))).value);
  /external/guice/extensions/multibindings/src/com/google/inject/multibindings/
MultibindingsScanner.java 22 import com.google.inject.Key;
76 @SuppressWarnings({"unchecked", "rawtypes"}) // mapKey doesn't know its key type
78 public <T> Key<T> prepareMethod(Binder binder, Annotation annotation, Key<T> key,
86 return Multibinder.newRealSetBinder(binder, key).getKeyForNewItem();
90 return key;
95 return key;
98 return MapBinder.newRealMapBinder(binder, typeAndValue.type, key)
106 return OptionalBinder.newRealOptionalBinder(binder, key).getKeyForDefaultBinding()
    [all...]
  /external/guice/extensions/servlet/src/com/google/inject/servlet/
FilterDefinition.java 20 import com.google.inject.Key;
46 private final Key<? extends Filter> filterKey;
55 public FilterDefinition(String pattern, Key<? extends Filter> filterKey,
  /external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
CheckedProviderMethod.java 22 import com.google.inject.Key;
44 private final Key<T> key; field in class:CheckedProviderMethod
56 Key<T> key,
65 this.key = key;
84 .bind(checkedProvider, key.getTypeLiteral());
85 if(key.getAnnotation() != null) {
86 sbinder = sbinder.annotatedWith(key.getAnnotation())
    [all...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
BuilderProtoPool.java 59 ProtoKey key = new Key(parameters, returnType); local
60 BuilderProtoReference ret = internedItems.get(key);
77 @Nonnull @Override public BuilderStringReference getShorty(@Nonnull BuilderProtoReference key) {
78 return key.shorty;
81 @Nonnull @Override public BuilderTypeReference getReturnType(@Nonnull BuilderProtoReference key) {
82 return key.returnType;
85 @Nullable @Override public BuilderTypeList getParameters(@Nonnull BuilderProtoReference key) {
86 return key.parameterTypes;
89 @Override public int getItemIndex(@Nonnull BuilderProtoReference key) {
    [all...]
  /external/v8/src/
address-map.h 28 map->LookupOrInsert(Key(obj), Hash(obj));
30 return map->Lookup(Key(obj), Hash(obj));
38 static void* Key(HeapObject* obj) {
  /frameworks/base/keystore/java/android/security/keystore/
AndroidKeyStoreHmacSpi.java 28 import java.security.Key;
94 protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException,
100 init(key, params);
110 private void init(Key key, AlgorithmParameterSpec params) throws InvalidKeyException,
112 if (key == null) {
113 throw new InvalidKeyException("key == null");
114 } else if (!(key instanceof AndroidKeyStoreSecretKey)) {
116 "Only Android KeyStore secret keys supported. Key: " + key)
    [all...]
  /frameworks/compile/mclinker/lib/LD/
BranchIsland.cpp 87 Key key(pPrototype, pReloc.symInfo()->outSymbol(), pReloc.addend());
88 StubMapType::iterator it = m_StubMap.find(key);
101 Key key(pPrototype, pReloc.symInfo()->outSymbol(), pReloc.addend());
102 StubEntryType* entry = m_StubMap.insert(key, exist);
128 Key key(&pStub, pStub.symInfo()->outSymbol(), 0);
129 m_StubMap.insert(key, exist);

Completed in 847 milliseconds

<<21222324252627282930>>