Searched refs:key (Results 76 - 100 of 403) sorted by relevance

1234567891011>>

/frameworks/support/volley/src/com/android/volley/toolbox/
H A DHttpClientStack.java50 for (String key : headers.keySet()) {
51 httpRequest.setHeader(key, headers.get(key));
58 for (String key : postParams.keySet()) {
59 result.add(new BasicNameValuePair(key, postParams.get(key)));
/frameworks/base/media/jni/
H A Dandroid_media_Utils.cpp54 jstring key = (jstring) env->GetObjectArrayElement(keys, i); local
57 const char* keyStr = env->GetStringUTFChars(key, NULL);
64 env->ReleaseStringUTFChars(key, keyStr);
70 env->ReleaseStringUTFChars(key, keyStr);
72 env->DeleteLocalRef(key);
130 const char *key, int32_t value) {
131 jstring keyObj = env->NewStringUTF(key);
170 const char *key = msg->getEntryNameAt(i, &valueType); local
178 CHECK(msg->findInt32(key, &val));
187 CHECK(msg->findInt64(key,
128 SetMapInt32( JNIEnv *env, jobject hashMapObj, jmethodID hashMapPutID, const char *key, int32_t value) argument
322 AString key = tmp; local
[all...]
/frameworks/base/core/java/android/net/nsd/
H A DDnsSdTxtRecord.java65 * Set a key/value pair. Setting an existing key will replace its value.
66 * @param key Must be ascii with no '='
67 * @param value matching value to key
69 public void set(String key, String value) { argument
83 keyBytes = key.getBytes("US-ASCII");
86 throw new IllegalArgumentException("key should be US-ASCII");
91 throw new IllegalArgumentException("= is not a valid character in key");
99 int currentLoc = remove(key);
107 * Get a value for a key
112 get(String key) argument
118 remove(String key) argument
150 contains(String key) argument
[all...]
H A DNsdManager.java139 * The lookup key for an int that indicates whether network service discovery is enabled
382 int key;
385 key = mListenerKey++;
386 } while (key == INVALID_LISTENER_KEY);
387 mListenerMap.put(key, listener);
388 mServiceMap.put(key, s);
390 return key;
393 private Object getListener(int key) { argument
394 if (key == INVALID_LISTENER_KEY) return null;
396 return mListenerMap.get(key);
400 getNsdService(int key) argument
406 removeListener(int key) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DTweener.java69 String key = (String) vars[i];
71 if ("simultaneousTween".equals(key)) {
73 } else if ("ease".equals(key)) {
75 } else if ("onUpdate".equals(key) || "onUpdateListener".equals(key)) {
77 } else if ("onComplete".equals(key) || "onCompleteListener".equals(key)) {
79 } else if ("delay".equals(key)) {
81 } else if ("syncWith".equals(key)) {
84 props.add(PropertyValuesHolder.ofFloat(key,
[all...]
/frameworks/av/media/libstagefright/wifi-display/
H A DParsedMessage.h25 // key/value pairs making up the headers and an optional body/content.
40 static bool GetAttribute(const char *s, const char *key, AString *value);
43 const char *s, const char *key, int32_t *value);
H A DParameters.cpp75 AString key = name; local
76 key.tolower();
78 ssize_t index = mDict.indexOfKey(key);
/frameworks/base/core/java/android/app/backup/
H A DBackupDataInputStream.java29 * {@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;
H A DBackupDataOutput.java29 * as a set of "entities," key/value pairs in which each binary data record "value" is
30 * named with a string "key."
34 * onBackup()} method first writes an "entity header" that supplies the key string for the record
40 * Entity key strings are considered to be unique within a given application's backup
41 * data set. If a backup agent writes a new entity under an existing key string, its value will
44 * existing record's key, but supplying a negative <code>dataSize</code> parameter.
79 * @param key A string key that uniquely identifies the data record within the application
81 * of -1 indicates that the record under this key should be deleted.
85 public int writeEntityHeader(String key, in argument
127 writeEntityHeader_native(int mBackupWriter, String key, int dataSize) argument
[all...]
H A DFileBackupHelper.java96 String key = data.getKey();
97 if (isKeyInList(key, mFiles)) {
98 File f = new File(mFilesDir, key);
/frameworks/base/core/java/android/net/
H A DLinkCapabilities.java46 * can request for a certain requirement corresponding to that key.
48 * can read the value of that key from the socket but cannot request
52 * define the syntax for each value string associated with a key.
90 * This key is set via the needs map.
225 * Given the key return the capability string
227 * @param key
230 public String get(int key) { argument
231 return mCapabilities.get(key);
235 * Store the key/value capability pair
237 * @param key
240 put(int key, String value) argument
251 containsKey(int key) argument
[all...]
/frameworks/base/drm/java/android/drm/
H A DDrmEvent.java39 * The key that is used in the <code>attributes</code> HashMap to pass the return status.
43 * The key that is used in the <code>attributes</code> HashMap to pass the
120 * Retrieves the attribute associated with the specified key.
123 * the key is found.
125 public Object getAttribute(String key) { argument
126 return mAttributes.get(key);
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DILearning_StochasticLinearRanker.aidl33 boolean SetModelParameter(in String key, in String value);
/frameworks/native/opengl/libs/EGL/
H A Degl_cache.h52 // setBlob attempts to insert a new key/value blob pair into the cache.
55 void setBlob(const void* key, EGLsizeiANDROID keySize, const void* value,
58 // getBlob attempts to retrieve the value blob associated with a given key
61 EGLsizeiANDROID getBlob(const void* key, EGLsizeiANDROID keySize,
78 // key/value blob pairs. If the BlobCache object has not yet been created,
99 // mBlobCache is the cache in which the key/value blob pairs are stored. It
112 // pending. Each time a key/value pair is inserted into the cache via
/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_env.h176 void AttachShader(int key, ShaderProgram* shader);
180 void AttachVertexFrame(int key, VertexFrame* frame);
182 // Return the shader with the specified key, or NULL if there is no such
184 ShaderProgram* ShaderWithKey(int key);
186 // Return the vertex frame with the specified key, or NULL if there is no
188 VertexFrame* VertexFrameWithKey(int key);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/
H A DTvStatusBar.java48 public void addNotification(IBinder key, StatusBarNotification notification) { argument
52 public void updateNotification(IBinder key, StatusBarNotification notification) { argument
56 public void removeNotification(IBinder key) { argument
124 protected void tick(IBinder key, StatusBarNotification n, boolean firstTime) { argument
/frameworks/av/include/drm/
H A DDrmInfo.h52 * Iterator for key
129 * Adds optional information as <key, value> pair to this instance
131 * @param[in] key Key to add
135 status_t put(const String8& key, const String8& value);
138 * Retrieves the value of given key
140 * @param key Key whose value to be retrieved
143 String8 get(const String8& key) const;
160 * Returns index of the given key
164 int indexOfKey(const String8& key) const;
/frameworks/av/include/media/
H A DMetadata.h111 // @param key Is the metadata Id.
115 bool appendBool(Type key, bool val);
116 bool appendInt32(Type key, int32_t val);
123 // Checks the key is valid and not already present.
124 bool checkKey(Type key);
/frameworks/base/cmds/backup/
H A Dbackup.cpp77 String8 key; local
79 err = reader.ReadEntityHeader(&key, &dataSize);
81 printf(" entity: %s (%d bytes)\n", key.string(), dataSize);
/frameworks/base/core/java/com/android/internal/net/
H A DLegacyVpnInfo.java41 public String key; field in class:LegacyVpnInfo
52 out.writeString(key);
62 info.key = in.readString();
/frameworks/base/media/mca/filterpacks/native/imageproc/
H A Dbrightness.c41 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 Dcontrast.c36 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/core/tests/coretests/src/android/util/
H A DLruCacheTest.java183 * Replacing the value for a key doesn't cause an eviction but it does bring
200 @Override protected int sizeOf(String key, String value) {
201 return key.length() + value.length();
216 @Override protected int sizeOf(String key, String value) {
245 @Override protected int sizeOf(String key, int[] value) {
267 @Override protected int sizeOf(String key, String value) {
286 @Override protected int sizeOf(String key, String value) {
314 @Override protected int sizeOf(String key, String value) {
327 @Override protected int sizeOf(String key, String value) {
373 boolean evicted, String key, Strin
467 assertHit(LruCache<String, String> cache, String key, String value) argument
473 assertMiss(LruCache<String, String> cache, String key) argument
479 assertCreated(LruCache<String, String> cache, String key, String value) argument
[all...]
/frameworks/base/services/java/com/android/server/usb/
H A DUsbDebuggingManager.java92 String key = new String(Arrays.copyOfRange(buffer, 2, count));
93 Slog.d(TAG, "Received public key: " + key);
95 msg.obj = key;
190 String key = (String)msg.obj;
191 String fingerprints = getFingerprints(key);
200 writeKey(key);
212 String key = (String)msg.obj;
213 mFingerprints = getFingerprints(key);
214 showConfirmationDialog(key, mFingerprint
221 getFingerprints(String key) argument
245 showConfirmationDialog(String key, String fingerprints) argument
260 writeKey(String key) argument
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboardView.java58 * detecting key presses and touch movements.
77 * Called when the user presses a key. This is sent before the {@link #onKey} is called.
79 * @param primaryCode the unicode of the key being pressed. If the touch is not on a valid
80 * key, the value will be zero.
85 * Called when the user releases a key. This is sent after the {@link #onKey} is called.
87 * @param primaryCode the code of the key that was released
92 * Send a key press to the listener.
93 * @param primaryCode this is the key that was pressed
95 * with the primary code being the first. If the primary key code is
97 * will include other characters that may be on the same key o
835 getPreviewText(Key key) argument
[all...]

Completed in 337 milliseconds

1234567891011>>