/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | UnmodifiableSparseArray.java | 37 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);
|
H A D | UnmodifiableSparseIntArray.java | 37 public int get(int key) { argument 38 return mArray.get(key); 41 public int get(int key, int valueIfKeyNotFound) { argument 42 return mArray.get(key, valueIfKeyNotFound);
|
/frameworks/base/services/core/java/com/android/server/updates/ |
H A D | CertificateTransparencyLogInstallReceiver.java | 129 String logFilename = getLogFileName(logObject.getString("key")); 133 writeLogEntry(out, "key", logObject.getString("key")); 147 * Get the filename for a log based on its public key. This must be kept in sync with 161 private void writeLogEntry(OutputStreamWriter out, String key, String value) argument 163 out.write(key + ":" + value + "\n");
|
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/ |
H A D | ViewDumpParser.java | 67 private Object getProperty(Map<Short, Object> props, String key) { argument 68 return props.get(mIds.get(key));
|
/frameworks/base/tests/testables/src/android/testing/ |
H A D | TestableSettingsProvider.java | 53 mValues.put(key("global", MY_UNIQUE_KEY, userId), MY_UNIQUE_KEY); 54 mValues.put(key("secure", MY_UNIQUE_KEY, userId), MY_UNIQUE_KEY); 55 mValues.put(key("system", MY_UNIQUE_KEY, userId), MY_UNIQUE_KEY); 76 String k = key(table, arg, userId); 109 private static String key(String table, String key, int userId) { argument 111 return table + "_" + key; 113 return table + "_" + userId + "_" + key;
|
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/ |
H A D | FakeSettingsProvider.java | 80 private Uri getUriFor(String table, String key) { argument 83 return Settings.System.getUriFor(key); 85 return Settings.Secure.getUriFor(key); 87 return Settings.Global.getUriFor(key);
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
H A D | 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/bordeaux/service/src/android/bordeaux/services/ |
H A D | BordeauxPredictor.java | 98 topSamples.add(new Pair<String, Float>(topList.get(i).key, topList.get(i).value)); 107 public boolean setParameter(String key, String value) { argument 111 return mPredictor.setPredictorParameter(key, value);
|
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/ |
H A D | BitmapRequestKeyImpl.java | 69 public Cancelable createFileDescriptorFactoryAsync(final RequestKey key, argument
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
H A D | AnqpCache.java | 50 * Add an ANQP entry associated with the given key. 52 * @param key The key that's associated with the entry 55 public void addEntry(ANQPNetworkKey key, argument 58 mANQPCache.put(key, data); 64 * @param key The key that's associated with the entry 67 public ANQPData getEntry(ANQPNetworkKey key) { argument 68 return mANQPCache.get(key); 90 for (ANQPNetworkKey key [all...] |
/frameworks/opt/telephony/src/java/com/google/android/mms/util/ |
H A D | AbstractCache.java | 37 public boolean put(K key, V value) { argument 39 Log.v(TAG, "Trying to put " + key + " into cache."); 51 if (key != null) { 54 mCacheMap.put(key, cacheEntry); 57 Log.v(TAG, key + " cached, " + mCacheMap.size() + " items total."); 64 public V get(K key) { argument 66 Log.v(TAG, "Trying to get " + key + " from cache."); 69 if (key != null) { 70 CacheEntry<V> cacheEntry = mCacheMap.get(key); 74 Log.v(TAG, key 82 purge(K key) argument [all...] |
/frameworks/rs/ |
H A D | rsCppUtils.cpp | 103 int property_get(const char *key, char *value, const char *default_value) { argument 105 len = __system_property_get(key, value);
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/graphics/ |
H A D | ImageLoader.java | 95 protected int sizeOf(Long key, Bitmap value) { argument
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/graphics/ |
H A D | ImageLoader.java | 95 protected int sizeOf(Long key, Bitmap value) { argument
|
/frameworks/support/v14/preference/src/android/support/v14/preference/ |
H A D | EditTextPreferenceDialogFragment.java | 36 public static EditTextPreferenceDialogFragment newInstance(String key) { argument 40 b.putString(ARG_KEY, key);
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
H A D | EditTextPreferenceDialogFragmentCompat.java | 35 public static EditTextPreferenceDialogFragmentCompat newInstance(String key) { argument 39 b.putString(ARG_KEY, key);
|
/frameworks/av/drm/common/ |
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;
|
/frameworks/av/drm/libdrmframework/plugins/common/util/include/ |
H A D | SessionMap.h | 45 * @param key - key or Session ID 48 * @return boolean result of adding value. returns false if key is already exist. 50 bool addValue(int key, TValue value) { argument 52 if (!isCreatedInternal(key)) { 53 map.add(key, value); 60 * returns the session object by the key 62 * @param key - key or Session ID 64 * @return session object as per the key 66 getValue(int key) argument 104 removeValue(int key) argument 117 isCreated(int key) argument 167 isCreatedInternal(int key) argument 178 getValueInternal(int key) argument [all...] |
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
H A D | 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/drm/mediadrm/plugins/clearkey/tests/ |
H A D | AesCtrDecryptorUnittest.cpp | 33 status_t attemptDecrypt(const Key& key, const Iv& iv, const uint8_t* source, argument 37 keyVector.appendArray(key, kBlockSize); 45 void attemptDecryptExpectingSuccess(const Key& key, const Iv& iv, argument 52 ASSERT_EQ(android::OK, attemptDecrypt(key, iv, encrypted, outputBuffer, 65 Key key = { local 101 attemptDecryptExpectingSuccess<kTotalSize>(key, iv, encrypted, decrypted, 110 Key key = { local 147 attemptDecryptExpectingSuccess<kTotalSize>(key, iv, encrypted, decrypted, 156 Key key = { local 193 attemptDecryptExpectingSuccess<kTotalSize>(key, i 202 Key key = { local 251 Key key = { local 305 Key key = { local 360 Key key = { local [all...] |
/frameworks/av/include/drm/ |
H A D | DrmConstraints.h | 68 * Iterator for key 119 String8 key = keyIt.next(); local 120 const char* value = this->getAsByteArray(&key); 137 * Adds constraint information as <key, value> pair to this instance 139 * @param[in] key Key to add 143 status_t put(const String8* key, const char* value); 146 * Retrieves the value of given key 148 * @param key Key whose value to be retrieved 151 String8 get(const String8& key) const; 154 * Retrieves the value as byte array of given key [all...] |
/frameworks/av/media/libaudiohal/ |
H A D | 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, valu [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDrm.h | 97 uint8_t key[kBlockSize]; member in struct:android::NuPlayerDrm::CryptoInfo 106 uint8_t key[kBlockSize],
|
/frameworks/av/media/libstagefright/ |
H A D | StagefrightMediaScanner.cpp | 109 int key; member in struct:android::KeyMap 133 if ((value = mRetriever->extractMetadata(kKeyMap[i].key)) != NULL) {
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
H A D | Collection.h | 64 * It also set the key as the unique identifier of the policy element. 68 * @param[in] key to be used to index this new policy element. 72 status_t add(const std::string &name, Key key) argument 74 if ((*this).find(key) != (*this).end()) { 78 (*this)[key] = new T(name); 80 return (*this)[key]->setIdentifier(key); 84 * Get a policy element from the collection by its key. Policy elements are streams, strategies, 88 * @param[in] key of the policy element to find. 92 T *get(Key key) cons [all...] |