/frameworks/base/core/java/android/speech/tts/ |
H A D | TextToSpeechService.java | 511 protected String getStringParam(String key, String defaultValue) { argument 512 return mParams == null ? defaultValue : mParams.getString(key, defaultValue); 515 protected int getIntParam(String key, int defaultValue) { argument 516 return mParams == null ? defaultValue : mParams.getInt(key, defaultValue); 519 protected float getFloatParam(String key, float defaultValue) { argument 520 return mParams == null ? defaultValue : mParams.getFloat(key, defaultValue);
|
/frameworks/base/core/java/android/widget/ |
H A D | SpellChecker.java | 363 final Long key = Long.valueOf(TextUtils.packRangeInLong(start, end)); 364 final SuggestionSpan tempSuggestionSpan = mSuggestionSpanCache.get(key); 371 mSuggestionSpanCache.remove(key); 487 final Long key = Long.valueOf(TextUtils.packRangeInLong(start, end)); 488 final SuggestionSpan tempSuggestionSpan = mSuggestionSpanCache.get(key); 496 mSuggestionSpanCache.put(key, suggestionSpan);
|
/frameworks/base/libs/storage/ |
H A D | IMountService.cpp | 236 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/compile/libbcc/lib/Renderscript/ |
H A D | RSInfoExtractor.cpp | 205 // Pragma is actually a key-value pair. The value can be an empty string while 206 // the key cannot. 210 llvm::StringRef key = getStringFromOperand(node->getOperand(0)); local 212 if (key.empty()) { 213 ALOGW("%s contains pragma metadata with empty key (skip)!", 217 writeString(key, result->mStringPool, &cur_string_pool_offset), 219 } // key.empty()
|
/frameworks/native/libs/utils/ |
H A D | BasicHashtable.cpp | 110 const void* __restrict__ key) const { 121 if (compareBucketKey(bucket, key)) { 138 && compareBucketKey(bucket, key)) {
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
H A D | CallbackProxy.java | 270 String key = msg.getData().getString("key"); 272 mLayoutTestController.overridePreference(key, value); 519 public void overridePreference(String key, boolean value) { argument 521 message.getData().putString("key", key);
|
/frameworks/base/tools/preload/ |
H A D | sorttable.js | 141 // 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);
|
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardComposer.java | 539 String key = contentValues.getAsString(Data.MIMETYPE); 540 if (key != null) { 542 contentValuesListMap.get(key); 545 contentValuesListMap.put(key, contentValuesList); 579 * Builds and returns vCard using given map, whose key is CONTENT_ITEM_TYPE defined in
|
/frameworks/base/core/jni/android/graphics/ |
H A D | TextLayoutCache.cpp | 98 // Create the key 99 TextLayoutCacheKey key(paint, text, start, count, contextCount, dirFlags); 102 sp<TextLayoutValue> value = mCache.get(key); 104 // Value not found for the key, we need to add a new value in the cache 114 reinterpret_cast<const UChar*>(key.getText()), start, count, 122 size_t size = key.getSize() + value->getSize(); 142 bool putOne = mCache.put(key, value); 145 "same key but it should not since we checked earlier!" 147 start, count, contextCount, String8(key.getText() + start, count).string()); 158 String8(key [all...] |
/frameworks/base/core/java/android/content/ |
H A D | Intent.java | 1202 * search key. 2041 * extra field, {@link #EXTRA_KEY_EVENT}, containing the key event that 2049 * extra field, {@link #EXTRA_KEY_EVENT}, containing the key event that 2643 * <p>NOTE: This should not be used as the primary key of an Intent, 2655 * <p>NOTE: This should not be used as the primary key of an Intent, 2667 * <p>NOTE: This should not be used as the primary key of an Intent, 2679 * <p>NOTE: This should not be used as the primary key of an Intent, 2691 * <p>NOTE: This should not be used as the primary key of an Intent, 2704 * <p>NOTE: This should not be used as the primary key of an Intent, 2716 * <p>NOTE: This should not be used as the primary key o [all...] |
H A D | SyncQueue.java | 86 // - if an operation with the same key exists and this one should run earlier, 88 // - if an operation with the same key exists and if this one should run 91 final String operationKey = operation.key; 147 SyncOperation operationToRemove = mOperationsMap.remove(operation.key);
|
/frameworks/av/include/media/ |
H A D | MediaPlayerInterface.h | 150 virtual status_t setParameter(int key, const Parcel &request) = 0; 151 virtual status_t getParameter(int key, Parcel *reply) = 0;
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | VideoEditorPlayer.h | 119 virtual status_t setParameter(int key, const Parcel &request); 120 virtual status_t getParameter(int key, Parcel *reply);
|
/frameworks/av/media/libmedia/ |
H A D | IMediaMetadataRetriever.cpp | 188 String8 key = data.readString8(); local 190 headers.add(key, value);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDriver.cpp | 291 status_t NuPlayerDriver::setParameter(int key, const Parcel &request) { argument 295 status_t NuPlayerDriver::getParameter(int key, Parcel *reply) { argument
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTSPConnection.cpp | 694 AString key(line, 0, colonPos); 695 key.trim(); 696 key.tolower(); 700 lastDictIndex = response->mHeaders.add(key, line); 919 uint8_t key[16]; local 920 MD5_Final(key, &m); 923 char nibble = key[i] >> 4; 931 nibble = key[i] & 0x0f;
|
/frameworks/base/core/java/android/gesture/ |
H A D | GestureStore.java | 244 final String key = entry.getKey(); 249 out.writeUTF(key);
|
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceFragment.java | 66 * {@link Activity} can specify meta-data in the manifest (via the key 303 * Finds a {@link Preference} based on its key. 305 * @param key The key of the preference to retrieve. 306 * @return The {@link Preference} with the key, or null. 309 public Preference findPreference(CharSequence key) { argument 313 return mPreferenceManager.findPreference(key);
|
H A D | Preference.java | 54 * This class contains a {@code key} that will be used as the key into the 367 * set individual extra key/value pairs. 805 * Sets the key for this Preference, which is used as a key to the 808 * @param key The key for the preference. 810 public void setKey(String key) { argument 811 mKey = key; 819 * Gets the key fo 1181 findPreferenceInHierarchy(String key) argument [all...] |
/frameworks/base/core/java/com/android/internal/content/ |
H A D | PackageHelper.java | 96 public static String mountSdDir(String cid, String key, int ownerUid) { argument 98 int rc = getMountService().mountSecureContainer(cid, key, ownerUid);
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaCodec.cpp | 154 const uint8_t key[16], 161 index, offset, subSamples, numSubSamples, key, iv, mode, 505 jbyte *key = NULL; local 561 key = env->GetByteArrayElements(keyObj, &isCopy); 580 (const uint8_t *)key, (const uint8_t *)iv, 592 if (key != NULL) { 593 env->ReleaseByteArrayElements(keyObj, key, 0); 594 key = NULL; 749 gFields.cryptoInfoKeyID = env->GetFieldID(clazz, "key", "[B"); 149 queueSecureInputBuffer( size_t index, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, int64_t presentationTimeUs, uint32_t flags, AString *errorDetailMsg) argument
|
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/ |
H A D | CertPinInstallReceiverTest.java | 102 private void overrideSettings(String key, String value) throws Exception { argument 103 assertTrue(Settings.Secure.putString(mContext.getContentResolver(), key, value));
|
/frameworks/base/test-runner/tests/src/android/test/ |
H A D | InstrumentationTestRunnerTest.java | 195 private Bundle createBundle(String key, String value) { argument 197 bundle.putString(key, value);
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
H A D | FwdLockConv.c | 229 memset(sessionPtrs[sessionId], 0, sizeof *sessionPtrs[sessionId]); // Zero out key data. 236 * Derives cryptographically independent keys for encryption and signing from the session key. 247 unsigned char key[KEY_SIZE]; member in struct:FwdLockConv_DeriveKeys_Data 256 // Encrypt the 16-byte value {0, 0, ..., 0} to produce the encryption key. 258 AES_encrypt(pData->value, pData->key, &pData->sessionRoundKeys); 259 if (AES_set_encrypt_key(pData->key, KEY_SIZE_IN_BITS, 263 // Encrypt the 16-byte value {1, 0, ..., 0} to produce the signing key. 265 AES_encrypt(pData->value, pData->key, &pData->sessionRoundKeys); 267 HMAC_Init_ex(&pSession->signingContext, pData->key, KEY_SIZE, EVP_sha1(), NULL); 271 memset(pData, 0, sizeof pData); // Zero out key dat [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | AppWidgetServiceImpl.java | 146 ServiceConnectionProxy(Pair<Integer, Intent.FilterComparison> key, IBinder connectionCb) { argument 700 // the same key) 703 Pair<Integer, FilterComparison> key = Pair.create(appWidgetId, fc); 704 if (mBoundRemoteViewsServices.containsKey(key)) { 705 conn = (ServiceConnectionProxy) mBoundRemoteViewsServices.get(key); 708 mBoundRemoteViewsServices.remove(key); 720 conn = new ServiceConnectionProxy(key, connection); 722 mBoundRemoteViewsServices.put(key, conn); 740 Pair<Integer, FilterComparison> key = Pair.create(appWidgetId, new FilterComparison( 742 if (mBoundRemoteViewsServices.containsKey(key)) { [all...] |