/frameworks/av/drm/common/ |
DrmInfoRequest.cpp | 41 status_t DrmInfoRequest::put(const String8& key, const String8& value) { 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;
|
DrmMetadata.cpp | 25 status_t DrmMetadata::put(const String8* key, 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/drm/mediacas/plugins/clearkey/ |
ClearKeyFetcher.cpp | 115 // TODO: if 2 Ecms have same parity, key from Ecm with higher id 117 KeyInfo key; local 118 key.key_id = container.descriptor(i).id(); 119 key.key_bytes = container.descriptor(i).ecm().content_key(); 121 keys->at(key.key_id & 1) = key;
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/ |
Session.cpp | 55 const KeyMap::value_type& key = keys.valueAt(i); local 56 mKeyMap.add(keyId, key); 76 const Vector<uint8_t>& key = mKeyMap.valueFor(keyIdVector); local 79 key, iv,
|
/frameworks/av/media/libaudiohal/2.0/ |
ConversionHelperHidl.cpp | 35 // "keyFormat=<value>" pair. We need to transform it into a single key string so that it is 43 String8 key; local 44 status_t status = halKeys.getAt(i, key); 46 if (keepFormatValue && key == AudioParameter::keyFormat) { 48 halKeys.getAt(i, key, value); 49 formatParam.add(key, value); 50 key = formatParam.toString(); 52 (*hidlKeys)[i] = key.string(); 64 String8 key, value; local 65 status_t status = params.getAt(i, key, value) [all...] |
/frameworks/base/cmds/backup/ |
backup.cpp | 74 String8 key; local 76 err = reader.ReadEntityHeader(&key, &dataSize); 78 printf(" entity: %s (%zu bytes)\n", key.string(), dataSize);
|
/frameworks/base/core/java/android/app/backup/ |
AbsoluteFileBackupHelper.java | 68 String key = data.getKey(); local 69 if (isKeyInList(key, mFiles)) { 70 File f = new File(key);
|
BackupDataInputStream.java | 29 * {@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/bluetooth/le/ |
BluetoothLeUtils.java | 69 Object key = entry.getKey(); local 70 buffer.append(key).append("=").append(Arrays.toString(map.get(key))); 120 for (T key : keys) { 121 if (!Objects.deepEquals(map.get(key), otherMap.get(key))) {
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
DurationsTable.java | 36 final int key = from.getKeyAt(i); local 37 this.addDuration(SparseMappingTable.getIdFromKey(key), from.getValue(key)); 48 final int key = getOrAddKey((byte)state, 1); local 49 setValue(key, getValue(key) + value); 54 final int key = getKey((byte)state); 55 if (key != SparseMappingTable.INVALID_KEY) { 56 return getValue(key);
|
PssTable.java | 49 final int key = that.getKeyAt(i); local 50 final int state = SparseMappingTable.getIdFromKey(key); 51 mergeStats(state, (int)that.getValue(key, PSS_SAMPLE_COUNT), 52 that.getValue(key, PSS_MINIMUM), 53 that.getValue(key, PSS_AVERAGE), 54 that.getValue(key, PSS_MAXIMUM), 55 that.getValue(key, PSS_USS_MINIMUM), 56 that.getValue(key, PSS_USS_AVERAGE), 57 that.getValue(key, PSS_USS_MAXIMUM), 58 that.getValue(key, PSS_RSS_MINIMUM) 70 final int key = getOrAddKey((byte)state, PSS_COUNT); local [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
KeyValueMap.java | 31 throw new RuntimeException("Key-Value arguments passed into setKeyValues must be " 36 throw new RuntimeException("Key-value argument " + i + " must be a key of type " 39 String key = (String)keyValues[i]; local 41 put(key, value); 51 public String getString(String key) { 52 Object result = get(key); 56 public int getInt(String key) { 57 Object result = get(key); 61 public float getFloat(String key) { [all...] |
/frameworks/base/services/core/java/com/android/server/content/ |
SyncAdapterStateFetcher.java | 39 final Pair<Integer, String> key = Pair.create(userId, packageName); local 40 final Integer cached = mBucketCache.get(key); 52 mBucketCache.put(key, value);
|
/frameworks/base/tools/aapt2/tools/ |
extract_unicode_properties.py | 21 def key(self): member in class:CharacterProperty 58 for char_prop in sorted(chars.values(), key=CharacterProperty.key):
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
HashEntry.h | 48 KeyType& key() { return m_Key; } function in class:mcld::HashEntry 50 const KeyType& key() const { return m_Key; } function in class:mcld::HashEntry
|
StringEntry.h | 33 key_type key() { return key_type(m_Key, m_KeyLen); } function in class:mcld::StringEntry 35 const key_type key() const { return key_type(m_Key, m_KeyLen); } function in class:mcld::StringEntry 47 bool compare(const llvm::StringRef& pX) { return key().equals(pX); } 49 bool compare(const llvm::StringRef& pX) const { return key().equals(pX); } 72 key_type key() { return key_type(m_Key, m_KeyLen); } function in class:mcld::StringEntry 74 const key_type key() const { return key_type(m_Key, m_KeyLen); } function in class:mcld::StringEntry 90 bool compare(const llvm::StringRef pX) { return key().equals(pX); } 92 bool compare(const llvm::StringRef pX) const { return key().equals(pX); }
|
/frameworks/ml/nn/runtime/test/specs/V1_0/ |
hashtable_lookup_float.mod.py | 30 key = Input("key", "TENSOR_INT32", "{%d}" % (keys)) variable 34 model = model.Operation("HASHTABLE_LOOKUP", lookup, key, value).To([output, hits]) 37 key: [-11, 0, 1234],
|
hashtable_lookup_quant8.mod.py | 30 key = Input("key", "TENSOR_INT32", "{%d}" % (keys)) variable 34 model = model.Operation("HASHTABLE_LOOKUP", lookup, key, value).To([output, hits]) 37 key: [0, 123, 255],
|
/frameworks/ml/nn/runtime/test/specs/V1_1/ |
hashtable_lookup_float_relaxed.mod.py | 30 key = Input("key", "TENSOR_INT32", "{%d}" % (keys)) variable 34 model = model.Operation("HASHTABLE_LOOKUP", lookup, key, value).To([output, hits]) 38 key: [-11, 0, 1234],
|
/frameworks/native/cmds/installd/ |
system_properties.h | 40 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) { 60 properties_.insert(std::make_pair(key, value));
|
/frameworks/support/leanback-preference/src/main/java/androidx/leanback/preference/ |
LeanbackPreferenceDialogFragment.java | 27 public static final String ARG_KEY = "key"; 50 final String key = getArguments().getString(ARG_KEY); local 53 mPreference = (DialogPreference) fragment.findPreference(key);
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
miniopt.h | 51 char key[MINIOPT_MAXKEY]; member in struct:miniopt
|
/hardware/interfaces/bluetooth/1.0/default/test/ |
properties.cc | 31 char key[PROP_KEY_MAX + 2]; member in struct:property 39 static int property_find(const char *key) { 41 if (strncmp(properties[i].key, key, PROP_KEY_MAX) == 0) { 48 int property_set(const char *key, const char *value) { 52 int prop_index = property_find(key); 61 strncpy(properties[prop_index].key, key, PROP_KEY_MAX + 1); 66 int property_get(const char *key, char *value, const char *default_value) { 71 int prop_index = property_find(key); [all...] |
/libcore/dom/src/test/java/org/w3c/domts/ |
UserDataNotification.java | 23 private final String key; field in class:UserDataNotification 33 String key, 38 this.key = key; 54 * Gets value of key parameter 56 * @return value of key parameter 59 return key;
|
/libcore/luni/src/main/java/libcore/icu/ |
DateTimeFormat.java | 46 String key = skeleton + "\t" + icuLocale + "\t" + time.getTimeZone(); local 48 DateFormat formatter = CACHED_FORMATTERS.get(key); 52 CACHED_FORMATTERS.put(key, formatter);
|