/frameworks/av/drm/common/ |
H A D | DrmMetadata.cpp | 25 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...] |
H A D | DrmInfo.cpp | 44 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 D | DrmConstraints.cpp | 32 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 D | DrmInfoRequest.cpp | 41 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;
|
/frameworks/volley/tests/src/com/android/volley/mock/ |
H A D | MockCache.java | 37 public Entry get(String key) { argument 47 public void put(String key, Entry entry) { argument 49 keyPut = key; 54 public void invalidate(String key, boolean fullExpire) { argument 58 public void remove(String key) { argument
|
/frameworks/av/media/libmedia/ |
H A D | Metadata.cpp | 27 // 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/libs/hwui/ |
H A D | Program.h | 227 * Computes the unique key identifying this program. 229 programid key() const { function in struct:android::uirenderer::ProgramDescription 230 programid key = 0; local 231 if (hasTexture) key |= PROGRAM_KEY_TEXTURE; 232 if (hasAlpha8Texture) key |= PROGRAM_KEY_A8_TEXTURE; 234 key |= PROGRAM_KEY_BITMAP; 236 key |= PROGRAM_KEY_BITMAP_NPOT; 237 key |= getEnumForWrap(bitmapWrapS) << PROGRAM_BITMAP_WRAPS_SHIFT; 238 key |= getEnumForWrap(bitmapWrapT) << PROGRAM_BITMAP_WRAPT_SHIFT; 241 if (hasGradient) key | [all...] |
/frameworks/base/core/java/android/util/ |
H A D | LongSparseLongArray.java | 91 * Gets the long mapped from the specified key, or <code>0</code> 94 public long get(long key) { argument 95 return get(key, 0); 99 * Gets the long mapped from the specified key, or the specified value 102 public long get(long key, long valueIfKeyNotFound) { argument 103 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); 113 * Removes the mapping from the specified key, if there was any. 115 public void delete(long key) { argument 116 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); 133 * Adds a mapping from the specified key t 137 put(long key, long value) argument 202 indexOfKey(long key) argument 233 append(long key, long value) argument [all...] |
H A D | SparseBooleanArray.java | 84 * Gets the boolean mapped from the specified key, or <code>false</code> 87 public boolean get(int key) { argument 88 return get(key, false); 92 * Gets the boolean mapped from the specified key, or the specified value 95 public boolean get(int key, boolean valueIfKeyNotFound) { argument 96 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); 106 * Removes the mapping from the specified key, if there was any. 108 public void delete(int key) { argument 109 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); 119 * Adds a mapping from the specified key t 123 put(int key, boolean value) argument 199 indexOfKey(int key) argument 230 append(int key, boolean value) argument [all...] |
H A D | SparseIntArray.java | 87 * Gets the int mapped from the specified key, or <code>0</code> 90 public int get(int key) { argument 91 return get(key, 0); 95 * Gets the int mapped from the specified key, or the specified value 98 public int get(int key, int valueIfKeyNotFound) { argument 99 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); 109 * Removes the mapping from the specified key, if there was any. 111 public void delete(int key) { argument 112 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); 129 * Adds a mapping from the specified key t 133 put(int key, int value) argument 209 indexOfKey(int key) argument 240 append(int key, int value) argument [all...] |
H A D | SparseLongArray.java | 87 * Gets the long mapped from the specified key, or <code>0</code> 90 public long get(int key) { argument 91 return get(key, 0); 95 * Gets the long mapped from the specified key, or the specified value 98 public long get(int key, long valueIfKeyNotFound) { argument 99 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); 109 * Removes the mapping from the specified key, if there was any. 111 public void delete(int key) { argument 112 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); 129 * Adds a mapping from the specified key t 133 put(int key, long value) argument 198 indexOfKey(int key) argument 229 append(int key, long value) argument [all...] |
/frameworks/base/services/java/com/android/server/am/ |
H A D | PendingIntentRecord.java | 36 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/base/media/java/android/media/audiofx/ |
H A D | EnvironmentalReverb.java | 525 * 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/av/media/libstagefright/ |
H A D | MetaData.cpp | 47 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 95 findCString(uint32_t key, const char **value) argument 108 findInt32(uint32_t key, int32_t *value) argument 123 findInt64(uint32_t key, int64_t *value) argument 138 findFloat(uint32_t key, float *value) argument 153 findPointer(uint32_t key, void **value) argument 168 findRect( uint32_t key, int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) argument 190 setData( uint32_t key, uint32_t type, const void *data, size_t size) argument 209 findData(uint32_t key, uint32_t *type, const void **data, size_t *size) const argument 348 int32_t key = mItems.keyAt(i); local [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ASessionDescription.cpp | 97 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/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | StringFloat.java | 7 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 D | TransportMediatorCallback.java | 22 public void handleKey(KeyEvent key); argument
|
/frameworks/base/core/java/android/app/ |
H A D | AppGlobals.java | 53 * @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 D | FilterContext.java | 72 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 D | DrmMetadata.h | 33 * 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 D | IStatusBar.aidl | 27 void addNotification(IBinder key, in StatusBarNotification notification); 28 void updateNotification(IBinder key, in StatusBarNotification notification); 29 void removeNotification(IBinder key);
|
/frameworks/av/include/media/stagefright/ |
H A D | MetaData.h | 102 // Set this key to enable authoring files in 64-bit offset 188 bool remove(uint32_t key); 190 bool setCString(uint32_t key, const char *value); 191 bool setInt32(uint32_t key, int32_t value); 192 bool setInt64(uint32_t key, int64_t value); 193 bool setFloat(uint32_t key, float value); 194 bool setPointer(uint32_t key, void *value); 197 uint32_t key, 201 bool findCString(uint32_t key, const char **value); 202 bool findInt32(uint32_t key, int32_ [all...] |
/frameworks/volley/src/com/android/volley/toolbox/ |
H A D | DiskBasedCache.java | 102 * Returns the cache entry with the specified key if it exists, null otherwise. 105 public synchronized Entry get(String key) { argument 106 CacheHeader entry = mEntries.get(key); 112 File file = getFileForKey(key); 121 remove(key); 157 putEntry(entry.key, entry); 174 * @param key Cache key 178 public synchronized void invalidate(String key, boolean fullExpire) { argument 179 Entry entry = get(key); 194 put(String key, Entry entry) argument 217 remove(String key) argument 231 getFilenameForKey(String key) argument 241 getFileForKey(String key) argument 291 putEntry(String key, CacheHeader entry) argument 304 removeEntry(String key) argument 338 public String key; field in class:DiskBasedCache.CacheHeader 362 CacheHeader(String key, Entry entry) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
H A D | SparseWeakArray.java | 69 * 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/rs/cpu_ref/ |
H A D | rsCpuIntrinsicColorMatrix.cpp | 112 uint64_t key; member in union:android::renderscript::__anon1609 163 bool build(Key_t key); 176 Key_t key; local 177 key.key = 0; 179 // Compute a unique code key for this operation 181 // Add to the key the input and output types 185 key.u.inType = RS_TYPE_FLOAT_32; 186 rsAssert(key.u.inType == RS_TYPE_FLOAT_32); 190 key [all...] |