Home
last modified time | relevance | path

Searched refs:keyIndex (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/lowpan/java/android/net/lowpan/
DLowpanCredential.java40 private LowpanCredential(byte[] masterKey, int keyIndex) { in LowpanCredential() argument
41 setMasterKey(masterKey, keyIndex); in LowpanCredential()
52 public static LowpanCredential createMasterKey(byte[] masterKey, int keyIndex) { in createMasterKey() argument
53 return new LowpanCredential(masterKey, keyIndex); in createMasterKey()
63 void setMasterKeyIndex(int keyIndex) { in setMasterKeyIndex() argument
64 mMasterKeyIndex = keyIndex; in setMasterKeyIndex()
67 void setMasterKey(byte[] masterKey, int keyIndex) { in setMasterKey() argument
69 setMasterKeyIndex(keyIndex); in setMasterKey()
/frameworks/av/drm/mediacas/plugins/clearkey/
DClearKeyCasPlugin.cpp361 for (size_t keyIndex = 0; keyIndex < keys.size(); keyIndex++) { in updateECM() local
364 const sp<ABuffer>& keyBytes = keys[keyIndex].key_bytes; in updateECM()
369 AES_BLOCK_SIZE * 8, &mKeyInfo[keyIndex].contentKey); in updateECM()
370 mKeyInfo[keyIndex].valid = (result == 0); in updateECM()
371 if (!mKeyInfo[keyIndex].valid) { in updateECM()
373 keyIndex, keys[keyIndex].key_id); in updateECM()
397 int32_t keyIndex = (scramblingControl & 1); in decrypt() local
398 if (!mKeyInfo[keyIndex].valid) { in decrypt()
399 ALOGE("decrypt: key %d is invalid", keyIndex); in decrypt()
402 contentKey = mKeyInfo[keyIndex].contentKey; in decrypt()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java869 private void showPreview(int keyIndex) { in showPreview() argument
873 mCurrentKeyIndex = keyIndex; in showPreview()
904 if (keyIndex == NOT_A_KEY) { in showPreview()
910 if (keyIndex != NOT_A_KEY) { in showPreview()
913 showKey(keyIndex); in showPreview()
916 mHandler.obtainMessage(MSG_SHOW_PREVIEW, keyIndex, 0), in showPreview()
924 private void showKey(final int keyIndex) { in showKey() argument
927 if (keyIndex < 0 || keyIndex >= mKeys.length) return; in showKey()
928 Key key = keys[keyIndex]; in showKey()
1052 public void invalidateKey(int keyIndex) { in invalidateKey() argument
[all …]
DKeyboard.java644 for (int keyIndex = 0; keyIndex < numKeys; ++keyIndex) { in resize()
645 Key key = row.mKeys.get(keyIndex); in resize()
646 if (keyIndex > 0) { in resize()
654 for (int keyIndex = 0; keyIndex < numKeys; ++keyIndex) { in resize()
655 Key key = row.mKeys.get(keyIndex); in resize()
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityButtonController.java136 final int keyIndex = mCallbacks.indexOfKey(callback); in unregisterAccessibilityButtonCallback() local
137 final boolean hasKey = keyIndex >= 0; in unregisterAccessibilityButtonCallback()
139 mCallbacks.removeAt(keyIndex); in unregisterAccessibilityButtonCallback()
DAccessibilityService.java905 final int keyIndex = mListeners.indexOfKey(listener); in removeListener() local
906 final boolean hasKey = keyIndex >= 0; in removeListener()
908 mListeners.removeAt(keyIndex); in removeListener()
1319 final int keyIndex = mListeners.indexOfKey(listener); in removeOnShowModeChangedListener() local
1320 final boolean hasKey = keyIndex >= 0; in removeOnShowModeChangedListener()
1322 mListeners.removeAt(keyIndex); in removeOnShowModeChangedListener()
/frameworks/base/core/java/com/android/internal/alsa/
DAlsaCardsParser.java108 int keyIndex = line.indexOf(kUsbCardKeyStr); in parse() local
109 boolean isUsb = keyIndex != -1; in parse()
111 mCardDescription = line.substring(tokenIndex, keyIndex - 1); in parse()
/frameworks/opt/net/ims/src/java/com/android/ims/
DMmTelFeatureConnection.java113 for (int keyIndex = 0; keyIndex < mCallbackSubscriptionMap.size(); in CallbackAdapterManager()
114 keyIndex++) { in CallbackAdapterManager()
115 storedSubIds.add(mCallbackSubscriptionMap.keyAt(keyIndex)); in CallbackAdapterManager()
240 for (int keyIndex = 0; keyIndex < mCallbackSubscriptionMap.size(); keyIndex++) { in clearCallbacksForAllSubscriptions()
241 keys.add(mCallbackSubscriptionMap.keyAt(keyIndex)); in clearCallbacksForAllSubscriptions()
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawableContainer.java877 for (int keyIndex = 0; keyIndex < futureCount; keyIndex++) { in createAllFutures()
878 final int index = mDrawableFutures.keyAt(keyIndex); in createAllFutures()
879 final ConstantState cs = mDrawableFutures.valueAt(keyIndex); in createAllFutures()
916 final int keyIndex = mDrawableFutures.indexOfKey(index); in getChild() local
917 if (keyIndex >= 0) { in getChild()
918 final ConstantState cs = mDrawableFutures.valueAt(keyIndex); in getChild()
921 mDrawableFutures.removeAt(keyIndex); in getChild()
/frameworks/base/media/java/android/media/
DMediaMetadata.java569 int keyIndex = 0; in getDescription() local
570 while (textIndex < text.length && keyIndex < PREFERRED_DESCRIPTION_ORDER.length) { in getDescription()
571 CharSequence next = getText(PREFERRED_DESCRIPTION_ORDER[keyIndex++]); in getDescription()
/frameworks/wilhelm/include/OMXAL/
DOpenMAXAL.h1386 XAuint32 keyIndex,
1392 XAuint32 keyIndex,