Searched defs:key (Results 1 - 25 of 275) 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/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/packages/DocumentsUI/src/com/android/documentsui/
H A DThumbnailCache.java29 protected int sizeOf(Uri key, Bitmap value) { argument
/frameworks/wilhelm/src/autogen/
H A DIID_to_MPH.c248 unsigned key = asso_values[((unsigned char *)iid)[8]] + local
250 if (key <= MAX_HASH_VALUE) {
251 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/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;
H A DBackupDataOutput.java29 * as a set of "entities," key/value pairs in which each binary data record "value" is
30 * named with a string "key."
34 * onBackup()} method first writes an "entity header" that supplies the key string for the record
40 * Entity key strings are considered to be unique within a given application's backup
41 * data set. If a backup agent writes a new entity under an existing key string, its value will
44 * existing record's key, but supplying a negative <code>dataSize</code> parameter.
79 * @param key A string key that uniquely identifies the data record within the application
81 * of -1 indicates that the record under this key should be deleted.
85 public int writeEntityHeader(String key, in argument
127 writeEntityHeader_native(int mBackupWriter, String key, int dataSize) argument
[all...]
/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.h36 * Puts an entry in the hash, removing any existing entry with the same key
38 void put(TKey key, TValue value) { argument
39 hash_t hash = hash_t(key);
41 ssize_t index = mTable.find(-1, hash, key);
46 TEntry initEntry(key, value);
51 * Return true if key is in the map, in which case stores the value in the output ref
53 bool get(TKey key, TValue& outValue) { argument
54 hash_t hash = hash_t(key);
55 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/compile/mclinker/include/mcld/ADT/
H A DHashEntry.h52 KeyType& key() function in class:mcld::HashEntry
55 const KeyType& key() const function in class:mcld::HashEntry
/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/vcard/tests/src/com/android/vcard/tests/testutils/
H A DContentValuesBuilder.java31 public ContentValuesBuilder put(String key, String value) { argument
32 mContentValues.put(key, value);
37 public ContentValuesBuilder put(String key, Byte value) {
38 mContentValues.put(key, value);
42 public ContentValuesBuilder put(String key, Short value) {
43 mContentValues.put(key, value);
47 public ContentValuesBuilder put(String key, Integer value) { argument
48 mContentValues.put(key, value);
53 public ContentValuesBuilder put(String key, Long value) {
54 mContentValues.put(key, valu
73 put(String key, byte[] value) argument
78 putNull(String key) argument
[all...]
/frameworks/support/v4/jellybean-mr2/android/support/v4/media/
H A DTransportMediatorCallback.java22 public void handleKey(KeyEvent key); argument
/frameworks/volley/src/com/android/volley/toolbox/
H A DNoCache.java30 public Entry get(String key) { argument
35 public void put(String key, Entry entry) { argument
39 public void invalidate(String key, boolean fullExpire) { argument
43 public void remove(String key) { argument
/frameworks/av/camera/
H A DCameraParameters2.cpp67 // Find the bounds of the key name.
72 // Create the key string.
92 void CameraParameters2::set(const char *key, const char *value) argument
95 if (strchr(key, '=') || strchr(key, ';')) {
96 //XXX ALOGE("Key \"%s\"contains invalid character (= or ;)", key);
105 // Replacing a value updates the key's order to be the new largest order
106 ssize_t res = mMap.replaceValueFor(String8(key), String8(value));
107 LOG_ALWAYS_FATAL_IF(res < 0, "replaceValueFor(%s,%s) failed", key, value);
110 void CameraParameters2::set(const char *key, in
[all...]
/frameworks/av/drm/common/
H A DDrmConstraints.cpp32 status_t DrmConstraints::put(const String8* key, const char* value) { argument
38 mConstraintMap.add(*key, charValue);
43 String8 DrmConstraints::get(const String8& key) const {
44 if (NULL != getValue(&key)) {
45 return String8(getValue(&key));
50 const char* DrmConstraints::getValue(const String8* key) const {
51 if (NAME_NOT_FOUND != mConstraintMap.indexOfKey(*key)) {
52 return mConstraintMap.valueFor(*key);
57 const char* DrmConstraints::getAsByteArray(const String8* key) const {
58 return getValue(key);
66 const String8& key = mDrmConstraints->mConstraintMap.keyAt(mIndex); local
[all...]
H A DDrmInfoRequest.cpp41 status_t DrmInfoRequest::put(const String8& key, const String8& value) { argument
42 mRequestInformationMap.add(key, value);
46 String8 DrmInfoRequest::get(const String8& key) const {
47 if (NAME_NOT_FOUND != mRequestInformationMap.indexOfKey(key)) {
48 return mRequestInformationMap.valueFor(key);
73 const String8& key = mDrmInfoRequest->mRequestInformationMap.keyAt(mIndex); local
75 return key;
H A DDrmMetadata.cpp25 status_t DrmMetadata::put(const String8* key, argument
27 if((value != NULL) && (key != NULL)) {
33 mMetadataMap.add(*key, charValue);
38 String8 DrmMetadata::get(const String8& key) const {
39 if (NULL != getValue(&key)) {
40 return String8(getValue(&key));
47 const char* DrmMetadata::getValue(const String8* key) const {
48 if(key != NULL) {
49 if (NAME_NOT_FOUND != mMetadataMap.indexOfKey(*key)) {
50 return mMetadataMap.valueFor(*key);
69 const String8& key = mDrmMetadata->mMetadataMap.keyAt(mIndex); local
[all...]
/frameworks/av/include/drm/
H A DDrmMetadata.h33 * Iterator for key
82 String8 key = keyIt.next(); local
83 const char* value = this->getAsByteArray(&key);
94 status_t put(const String8* key, const char* value);
95 String8 get(const String8& key) const;
96 const char* getAsByteArray(const String8* key) const;
101 const char* getValue(const String8* key) const;
/frameworks/av/media/libstagefright/wifi-display/
H A DParameters.cpp77 AString key = name; local
78 key.tolower();
80 ssize_t index = mDict.indexOfKey(key);

Completed in 661 milliseconds

1234567891011