Searched refs:key (Results 26 - 50 of 403) sorted by relevance

1234567891011>>

/frameworks/compile/libbcc/runtime/make/
H A Dlib_info.mk17 AvailableArchs := $(sort $(foreach key,$(SubDirKeys),\
18 $($(key).OnlyArchs)))
20 AvailableFunctions := $(sort $(foreach key,$(SubDirKeys),\
21 $(basename $($(key).ObjNames))))
24 $(foreach key,$(SubDirKeys),\
25 $(if $(call strneq,,$(strip $($(key).OnlyArchs) $($(key).OnlyConfigs))),,\
26 $(basename $($(key).ObjNames)))))
29 $(foreach key,$(SubDirKeys),\
30 $(if $(call strneq,,$($(key)
[all...]
/frameworks/support/volley/src/com/android/volley/toolbox/
H A DDiskBasedCache.java101 * Returns the cache entry with the specified key if it exists, null otherwise.
104 public synchronized Entry get(String key) { argument
105 CacheHeader entry = mEntries.get(key);
111 File file = getFileForKey(key);
120 remove(key);
149 putEntry(entry.key, entry);
166 * @param key Cache key
170 public synchronized void invalidate(String key, boolean fullExpire) { argument
171 Entry entry = get(key);
186 put(String key, Entry entry) argument
209 remove(String key) argument
223 getFilenameForKey(String key) argument
233 getFileForKey(String key) argument
283 putEntry(String key, CacheHeader entry) argument
296 removeEntry(String key) argument
329 public String key; field in class:DiskBasedCache.CacheHeader
350 CacheHeader(String key, Entry entry) argument
[all...]
/frameworks/av/media/libmedia/
H A DMetadata.cpp27 // This file contains code to serialize Metadata triples (key, type,
91 bool Metadata::appendBool(int key, bool val) argument
93 if (!checkKey(key)) {
100 // 4 int32s: size, key, type, value.
102 ok = ok && mData->writeInt32(key) == OK;
111 bool Metadata::appendInt32(int key, int32_t val) argument
113 if (!checkKey(key)) {
120 // 4 int32s: size, key, type, value.
122 ok = ok && mData->writeInt32(key) == OK;
131 // Check the key (
134 checkKey(int key) argument
[all...]
/frameworks/base/core/java/android/util/
H A DSparseBooleanArray.java62 * Gets the boolean mapped from the specified key, or <code>false</code>
65 public boolean get(int key) { argument
66 return get(key, false);
70 * Gets the boolean mapped from the specified key, or the specified value
73 public boolean get(int key, boolean valueIfKeyNotFound) { argument
74 int i = binarySearch(mKeys, 0, mSize, key);
84 * Removes the mapping from the specified key, if there was any.
86 public void delete(int key) { argument
87 int i = binarySearch(mKeys, 0, mSize, key);
97 * Adds a mapping from the specified key t
101 put(int key, boolean value) argument
166 indexOfKey(int key) argument
197 append(int key, boolean value) argument
223 binarySearch(int[] a, int start, int len, int key) argument
[all...]
H A DSparseIntArray.java66 * Gets the int mapped from the specified key, or <code>0</code>
69 public int get(int key) { argument
70 return get(key, 0);
74 * Gets the int mapped from the specified key, or the specified value
77 public int get(int key, int valueIfKeyNotFound) { argument
78 int i = binarySearch(mKeys, 0, mSize, key);
88 * Removes the mapping from the specified key, if there was any.
90 public void delete(int key) { argument
91 int i = binarySearch(mKeys, 0, mSize, key);
108 * Adds a mapping from the specified key t
112 put(int key, int value) argument
177 indexOfKey(int key) argument
208 append(int key, int value) argument
234 binarySearch(int[] a, int start, int len, int key) argument
[all...]
H A DSparseLongArray.java68 * Gets the long mapped from the specified key, or <code>0</code>
71 public long get(int key) { argument
72 return get(key, 0);
76 * Gets the long mapped from the specified key, or the specified value
79 public long get(int key, long valueIfKeyNotFound) { argument
80 int i = binarySearch(mKeys, 0, mSize, key);
90 * Removes the mapping from the specified key, if there was any.
92 public void delete(int key) { argument
93 int i = binarySearch(mKeys, 0, mSize, key);
110 * Adds a mapping from the specified key t
114 put(int key, long value) argument
168 indexOfKey(int key) argument
199 append(int key, long value) argument
228 binarySearch(int[] a, int start, int len, long key) argument
[all...]
H A DLongSparseArray.java69 * Gets the Object mapped from the specified key, or <code>null</code>
72 public E get(long key) { argument
73 return get(key, null);
77 * Gets the Object mapped from the specified key, or the specified Object
81 public E get(long key, E valueIfKeyNotFound) { argument
82 int i = binarySearch(mKeys, 0, mSize, key);
92 * Removes the mapping from the specified key, if there was any.
94 public void delete(long key) { argument
95 int i = binarySearch(mKeys, 0, mSize, key);
108 public void remove(long key) { argument
155 put(long key, E value) argument
259 indexOfKey(long key) argument
306 append(long key, E value) argument
336 binarySearch(long[] a, int start, int len, long key) argument
[all...]
H A DSparseArray.java69 * Gets the Object mapped from the specified key, or <code>null</code>
72 public E get(int key) { argument
73 return get(key, null);
77 * Gets the Object mapped from the specified key, or the specified Object
81 public E get(int key, E valueIfKeyNotFound) { argument
82 int i = binarySearch(mKeys, 0, mSize, key);
92 * Removes the mapping from the specified key, if there was any.
94 public void delete(int key) { argument
95 int i = binarySearch(mKeys, 0, mSize, key);
108 public void remove(int key) { argument
155 put(int key, E value) argument
259 indexOfKey(int key) argument
306 append(int key, E value) argument
336 binarySearch(int[] a, int start, int len, int key) argument
[all...]
/frameworks/base/libs/hwui/
H A DProgram.h223 * Computes the unique key identifying this program.
225 programid key() const { function in struct:android::uirenderer::ProgramDescription
226 programid key = 0; local
227 if (hasTexture) key |= PROGRAM_KEY_TEXTURE;
228 if (hasAlpha8Texture) key |= PROGRAM_KEY_A8_TEXTURE;
230 key |= PROGRAM_KEY_BITMAP;
232 key |= PROGRAM_KEY_BITMAP_NPOT;
233 key |= getEnumForWrap(bitmapWrapS) << PROGRAM_BITMAP_WRAPS_SHIFT;
234 key |= getEnumForWrap(bitmapWrapT) << PROGRAM_BITMAP_WRAPT_SHIFT;
237 if (hasGradient) key |
[all...]
/frameworks/av/drm/common/
H A DDrmInfo.cpp44 status_t DrmInfo::put(const String8& key, const String8& value) { argument
45 mAttributes.add(key, value);
49 String8 DrmInfo::get(const String8& key) const {
50 if (NAME_NOT_FOUND != mAttributes.indexOfKey(key)) {
51 return mAttributes.valueFor(key);
56 int DrmInfo::indexOfKey(const String8& key) const {
57 return mAttributes.indexOfKey(key);
79 const String8& key = mDrmInfo->mAttributes.keyAt(mIndex); local
81 return key;
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...]
/frameworks/base/media/java/android/media/audiofx/
H A DEnvironmentalReverb.java525 * Settings class constructor from a key=value; pairs formatted string. The string is
535 String key = st.nextToken();
536 if (!key.equals("EnvironmentalReverb")) {
538 "invalid settings for EnvironmentalReverb: " + key);
542 key = st.nextToken();
543 if (!key.equals("roomLevel")) {
544 throw new IllegalArgumentException("invalid key name: " + key);
547 key = st.nextToken();
548 if (!key
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DPendingIntentRecord.java36 final Key key; field in class:PendingIntentRecord
185 key = _k;
203 if ((key.flags&PendingIntent.FLAG_ONE_SHOT) != 0) {
207 Intent finalIntent = key.requestIntent != null
208 ? new Intent(key.requestIntent) : new Intent();
210 int changes = finalIntent.fillIn(intent, key.flags);
212 resolvedType = key.requestResolvedType;
215 resolvedType = key.requestResolvedType;
224 int userId = key.userId;
228 switch (key
[all...]
/frameworks/av/media/libstagefright/
H A DMetaData.cpp47 bool MetaData::remove(uint32_t key) { argument
48 ssize_t i = mItems.indexOfKey(key);
59 bool MetaData::setCString(uint32_t key, const char *value) { argument
60 return setData(key, TYPE_C_STRING, value, strlen(value) + 1);
63 bool MetaData::setInt32(uint32_t key, int32_t value) { argument
64 return setData(key, TYPE_INT32, &value, sizeof(value));
67 bool MetaData::setInt64(uint32_t key, int64_t value) { argument
68 return setData(key, TYPE_INT64, &value, sizeof(value));
71 bool MetaData::setFloat(uint32_t key, float value) { argument
72 return setData(key, TYPE_FLOA
75 setPointer(uint32_t key, void *value) argument
79 setRect( uint32_t key, int32_t left, int32_t top, int32_t right, int32_t bottom) argument
92 findCString(uint32_t key, const char **value) argument
105 findInt32(uint32_t key, int32_t *value) argument
120 findInt64(uint32_t key, int64_t *value) argument
135 findFloat(uint32_t key, float *value) argument
150 findPointer(uint32_t key, void **value) argument
165 findRect( uint32_t key, int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) argument
187 setData( uint32_t key, uint32_t type, const void *data, size_t size) argument
206 findData(uint32_t key, uint32_t *type, const void **data, size_t *size) const argument
344 int32_t key = mItems.keyAt(i); local
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DASessionDescription.cpp97 AString key, value; local
101 key = line;
103 key.setTo(line, 0, colonPos);
105 if (key == "a=fmtp" || key == "a=rtpmap"
106 || key == "a=framesize") {
112 key.setTo(line, 0, spacePos);
120 key.trim();
123 ALOGV("adding '%s' => '%s'", key.c_str(), value.c_str());
125 mTracks.editItemAt(mTracks.size() - 1).add(key, valu
141 AString key, value; local
179 findAttribute( size_t index, const char *key, AString *value) const argument
214 char key[20]; local
231 char key[20]; local
[all...]
/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/media/mca/filterfw/java/android/filterfw/core/
H A DFilterContext.java72 public synchronized void storeFrame(String key, Frame frame) { argument
73 Frame storedFrame = fetchFrame(key);
78 mStoredFrames.put(key, frame.retain());
81 public synchronized Frame fetchFrame(String key) { argument
82 Frame frame = mStoredFrames.get(key);
89 public synchronized void removeFrame(String key) { argument
90 Frame frame = mStoredFrames.get(key);
92 mStoredFrames.remove(key);
/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/base/core/java/com/android/internal/statusbar/
H A DIStatusBar.aidl27 void addNotification(IBinder key, in StatusBarNotification notification);
28 void updateNotification(IBinder key, in StatusBarNotification notification);
29 void removeNotification(IBinder key);
/frameworks/native/include/utils/
H A DPropertyMap.h28 * Provides a mechanism for passing around string-based property key / value pairs
34 * key = value
37 * The '=' separates the key from the value.
38 * The key and value may not contain whitespace.
58 * Replaces the property with the same key if it is already present.
60 void addProperty(const String8& key, const String8& value);
62 /* Returns true if the property map contains the specified key. */
63 bool hasProperty(const String8& key) const;
66 * Returns true and sets outValue if the key was found and its value was parsed successfully.
69 bool tryGetProperty(const String8& key, String
[all...]
H A DKeyedVector.h68 const VALUE& valueFor(const KEY& key) const;
71 ssize_t indexOfKey(const KEY& key) const;
78 VALUE& editValueFor(const KEY& key);
85 ssize_t add(const KEY& key, const VALUE& item);
86 ssize_t replaceValueFor(const KEY& key, const VALUE& item);
93 ssize_t removeItem(const KEY& key);
111 * valueFor() is called with a key that doesn't exist.
118 const VALUE& valueFor(const KEY& key) const;
137 ssize_t KeyedVector<KEY,VALUE>::indexOfKey(const KEY& key) const {
138 return mVector.indexOf( key_value_pair_t<KEY,VALUE>(key) );
[all...]
/frameworks/av/include/media/stagefright/
H A DMetaData.h100 // Set this key to enable authoring files in 64-bit offset
182 bool remove(uint32_t key);
184 bool setCString(uint32_t key, const char *value);
185 bool setInt32(uint32_t key, int32_t value);
186 bool setInt64(uint32_t key, int64_t value);
187 bool setFloat(uint32_t key, float value);
188 bool setPointer(uint32_t key, void *value);
191 uint32_t key,
195 bool findCString(uint32_t key, const char **value);
196 bool findInt32(uint32_t key, int32_
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
H A DSparseWeakArray.java69 * Gets the Object mapped from the specified key, or <code>null</code>
72 public E get(int key) { argument
73 return get(key, null);
77 * Gets the Object mapped from the specified key, or the specified Object
80 public E get(int key, E valueIfKeyNotFound) { argument
81 int i = binarySearch(mKeys, 0, mSize, key);
91 * Removes the mapping from the specified key, if there was any.
93 public void delete(int key) { argument
94 int i = binarySearch(mKeys, 0, mSize, key);
107 public void remove(int key) { argument
163 put(int key, E value) argument
266 indexOfKey(int key) argument
313 append(int key, E value) argument
353 binarySearch(int[] a, int start, int len, int key) argument
[all...]
/frameworks/support/v4/java/android/support/v4/util/
H A DLongSparseArray.java67 * Gets the Object mapped from the specified key, or <code>null</code>
70 public E get(long key) { argument
71 return get(key, null);
75 * Gets the Object mapped from the specified key, or the specified Object
79 public E get(long key, E valueIfKeyNotFound) { argument
80 int i = binarySearch(mKeys, 0, mSize, key);
90 * Removes the mapping from the specified key, if there was any.
92 public void delete(long key) { argument
93 int i = binarySearch(mKeys, 0, mSize, key);
106 public void remove(long key) { argument
153 put(long key, E value) argument
257 indexOfKey(long key) argument
304 append(long key, E value) argument
334 binarySearch(long[] a, int start, int len, long key) argument
[all...]
H A DSparseArrayCompat.java48 * Gets the Object mapped from the specified key, or <code>null</code>
51 public E get(int key) { argument
52 return get(key, null);
56 * Gets the Object mapped from the specified key, or the specified Object
59 public E get(int key, E valueIfKeyNotFound) { argument
60 int i = binarySearch(mKeys, 0, mSize, key);
70 * Removes the mapping from the specified key, if there was any.
72 public void delete(int key) { argument
73 int i = binarySearch(mKeys, 0, mSize, key);
86 public void remove(int key) { argument
145 put(int key, E value) argument
248 indexOfKey(int key) argument
295 append(int key, E value) argument
325 binarySearch(int[] a, int start, int len, int key) argument
[all...]

Completed in 8911 milliseconds

1234567891011>>