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

<<11121314151617

/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.cpp801 ALOGE("Missing key uri");
807 sp<ABuffer> key; local
809 key = mAESKeyForURI.valueAt(index);
811 key = new ABuffer(16);
832 offset, key->data() + offset, 16 - offset);
843 ALOGE("failed to fetch cipher key from '%s'.", keyURI.c_str());
847 mAESKeyForURI.add(keyURI, key);
851 if (AES_set_decrypt_key(key->data(), 128, &aes_key) != 0) {
852 ALOGE("failed to set AES decryption key.");
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeechService.java511 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 DSpellChecker.java363 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 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/compile/libbcc/lib/Renderscript/
H A DRSInfoExtractor.cpp205 // 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 DBasicHashtable.cpp110 const void* __restrict__ key) const {
121 if (compareBucketKey(bucket, key)) {
138 && compareBucketKey(bucket, key)) {
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DCallbackProxy.java270 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 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);
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardComposer.java539 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 DTextLayoutCache.cpp98 // 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 DIntent.java1202 * 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 DSyncQueue.java86 // - 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 DMediaPlayerInterface.h150 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 DVideoEditorPlayer.h119 virtual status_t setParameter(int key, const Parcel &request);
120 virtual status_t getParameter(int key, Parcel *reply);
/frameworks/av/media/libmedia/
H A DIMediaMetadataRetriever.cpp188 String8 key = data.readString8(); local
190 headers.add(key, value);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDriver.cpp291 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 DARTSPConnection.cpp694 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 DGestureStore.java244 final String key = entry.getKey();
249 out.writeUTF(key);
/frameworks/base/core/java/android/preference/
H A DPreferenceFragment.java66 * {@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 DPreference.java54 * 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 DPackageHelper.java96 public static String mountSdDir(String cid, String key, int ownerUid) { argument
98 int rc = getMountService().mountSecureContainer(cid, key, ownerUid);
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
H A DCertPinInstallReceiverTest.java102 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 DInstrumentationTestRunnerTest.java195 private Bundle createBundle(String key, String value) { argument
197 bundle.putString(key, value);
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp154 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/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
H A DFwdLockConv.c229 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...]

Completed in 350 milliseconds

<<11121314151617