Searched refs:key (Results 276 - 300 of 440) sorted by relevance

<<1112131415161718

/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/
H A DHugeAgent.java48 * Pick an arbitrary string to use as the "key" under which the
49 * data is backed up. This key identifies different data records
116 // transport under the single key string.
225 String key = data.getKey();
228 if (APP_DATA_KEY.equals(key)) {
251 // Curious! This entity is data under a key we do not
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pManager.java151 * The lookup key for an int that indicates whether Wi-Fi p2p is enabled or disabled.
189 * The lookup key for a {@link android.net.wifi.p2p.WifiP2pInfo} object
195 * The lookup key for a {@link android.net.NetworkInfo} object associated with the
202 * The lookup key for a {@link android.net.wifi.p2p.WifiP2pGroup} object
223 * The lookup key for a {@link android.net.wifi.p2p.WifiP2pDeviceList} object representing
243 * The lookup key for an int that indicates whether p2p discovery has started or stopped.
273 * The lookup key for a {@link android.net.wifi.p2p.WifiP2pDevice} object
597 * @param txtRecordMap TXT record data as a map of key/value pairs
803 int key;
806 key
813 getListener(int key) argument
[all...]
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSInfoWriter.cpp63 pResult.key = pInfo.getStringIdxInPool(pItem->first);
66 if (pResult.key == rsinfo::gInvalidStringIndex) {
67 ALOGE("RS pragma list contains invalid string '%s' for key.", pItem->first);
H A DRSInfoExtractor.cpp207 // Pragma is actually a key-value pair. The value can be an empty string while
208 // the key cannot.
212 llvm::StringRef key = getStringFromOperand(node->getOperand(0)); local
214 if (key.empty()) {
215 ALOGW("%s contains pragma metadata with empty key (skip)!",
219 writeString(key, result->mStringPool, &cur_string_pool_offset),
221 } // key.empty()
/frameworks/compile/mclinker/lib/LD/
H A DDiagnosticInfos.cpp79 DiagStaticInfo key = { static_cast<uint16_t>(pID), DiagnosticEngine::None, 0, 0 }; local
80 const DiagStaticInfo *result = std::lower_bound(static_info, static_info + info_size, key);
/frameworks/base/core/java/android/os/
H A DParcel.java129 * for key/value maps of heterogeneous values. This has many optimizations
620 + (dataPosition()-startPos) + " bytes: key=0x"
2296 Object key = readValue(loader);
2298 outVal.put(key, value);
2313 Object key = readValue(loader);
2316 + (dataPosition()-startPos) + " bytes: key=0x"
2317 + Integer.toHexString((key != null ? key.hashCode() : 0)) + " " + key);
2318 outVal.append(key, valu
[all...]
H A DUserManager.java320 * @param key the key of the restriction
323 public void setUserRestriction(String key, boolean value) { argument
325 bundle.putBoolean(key, value);
333 * @param key the key of the restriction
337 public void setUserRestriction(String key, boolean value, UserHandle userHandle) { argument
339 bundle.putBoolean(key, value);
347 * @param restrictionKey the string key representing the restriction
357 * @param restrictionKey the string key representin
[all...]
/frameworks/base/media/mca/filterfw/jni/
H A Djni_shader_program.cpp77 jstring key,
81 const std::string c_key = ToCppString(env, key);
85 ALOGE("ShaderProgram: Could not convert java object value passed for key '%s'!", c_key.c_str());
92 jstring key) {
94 const std::string c_key = ToCppString(env, key);
75 Java_android_filterfw_core_ShaderProgram_setUniformValue(JNIEnv* env, jobject thiz, jstring key, jobject value) argument
90 Java_android_filterfw_core_ShaderProgram_getUniformValue(JNIEnv* env, jobject thiz, jstring key) argument
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/jni/
H A Djni_stochastic_linear_ranker.h174 jstring key,
H A Djni_stochastic_linear_ranker.cpp36 const char *key = env->GetStringUTFChars(s, &iscopy); local
37 sample->SetElement(key, static_cast<double>(values[i]));
38 env->ReleaseStringUTFChars(s,key);
58 std::string key = iter->first; local
60 jstring jstr = env->NewStringUTF(key.c_str());
98 jstring key,
104 const char *cKey = env->GetStringUTFChars(key, &iscopy);
95 Java_android_bordeaux_learning_StochasticLinearRanker_nativeSetParameterClassifier( JNIEnv* env, jobject thiz, jstring key, jstring value, jint paPtr) argument
/frameworks/base/media/java/android/media/
H A DExifInterface.java192 * The key is the standard tag name and the value is the tag's value: e.g.
258 String key = iter.getKey();
259 if (key.equals("hasThumbnail")) {
264 sb.append(key + "=");
H A DRemoteControlClient.java232 * Flag indicating a RemoteControlClient makes use of the "previous" media key.
239 * Flag indicating a RemoteControlClient makes use of the "rewind" media key.
246 * Flag indicating a RemoteControlClient makes use of the "play" media key.
253 * Flag indicating a RemoteControlClient makes use of the "play/pause" media key.
260 * Flag indicating a RemoteControlClient makes use of the "pause" media key.
267 * Flag indicating a RemoteControlClient makes use of the "stop" media key.
274 * Flag indicating a RemoteControlClient makes use of the "fast forward" media key.
281 * Flag indicating a RemoteControlClient makes use of the "next" media key.
302 * {@link MediaMetadataEditor#RATING_KEY_BY_USER} key), it will enable the user to rate
409 * The metadata key fo
440 putString(int key, String value) argument
461 putLong(int key, long value) argument
478 putBitmap(int key, Bitmap bitmap) argument
725 onMetadataUpdate(int key, Object newValue) argument
1661 onUpdateMetadata(int generationId, int key, Object value) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DServiceMonitor.java274 for (String key : bundle.keySet()) {
276 Object v = bundle.get(key);
278 sb.append(key).append('=').append(v);
/frameworks/base/services/java/com/android/server/pm/
H A DPackageSignatures.java71 serializer.attribute(null, "key", sig.toCharsString());
108 String key = parser.getAttributeValue(null, "key");
109 if (key == null) {
131 Signature sig = new Signature(key);
/frameworks/base/test-runner/src/junit/runner/
H A DTestCaseClassLoader.java214 String key= (String)e.nextElement();
215 if (key.startsWith("excluded.")) {
216 String path= p.getProperty(key);
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DTrackerEntry.java193 for (String key : LOCATION_DEBUG_KEYS) {
194 Object val = mLocation.getExtras().get(key);
196 debugBuilder.append(String.format("%s=%s; ", key, val
/frameworks/base/core/java/android/speech/tts/
H A DTtsEngines.java446 * Updates the value for a given key in a comma separated list of key value pairs,
447 * each of which are delimited by a colon. If no value exists for the given key,
450 private String updateValueInCommaSeparatedList(String list, String key, argument
455 newPrefList.append(key).append(':').append(newValue);
460 // Whether we found the given key.
465 if (key.equals(value.substring(0, delimiter))) {
472 newPrefList.append(key).append(':').append(newValue);
479 // Copy across the entire key + value as is.
489 newPrefList.append(key)
[all...]
H A DTextToSpeechService.java537 protected String getStringParam(String key, String defaultValue) { argument
538 return mParams == null ? defaultValue : mParams.getString(key, defaultValue);
541 protected int getIntParam(String key, int defaultValue) { argument
542 return mParams == null ? defaultValue : mParams.getInt(key, defaultValue);
545 protected float getFloatParam(String key, float defaultValue) { argument
546 return mParams == null ? defaultValue : mParams.getFloat(key, defaultValue);
/frameworks/av/media/libmedia/
H A Dmediaplayer.cpp616 status_t MediaPlayer::setParameter(int key, const Parcel& request) argument
618 ALOGV("MediaPlayer::setParameter(%d)", key);
621 return mPlayer->setParameter(key, request);
627 status_t MediaPlayer::getParameter(int key, Parcel *reply) argument
629 ALOGV("MediaPlayer::getParameter(%d)", key);
632 return mPlayer->getParameter(key, reply);
/frameworks/base/libs/hwui/
H A DPathCache.cpp377 const PathDescription& key = i.key(); local
378 if (key.type == kShapePath &&
379 (key.shape.path.mPath == pair.getFirst() ||
380 key.shape.path.mPath == pair.getSecond())) {
381 pathsToRemove.push(key);
412 * the original path as a cache key the first time a path is inserted
/frameworks/base/libs/storage/
H A DIMountService.cpp236 const String16& key, const int32_t ownerUid)
243 data.writeString16(key);
291 int32_t mountSecureContainer(const String16& id, const String16& key, const int32_t ownerUid) argument
296 data.writeString16(key);
436 void mountObb(const String16& rawPath, const String16& canonicalPath, const String16& key, argument
443 data.writeString16(key);
235 createSecureContainer(const String16& id, const int32_t sizeMb, const String16& fstype, const String16& key, const int32_t ownerUid) argument
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodSubtype.java180 * but the API supplies tools to deal with a key-value comma-separated list; see
249 * supplies tools to deal with a key-value comma-separated list; see
445 * @param key The key of extra value
448 public boolean containsExtraValueKey(String key) { argument
449 return getExtraValueHashMap().containsKey(key);
455 * @param key The key of extra value
456 * @return The value of the specified key
458 public String getExtraValueOf(String key) { argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DTextLayoutCache.cpp96 // Create the key
97 TextLayoutCacheKey key(paint, text, start, count, contextCount, dirFlags);
100 sp<TextLayoutValue> value = mCache.get(key);
102 // Value not found for the key, we need to add a new value in the cache
112 reinterpret_cast<const UChar*>(key.getText()), start, count,
120 size_t size = key.getSize() + value->getSize();
140 bool putOne = mCache.put(key, value);
143 "same key but it should not since we checked earlier!"
145 start, count, contextCount, String8(key.getText() + start, count).string());
156 String8(key
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.h67 const uint8_t key[16],
/frameworks/base/tools/preload/
H A Dsorttable.js141 // i.e., we "decorate" each row with the actual sort key,
458 for (var key in object) {
459 if (typeof this.prototype[key] == "undefined") {
460 block.call(context, object[key], key, object);

Completed in 1380 milliseconds

<<1112131415161718