/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/ |
MyExemptionMechanismSpi.java | 28 import java.security.Key; 66 protected void engineInit(Key key) throws InvalidKeyException, 68 if (key == null) { 69 throw new InvalidKeyException("key is null"); 71 if (!(key instanceof tmpKey)) { 72 throw new ExemptionMechanismException("Incorrect key"); 77 protected void engineInit(Key key, AlgorithmParameters params) 80 if (key == null) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
KeyboardLayout.java | 45 public KeyboardLayout(ArrayList<Key> layoutKeys, int mostCommonKeyWidth, 59 Key key = layoutKeys.get(i); local 60 mKeyCodes[i] = Character.toLowerCase(key.getCode()); 61 mKeyXCoordinates[i] = key.getX(); 62 mKeyYCoordinates[i] = key.getY(); 63 mKeyWidths[i] = key.getWidth(); 64 mKeyHeights[i] = key.getHeight(); 90 * between keys. The mostCommonKey(Width/Height) represents the true key width/height 99 * between keys. The mostCommonKey(Width/Height) represents the true key width/heigh [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/ |
KeyboardLayoutTest.java | 33 .newKeyboardLayout(new ArrayList<Key>(), 11, 12, 13, 14); 46 Key key1 = new Key("label1", 101, 102, "101", "101hint", 103, 104, 105, 106, 1100, 1101, 48 Key key2 = new Key("label2", 201, 103, "201", "201hint", 203, 204, 205, 206, 2100, 2101, 51 ArrayList<Key> sortedKeys = new ArrayList<>(2);
|
/system/media/camera/docs/ |
CaptureResultTest.mako | 18 * The key entries below this point are generated from metadata 23 private static List<CaptureResult.Key<?>> getAllCaptureResultKeys() { 24 ArrayList<CaptureResult.Key<?>> resultKeys = new ArrayList<CaptureResult.Key<?>>();
|
/external/giflib/ |
gif_hash.h | 19 /* The 32 bits of the long are divided into two parts for the key & code: */ 21 /* 2. The key is 12 bits Prefix code + 8 bit new char or 20 bits. */ 22 /* The key is the upper 20 bits. The code is the lower 12. */ 34 void _InsertHashTable(GifHashTableType *HashTable, uint32_t Key, int Code); 35 int _ExistsHashTable(GifHashTableType *HashTable, uint32_t Key);
|
/external/guice/core/src/com/google/inject/internal/ |
LinkedBindingImpl.java | 22 import com.google.inject.Key; 32 final Key<? extends T> targetKey; 34 public LinkedBindingImpl(InjectorImpl injector, Key<T> key, Object source, 36 Key<? extends T> targetKey) { 37 super(injector, key, source, internalFactory, scoping); 41 public LinkedBindingImpl(Object source, Key<T> key, Scoping scoping, Key<? extends T> targetKey) { 42 super(source, key, scoping) [all...] |
/external/guice/core/test/com/google/inject/internal/ |
WeakKeySetUtils.java | 24 import com.google.inject.Key; 37 public static void assertBlacklisted(Injector injector, Key<?> key) { 38 assertBlacklistState(injector, key, true); 41 public static void assertNotBlacklisted(Injector injector, Key<?> key) { 42 assertBlacklistState(injector, key, false); 45 public static void assertNotInSet(WeakKeySet set, Key<?> key) { 48 if (!set.contains(key)) { [all...] |
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/ |
MapBinderBinding.java | 20 import com.google.inject.Key; 34 * MapBinderBinding exists only on the Binding associated with the Map<K, V> key. Other 46 /** Returns the {@link Key} for the map. */ 47 Key<T> getMapKey(); 53 * returns a key of <code>Map<String, Snack></code>, then this will always return a 62 * returns a key of <code>Map<String, Snack></code>, then this will always return a 68 * Returns all entries in the Map. The returned list of Map.Entries contains the key and a binding 75 * key of <code>Map<String, Snack></code>, then this will always return a list of type
|
MultibinderBinding.java | 20 import com.google.inject.Key; 38 /** Returns the key for the set. */ 39 Key<T> getSetKey(); 45 * key of <code>Set<String></code>, then this will always return a 56 * key of <code>Set<String></code>, then this will always return a list of type
|
/external/guice/extensions/servlet/src/com/google/inject/servlet/ |
FiltersModuleBuilder.java | 19 import com.google.inject.Key; 62 through(Key.get(filterKey)); 65 public void through(Key<? extends Filter> filterKey) { 77 through(Key.get(filterKey), initParams); 80 public void through(Key<? extends Filter> filterKey, 85 private void through(Key<? extends Filter> filterKey, 97 Key<Filter> filterKey = Key.get(Filter.class, UniqueAnnotations.create());
|
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/ |
CaptureResultProxy.java | 33 public <T> T get(CaptureResult.Key<T> key); 36 public List<CaptureResult.Key<?>> getKeys();
|
/system/core/libmemunreachable/ |
Allocator.h | 213 template<class Key, class T, class Compare = std::less<Key>> 214 using map = std::map<Key, T, Compare, Allocator<std::pair<const Key, T>>>; 216 template<class Key, class T, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>> 217 using unordered_map = std::unordered_map<Key, T, Hash, KeyEqual, Allocator<std::pair<const Key, T>>>; 219 template<class Key, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key> [all...] |
/system/keymaster/ |
asymmetric_key.h | 22 #include "key.h" 26 class AsymmetricKey : public Key { 30 : Key(hw_enforced, sw_enforced, error) {}
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
ControlPanelEffect.java | 61 static enum Key { 167 final boolean isGlobalEnabled = prefs.getBoolean(Key.global_enabled.toString(), 169 editor.putBoolean(Key.global_enabled.toString(), isGlobalEnabled); 173 final boolean isVIEnabled = prefs.getBoolean(Key.virt_enabled.toString(), 176 final int vIStrength = prefs.getInt(Key.virt_strength.toString(), 179 editor.putBoolean(Key.virt_enabled.toString(), isVIEnabled); 180 editor.putInt(Key.virt_strength.toString(), vIStrength); 187 editor.putBoolean(Key.virt_strength_supported.toString(), 199 final boolean isBBEnabled = prefs.getBoolean(Key.bb_enabled.toString(), 201 final int bBStrength = prefs.getInt(Key.bb_strength.toString() [all...] |
/external/guice/extensions/grapher/test/com/google/inject/grapher/ |
ShortNameFactoryTest.java | 25 import com.google.inject.Key; 93 Key<?> key = Key.get(String.class, Annotated.class); local 94 assertEquals("@Annotated", nameFactory.getAnnotationName(key)); 98 Key<?> key = Key.get(String.class, local 100 assertEquals("@Annotated", nameFactory.getAnnotationName(key)); 104 Key<?> key = Key.get(String.class, Names.named("name")) local 109 Key<?> key = Key.get(Obj.class); local 115 Key<?> key = Key.get(new TypeLiteral<Provider<String>>() {}); local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
AutoTileManager.java | 21 import com.android.systemui.Prefs.Key; 42 if (!Prefs.getBoolean(context, Key.QS_HOTSPOT_ADDED, false)) { 45 if (!Prefs.getBoolean(context, Key.QS_DATA_SAVER_ADDED, false)) { 48 if (!Prefs.getBoolean(context, Key.QS_INVERT_COLORS_ADDED, false)) { 55 Prefs.putBoolean(mContext, Key.QS_INVERT_COLORS_ADDED, true); 67 if (!Prefs.getBoolean(context, Key.QS_WORK_ADDED, false)) { 70 if (!Prefs.getBoolean(context, Key.QS_NIGHT_ADDED, false)) { 85 Prefs.putBoolean(mContext, Key.QS_NIGHT_ADDED, true); 105 Prefs.putBoolean(mContext, Key.QS_WORK_ADDED, true); 128 Prefs.putBoolean(mContext, Key.QS_DATA_SAVER_ADDED, true) [all...] |
/art/compiler/utils/ |
dedupe_set-inl.h | 63 for (const HashedKey<StoreKey>& key : keys_) { 64 DCHECK(key.Key() != nullptr); 65 alloc_.Destroy(key.Key()); 74 DCHECK(it->Key() != nullptr); 75 return it->Key(); 92 for (const HashedKey<StoreKey>& key : keys_) { 93 auto it = stats.find(key.Hash()); 95 stats.insert({key.Hash(), 1u}) [all...] |
/external/llvm/unittests/ADT/ |
DenseMapTest.cpp | 215 for (int Key = 0; Key < 5; ++Key) 216 this->Map[this->getKey(Key)] = this->getValue(Key); 220 for (int Key = 0; Key < 5; ++Key) 221 EXPECT_EQ(this->getValue(Key), copyMap[this->getKey(Key)]); [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/file/ |
__init__.py | 25 from boto.file.key import Key 28 __all__ = ['Connection', 'Key', 'Bucket']
|
/external/clang/test/CodeGen/ |
2008-03-24-BitField-And-Alloca.c | 61 } key; member in union:_Key 63 } Key; 65 static void foo(const Key iospec, int* ret) 86 __attribute__ ((unused)) Key iospec = (Key) key_token2;
|
/external/glide/library/src/main/java/com/bumptech/glide/load/ |
Key.java | 11 * requirement is not as strict for partial cache key signatures. 13 public interface Key {
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/ |
EngineResource.java | 5 import com.bumptech.glide.load.Key; 17 private Key key; field in class:EngineResource 22 void onResourceReleased(Key key, EngineResource<?> resource); 33 void setResourceListener(Key key, ResourceListener listener) { 34 this.key = key; 100 listener.onResourceReleased(key, this) [all...] |
/external/guice/core/src/com/google/inject/ |
PrivateBinder.java | 30 /** Makes the binding for {@code key} available to the enclosing environment */ 31 void expose(Key<?> key);
|
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/ |
BindingCollector.java | 21 import com.google.inject.Key; 35 private final Map<Key<?>, TypeLiteral<?>> bindings = Maps.newHashMap(); 37 public BindingCollector addBinding(Key<?> key, TypeLiteral<?> target) { 38 if (bindings.containsKey(key)) { 40 new Message("Only one implementation can be specified for " + key))); 43 bindings.put(key, target); 48 public Map<Key<?>, TypeLiteral<?>> getBindings() {
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
UResource.java | 19 * ICU resource bundle key and value types. 24 * Represents a resource bundle item's key string. 29 public static final class Key implements CharSequence, Cloneable, Comparable<Key> { 30 // Stores a reference to the resource bundle key string bytes array, 31 // with an offset of the key, to avoid creating a String object 33 // Alternatively, we could try to always just get the key String object, 41 * Constructs an empty resource key string object. 43 public Key() {} 45 private Key(byte[] keyBytes, int keyOffset, int keyLength) [all...] |