Searched refs:key (Results 76 - 100 of 852) sorted by relevance

1234567891011>>

/frameworks/av/include/media/stagefright/
H A DMetaData.h116 // Set this key to enable authoring files in 64-bit offset
232 bool remove(uint32_t key);
234 bool setCString(uint32_t key, const char *value);
235 bool setInt32(uint32_t key, int32_t value);
236 bool setInt64(uint32_t key, int64_t value);
237 bool setFloat(uint32_t key, float value);
238 bool setPointer(uint32_t key, void *value);
241 uint32_t key,
245 bool findCString(uint32_t key, const char **value);
246 bool findInt32(uint32_t key, int32_
[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/services/core/java/com/android/server/hdmi/
H A DUnmodifiableSparseArray.java37 public E get(int key) { argument
38 return mArray.get(key);
41 public E get(int key, E valueIfKeyNotFound) { argument
42 return mArray.get(key, valueIfKeyNotFound);
/frameworks/base/services/core/java/com/android/server/notification/
H A DRankingReconsideration.java37 public RankingReconsideration(String key) { argument
38 this(key, IMMEDIATE);
41 public RankingReconsideration(String key, long delay) { argument
43 mKey = key;
/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();
/frameworks/support/v4/jellybean-mr2/android/support/v4/media/
H A DTransportMediatorCallback.java22 public void handleKey(KeyEvent key); argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DTaskGrouping.java24 mTaskKeys.add(t.key);
25 if (t.key.lastActiveTime > latestActiveTimeInGroup) {
26 latestActiveTimeInGroup = t.key.lastActiveTime;
34 mTaskKeys.remove(t.key);
47 /** Returns the key of the next task in the group. */
56 /** Returns the key of the previous task in the group. */
67 return (t.key == mFrontMostTaskKey);
72 return mTaskKeyIndices.get(t.key);
77 return mTaskKeyIndices.containsKey(t.key);
83 return mTaskKeyIndices.containsKey(t.key)
[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/core/java/android/service/notification/
H A DINotificationListener.aidl38 void onNotificationVisibilityChanged(String key, long time, boolean visible);
39 void onNotificationClick(String key, long time);
40 void onNotificationActionClick(String key, long time, int actionIndex);
41 void onNotificationRemovedReason(String key, long time, int reason);
/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/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/opt/bitmap/src/com/android/bitmap/
H A DRequestKey.java33 * this object will be used as a cache key.
80 * @param key The key to create a FileDescriptorFactory for. This key will be passed to the
81 * callback so it can check whether the key has changed.
92 public Cancelable createFileDescriptorFactoryAsync(RequestKey key, Callback callback); argument
121 * @param key The key that the FileDescriptorFactory was created for. The callback should
122 * check that the key has not changed.
125 void fileDescriptorFactoryCreated(RequestKey key, FileDescriptorFactor argument
[all...]
H A DContiguousFIFOAggregator.java30 * . All tasks that is given to {@link #execute(Object, Runnable)} must correspond to a key. This
31 * key must have been previously declared with {@link #expect(Object, Callback)}.
32 * The task will be scheduled to run when its corresponding key becomes the first expected key
35 * If on {@link #execute(Object, Runnable)} the key is not expected, the task will be executed
41 * the first expected key.</li>
42 * <li>Execute task <b>2</b> for key <b>B</b>. The first expected key is <b>A</b>,
44 * <li>Execute task <b>4</b> for key <b>Z</b>. We store task <b>4</b>. </li>
45 * <li>Execute task <b>1</b> for key <
94 expect(final T key, final Callback<T> callback) argument
126 forget(final T key) argument
165 execute(final T key, final Runnable task) argument
223 onFirstExpectedChanged(final T key) argument
239 contains(final T key) argument
292 onBecomeFirstExpected(final T key) argument
[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/base/core/java/com/android/server/backup/
H A DShortcutBackupHelper.java41 protected byte[] getBackupPayload(String key) { argument
42 switch (key) {
51 Slog.w(TAG, "Unknown key: " + key);
57 protected void applyRestoredPayload(String key, byte[] payload) { argument
58 switch (key) {
67 Slog.w(TAG, "Unknown key: " + key);
/frameworks/native/cmds/installd/
H A Dsystem_properties.h40 std::string key = line.substr(0, equals_pos); local
44 properties_.insert(std::make_pair(key, value));
50 // Look up the key in the map. Returns null if the key isn't mapped.
51 const std::string* GetProperty(const std::string& key) const {
52 auto it = properties_.find(key);
59 void SetProperty(const std::string& key, const std::string& value) { argument
60 properties_.insert(std::make_pair(key, value));
/frameworks/av/media/libstagefright/foundation/
H A DMetaData.cpp48 bool MetaData::remove(uint32_t key) { argument
49 ssize_t i = mItems.indexOfKey(key);
60 bool MetaData::setCString(uint32_t key, const char *value) { argument
61 return setData(key, TYPE_C_STRING, value, strlen(value) + 1);
64 bool MetaData::setInt32(uint32_t key, int32_t value) { argument
65 return setData(key, TYPE_INT32, &value, sizeof(value));
68 bool MetaData::setInt64(uint32_t key, int64_t value) { argument
69 return setData(key, TYPE_INT64, &value, sizeof(value));
72 bool MetaData::setFloat(uint32_t key, float value) { argument
73 return setData(key, TYPE_FLOA
76 setPointer(uint32_t key, void *value) argument
80 setRect( uint32_t key, int32_t left, int32_t top, int32_t right, int32_t bottom) argument
96 findCString(uint32_t key, const char **value) argument
109 findInt32(uint32_t key, int32_t *value) argument
124 findInt64(uint32_t key, int64_t *value) argument
139 findFloat(uint32_t key, float *value) argument
154 findPointer(uint32_t key, void **value) argument
169 findRect( uint32_t key, int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) argument
191 setData( uint32_t key, uint32_t type, const void *data, size_t size) argument
210 findData(uint32_t key, uint32_t *type, const void **data, size_t *size) const argument
373 int32_t key = mItems.keyAt(i); local
386 int32_t key = mItems.keyAt(i); local
398 int32_t key = mItems.keyAt(i); local
416 int32_t key; local
[all...]
/frameworks/volley/src/main/java/com/android/volley/toolbox/
H A DDiskBasedCache.java104 * Returns the cache entry with the specified key if it exists, null otherwise.
107 public synchronized Entry get(String key) { argument
108 CacheHeader entry = mEntries.get(key);
114 File file = getFileForKey(key);
123 remove(key);
159 putEntry(entry.key, entry);
176 * @param key Cache key
180 public synchronized void invalidate(String key, boolean fullExpire) { argument
181 Entry entry = get(key);
196 put(String key, Entry entry) argument
224 remove(String key) argument
238 getFilenameForKey(String key) argument
248 getFileForKey(String key) argument
298 putEntry(String key, CacheHeader entry) argument
311 removeEntry(String key) argument
345 public String key; field in class:DiskBasedCache.CacheHeader
372 CacheHeader(String key, Entry entry) argument
[all...]
/frameworks/base/core/java/android/util/
H A DSparseArray.java41 * as deleted. The entry can then be re-used for the same key, or compacted later in
100 * Gets the Object mapped from the specified key, or <code>null</code>
103 public E get(int key) { argument
104 return get(key, null);
108 * Gets the Object mapped from the specified key, or the specified Object
112 public E get(int key, E valueIfKeyNotFound) { argument
113 int i = ContainerHelpers.binarySearch(mKeys, mSize, key);
123 * Removes the mapping from the specified key, if there was any.
125 public void delete(int key) { argument
126 int i = ContainerHelpers.binarySearch(mKeys, mSize, key);
140 removeReturnOld(int key) argument
157 remove(int key) argument
223 put(int key, E value) argument
326 indexOfKey(int key) argument
375 append(int key, E value) argument
[all...]
H A DLongSparseArray.java41 * as deleted. The entry can then be re-used for the same key, or compacted later in
100 * Gets the Object mapped from the specified key, or <code>null</code>
103 public E get(long key) { argument
104 return get(key, null);
108 * Gets the Object mapped from the specified key, or the specified Object
112 public E get(long key, E valueIfKeyNotFound) { argument
113 int i = ContainerHelpers.binarySearch(mKeys, mSize, key);
123 * Removes the mapping from the specified key, if there was any.
125 public void delete(long key) { argument
126 int i = ContainerHelpers.binarySearch(mKeys, mSize, key);
139 remove(long key) argument
186 put(long key, E value) argument
281 indexOfKey(long key) argument
328 append(long key, E value) argument
[all...]
/frameworks/base/media/java/android/media/
H A DMediaMetadata.java263 * A String key for identifying the content. This value is specific to the
265 * unique key for the underlying content. It may be used with
372 * Returns true if the given key is contained in the metadata
374 * @param key a String key
375 * @return true if the key exists in this metadata, false otherwise
377 public boolean containsKey(String key) { argument
378 return mBundle.containsKey(key);
382 * Returns the value associated with the given key, or null if no mapping of
383 * the desired type exists for the given key o
389 getText(@extKey String key) argument
402 getString(@extKey String key) argument
417 getLong(@ongKey String key) argument
428 getRating(@atingKey String key) argument
446 getBitmap(@itmapKey String key) argument
652 putText(@extKey String key, CharSequence value) argument
694 putString(@extKey String key, String value) argument
721 putLong(@ongKey String key, long value) argument
745 putRating(@atingKey String key, Rating value) argument
774 putBitmap(@itmapKey String key, Bitmap value) argument
[all...]
/frameworks/base/core/java/android/app/backup/
H A DBlobBackupHelper.java59 * per key that was supplied to the helper's constructor.
64 abstract protected byte[] getBackupPayload(String key); argument
69 * per key/value payload that was delivered for restore. Typically data is delivered
70 * for restore in lexical order by key, <i>not</i> in the order in which the keys
76 abstract protected void applyRestoredPayload(String key, byte[] payload); argument
86 * [String] key
104 String key = in.readUTF();
107 Log.i(TAG, " key '" + key + "' checksum is " + checksum);
109 state.put(key, checksu
[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(long key) { argument
73 return get(key, null);
77 * Gets the Object mapped from the specified key, or the specified Object
80 public E get(long 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(long key) { argument
94 int i = binarySearch(mKeys, 0, mSize, key);
107 public void remove(long key) { argument
151 put(long key, E value) argument
234 indexOfKey(long key) argument
281 append(long key, E value) argument
306 binarySearch(long[] a, int start, int len, long key) argument
[all...]
/frameworks/support/v4/java/android/support/v4/media/
H A DMediaMetadataCompat.java194 * A String key for identifying the content. This value is specific to the
196 * unique key for the underlying content.
306 * Returns true if the given key is contained in the metadata
308 * @param key a String key
309 * @return true if the key exists in this metadata, false otherwise
311 public boolean containsKey(String key) { argument
312 return mBundle.containsKey(key);
316 * Returns the value associated with the given key, or null if no mapping of
317 * the desired type exists for the given key o
323 getText(@extKey String key) argument
335 getString(@extKey String key) argument
350 getLong(@ongKey String key) argument
361 getRating(@atingKey String key) argument
385 getBitmap(@itmapKey String key) argument
616 putText(@extKey String key, CharSequence value) argument
653 putString(@extKey String key, String value) argument
680 putLong(@ongKey String key, long value) argument
704 putRating(@atingKey String key, RatingCompat value) argument
735 putBitmap(@itmapKey String key, Bitmap value) argument
[all...]
/frameworks/av/drm/common/
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;

Completed in 471 milliseconds

1234567891011>>