Home
last modified time | relevance | path

Searched refs:keyInfo (Results 1 – 5 of 5) sorted by relevance

/frameworks/wilhelm/tests/examples/
DslesTestDecodeAac.cpp680 SLMetadataInfo *keyInfo, *value; in TestDecToBuffQueue() local
682 keyInfo = NULL; keySize = 0; in TestDecToBuffQueue()
688 keyInfo = (SLMetadataInfo*) malloc(keySize); in TestDecToBuffQueue()
689 if (NULL != keyInfo) { in TestDecToBuffQueue()
690 res = (*mdExtrItf)->GetKey(mdExtrItf, i, keySize, keyInfo); in TestDecToBuffQueue()
693 i, keyInfo->size, keyInfo->data, valueSize, keyInfo->encoding, in TestDecToBuffQueue()
694 keyInfo->langCountry); in TestDecToBuffQueue()
696 if (!strcmp((char*)keyInfo->data, ANDROID_KEY_PCMFORMAT_NUMCHANNELS)) { in TestDecToBuffQueue()
698 } else if (!strcmp((char*)keyInfo->data, ANDROID_KEY_PCMFORMAT_SAMPLERATE)) { in TestDecToBuffQueue()
700 } else if (!strcmp((char*)keyInfo->data, ANDROID_KEY_PCMFORMAT_BITSPERSAMPLE)) { in TestDecToBuffQueue()
[all …]
DslesTestDecodeToBuffQueue.cpp466 SLMetadataInfo *keyInfo, *value; in TestDecToBuffQueue() local
468 keyInfo = NULL; keySize = 0; in TestDecToBuffQueue()
474 keyInfo = (SLMetadataInfo*) malloc(keySize); in TestDecToBuffQueue()
475 if (NULL != keyInfo) { in TestDecToBuffQueue()
476 result = (*mdExtrItf)->GetKey(mdExtrItf, i, keySize, keyInfo); in TestDecToBuffQueue()
479 i, keyInfo->size, keyInfo->data, valueSize); in TestDecToBuffQueue()
481 if (!strcmp((char*)keyInfo->data, ANDROID_KEY_PCMFORMAT_NUMCHANNELS)) { in TestDecToBuffQueue()
483 } else if (!strcmp((char*)keyInfo->data, ANDROID_KEY_PCMFORMAT_SAMPLERATE)) { in TestDecToBuffQueue()
486 free(keyInfo); in TestDecToBuffQueue()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierKeyDownloadMgrTest.java158 Pair<PublicKey, Long> keyInfo = null; in testParseJson() local
160 keyInfo = mCarrierKeyDM.getKeyInformation(reader.readPemObject().getContent()); in testParseJson()
165 "key1=value", keyInfo.first, new Date(keyInfo.second)); in testParseJson()
182 Pair<PublicKey, Long> keyInfo = null; in testParseJsonPublicKey() local
184 keyInfo = mCarrierKeyDM.getKeyInformation(reader.readPemObject().getContent()); in testParseJsonPublicKey()
189 "key1=value", keyInfo.first, new Date(keyInfo.second)); in testParseJsonPublicKey()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierKeyDownloadManager.java431 Pair<PublicKey, Long> keyInfo = in parseJsonAndPersistKey() local
434 savePublicKey(keyInfo.first, type, identifier, keyInfo.second, mcc, mnc); in parseJsonAndPersistKey()
/frameworks/base/core/java/android/app/
DSearchableInfo.java500 private void addActionKey(ActionKeyInfo keyInfo) { in addActionKey() argument
504 mActionKeys.put(keyInfo.getKeyCode(), keyInfo); in addActionKey() local