Searched refs:key (Results 126 - 150 of 440) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/printservice/
H A DPrintJob.java285 * may set as a tag the key of the print job returned by a remote
319 * @param key The option key.
322 public String getAdvancedStringOption(String key) { argument
324 return getInfo().getAdvancedStringOption(key);
331 * @param key The option key.
334 public boolean hasAdvancedOption(String key) { argument
336 return getInfo().hasAdvancedOption(key);
342 * @param key Th
345 getAdvancedIntOption(String key) argument
[all...]
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DLearning_StochasticLinearRanker.java56 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);
H A DPredictor.java134 public boolean setPredictorParameter(String key, String value) { argument
135 Log.i(TAG, "setParameter : " + key + ", " + value);
137 if (key.equals(SET_FEATURE)) {
142 } else if (key.equals(SET_PAIRED_FEATURES)) {
148 } else if (key.equals(USE_HISTORY)) {
152 Log.e(TAG,"Setting parameter " + key + " with " + value + " is not valid");
/frameworks/volley/src/com/android/volley/toolbox/
H A DHttpClientStack.java56 for (String key : headers.keySet()) {
57 httpRequest.setHeader(key, headers.get(key));
64 for (String key : postParams.keySet()) {
65 result.add(new BasicNameValuePair(key, postParams.get(key)));
/frameworks/base/core/jni/
H A Dandroid_backup_BackupDataOutput.cpp46 writeEntityHeader_native(JNIEnv* env, jobject clazz, int w, jstring key, int dataSize) argument
51 const char* keyUTF = env->GetStringUTFChars(key, NULL);
57 env->ReleaseStringUTFChars(key, keyUTF);
/frameworks/wilhelm/src/autogen/
H A DIID_to_MPH.c248 unsigned key = asso_values[((unsigned char *)iid)[8]] + local
250 if (key <= MAX_HASH_VALUE) {
251 int MPH = hash_to_MPH[key];
/frameworks/av/camera/
H A DCameraParameters.cpp212 // Find the bounds of the key name.
217 // Create the key string.
237 void CameraParameters::set(const char *key, const char *value) argument
240 if (strchr(key, '=') || strchr(key, ';')) {
241 //XXX ALOGE("Key \"%s\"contains invalid character (= or ;)", key);
250 mMap.replaceValueFor(String8(key), String8(value));
253 void CameraParameters::set(const char *key, int value) argument
257 set(key, str);
260 void CameraParameters::setFloat(const char *key, floa argument
290 remove(const char *key) argument
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DTestPlayerStub.h99 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/base/core/java/android/app/backup/
H A DWallpaperBackupHelper.java118 final String key = data.getKey();
119 if (isKeyInList(key, mKeys)) {
120 if (key.equals(WALLPAPER_IMAGE_KEY)) {
155 } else if (key.equals(WALLPAPER_INFO_KEY)) {
H A DBackupDataInput.java43 * String key = data.getKey();
46 * if (key.equals(MY_BACKUP_KEY_ONE)) {
54 * } else if (key.equals(MY_BACKUP_KEY_TO_IGNORE) {
55 * // a key we recognize but wish to discard
68 String key; field in class:BackupDataInput.EntityHeader
117 * Report the key associated with the current entity in the restore stream
118 * @return the current entity's key string
123 return mHeader.key;
/frameworks/base/core/java/android/content/
H A DPeriodicSync.java146 for (String key : b1.keySet()) {
147 if (!b2.containsKey(key)) {
150 if (!b1.get(key).equals(b2.get(key))) {
/frameworks/base/core/java/android/os/
H A DPerformanceCollector.java81 * @param results memory and runtime metrics stored as key/value pairs,
143 * In a results Bundle, this key references a List of iteration Bundles.
147 * In an iteration Bundle, this key describes the iteration.
151 * In a results Bundle, this key reports the cpu time of the code block
156 * In a results Bundle, this key reports the execution time of the code
161 * In a snapshot Bundle, this key reports the number of received
166 * In a snapshot Bundle, this key reports the number of transactions sent by
171 * In a snapshot Bundle, this key reports the number of received
176 * In a snapshot Bundle, this key reports the number of transactions sent by
181 * In a snapshot Bundle, this key report
[all...]
/frameworks/base/core/java/android/speech/srec/
H A DRecognizer.java113 * Result key corresponding to confidence score.
118 * Result key corresponding to literal text.
123 * Result key corresponding to semantic meaning text.
351 * @param key key of the result. This is typically one of
358 public String getResult(int index, String key) { argument
359 return SR_RecognizerResultGetValue(mRecognizer, index, key);
613 private static native String SR_RecognizerGetParameter(int recognizer, String key); argument
614 private static native int SR_RecognizerGetSize_tParameter(int recognizer, String key); argument
615 private static native boolean SR_RecognizerGetBoolParameter(int recognizer, String key); argument
616 SR_RecognizerSetParameter(int recognizer, String key, String value) argument
617 SR_RecognizerSetSize_tParameter(int recognizer, String key, int value) argument
619 SR_RecognizerSetBoolParameter(int recognizer, String key, boolean value) argument
715 SR_RecognizerResultGetValue(int recognizer, int nbest, String key) argument
[all...]
/frameworks/base/core/java/android/test/
H A DInstrumentationTestCase.java239 * Sends a series of key events through instrumentation and waits for idle. The sequence
240 * of keys is a string containing the key names as specified in KeyEvent, without the
241 * KEYCODE_ prefix. For instance: sendKeys("DPAD_LEFT A B C DPAD_CENTER"). Each key can
254 String key = keys[i];
255 int repeater = key.indexOf('*');
259 keyCount = repeater == -1 ? 1 : Integer.parseInt(key.substring(0, repeater));
261 Log.w("ActivityTestCase", "Invalid repeat count: " + key);
266 key = key.substring(repeater + 1);
271 final Field keyCodeField = KeyEvent.class.getField("KEYCODE_" + key);
[all...]
/frameworks/base/core/java/com/android/internal/net/
H A DVpnProfile.java49 public final String key; // -1 field in class:VpnProfile
69 public VpnProfile(String key) { argument
70 this.key = key;
74 key = in.readString();
95 out.writeString(key);
114 public static VpnProfile decode(String key, byte[] value) { argument
116 if (key == null) {
126 VpnProfile profile = new VpnProfile(key);
/frameworks/base/core/java/com/android/internal/widget/
H A DPasswordEntryKeyboard.java32 * an additional keyboard with symbols. In numeric mode, it shows a 12-key DTMF dialer-like
90 LatinKey key = new LatinKey(res, parent, x, y, parser);
91 final int code = key.codes[0];
93 // Log.w(TAG, "Key code for " + key.label + " is not latin-1");
94 key.label = " ";
95 key.setEnabled(false);
97 switch (key.codes[0]) {
99 mEnterKey = key;
102 mF1Key = key;
105 mSpaceKey = key;
[all...]
/frameworks/base/media/java/android/media/
H A DMediaCodec.java309 * This indicates that no key has been set to perform the requested
315 * This indicates that the key used for decryption is no longer
396 key = newKey;
414 * A 16-byte opaque key
416 public byte[] key; field in class:MediaCodec.CryptoInfo
430 builder.append(numSubSamples + " subsamples, key [");
432 for (int i = 0; i < key.length; i++) {
433 builder.append(hexdigits.charAt((key[i] & 0xf0) >> 4));
434 builder.append(hexdigits.charAt(key[i] & 0x0f));
437 for (int i = 0; i < key
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_env.h179 void AttachShader(int key, ShaderProgram* shader);
183 void AttachVertexFrame(int key, VertexFrame* frame);
185 // Return the shader with the specified key, or NULL if there is no such
187 ShaderProgram* ShaderWithKey(int key);
189 // Return the vertex frame with the specified key, or NULL if there is no
191 VertexFrame* VertexFrameWithKey(int key);
H A Dnative_program.cpp126 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/samples/training/network-usage/src/com/example/android/networkusage/
H A DSettingsActivity.java61 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { argument
/frameworks/native/include/android/
H A Dstorage_manager.h103 void AStorageManager_mountObb(AStorageManager* mgr, const char* filename, const char* key,
/frameworks/native/libs/input/
H A DKeyCharacterMap.cpp103 Key* key = mKeys.editValueAt(i); local
104 delete key;
115 ALOGE("Error %d opening key character map file %s.", status, filename.string());
130 ALOGE("Error %d opening key character map.", status);
143 ALOGE("Error allocating key character map.");
153 ALOGD("Parsed key character map file '%s' %d lines in %0.3fms.",
176 Key* key = overlay->mKeys.valueAt(i); local
180 map->mKeys.editValueAt(oldIndex) = new Key(*key);
182 map->mKeys.add(keyCode, new Key(*key));
208 const Key* key; local
220 const Key* key; local
232 const Key* key; local
249 const Key* key; local
270 const Key* key; local
372 const Key* key; local
424 const Key* key = mKeys.valueAt(i); local
576 Key* key = new Key(); local
616 const Key* key = mKeys.valueAt(i); local
876 Key* key = mMap->mKeys.valueFor(mKeyCode); local
1028 finishKey(Key* key) argument
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboard.java87 /** Default key width */
90 /** Default key height */
99 /** Key instance for the shift key, if present */
102 /** Key index for the shift key, if present */
105 /** Current key width, while loading the keyboard */
108 /** Current key height, while loading the keyboard */
144 /** Number of key widths from current touch point to search for nearest keys. */
151 * Some of the key size defaults can be overridden per row from what the {@link Keyboard}
161 /** Default width of a key in this row. */
163 /** Default height of a key i
[all...]
/frameworks/av/include/drm/
H A DDrmInfoRequest.h66 * Iterator for key
136 * Adds optional information as <key, value> pair to this instance
138 * @param[in] key Key to add
142 status_t put(const String8& key, const String8& value);
145 * Retrieves the value of given key
147 * @param key Key whose value to be retrieved
150 String8 get(const String8& key) const;
/frameworks/av/media/libmedia/
H A DICrypto.cpp96 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

Completed in 771 milliseconds

1234567891011>>