/cts/tests/camera/src/android/hardware/camera2/cts/helpers/ |
StaticMetadata.java | 22 import android.hardware.camera2.CameraCharacteristics.Key; 308 // Optional key. Default value is 1 if key is missing. 390 Key<Float> key = CameraCharacteristics.LENS_INFO_MINIMUM_FOCUS_DISTANCE; local 399 minFocusDistance = getValueFromKeyNonNull(key); 401 minFocusDistance = mCharacteristics.get(key); 408 checkTrueForKey(key, " minFocusDistance value shouldn't be negative", 423 Key<Integer> key = CameraCharacteristics.LENS_INFO_FOCUS_DISTANCE_CALIBRATION local 481 Key<int[]> key = CameraCharacteristics.CONTROL_AE_AVAILABLE_ANTIBANDING_MODES; local 519 Key<Boolean> key = CameraCharacteristics.FLASH_INFO_AVAILABLE; local 531 Key<int[]> key = local 553 Key<Size[]> key = CameraCharacteristics.JPEG_AVAILABLE_THUMBNAIL_SIZES; local 581 Key<float[]> key = CameraCharacteristics.LENS_INFO_AVAILABLE_FOCAL_LENGTHS; local 602 Key<float[]> key = CameraCharacteristics.LENS_INFO_AVAILABLE_APERTURES; local 623 Key<int[]> key = CameraCharacteristics.HOT_PIXEL_AVAILABLE_HOT_PIXEL_MODES; local 659 Key<int[]> key = CameraCharacteristics.STATISTICS_INFO_AVAILABLE_FACE_DETECT_MODES; local 682 Key<Integer> key = CameraCharacteristics.STATISTICS_INFO_MAX_FACE_COUNT; local 716 Key<int[]> key = CameraCharacteristics.TONEMAP_AVAILABLE_TONE_MAP_MODES; local 752 Key<Integer> key = CameraCharacteristics.TONEMAP_MAX_CURVE_POINTS; local 781 Key<Size> key = CameraCharacteristics.SENSOR_INFO_PIXEL_ARRAY_SIZE; local 794 Key<Rect> key = CameraCharacteristics.SENSOR_INFO_PRE_CORRECTION_ACTIVE_ARRAY_SIZE; local 814 Key<Rect> key = CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE; local 890 Key<Integer> key = CameraCharacteristics.SENSOR_MAX_ANALOG_SENSITIVITY; local 921 Key<Float> key = CameraCharacteristics.LENS_INFO_HYPERFOCAL_DISTANCE; local 1196 Key<int[]> key = local 1222 Key<int[]> key = local 1282 Key<StreamConfigurationMap> key = local 1308 Key<StreamConfigurationMap> key = local 1343 Key<StreamConfigurationMap> key = local 1394 Key<Range<Integer>[]> key = local 1450 Key<Long> key = local 1472 Key<StreamConfigurationMap> key = local 1493 Key<int[]> key = CameraCharacteristics.EDGE_AVAILABLE_EDGE_MODES; local 1523 Key<int[]> key = local 1559 Key<Rational> key = local 1584 Key<Range<Integer>> key = local 1614 Key<int[]> key = local 1645 Key<int[]> key = local 1665 Key<Float> key = local 1680 Key<int[]> key = local 1700 Key<int[]> key = local 1722 Key<int[]> key = local 1759 Key<Byte> key = local 1777 Key<int[]> key = local 1801 Key<int[]> key = local 1825 Key<int[]> key = local 2090 Key<Integer> key = local 2109 Key<Integer> key = local 2129 Key<Integer> key = local [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
StaticMetadata.java | 24 import android.hardware.camera2.CameraCharacteristics.Key; 308 // Optional key. Default value is 1 if key is missing. 390 Key<Float> key = CameraCharacteristics.LENS_INFO_MINIMUM_FOCUS_DISTANCE; local 399 minFocusDistance = getValueFromKeyNonNull(key); 401 minFocusDistance = mCharacteristics.get(key); 408 checkTrueForKey(key, " minFocusDistance value shouldn't be negative", 423 Key<Integer> key = CameraCharacteristics.LENS_INFO_FOCUS_DISTANCE_CALIBRATION local 481 Key<int[]> key = CameraCharacteristics.CONTROL_AE_AVAILABLE_ANTIBANDING_MODES; local 519 Key<Boolean> key = CameraCharacteristics.FLASH_INFO_AVAILABLE; local 531 Key<int[]> key = local 553 Key<Size[]> key = CameraCharacteristics.JPEG_AVAILABLE_THUMBNAIL_SIZES; local 581 Key<float[]> key = CameraCharacteristics.LENS_INFO_AVAILABLE_FOCAL_LENGTHS; local 602 Key<float[]> key = CameraCharacteristics.LENS_INFO_AVAILABLE_APERTURES; local 623 Key<int[]> key = CameraCharacteristics.HOT_PIXEL_AVAILABLE_HOT_PIXEL_MODES; local 659 Key<int[]> key = CameraCharacteristics.STATISTICS_INFO_AVAILABLE_FACE_DETECT_MODES; local 682 Key<Integer> key = CameraCharacteristics.STATISTICS_INFO_MAX_FACE_COUNT; local 716 Key<int[]> key = CameraCharacteristics.TONEMAP_AVAILABLE_TONE_MAP_MODES; local 752 Key<Integer> key = CameraCharacteristics.TONEMAP_MAX_CURVE_POINTS; local 781 Key<Size> key = CameraCharacteristics.SENSOR_INFO_PIXEL_ARRAY_SIZE; local 794 Key<Rect> key = CameraCharacteristics.SENSOR_INFO_PRE_CORRECTION_ACTIVE_ARRAY_SIZE; local 814 Key<Rect> key = CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE; local 890 Key<Integer> key = CameraCharacteristics.SENSOR_MAX_ANALOG_SENSITIVITY; local 921 Key<Float> key = CameraCharacteristics.LENS_INFO_HYPERFOCAL_DISTANCE; local 1196 Key<int[]> key = local 1222 Key<int[]> key = local 1282 Key<StreamConfigurationMap> key = local 1308 Key<StreamConfigurationMap> key = local 1343 Key<StreamConfigurationMap> key = local 1394 Key<Range<Integer>[]> key = local 1450 Key<Long> key = local 1472 Key<StreamConfigurationMap> key = local 1493 Key<int[]> key = CameraCharacteristics.EDGE_AVAILABLE_EDGE_MODES; local 1523 Key<int[]> key = local 1559 Key<Rational> key = local 1584 Key<Range<Integer>> key = local 1614 Key<int[]> key = local 1645 Key<int[]> key = local 1665 Key<Float> key = local 1680 Key<int[]> key = local 1700 Key<int[]> key = local 1722 Key<int[]> key = local 1759 Key<Byte> key = local 1777 Key<int[]> key = local 1801 Key<int[]> key = local 1825 Key<int[]> key = local 2090 Key<Integer> key = local 2109 Key<Integer> key = local 2129 Key<Integer> key = local [all...] |
/external/guice/core/test/com/google/inject/spi/ |
SpiBindingsTest.java | 30 import com.google.inject.Key; 66 assertEquals(Key.get(Integer.class, Names.named("one")), binding.getKey()); 85 assertEquals(Key.get(String.class), binding.getKey()); 117 assertEquals(Key.get(String.class), binding.getKey()); 143 assertEquals(Key.get(String.class), binding.getKey()); 146 assertEquals(Key.get(StringProvider.class), binding.getProviderKey()); 157 final Key<String> aKey = Key.get(String.class, Names.named("a")); 158 final Key<String> bKey = Key.get(String.class, Names.named("b")) [all...] |
ElementsTest.java | 31 import com.google.inject.Key; 168 assertEquals(Key.get(String.class, SampleAnnotation.class), command.getKey()); 177 assertEquals(Key.get(String.class, Names.named("Bee")), command.getKey()); 206 assertEquals(Key.get(String.class, Names.named("String")), command.getKey()); 215 assertEquals(Key.get(Integer.class, Names.named("int")), command.getKey()); 224 assertEquals(Key.get(Long.class, Names.named("long")), command.getKey()); 233 assertEquals(Key.get(Boolean.class, Names.named("boolean")), command.getKey()); 242 assertEquals(Key.get(Double.class, Names.named("double")), command.getKey()); 251 assertEquals(Key.get(Float.class, Names.named("float")), command.getKey()); 260 assertEquals(Key.get(Short.class, Names.named("short")), command.getKey()) [all...] |
/external/chromium-trace/catapult/dashboard/dashboard/ |
datastore_hooks_test.py | 53 internal_bot = ndb.Key(*internal_key).get() 56 internal_test = ndb.Key(*(external_key + internal_test_key)).get() 59 internal_test = ndb.Key(*(internal_key + internal_test_key)).get() 62 internal_sub_test = ndb.Key(*( 66 internal_sub_test = ndb.Key(*( 71 internal_key = internal_sub_test.key 72 external_key = ndb.Key( 101 self.assertEqual('FooInternal', bots[0].key.string_id()) 102 self.assertEqual('Win7External', bots[1].key.string_id()) 105 self.assertEqual('Win7External', bots[0].key.string_id() [all...] |
layered_cache_test.py | 37 ndb.Key('CachedPickledString', 'internal_only__str').get().value)) 39 ndb.Key('CachedPickledString', 'externally_visible__str').get()) 47 ndb.Key('CachedPickledString', 'internal_only__dict').get().value)) 49 ndb.Key('CachedPickledString', 'externally_visible__dict').get()) 60 ndb.Key('CachedPickledString', 64 ndb.Key('CachedPickledString', 'internal_only__str').get()) 69 ndb.Key('CachedPickledString', 73 ndb.Key('CachedPickledString', 'internal_only__dict').get()) 90 key_internal = ndb.Key('CachedPickledString', 'internal_only__str1') 91 key_external = ndb.Key('CachedPickledString', 'externally_visible__str1' [all...] |
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLECDHKeyAgreement.java | 21 import java.security.Key; 32 * Elliptic Curve Diffie-Hellman key agreement backed by the OpenSSL engine. 36 /** OpenSSL handle of the private key. Only available after the engine has been initialized. */ 40 * Expected length (in bytes) of the agreed key ({@link #mResult}). Only available after the 45 /** Agreed key. Only available after {@link #engineDoPhase(Key, boolean)} completes. */ 49 public Key engineDoPhase(Key key, boolean lastPhase) throws InvalidKeyException { 57 if (key == null) [all...] |
/external/guice/extensions/servlet/src/com/google/inject/servlet/ |
ServletModule.java | 23 import com.google.inject.Key; 179 * filter("/*").through(<b>Key.get(Filter.class, Fave.class)</b>); 301 void through(Key<? extends Filter> filterKey); 305 void through(Key<? extends Filter> filterKey, Map<String, String> initParams); 317 void with(Key<? extends HttpServlet> servletKey); 321 void with(Key<? extends HttpServlet> servletKey, Map<String, String> initParams);
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
FilterPipelineTest.java | 12 import com.google.inject.Key; 46 filter("/*").through(Key.get(TestFilter.class)); 47 filter("*.jsp").through(Key.get(TestFilter.class)); 50 filter("/index/*").through(Key.get(NeverFilter.class)); 51 filter("/public/login/*").through(Key.get(NeverFilter.class));
|
/external/guice/extensions/spring/test/com/google/inject/spring/ |
SpringIntegrationTest.java | 25 import com.google.inject.Key; 88 Key<Singleton> singletonKey 89 = Key.get(Singleton.class, Names.named("singleton")); 90 Key<Prototype> prototypeKey 91 = Key.get(Prototype.class, Names.named("prototype"));
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
ExemptionMechanismSpiTest.java | 29 import java.security.Key; 66 protected void engineInit(Key key) throws InvalidKeyException, ExemptionMechanismException { 67 super.engineInit(key); 72 protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException, ExemptionMechanismException { 73 super.engineInit(key, params); 78 protected void engineInit(Key key, AlgorithmParameters params) throws InvalidKeyException, InvalidAlgorithmParameterException, ExemptionMechanismException { 79 super.engineInit(key, params) 98 Key key = null; local [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
ProximityInfo.java | 39 /** Number of key widths from current touch point to search for nearest keys. */ 42 private static final List<Key> EMPTY_KEY_LIST = Collections.emptyList(); 56 private final List<Key> mSortedKeys; 58 private final List<Key>[] mGridNeighbors; 63 @Nonnull final List<Key> sortedKeys, 98 static boolean needsProximityInfo(final Key key) { 100 return key.getCode() >= Constants.CODE_SPACE; 103 private static int getProximityInfoKeysCount(final List<Key> keys) { 105 for (final Key key : keys) 160 final Key key = sortedKeys.get(keyIndex); local 184 final Key key = sortedKeys.get(keyIndex); local [all...] |
Keyboard.java | 45 * <Key latin:keyLabel="A" /> 72 /** Per keyboard key visual parameters */ 86 private final List<Key> mSortedKeys; 88 public final List<Key> mShiftKeys; 90 public final List<Key> mAltCodeKeysWhileTyping; 94 private final SparseArray<Key> mKeyCache = new SparseArray<>(); 181 * The list may contain {@link Key.Spacer} object as well. 182 * @return the sorted unmodifiable list of {@link Key}s of this keyboard. 185 public List<Key> getSortedKeys() { 190 public Key getKey(final int code) 218 mKeyCache.put(key.getCode(), key); local 250 final Key key = getKey(codePoints[i]); local [all...] |
PointerTracker.java | 121 // The current key where this pointer is. 122 private Key mCurrentKey = null; 123 // The position where the current key was recognized for the first time. 143 // true if this pointer is sliding from a modifier key and in the sliding key input mode, 146 // if not a NOT_A_CODE, the key of this code is repeating 244 private boolean callListenerOnPressAndCheckKeyboardLayoutChange(final Key key, 253 final boolean ignoreModifierKey = mIsInDraggingFinger && key.isModifier(); 256 (key == null ? "none" : Constants.printableCode(key.getCode())) 636 final Key key = getKeyOn(x, y); local 672 Key key = onDownKey(x, y, eventTime); local 780 Key key = newKey; local 1021 final Key key = getKey(); local 1171 final Key key = getKey(); local 1193 final Key key = mKeyDetector.detectHitKey(x, y); local [all...] |
/external/lzma/CS/7zip/Compress/LzmaAlone/ |
LzmaAlone.cs | 62 enum Key
156 if (parser[(int)Key.Help1].ThereIs || parser[(int)Key.Help2].ThereIs)
172 if (parser[(int)Key.Dictionary].ThereIs)
175 if (!GetNumber((string)parser[(int)Key.Dictionary].PostStrings[0], out dicLog))
181 if (parser[(int)Key.MatchFinder].ThereIs)
182 mf = (string)parser[(int)Key.MatchFinder].PostStrings[0];
196 if (parser[(int)Key.Train].ThereIs)
197 train = (string)parser[(int)Key.Train].PostStrings[0];
207 bool stdInMode = parser[(int)Key.StdIn].ThereIs; [all...] |
/external/guice/core/src/com/google/inject/internal/ |
WeakKeySet.java | 30 import com.google.inject.Key; 43 private Map<Key<?>, Multiset<Object>> backingMap; 69 * There may be multiple child injectors blacklisting a certain key so only remove the source 75 Multiset<Object> set = backingMap.get(keyAndSource.key); 79 backingMap.remove(keyAndSource.key); 90 public void add(Key<?> key, State state, Object source) { 99 Multiset<Object> sources = backingMap.get(key); 102 backingMap.put(key, sources); 113 keyAndSources.add(new KeyAndSource(key, convertedSource)) 129 final Key<?> key; field in class:WeakKeySet.KeyAndSource [all...] |
InjectorImpl.java | 31 import com.google.inject.Key; 115 final Map<Key<?>, BindingImpl<?>> jitBindings = Maps.newHashMap(); 120 final Set<Key<?>> failedJitBindings = Sets.newHashSet(); 151 /** Returns the binding for {@code key} */ 152 public <T> BindingImpl<T> getBinding(Key<T> key) { 153 Errors errors = new Errors(key); 155 BindingImpl<T> result = getBindingOrThrow(key, errors, JitLimitation.EXISTING_JIT); 163 public <T> BindingImpl<T> getExistingBinding(Key<T> key) { [all...] |
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/ |
SpiUtils.java | 57 import com.google.inject.Key; 101 * @param mapKey The key the map belongs to. 102 * @param keyType the TypeLiteral of the key of the map 110 static <T> void assertMapVisitor(Key<T> mapKey, TypeLiteral<?> keyType, TypeLiteral<?> valueType, 129 private static <T> void mapInjectorTest(Key<T> mapKey, TypeLiteral<?> keyType, 148 Object key = entry.getKey(); local 150 if(key.equals(result.k) && matches(value, result.v)) { 168 Key<?> mapOfJavaxProvider = mapKey.ofType(mapOfJavaxProviderOf(keyType, valueType)); 169 Key<?> mapOfProvider = mapKey.ofType(mapOfProviderOf(keyType, valueType)); 170 Key<?> mapOfSetOfProvider = mapKey.ofType(mapOfSetOfProviderOf(keyType, valueType)) 310 Key key = null; local 489 Key key = b.getKey(); local 559 Key key = null; local 888 Key key = null; local 1077 private final Key<?> key; field in class:SpiUtils.BindResult [all...] |
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime.Tests/ |
Antlr.Runtime.Tools.Tests.pas | 445 Key: String; 447 Key := 'Baz'; 448 ReturnValue := FIDictionary.GetItem(Key); 455 Key: String; 457 Key := 'Bar'; 459 FIDictionary.SetItem(Key, Value); 474 Key: String; 476 Key := 'Key'; 478 FIDictionary.Add(Key, Value) [all...] |
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/ |
Multibinder.java | 37 import com.google.inject.Key; 124 return newRealSetBinder(binder, Key.get(type)); 132 return newRealSetBinder(binder, Key.get(type)); 141 return newRealSetBinder(binder, Key.get(type, annotation)); 150 return newRealSetBinder(binder, Key.get(type, annotation)); 159 return newRealSetBinder(binder, Key.get(type, annotationType)); 163 * Returns a new multibinder that collects instances of the key's type in a {@link Set} that is 164 * itself bound with the annotation (if any) of the key. 168 public static <T> Multibinder<T> newSetBinder(Binder binder, Key<T> key) { 300 Key key = (Key) collectionOfProvidersKey; local 481 Key key = dependency.getKey(); local 510 private final Key<Boolean> key; field in class:Multibinder.PermitDuplicatesModule [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
map_test.cpp | 303 struct Key 305 Key() : m_data(0) {} 306 explicit Key(int data) : m_data(data) {} 313 bool operator () (Key lhs, Key rhs) const 316 bool operator () (Key lhs, int rhs) const 319 bool operator () (int lhs, Key rhs) const 325 bool operator () (Key const volatile *lhs, Key const volatile *rhs) const 328 bool operator () (Key const volatile *lhs, int rhs) cons [all...] |
set_test.cpp | 360 struct Key 362 Key() : m_data(0) {} 363 explicit Key(int data) : m_data(data) {} 370 bool operator () (Key lhs, Key rhs) const 373 bool operator () (Key lhs, int rhs) const 376 bool operator () (int lhs, Key rhs) const 382 bool operator () (Key const volatile *lhs, Key const volatile *rhs) const 385 bool operator () (Key const volatile *lhs, int rhs) cons [all...] |
/ndk/tests/device/test-stlport/unit/ |
map_test.cpp | 303 struct Key 305 Key() : m_data(0) {} 306 explicit Key(int data) : m_data(data) {} 313 bool operator () (Key lhs, Key rhs) const 316 bool operator () (Key lhs, int rhs) const 319 bool operator () (int lhs, Key rhs) const 325 bool operator () (Key const volatile *lhs, Key const volatile *rhs) const 328 bool operator () (Key const volatile *lhs, int rhs) cons [all...] |
set_test.cpp | 360 struct Key 362 Key() : m_data(0) {} 363 explicit Key(int data) : m_data(data) {} 370 bool operator () (Key lhs, Key rhs) const 373 bool operator () (Key lhs, int rhs) const 376 bool operator () (int lhs, Key rhs) const 382 bool operator () (Key const volatile *lhs, Key const volatile *rhs) const 385 bool operator () (Key const volatile *lhs, int rhs) cons [all...] |
/external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/ |
CheckedProviderTest.java | 34 import com.google.inject.Key; 75 private static final Function<Dependency<?>, Key<?>> DEPENDENCY_TO_KEY = 76 new Function<Dependency<?>, Key<?>>() { 77 public Key<?> apply(Dependency<?> from) { 173 injector.getInstance(Key.get(remoteProviderOfFoo)); 203 Key<RemoteProvider<Foo>> key = annotation != null ? local 204 Key.get(remoteProviderOfFoo, annotation) : 205 Key.get(remoteProviderOfFoo); 206 RemoteProvider<Foo> remoteProvider = injector.getInstance(key); 623 Key<?> key = Key.get(remoteProviderOfFoo); local 845 Key<RemoteProvider<List<String>>> key local 864 Key<RemoteProvider<List<String>>> key local 883 Key<RemoteProvider<List<String>>> key local 898 Key<RemoteProvider<List<String>>> key local [all...] |