Searched refs:key (Results 151 - 175 of 438) sorted by relevance

1234567891011>>

/frameworks/base/media/java/android/media/
H A DIRemoteControlClient.aidl61 void updateMetadata(int clientGeneration, int key, in Rating value);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DMutableFrameFormat.java89 public void setMetaValue(String key, Object value) { argument
93 mMetaData.put(key, value);
H A DFrameFormat.java109 public boolean hasMetaKey(String key) { argument
110 return mMetaData != null ? mMetaData.containsKey(key) : false;
113 public boolean hasMetaKey(String key, Class expectedClass) { argument
114 if (mMetaData != null && mMetaData.containsKey(key)) {
115 if (!expectedClass.isAssignableFrom(mMetaData.get(key).getClass())) {
117 "FrameFormat meta-key '" + key + "' is of type " +
118 mMetaData.get(key).getClass() + " but expected to be of type " +
126 public Object getMetaValue(String key) { argument
127 return mMetaData != null ? mMetaData.get(key)
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dnative_program.h54 bool CallSetValue(const std::string& key, const std::string& value);
55 std::string CallGetValue(const std::string& key);
H A Dgl_env.cpp387 void GLEnv::AttachShader(int key, ShaderProgram* shader) { argument
388 ShaderProgram* existingShader = ShaderWithKey(key);
391 attached_shaders_[key] = shader;
394 void GLEnv::AttachVertexFrame(int key, VertexFrame* frame) { argument
395 VertexFrame* existingFrame = VertexFrameWithKey(key);
398 attached_vframes_[key] = frame;
401 ShaderProgram* GLEnv::ShaderWithKey(int key) { argument
402 return FindPtrOrNull(attached_shaders_, key);
405 VertexFrame* GLEnv::VertexFrameWithKey(int key) { argument
406 return FindPtrOrNull(attached_vframes_, key);
[all...]
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
H A DAsmAnalyzerTest.java158 for (String key : found.keySet()) {
159 ClassReader value = found.get(key);
160 assertNotNull("No value for " + key, value);
161 assertEquals(key, AsmAnalyzer.classReaderToClassName(value));
180 for (String key : found.keySet()) {
181 ClassReader value = found.get(key);
182 assertNotNull("No value for " + key, value);
183 assertEquals(key, AsmAnalyzer.classReaderToClassName(value));
/frameworks/compile/mclinker/include/mcld/ADT/
H A DHashEntry.h52 KeyType& key() function in class:mcld::HashEntry
55 const KeyType& key() const function in class:mcld::HashEntry
/frameworks/ex/common/java/com/android/common/
H A DOperationScheduler.java223 * @param name of SharedPreferences key
225 * @return current value attached to key (default 0), limited by max
358 for (String key : new TreeSet<String>(mStorage.getAll().keySet())) { // Sort keys
359 if (key.startsWith(PREFIX)) {
360 if (key.endsWith("TimeMillis")) {
362 time.set(mStorage.getLong(key, 0));
363 out.append(" ").append(key.substring(PREFIX.length(), key.length() - 10));
366 out.append(" ").append(key.substring(PREFIX.length()));
367 out.append("=").append(mStorage.getAll().get(key)
[all...]
/frameworks/native/cmds/service/
H A Dservice.cpp177 char* key = strtok_r(argv[optind], "=", &context1); local
181 if (key == NULL) break;
183 if (strcmp(key, "action") == 0)
187 else if (strcmp(key, "data") == 0)
191 else if (strcmp(key, "type") == 0)
195 else if (strcmp(key, "launchFlags") == 0)
199 else if (strcmp(key, "component") == 0)
203 else if (strcmp(key, "categories") == 0)
/frameworks/base/core/java/android/util/
H A DArraySet.java77 private int indexOf(Object key, int hash) { argument
87 // If the hash code wasn't found, then we have no entry for this key.
92 // If the key at the returned index matches, that's what we want.
93 if (key.equals(mArray[index])) {
97 // Search for a matching key after the index.
100 if (key.equals(mArray[end])) return end;
103 // Search for a matching key before the index.
105 if (key.equals(mArray[i])) return i;
109 // new entry for this key should go. We use the end of the
125 // If the hash code wasn't found, then we have no entry for this key
291 contains(Object key) argument
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightPlayer.cpp179 status_t StagefrightPlayer::setParameter(int key, const Parcel &request) { argument
180 ALOGV("setParameter(key=%d)", key);
181 return mPlayer->setParameter(key, request);
184 status_t StagefrightPlayer::getParameter(int key, Parcel *reply) { argument
186 return mPlayer->getParameter(key, reply);
/frameworks/base/core/java/android/hardware/camera2/
H A DCameraMetadata.java31 * This class defines the basic key/value map used for querying for camera
38 * never changes, nor do the values returned by any key with {@link #get} throughout
53 * @param key The metadata field to write.
55 * type to the key.
69 * <p>Querying the value for the same key more than once will return a value
72 * @throws IllegalArgumentException if the key was not valid
74 * @param key The metadata field to read.
75 * @return The value of that key, or {@code null} if the field is not set.
77 public abstract <T> T get(Key<T> key); argument
85 * <p>All values retrieved by a key fro
[all...]
/frameworks/base/core/java/android/app/
H A DResourcesManager.java153 ResourcesKey key = new ResourcesKey(resDir, displayId, overrideConfiguration, scale,
161 WeakReference<Resources> wr = mActiveResources.get(key);
183 //Slog.i(TAG, "Resource: key=" + key + ", display metrics=" + metrics);
187 final boolean hasOverrideConfig = key.hasOverrideConfiguration();
194 config.updateFrom(key.mOverrideConfiguration);
207 WeakReference<Resources> wr = mActiveResources.get(key);
217 mActiveResources.put(key, new WeakReference<Resources>(r));
257 ResourcesKey key = mActiveResources.keyAt(i);
262 int displayId = key
[all...]
/frameworks/base/libs/hwui/
H A DSkiaShader.h59 ANDROID_API SkiaShader(Type type, SkShader* key, SkShader::TileMode tileX,
139 ANDROID_API SkiaBitmapShader(SkBitmap* bitmap, SkShader* key, SkShader::TileMode tileX,
162 int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend);
186 int count, SkShader* key, SkMatrix* matrix, bool blend);
196 int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend);
211 float* positions, int count, SkShader* key,SkShader::TileMode tileMode,
227 SkShader* key);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRecentsProvider.java59 public static final String KEY = "key";
185 final ContentValues key = new ContentValues();
198 key.put(StateColumns.AUTHORITY, authority);
199 key.put(StateColumns.ROOT_ID, rootId);
200 key.put(StateColumns.DOCUMENT_ID, documentId);
203 db.insertWithOnConflict(TABLE_STATE, null, key, SQLiteDatabase.CONFLICT_IGNORE);
213 key.put(ResumeColumns.PACKAGE_NAME, packageName);
216 db.insertWithOnConflict(TABLE_RESUME, null, key, SQLiteDatabase.CONFLICT_IGNORE);
/frameworks/support/v13/java/android/support/v13/app/
H A DFragmentStatePagerAdapter.java191 String key = "f" + i;
192 mFragmentManager.putFragment(state, key, f);
212 for (String key: keys) {
213 if (key.startsWith("f")) {
214 int index = Integer.parseInt(key.substring(1));
215 Fragment f = mFragmentManager.getFragment(bundle, key);
223 Log.w(TAG, "Bad fragment at key " + key);
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentStatePagerAdapter.java187 String key = "f" + i;
188 mFragmentManager.putFragment(state, key, f);
208 for (String key: keys) {
209 if (key.startsWith("f")) {
210 int index = Integer.parseInt(key.substring(1));
211 Fragment f = mFragmentManager.getFragment(bundle, key);
219 Log.w(TAG, "Bad fragment at key " + key);
/frameworks/base/services/java/com/android/server/
H A DPackageManagerBackupAgent.java57 // key under which we store global metadata (individual app metadata
58 // is stored using the package name as a key)
150 if (DEBUG) Slog.v(TAG, "Storing global metadata key");
155 if (DEBUG) Slog.v(TAG, "Global metadata key already stored");
165 // We've already handled the metadata key; skip it here
244 private static void writeEntity(BackupDataOutput data, String key, byte[] bytes) argument
246 data.writeEntityHeader(key, bytes.length);
261 String key = data.getKey();
264 if (DEBUG) Slog.v(TAG, " got key=" + key
[all...]
/frameworks/rs/cpp/util/
H A DTypeHelpers.h223 * a key/value pair
231 KEY key; member in struct:android::RSC::key_value_pair_t
234 key_value_pair_t(const key_value_pair_t& o) : key(o.key), value(o.value) { }
235 key_value_pair_t(const KEY& k, const VALUE& v) : key(k), value(v) { }
236 key_value_pair_t(const KEY& k) : key(k) { }
238 return strictly_order_type(key, o.key);
241 return key;
269 hash_t hash_type(const TKey& key);
[all...]
/frameworks/rs/server/
H A DTypeHelpers.h223 * a key/value pair
231 KEY key; member in struct:android::key_value_pair_t
234 key_value_pair_t(const key_value_pair_t& o) : key(o.key), value(o.value) { }
235 key_value_pair_t(const KEY& k, const VALUE& v) : key(k), value(v) { }
236 key_value_pair_t(const KEY& k) : key(k) { }
238 return strictly_order_type(key, o.key);
241 return key;
269 hash_t hash_type(const TKey& key);
[all...]
/frameworks/av/media/libstagefright/httplive/
H A DM3UParser.h81 const AString &line, sp<AMessage> *meta, const char *key);
84 const AString &line, sp<AMessage> *meta, const char *key);
98 bool getTypeURI(size_t index, const char *key, AString *uri) const;
/frameworks/base/core/jni/
H A Dandroid_backup_BackupDataInput.cpp70 String8 key; local
72 err = reader->ReadEntityHeader(&key, &dataSize);
77 jstring keyStr = env->NewStringUTF(key.string());
140 s_keyField = env->GetFieldID(clazz, "key", "Ljava/lang/String;");
142 "Unable to find key field in android.app.backup.BackupDataInput.EntityHeader");
/frameworks/base/include/storage/
H A DIMountService.h49 const int32_t sizeMb, const String16& fstype, const String16& key,
54 const String16& key, const int32_t ownerUid) = 0;
66 const String16& key, const sp<IObbActionListener>& token,
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DBordeauxPredictor.java98 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);
H A DBordeauxRanker.java33 * 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);

Completed in 1829 milliseconds

1234567891011>>