Searched defs:key (Results 1 - 25 of 354) sorted by relevance

1234567891011>>

/frameworks/rs/
H A DrsCompatibilityLib.cpp22 int property_get(const char *key, char *value, const char *default_value) { argument
25 len = __system_property_get(key, value);
/frameworks/base/test-runner/src/android/test/
H A DSimpleCache.java25 protected abstract V load(K key); argument
27 final V get(K key) { argument
28 if (map.containsKey(key)) {
29 return map.get(key);
31 V value = load(key);
32 map.put(key, value);
/frameworks/base/tools/aapt/
H A DAaptUtil.h32 const KEY& key, const VALUE& value);
36 const KEY& key, const VALUE& value);
44 const KEY& key, const VALUE& value) {
45 ssize_t idx = keyedVector.indexOfKey(key);
47 idx = keyedVector.add(key, android::Vector<VALUE>());
54 const KEY& key, const VALUE& value) {
55 ssize_t idx = keyedVector.indexOfKey(key);
57 idx = keyedVector.add(key, android::SortedVector<VALUE>());
43 appendValue(android::KeyedVector<KEY, android::Vector<VALUE> >& keyedVector, const KEY& key, const VALUE& value) argument
53 appendValue(android::KeyedVector<KEY, android::SortedVector<VALUE> >& keyedVector, const KEY& key, const VALUE& value) argument
/frameworks/base/core/java/android/app/
H A DAppGlobals.java53 * @param key The setting key.
57 public static int getIntCoreSetting(String key, int defaultValue) { argument
60 return currentActivityThread.getIntCoreSetting(key, defaultValue);
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DGetCommand.java28 * @param key the {@link CameraMetadataNative.Key} to look up.
32 public <T> T getValue(CameraMetadataNative metadata, CameraMetadataNative.Key<T> key); argument
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DThumbnailCache.java29 protected int sizeOf(Uri key, Bitmap value) { argument
/frameworks/support/v4/jellybean/android/support/v4/app/
H A DBundleUtil.java17 public static Bundle[] getBundleArrayFromBundle(Bundle bundle, String key) { argument
18 Parcelable[] array = bundle.getParcelableArray(key);
24 bundle.putParcelableArray(key, typedArray);
/frameworks/wilhelm/src/autogen/
H A DIID_to_MPH.c318 unsigned key = asso_values[((unsigned char *)iid)[3]] + local
320 if (key <= MAX_HASH_VALUE) {
321 int MPH = hash_to_MPH[key];
/frameworks/av/include/camera/
H A DCameraParameters2.h41 void set(const char *key, const char *value);
42 void set(const char *key, int value);
43 void setFloat(const char *key, float value);
44 // Look up string value by key.
45 // -- The string remains valid until the next set/remove of the same key,
47 const char *get(const char *key) const;
48 int getInt(const char *key) const;
49 float getFloat(const char *key) const;
58 // * NAME_NOT_FOUND - if either key has not been set previously
64 void remove(const char *key);
119 add(const KeyT& key, const ValueT& value) argument
[all...]
/frameworks/av/media/libstagefright/webm/
H A DWebmFrame.cpp49 WebmFrame::WebmFrame(int type, bool key, uint64_t absTimecode, MediaBuffer *mbuf) argument
51 mKey(key),
/frameworks/base/cmds/backup/
H A Dbackup.cpp77 String8 key; local
79 err = reader.ReadEntityHeader(&key, &dataSize);
81 printf(" entity: %s (%d bytes)\n", key.string(), dataSize);
/frameworks/base/core/java/android/app/backup/
H A DBackupDataInputStream.java29 * {@link BackupDataInput}. The entity's key string and total data size are available
40 String key; field in class:BackupDataInputStream
98 * Report the key string associated with this entity within the backup data set.
100 * @return The key string for this entity, equivalent to calling
104 return this.key;
/frameworks/base/core/java/android/content/res/
H A DConfigurationBoundResourceCache.java46 * @param key A custom key that uniquely identifies the resource.
51 public void put(long key, Resources.Theme theme, ConstantState<T> constantState) { argument
63 themedCache.put(key, new WeakReference<ConstantState<T>>(constantState));
70 * @param key The long key which can be used to uniquely identify the resource.
76 public T get(long key, Resources.Theme theme) { argument
85 wr = themedCache.get(key);
97 themedCache.delete(key);
/frameworks/base/core/java/android/text/
H A DAnnotation.java22 * Annotations are simple key-value pairs that are preserved across
30 public Annotation(String key, String value) { argument
31 mKey = key;
/frameworks/base/libs/hwui/utils/
H A DTinyHashMap.h34 * Puts an entry in the hash, removing any existing entry with the same key
36 void put(TKey key, TValue value) { argument
37 hash_t hash = android::hash_type(key);
39 ssize_t index = mTable.find(-1, hash, key);
44 TEntry initEntry(key, value);
49 * Return true if key is in the map, in which case stores the value in the output ref
51 bool get(TKey key, TValue& outValue) { argument
52 hash_t hash = android::hash_type(key);
53 ssize_t index = mTable.find(-1, hash, key);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DKeyValueMap.java36 throw new RuntimeException("Key-value argument " + i + " must be a key of type "
39 String key = (String)keyValues[i];
41 put(key, value);
51 public String getString(String key) { argument
52 Object result = get(key);
56 public int getInt(String key) { argument
57 Object result = get(key);
61 public float getFloat(String key) { argument
62 Object result = get(key);
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
H A DSettingsActivity.java61 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { argument
/frameworks/base/tools/layoutlib/bridge/src/android/os/
H A DSystemProperties_Delegate.java37 /*package*/ static String native_get(String key) { argument
38 return native_get(key, "");
42 /*package*/ static String native_get(String key, String def) { argument
44 String value = properties.get(key);
52 /*package*/ static int native_get_int(String key, int def) { argument
54 String value = properties.get(key);
63 /*package*/ static long native_get_long(String key, long def) { argument
65 String value = properties.get(key);
78 /*package*/ static boolean native_get_boolean(String key, boolean def) { argument
80 String value = properties.get(key);
96 native_set(String key, String def) argument
[all...]
/frameworks/base/tools/split-select/
H A DTestRules.cpp27 const Rule EqRule(Rule::Key key, long value) { argument
30 rule.key = key;
35 const Rule GtRule(Rule::Key key, long value) { argument
38 rule.key = key;
43 const Rule LtRule(Rule::Key key, long value) { argument
46 rule.key = key;
51 const Rule ContainsAnyRule(Rule::Key key, cons argument
59 ContainsAnyRule(Rule::Key key, const char* str1, const char* str2) argument
[all...]
/frameworks/compile/mclinker/include/mcld/ADT/
H A DHashEntry.h49 KeyType& key() function in class:mcld::HashEntry
52 const KeyType& key() const function in class:mcld::HashEntry
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/util/
H A DSystemProperties.java30 * Gets system properties set by <code>adb shell setprop <em>key</em> <em>value</em></code>
32 * @param key the property key.
37 public static String get(String key, String defaultValue) { argument
41 return (String) get.invoke(null, key, defaultValue);
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DStringFloat.java7 public String key; field in class:StringFloat
25 key = newKey;
38 out.writeString(key);
43 key = in.readString();
H A DStringString.java7 public String key; field in class:StringString
33 out.writeString(key);
38 key = in.readString();
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DPooledCache.java21 V get(K key, boolean incrementRefCount); argument
22 V put(K key, V value); argument
H A DRequestKey.java33 * this object will be used as a cache key.
78 * @param key The key to create a FileDescriptorFactory for. This key will be passed to the
79 * callback so it can check whether the key has changed.
89 public Cancelable createFileDescriptorFactoryAsync(RequestKey key, Callback callback); argument
118 * @param key The key that the FileDescriptorFactory was created for. The callback should
119 * check that the key has not changed.
122 void fileDescriptorFactoryCreated(RequestKey key, FileDescriptorFactor argument
[all...]

Completed in 2127 milliseconds

1234567891011>>