/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/support/volley/src/com/android/volley/ |
H A D | Cache.java | 25 * @param key Cache key 28 public Entry get(String key); argument 32 * @param key Cache key 35 public void put(String key, Entry entry); argument 45 * @param key Cache key 48 public void invalidate(String key, boolean fullExpire); argument 52 * @param key Cach 54 remove(String key) argument [all...] |
/frameworks/support/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/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);
|
H A D | MutableFrameFormat.java | 89 public void setMetaValue(String key, Object value) { argument 93 mMetaData.put(key, value);
|
/frameworks/base/media/mca/filterfw/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/filterfw/native/core/ |
H A D | native_program.cpp | 126 bool NativeProgram::CallSetValue(const std::string& key, const std::string& value) { argument 128 setvalue_function_(key.c_str(), value.c_str(), user_data_); 134 std::string NativeProgram::CallGetValue(const std::string& key) { argument 139 getvalue_function_(key.c_str(), result, buffer_size, user_data_);
|
/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/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 | IMediaMetadataRetriever.cpp | 188 String8 key = data.readString8(); local 190 headers.add(key, value);
|
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/av/media/libstagefright/wifi-display/ |
H A D | ParsedMessage.cpp | 47 AString key = name; local 48 key.tolower(); 50 ssize_t index = mDict.indexOfKey(key); 137 AString key(line, 0, colonPos); 138 key.trim(); 139 key.tolower(); 143 lastDictIndex = mDict.add(key, line); 214 const AString &key = mDict.keyAt(i); local 217 if (key == AString("_")) { 221 line.append(key); 234 GetAttribute( const char *s, const char *key, AString *value) argument 264 GetInt32Attribute( const char *s, const char *key, int32_t *value) argument [all...] |
/frameworks/base/cmds/service/ |
H A D | service.cpp | 166 char* key = strtok_r(argv[optind], "=", &context1); local 170 if (key == NULL) break; 172 if (strcmp(key, "action") == 0) 176 else if (strcmp(key, "data") == 0) 180 else if (strcmp(key, "type") == 0) 184 else if (strcmp(key, "launchFlags") == 0) 188 else if (strcmp(key, "component") == 0) 192 else if (strcmp(key, "categories") == 0)
|
/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(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(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...] |
H A D | SharedPreferences.java | 56 * @param key The key of the preference that was changed, added, or 59 void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key); argument 73 * @param key The name of the preference to modify. 79 Editor putString(String key, String value); argument 85 * @param key The name of the preference to modify. 90 Editor putStringSet(String key, Set<String> values); argument 96 * @param key The name of the preference to modify. 102 Editor putInt(String key, int value); argument 108 * @param key Th 114 putLong(String key, long value) argument 126 putFloat(String key, float value) argument 138 putBoolean(String key, boolean value) argument 154 remove(String key) argument 253 getString(String key, String defValue) argument 271 getStringSet(String key, Set<String> defValues) argument 285 getInt(String key, int defValue) argument 299 getLong(String key, long defValue) argument 313 getFloat(String key, float defValue) argument 327 getBoolean(String key, boolean defValue) argument 336 contains(String key) argument [all...] |