Home
last modified time | relevance | path

Searched refs:keyType (Results 1 – 25 of 36) 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()
139 std::string InitDataParser::generateRequest(V1_0::KeyType keyType, in generateRequest() argument
157 if (keyType == V1_0::KeyType::STREAMING) { in generateRequest()
159 } else if (keyType == V1_0::KeyType::OFFLINE || in generateRequest()
160 keyType == V1_0::KeyType::RELEASE) { in generateRequest()
DDrmPlugin.cpp167 KeyType keyType, in getKeyRequestCommon() argument
178 if (keyType == KeyType::OFFLINE && 0 == initData.size()) { in getKeyRequestCommon()
187 (keyType != KeyType::STREAMING && in getKeyRequestCommon()
188 keyType != KeyType::OFFLINE && in getKeyRequestCommon()
189 keyType != KeyType::RELEASE)) { in getKeyRequestCommon()
195 if (keyType == KeyType::STREAMING || keyType == KeyType::OFFLINE) { in getKeyRequestCommon()
208 session->getKeyRequest(initData, mimeType, keyType, request)); in getKeyRequestCommon()
210 if (keyType == KeyType::RELEASE) { in getKeyRequestCommon()
240 KeyType keyType, in getKeyRequest() argument
249 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/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.java86 public ImsiEncryptionInfo getCarrierInfoForImsiEncryption(int subId, int keyType, in getCarrierInfoForImsiEncryption() argument
90 (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.java943 public ImsiEncryptionInfo getCarrierInfoForImsiEncryption(int keyType); in getCarrierInfoForImsiEncryption() argument
/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/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.cpp165 static jobject CameraMetadata_getAllVendorKeys(JNIEnv* env, jobject thiz, jclass keyType);
699 static jobject CameraMetadata_getAllVendorKeys(JNIEnv* env, jobject thiz, jclass keyType) { in CameraMetadata_getAllVendorKeys() argument
734 if (env->IsSameObject(keyType, gMetadataOffsets.mCharacteristicsKey)) { in CameraMetadata_getAllVendorKeys()
737 } else if (env->IsSameObject(keyType, gMetadataOffsets.mResultKey)) { in CameraMetadata_getAllVendorKeys()
740 } 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.h55 String8 const &mimeType, DrmPlugin::KeyType keyType,
DDrmHal.h107 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.cpp150 keyStatus.keyType = static_cast<AMediaDrmKeyStatusType>(obj->readInt32()); in notify()
441 const uint8_t *init, size_t initSize, const char *mimeType, AMediaDrmKeyType keyType, in AMediaDrm_getKeyRequest() argument
460 switch (keyType) { in AMediaDrm_getKeyRequest()
/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/
DDrmPlugin.h54 KeyType keyType,
/frameworks/native/headers/media_plugin/media/drm/
DDrmAPI.h233 String8 const &mimeType, KeyType keyType,
/frameworks/av/drm/libmediadrm/
DIDrm.cpp161 String8 const &mimeType, DrmPlugin::KeyType keyType, in getKeyRequest()
171 data.writeInt32((uint32_t)keyType); in getKeyRequest()
830 DrmPlugin::KeyType keyType = (DrmPlugin::KeyType)data.readInt32(); in onTransact() local
846 keyType, optionalParameters, request, defaultUrl, in onTransact()

12