/frameworks/base/telephony/java/android/telephony/ |
D | ImsiEncryptionInfo.java | 46 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/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierInfoManager.java | 69 public static ImsiEncryptionInfo getCarrierInfoForImsiEncryption(int keyType, in getCarrierInfoForImsiEncryption() argument 94 new String[]{mcc, mnc, String.valueOf(keyType)}, null); in getCarrierInfoForImsiEncryption() 96 Log.d(LOG_TAG, "No rows found for keyType: " + keyType); in getCarrierInfoForImsiEncryption() 119 if (!CarrierKeyDownloadManager.isKeyEnabled(keyType, keyAvailabilityBitmask)) { in getCarrierInfoForImsiEncryption() 120 Log.d(LOG_TAG, "Backup key does not have matching keyType. keyType=" + keyType in getCarrierInfoForImsiEncryption() 126 if (keyType == TelephonyManager.KEY_TYPE_EPDG) { in getCarrierInfoForImsiEncryption() 130 } else if (keyType == TelephonyManager.KEY_TYPE_WLAN) { in getCarrierInfoForImsiEncryption() 138 + keyType); in getCarrierInfoForImsiEncryption() 143 return new ImsiEncryptionInfo(mcc, mnc, keyType, keyId, in getCarrierInfoForImsiEncryption() 147 Log.e(LOG_TAG, "More than 1 row found for the keyType: " + keyType); in getCarrierInfoForImsiEncryption() [all …]
|
D | CarrierKeyDownloadManager.java | 498 public boolean isKeyEnabled(int keyType) { in isKeyEnabled() argument 500 return isKeyEnabled(keyType, mKeyAvailability); in isKeyEnabled() 507 public static boolean isKeyEnabled(int keyType, int keyAvailability) { in isKeyEnabled() argument 509 int returnValue = (keyAvailability >> (keyType - 1)) & 1; in isKeyEnabled()
|
D | PhoneSubInfoController.java | 89 public ImsiEncryptionInfo getCarrierInfoForImsiEncryption(int subId, int keyType, in getCarrierInfoForImsiEncryption() argument 93 (phone)-> phone.getCarrierInfoForImsiEncryption(keyType, true)); in getCarrierInfoForImsiEncryption()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
D | InitDataParser.cpp | 49 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()
|
D | DrmPlugin.cpp | 175 KeyType keyType, in getKeyRequestCommon() argument 186 if (keyType == KeyType::OFFLINE && 0 == initData.size()) { in getKeyRequestCommon() 195 (keyType != KeyType::STREAMING && in getKeyRequestCommon() 196 keyType != KeyType::OFFLINE && in getKeyRequestCommon() 197 keyType != KeyType::RELEASE)) { in getKeyRequestCommon() 203 if (keyType == KeyType::STREAMING || keyType == KeyType::OFFLINE) { in getKeyRequestCommon() 216 session->getKeyRequest(initData, mimeType, keyType, request)); in getKeyRequestCommon() 218 if (keyType == KeyType::RELEASE) { in getKeyRequestCommon() 249 KeyType keyType, in getKeyRequest() argument 258 scope, initData, mimeType, keyType, optionalParameters, in getKeyRequest() [all …]
|
D | Session.cpp | 45 V1_0::KeyType keyType, in getKeyRequest() argument 48 return parser.parse(initData, mimeType, keyType, keyRequest); in getKeyRequest()
|
/frameworks/base/keystore/java/android/security/ |
D | KeyPairGeneratorSpec.java | 113 public KeyPairGeneratorSpec(Context context, String keyStoreAlias, String keyType, int keySize, in KeyPairGeneratorSpec() argument 138 mKeyType = keyType; in KeyPairGeneratorSpec() 331 public Builder setKeyType(@NonNull @KeyProperties.KeyAlgorithmEnum String keyType) in setKeyType() argument 333 if (keyType == null) { in setKeyType() 337 KeyProperties.KeyAlgorithm.toKeymasterAsymmetricKeyAlgorithm(keyType); in setKeyType() 339 throw new NoSuchAlgorithmException("Unsupported key type: " + keyType); in setKeyType() 342 mKeyType = keyType; in setKeyType()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/ |
D | InitDataParser.h | 38 V1_0::KeyType keyType, 47 std::string generateRequest(V1_0::KeyType keyType,
|
D | DrmPlugin.h | 87 KeyType keyType, 95 KeyType keyType, 103 KeyType keyType, 400 KeyType keyType,
|
D | Session.h | 50 V1_0::KeyType keyType,
|
/frameworks/av/media/ndk/include/media/ |
D | NdkMediaDrm.h | 155 AMediaDrmKeyStatusType keyType; member 295 const uint8_t *init, size_t initSize, const char *mimeType, AMediaDrmKeyType keyType,
|
/frameworks/av/drm/libmediadrm/fuzzer/ |
D | README.md | 14 3. Key Type (parameter name: `keyType`) 21 | `keyType` | 0.`DrmPlugin::kKeyType_Offline` 1.`DrmPlugin::kKeyType_Streaming` 2.`DrmPlugin::kKeyT…
|
D | mediadrm_fuzzer.cpp | 232 DrmPlugin::KeyType keyType; in invokeDrmDecryptEncryptAPI() local 235 keyType = static_cast<DrmPlugin::KeyType>(mFuzzedDataProvider->ConsumeIntegral<size_t>()); in invokeDrmDecryptEncryptAPI() 237 keyType = kKeyType[mFuzzedDataProvider->ConsumeIntegralInRange<size_t>(0, kNumKeyType - 1)]; in invokeDrmDecryptEncryptAPI() 243 mDrm->getKeyRequest(mSessionId, initData, mimeType, keyType, mdOptionalParameters, keyRequest, in invokeDrmDecryptEncryptAPI()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/ |
D | DrmPlugin.cpp | 87 KeyType keyType, in getKeyRequest() argument 97 if (keyType != kKeyType_Streaming) { in getKeyRequest()
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_CameraMetadata.cpp | 169 jclass keyType); 766 jclass keyType) { in CameraMetadata_getAllVendorKeys() argument 799 if (env->IsSameObject(keyType, gMetadataOffsets.mCharacteristicsKey)) { in CameraMetadata_getAllVendorKeys() 802 } else if (env->IsSameObject(keyType, gMetadataOffsets.mResultKey)) { in CameraMetadata_getAllVendorKeys() 805 } else if (env->IsSameObject(keyType, gMetadataOffsets.mRequestKey)) { in CameraMetadata_getAllVendorKeys()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | IPhoneSubInfo.aidl | 147 ImsiEncryptionInfo getCarrierInfoForImsiEncryption(int subId, int keyType, in getCarrierInfoForImsiEncryption() argument
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
D | MockDrmCryptoPlugin.cpp | 114 String8 const &mimeType, KeyType keyType, in getKeyRequest() argument 123 keyType, stringMapToString(optionalParameters).string()); in getKeyRequest() 141 keyTypeStr.appendFormat("%d", (int)keyType); in getKeyRequest()
|
D | MockDrmCryptoPlugin.h | 64 String8 const &mimeType, KeyType keyType,
|
/frameworks/base/core/java/android/widget/ |
D | GridLayout.java | 2294 private final Class<K> keyType; 2297 private Assoc(Class<K> keyType, Class<V> valueType) { 2298 this.keyType = keyType; 2302 public static <K, V> Assoc<K, V> of(Class<K> keyType, Class<V> valueType) { 2303 return new Assoc<K, V>(keyType, valueType); 2313 K[] keys = (K[]) Array.newInstance(keyType, N);
|
/frameworks/av/media/ndk/ |
D | NdkMediaDrm.cpp | 138 keyStatus.keyType = static_cast<AMediaDrmKeyStatusType>(drmKeyStatus.type); in sendKeysChange() 415 const uint8_t *init, size_t initSize, const char *mimeType, AMediaDrmKeyType keyType, in AMediaDrm_getKeyRequest() argument 434 switch (keyType) { in AMediaDrm_getKeyRequest()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/ |
D | PeopleBackupHelper.java | 228 SharedFileEntryType keyType = getEntryType(entry); in restoreKey() local 230 switch (keyType) { in restoreKey()
|
/frameworks/av/drm/libmediadrm/include/mediadrm/ |
D | IDrm.h | 63 String8 const &mimeType, DrmPlugin::KeyType keyType,
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/ |
D | DrmPlugin.h | 54 KeyType keyType,
|
/frameworks/native/headers/media_plugin/media/drm/ |
D | DrmAPI.h | 233 String8 const &mimeType, KeyType keyType,
|