Searched refs:key (Results 176 - 200 of 578) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/os/
H A DUEventObserver.java127 // collection of key=value pairs parsed from the uevent message
140 // key is before the equals sign, and value is after
149 public String get(String key) { argument
150 return mMap.get(key);
153 public String get(String key, String defaultValue) { argument
154 String result = mMap.get(key);
196 final String key = (String)mKeysAndObservers.get(i);
197 if (message.contains(key)) {
224 /** Removes every key/value pair where value=observer from mObservers */
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/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/base/core/java/com/android/internal/statusbar/
H A DIStatusBarService.aidl47 void onNotificationClick(String key);
48 void onNotificationActionClick(String key, int actionIndex);
55 void onNotificationExpansionChanged(in String key, in boolean userAction, in boolean expanded);
/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/av/include/media/
H A DMediaCodecInfo.h108 void addDetail(const AString &key, const AString &value);
109 void addFeature(const AString &key, int32_t value);
110 void addFeature(const AString &key, const char *value);
/frameworks/base/core/jni/
H A Dandroid_backup_BackupDataOutput.cpp46 writeEntityHeader_native(JNIEnv* env, jobject clazz, jlong w, jstring key, jint dataSize) argument
51 const char* keyUTF = env->GetStringUTFChars(key, NULL);
57 env->ReleaseStringUTFChars(key, keyUTF);
/frameworks/base/core/tests/coretests/src/android/app/backup/
H A DBackupDataTest.java48 private static final String KEY4 = "key4dad"; // variable key lengths to test padding
183 String key = bdi.getKey();
186 assertEquals("wrong key", expected[0], key);
187 assertEquals("wrong length for key " + key,
192 assertEquals("wrong data for key " + key, expected[1],
213 String key = bdi.getKey();
216 assertEquals("wrong key", expecte
253 writeEntity(BackupDataOutput bdo, String key, byte[] data) argument
263 deleteEntity(BackupDataOutput bdo, String key) argument
[all...]
/frameworks/wilhelm/src/autogen/
H A DIID_to_MPH.c318 unsigned key = asso_values[((unsigned char *)iid)[3]] + local
320 if (key <= MAX_HASH_VALUE) {
321 int MPH = hash_to_MPH[key];
/frameworks/av/camera/
H A DCameraParameters.cpp213 // Find the bounds of the key name.
218 // Create the key string.
238 void CameraParameters::set(const char *key, const char *value) argument
241 if (strchr(key, '=') || strchr(key, ';')) {
242 //XXX ALOGE("Key \"%s\"contains invalid character (= or ;)", key);
251 mMap.replaceValueFor(String8(key), String8(value));
254 void CameraParameters::set(const char *key, int value) argument
258 set(key, str);
261 void CameraParameters::setFloat(const char *key, floa argument
291 remove(const char *key) argument
[all...]
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DAesCtrDecryptor.h33 android::status_t decrypt(const android::Vector<uint8_t>& key, const Iv iv,
/frameworks/av/media/libmediaplayerservice/
H A DTestPlayerStub.h101 virtual status_t setParameter(int key, const Parcel &request) { argument
102 return mPlayer->setParameter(key, request);
104 virtual status_t getParameter(int key, Parcel *reply) { argument
105 return mPlayer->getParameter(key, reply);
/frameworks/base/core/java/android/content/
H A DPeriodicSync.java143 for (String key : b1.keySet()) {
144 if (!b2.containsKey(key)) {
147 if (!b1.get(key).equals(b2.get(key))) {
/frameworks/base/core/java/android/service/notification/
H A DStatusBarNotification.java32 private final String key; field in class:StatusBarNotification
67 this.key = key();
86 this.key = key();
90 private String key() { method in class:StatusBarNotification
99 return key;
165 "StatusBarNotification(pkg=%s user=%s id=%d tag=%s score=%d key=%s: %s)",
167 this.score, this.key, this.notification);
252 * A unique instance key fo
[all...]
/frameworks/base/core/java/android/speech/srec/
H A DRecognizer.java111 * Result key corresponding to confidence score.
116 * Result key corresponding to literal text.
121 * Result key corresponding to semantic meaning text.
349 * @param key key of the result. This is typically one of
356 public String getResult(int index, String key) { argument
357 return SR_RecognizerResultGetValue(mRecognizer, index, key);
611 private static native String SR_RecognizerGetParameter(long recognizer, String key); argument
612 private static native int SR_RecognizerGetSize_tParameter(long recognizer, String key); argument
613 private static native boolean SR_RecognizerGetBoolParameter(long recognizer, String key); argument
614 SR_RecognizerSetParameter(long recognizer, String key, String value) argument
615 SR_RecognizerSetSize_tParameter(long recognizer, String key, int value) argument
617 SR_RecognizerSetBoolParameter(long recognizer, String key, boolean value) argument
713 SR_RecognizerResultGetValue(long 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.java31 * an additional keyboard with symbols. In numeric mode, it shows a 12-key DTMF dialer-like
89 LatinKey key = new LatinKey(res, parent, x, y, parser);
90 final int code = key.codes[0];
92 // Log.w(TAG, "Key code for " + key.label + " is not latin-1");
93 key.label = " ";
94 key.setEnabled(false);
96 switch (key.codes[0]) {
98 mEnterKey = key;
101 mF1Key = key;
104 mSpaceKey = key;
[all...]
/frameworks/base/libs/androidfw/tests/
H A DTypeWrappers_test.cpp41 e1.key.index = 0;
54 e2.key.index = 1;
86 ASSERT_EQ(uint32_t(0), iter->key.index);
99 ASSERT_EQ(uint32_t(1), iter->key.index);
/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/base/services/tests/servicestests/src/com/android/server/location/
H A DLocationRequestStatisticsTest.java36 PackageProviderKey key = mStatistics.statistics.keySet().iterator().next();
37 assertEquals(PACKAGE1, key.packageName);
38 assertEquals(PROVIDER1, key.providerName);
55 PackageProviderKey key = mStatistics.statistics.keySet().iterator().next();
56 assertEquals(PACKAGE1, key.packageName);
57 assertEquals(PROVIDER1, key.providerName);
76 PackageProviderKey key = mStatistics.statistics.keySet().iterator().next();
77 assertEquals(PACKAGE1, key.packageName);
78 assertEquals(PROVIDER1, key.providerName);
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiEnterpriseConfig.java112 for (String key : source.mFields.keySet()) {
113 mFields.put(key, source.mFields.get(key));
165 String key = in.readString();
167 enterpriseConfig.mFields.put(key, value);
480 * Specify a private key and client certificate for client authorization.
482 * <p>A default name is automatically assigned to the key entry and used
484 * key entry when the config is saved and removing the key entry when
489 * @throws IllegalArgumentException for an invalid key o
598 getFieldValue(String key, String prefix) argument
617 setFieldValue(String key, String value, String prefix) argument
632 setFieldValue(String key, String value) argument
[all...]

Completed in 506 milliseconds

1234567891011>>