Home
last modified time | relevance | path

Searched refs:keyType (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/telephony/java/android/telephony/
DImsiEncryptionInfo.java46 private final int keyType; field in ImsiEncryptionInfo
51 public ImsiEncryptionInfo(String mcc, String mnc, int keyType, String keyIdentifier, in ImsiEncryptionInfo() argument
53 this(mcc, mnc, keyType, keyIdentifier, makeKeyObject(key), expirationTime); in ImsiEncryptionInfo()
57 public ImsiEncryptionInfo(String mcc, String mnc, int keyType, String keyIdentifier, in ImsiEncryptionInfo() argument
64 this.keyType = keyType; in ImsiEncryptionInfo()
79 keyType = in.readInt(); in ImsiEncryptionInfo()
104 return this.keyType; in getKeyType()
158 dest.writeInt(keyType); in writeToParcel()
169 + ", keyType=" + keyType in toString()
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
DInitDataParser.cpp49 V1_0::KeyType keyType, in parse() argument
73 if (keyType == V1_0::KeyType::RELEASE) { in parse()
78 std::string requestJson = generateRequest(keyType, keyIds); in parse()
150 std::string InitDataParser::generateRequest(V1_0::KeyType keyType, in generateRequest() argument
168 if (keyType == V1_0::KeyType::STREAMING) { in generateRequest()
170 } else if (keyType == V1_0::KeyType::OFFLINE || in generateRequest()
171 keyType == V1_0::KeyType::RELEASE) { in generateRequest()
DDrmPlugin.cpp174 KeyType keyType, in getKeyRequestCommon() argument
185 if (keyType == KeyType::OFFLINE && 0 == initData.size()) { in getKeyRequestCommon()
194 (keyType != KeyType::STREAMING && in getKeyRequestCommon()
195 keyType != KeyType::OFFLINE && in getKeyRequestCommon()
196 keyType != KeyType::RELEASE)) { in getKeyRequestCommon()
202 if (keyType == KeyType::STREAMING || keyType == KeyType::OFFLINE) { in getKeyRequestCommon()
215 session->getKeyRequest(initData, mimeType, keyType, request)); in getKeyRequestCommon()
217 if (keyType == KeyType::RELEASE) { in getKeyRequestCommon()
247 KeyType keyType, in getKeyRequest() argument
256 scope, initData, mimeType, keyType, optionalParameters, in getKeyRequest()
[all …]
DSession.cpp45 V1_0::KeyType keyType, in getKeyRequest() argument
48 return parser.parse(initData, mimeType, keyType, keyRequest); in getKeyRequest()
/frameworks/base/keystore/java/android/security/
DKeyPairGeneratorSpec.java115 public KeyPairGeneratorSpec(Context context, String keyStoreAlias, String keyType, int keySize, in KeyPairGeneratorSpec() argument
140 mKeyType = keyType; in KeyPairGeneratorSpec()
330 public Builder setKeyType(@NonNull @KeyProperties.KeyAlgorithmEnum String keyType) in setKeyType() argument
332 if (keyType == null) { in setKeyType()
336 KeyProperties.KeyAlgorithm.toKeymasterAsymmetricKeyAlgorithm(keyType); in setKeyType()
338 throw new NoSuchAlgorithmException("Unsupported key type: " + keyType); in setKeyType()
341 mKeyType = keyType; in setKeyType()
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/
DInitDataParser.h38 V1_0::KeyType keyType,
47 std::string generateRequest(V1_0::KeyType keyType,
DDrmPlugin.h84 KeyType keyType,
92 KeyType keyType,
100 KeyType keyType,
385 KeyType keyType,
DSession.h50 V1_0::KeyType keyType,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierInfoManager.java60 public static ImsiEncryptionInfo getCarrierInfoForImsiEncryption(int keyType, in getCarrierInfoForImsiEncryption() argument
83 new String[]{mcc, mnc, String.valueOf(keyType)}, null); in getCarrierInfoForImsiEncryption()
85 Log.d(LOG_TAG, "No rows found for keyType: " + keyType); in getCarrierInfoForImsiEncryption()
89 Log.e(LOG_TAG, "More than 1 row found for the keyType: " + keyType); in getCarrierInfoForImsiEncryption()
94 return new ImsiEncryptionInfo(mcc, mnc, keyType, keyIdentifier, carrier_key, in getCarrierInfoForImsiEncryption()
DPhoneSubInfoController.java90 public ImsiEncryptionInfo getCarrierInfoForImsiEncryption(int subId, int keyType, in getCarrierInfoForImsiEncryption() argument
94 (phone)-> phone.getCarrierInfoForImsiEncryption(keyType)); in getCarrierInfoForImsiEncryption()
DCarrierKeyDownloadManager.java486 public boolean isKeyEnabled(int keyType) { in isKeyEnabled() argument
488 int returnValue = (mKeyAvailability >> (keyType - 1)) & 1; in isKeyEnabled()
DPhoneInternalInterface.java934 public ImsiEncryptionInfo getCarrierInfoForImsiEncryption(int keyType); in getCarrierInfoForImsiEncryption() argument
/frameworks/av/media/ndk/include/media/
DNdkMediaDrm.h155 AMediaDrmKeyStatusType keyType; member
297 const uint8_t *init, size_t initSize, const char *mimeType, AMediaDrmKeyType keyType,
/frameworks/av/drm/mediadrm/plugins/clearkey/default/
DDrmPlugin.cpp87 KeyType keyType, in getKeyRequest() argument
97 if (keyType != kKeyType_Streaming) { in getKeyRequest()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_CameraMetadata.cpp166 jclass keyType);
692 jclass keyType) { in CameraMetadata_getAllVendorKeys() argument
727 if (env->IsSameObject(keyType, gMetadataOffsets.mCharacteristicsKey)) { in CameraMetadata_getAllVendorKeys()
730 } else if (env->IsSameObject(keyType, gMetadataOffsets.mResultKey)) { in CameraMetadata_getAllVendorKeys()
733 } else if (env->IsSameObject(keyType, gMetadataOffsets.mRequestKey)) { in CameraMetadata_getAllVendorKeys()
/frameworks/base/telephony/java/com/android/internal/telephony/
DIPhoneSubInfo.aidl147 ImsiEncryptionInfo getCarrierInfoForImsiEncryption(int subId, int keyType, in getCarrierInfoForImsiEncryption() argument
/frameworks/av/drm/mediadrm/plugins/mock/
DMockDrmCryptoPlugin.cpp114 String8 const &mimeType, KeyType keyType, in getKeyRequest() argument
123 keyType, stringMapToString(optionalParameters).string()); in getKeyRequest()
141 keyTypeStr.appendFormat("%d", (int)keyType); in getKeyRequest()
DMockDrmCryptoPlugin.h64 String8 const &mimeType, KeyType keyType,
/frameworks/av/drm/libmediadrm/include/mediadrm/
DIDrm.h54 String8 const &mimeType, DrmPlugin::KeyType keyType,
DDrmHal.h88 String8 const &mimeType, DrmPlugin::KeyType keyType,
/frameworks/base/core/java/android/widget/
DGridLayout.java2288 private final Class<K> keyType;
2291 private Assoc(Class<K> keyType, Class<V> valueType) {
2292 this.keyType = keyType;
2296 public static <K, V> Assoc<K, V> of(Class<K> keyType, Class<V> valueType) {
2297 return new Assoc<K, V>(keyType, valueType);
2307 K[] keys = (K[]) Array.newInstance(keyType, N);
/frameworks/av/media/ndk/
DNdkMediaDrm.cpp138 keyStatus.keyType = static_cast<AMediaDrmKeyStatusType>(drmKeyStatus.type); in sendKeysChange()
412 const uint8_t *init, size_t initSize, const char *mimeType, AMediaDrmKeyType keyType, in AMediaDrm_getKeyRequest() argument
431 switch (keyType) { in AMediaDrm_getKeyRequest()
/frameworks/native/headers/media_plugin/media/drm/
DDrmAPI.h233 String8 const &mimeType, KeyType keyType,
/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/
DDrmPlugin.h54 KeyType keyType,
/frameworks/av/drm/libmediadrm/
DDrmHal.cpp787 DrmPlugin::KeyType keyType, KeyedVector<String8, in getKeyRequest() argument
797 if (keyType == DrmPlugin::kKeyType_Streaming) { in getKeyRequest()
799 } else if (keyType == DrmPlugin::kKeyType_Offline) { in getKeyRequest()
801 } else if (keyType == DrmPlugin::kKeyType_Release) { in getKeyRequest()

12