/frameworks/base/media/mca/filterpacks/native/base/ |
H A D | utilities.h | 58 // Given an STL container consisting of (key, value) pairs, STLDeleteValues 71 // If the key is present a const pointer to the associated value is returned, 76 const typename Collection::value_type::first_type& key) { 77 typename Collection::const_iterator it = collection.find(key); 123 // If the key is present a const pointer to the associated value is returned, 125 // This function does not distinguish between a missing key and a key mapped 130 const typename Collection::value_type::first_type& key) { 131 typename Collection::const_iterator it = collection.find(key); 138 // Test to see if a set, map, hash_set or hash_map contains a particular key 75 FindOrNull(const Collection& collection, const typename Collection::value_type::first_type& key) argument 129 FindPtrOrNull(const Collection& collection, const typename Collection::value_type::first_type& key) argument 141 ContainsKey(const Collection& collection, const Key& key) argument 150 InsertIfNotPresent(Collection * const collection, const Key& key, const Value& value) argument [all...] |
/frameworks/base/media/mca/filterpacks/native/imageproc/ |
H A D | brightness.c | 41 void brightness_setvalue(const char* key, const char* value, void* user_data) { argument 42 if (strcmp(key, "brightness") == 0) 45 LOGE("Unknown parameter: %s!", key);
|
H A D | contrast.c | 36 void contrast_setvalue(const char* key, const char* value, void* user_data) { argument 37 if (strcmp(key, "contrast") == 0) 40 LOGE("Unknown parameter: %s!", key);
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
H A D | BugreportReceiver.java | 173 private static File getFileExtra(Intent intent, String key) { argument 174 final String path = intent.getStringExtra(key);
|
/frameworks/base/services/java/com/android/server/ |
H A D | CertBlacklister.java | 57 public BlacklistObserver(String key, String name, String path, ContentResolver cr) { argument 59 mKey = key; 128 // set up the public key blacklist observer
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | CertBlacklisterTest.java | 45 private void overrideSettings(String key, String value) throws Exception { argument 46 Settings.Secure.putString(mContext.getContentResolver(), key, value);
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
H A D | LruCache.java | 45 * protected int sizeOf(String key, Bitmap value) { 53 * if (cache.get(key) == null) { 54 * cache.put(key, value); 58 * <p>This class does not allow null to be used as a key or value. A return 60 * unambiguous: the key was not in the cache. 110 * Returns the value for {@code key} if it exists in the cache or can be 115 public final V get(K key) { argument 116 if (key == null) { 117 throw new NullPointerException("key == null"); 122 mapValue = map.get(key); 169 put(K key, V value) argument 240 remove(K key) argument 275 entryRemoved(boolean evicted, K key, V oldValue, V newValue) argument 292 create(K key) argument 296 safeSizeOf(K key, V value) argument 311 sizeOf(K key, V value) argument [all...] |
/frameworks/compile/libbcc/lib/Renderscript/ |
H A D | RSInfoReader.cpp | 73 const char *key = pInfo.getStringFromPool(pItem.key); local 76 if (key == NULL) { 77 ALOGE("Invalid string index %d for key in RS pragma list.", pItem.key); 86 pResult.push(std::make_pair(key, value));
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | DiagnosticInfos.cpp | 79 DiagStaticInfo key = { static_cast<uint16_t>(pID), DiagnosticEngine::None, 0, 0 }; local 80 const DiagStaticInfo *result = std::lower_bound(static_info, static_info + info_size, key);
|
/frameworks/compile/mclinker/unittests/ |
H A D | HashTableTest.cpp | 111 int key = 100; local 112 HashTableTy::entry_type* val = hashTable->insert(key, exist); 117 HashTableTy::iterator entry = hashTable->find(key); 129 for (int key=0; key<100; ++key) { 130 entry = hashTable->insert(key, exist); 134 EXPECT_TRUE(key == entry->key()); 135 entry->setValue(key 318 unsigned int key = 0; local [all...] |
/frameworks/ex/common/java/com/android/common/content/ |
H A D | ProjectionMap.java | 84 public String put(String key, String value) { argument
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | BordeauxRanker.java | 33 * Data is represented as sparse key, value pair. And key is a String, value 49 v.key = x.getKey(); 129 public boolean setParameter(String key, String value) { argument 133 return mRanker.SetModelParameter(key, value);
|
H A D | Learning_StochasticLinearRanker.java | 56 keys_1[i] = temp_1.get(i).key; 63 keys_2[i] = temp_2.get(i).key; 80 keys[i] = temp.get(i).key; 92 weights.put(temp.get(i).key, temp.get(i).value); 98 public boolean SetModelParameter(String key, String value) { argument 101 return mLearningSlRanker.setModelParameter(key,value);
|
/frameworks/volley/src/com/android/volley/ |
H A D | Cache.java | 28 * @param key Cache key 31 public Entry get(String key); argument 35 * @param key Cache key 38 public void put(String key, Entry entry); argument 48 * @param key Cache key 51 public void invalidate(String key, boolean fullExpire); argument 55 * @param key Cach 57 remove(String key) argument [all...] |
/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 | AudioParameter.cpp | 46 String8 key = String8(pair, eqIdx); local 53 if (mParameters.indexOfKey(key) < 0) { 54 mParameters.add(key, value); 56 mParameters.replaceValueFor(key, value); 59 ALOGV("AudioParameter() cstor empty key value pair"); 86 status_t AudioParameter::add(const String8& key, const String8& value) argument 88 if (mParameters.indexOfKey(key) < 0) { 89 mParameters.add(key, value); 92 mParameters.replaceValueFor(key, value); 97 status_t AudioParameter::addInt(const String8& key, cons argument 108 addFloat(const String8& key, const float value) argument 119 remove(const String8& key) argument 129 get(const String8& key, String8& value) argument 139 getInt(const String8& key, int& value) argument 155 getFloat(const String8& key, float& value) argument 171 getAt(size_t index, String8& key, String8& value) argument [all...] |
H A D | ICrypto.cpp | 96 const uint8_t key[16], 110 if (key == NULL) { 111 key = kDummy; 118 data.write(key, 16); 231 uint8_t key[16]; local 232 data.read(key, sizeof(key)); 260 key, 94 decrypt( bool secure, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const void *srcPtr, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString *errorDetailMsg) argument
|
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/av/media/libmediaplayerservice/ |
H A D | MidiFile.h | 57 virtual status_t setParameter(int key, const Parcel &request) { argument 60 virtual status_t getParameter(int key, Parcel *reply) { argument
|
H A D | TestPlayerStub.h | 99 virtual status_t setParameter(int key, const Parcel &request) { argument 100 return mPlayer->setParameter(key, request); 102 virtual status_t getParameter(int key, Parcel *reply) { argument 103 return mPlayer->getParameter(key, reply);
|
/frameworks/av/media/libstagefright/ |
H A D | StagefrightMediaScanner.cpp | 171 int key; member in struct:android::KeyMap 194 if ((value = mRetriever->extractMetadata(kKeyMap[i].key)) != NULL) {
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | AAMRAssembler.cpp | 33 static bool GetAttribute(const char *s, const char *key, AString *value) { argument 36 size_t keyLen = strlen(key); 44 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) { 48 if (len == keyLen && !strncmp(s, key, keyLen)) {
|
/frameworks/base/cmds/settings/src/com/android/commands/settings/ |
H A D | SettingsCmd.java | 169 final String table, final String key) { 183 Bundle b = provider.call(null, callGetCommand, key, arg); 188 System.err.println("Can't read key " + key + " in " + table + " for user " + userHandle); 194 final String table, final String key, final String value) { 208 provider.call(null, callPutCommand, key, arg); 210 System.err.println("Can't set key " + key + " in " + table + " for user " + userHandle); 215 System.err.println("usage: settings [--user NUM] get namespace key"); 216 System.err.println(" settings [--user NUM] put namespace key valu 168 getForUser(IContentProvider provider, int userHandle, final String table, final String key) argument 193 putForUser(IContentProvider provider, int userHandle, final String table, final String key, final String value) argument [all...] |
/frameworks/base/core/java/android/app/backup/ |
H A D | FileBackupHelperBase.java | 109 boolean isKeyInList(String key, String[] list) { argument 111 if (s.equals(key)) {
|
/frameworks/base/core/java/android/content/ |
H A D | ContentValues.java | 92 * @param key the name of the value to put 95 public void put(String key, String value) { argument 96 mValues.put(key, value); 111 * @param key the name of the value to put 114 public void put(String key, Byte value) { argument 115 mValues.put(key, value); 121 * @param key the name of the value to put 124 public void put(String key, Short value) { argument 125 mValues.put(key, value); 131 * @param key th 134 put(String key, Integer value) argument 144 put(String key, Long value) argument 154 put(String key, Float value) argument 164 put(String key, Double value) argument 174 put(String key, Boolean value) argument 184 put(String key, byte[] value) argument 193 putNull(String key) argument 211 remove(String key) argument 228 containsKey(String key) argument 239 get(String key) argument 249 getAsString(String key) argument 260 getAsLong(String key) argument 285 getAsInteger(String key) argument 310 getAsShort(String key) argument 335 getAsByte(String key) argument 360 getAsDouble(String key) argument 385 getAsFloat(String key) argument 410 getAsBoolean(String key) argument 433 getAsByteArray(String key) argument 488 putStringArrayList(String key, ArrayList<String> value) argument 498 getStringArrayList(String key) argument [all...] |