Home
last modified time | relevance | path

Searched refs:imsiEncryptionInfo (Results 1 – 15 of 15) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierInfoManager.java113 public static void updateOrInsertCarrierKey(ImsiEncryptionInfo imsiEncryptionInfo, in updateOrInsertCarrierKey() argument
115 byte[] keyBytes = imsiEncryptionInfo.getPublicKey().getEncoded(); in updateOrInsertCarrierKey()
121 contentValues.put(Telephony.CarrierColumns.MCC, imsiEncryptionInfo.getMcc()); in updateOrInsertCarrierKey()
122 contentValues.put(Telephony.CarrierColumns.MNC, imsiEncryptionInfo.getMnc()); in updateOrInsertCarrierKey()
124 imsiEncryptionInfo.getKeyType()); in updateOrInsertCarrierKey()
126 imsiEncryptionInfo.getKeyIdentifier()); in updateOrInsertCarrierKey()
129 imsiEncryptionInfo.getExpirationTime().getTime()); in updateOrInsertCarrierKey()
139 imsiEncryptionInfo.getExpirationTime().getTime()); in updateOrInsertCarrierKey()
141 imsiEncryptionInfo.getKeyIdentifier()); in updateOrInsertCarrierKey()
146 imsiEncryptionInfo.getMcc(), in updateOrInsertCarrierKey()
[all …]
DCarrierKeyDownloadManager.java231 ImsiEncryptionInfo imsiEncryptionInfo = in getExpirationDate() local
233 if (imsiEncryptionInfo != null && imsiEncryptionInfo.getExpirationTime() != null) { in getExpirationDate()
234 if (minExpirationDate > imsiEncryptionInfo.getExpirationTime().getTime()) { in getExpirationDate()
235 minExpirationDate = imsiEncryptionInfo.getExpirationTime().getTime(); in getExpirationDate()
503 ImsiEncryptionInfo imsiEncryptionInfo = in areCarrierKeysAbsentOrExpiring() local
505 if (imsiEncryptionInfo == null) { in areCarrierKeysAbsentOrExpiring()
509 Date imsiDate = imsiEncryptionInfo.getExpirationTime(); in areCarrierKeysAbsentOrExpiring()
582 ImsiEncryptionInfo imsiEncryptionInfo = new ImsiEncryptionInfo(mcc, mnc, type, identifier, in savePublicKey() local
584 mPhone.setCarrierInfoForImsiEncryption(imsiEncryptionInfo); in savePublicKey()
DPhoneSubInfoController.java98 ImsiEncryptionInfo imsiEncryptionInfo) { in setCarrierInfoForImsiEncryption() argument
102 phone.setCarrierInfoForImsiEncryption(imsiEncryptionInfo); in setCarrierInfoForImsiEncryption()
DPhoneInternalInterface.java924 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo); in setCarrierInfoForImsiEncryption() argument
DRIL.java5084 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo, in setCarrierInfoForImsiEncryption() argument
5086 checkNotNull(imsiEncryptionInfo, "ImsiEncryptionInfo cannot be null."); in setCarrierInfoForImsiEncryption()
5100 halImsiInfo.mnc = imsiEncryptionInfo.getMnc(); in setCarrierInfoForImsiEncryption()
5101 halImsiInfo.mcc = imsiEncryptionInfo.getMcc(); in setCarrierInfoForImsiEncryption()
5102 halImsiInfo.keyIdentifier = imsiEncryptionInfo.getKeyIdentifier(); in setCarrierInfoForImsiEncryption()
5103 if (imsiEncryptionInfo.getExpirationTime() != null) { in setCarrierInfoForImsiEncryption()
5105 imsiEncryptionInfo.getExpirationTime().getTime(); in setCarrierInfoForImsiEncryption()
5107 for (byte b : imsiEncryptionInfo.getPublicKey().getEncoded()) { in setCarrierInfoForImsiEncryption()
DCommandsInterface.java1609 void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo, in setCarrierInfoForImsiEncryption() argument
DGsmCdmaPhone.java1844 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo) { in setCarrierInfoForImsiEncryption() argument
1845 CarrierInfoManager.setCarrierInfoForImsiEncryption(imsiEncryptionInfo, mContext, mPhoneId); in setCarrierInfoForImsiEncryption()
DPhone.java3658 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo) { in setCarrierInfoForImsiEncryption() argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierKeyDownloadMgrTest.java105 ImsiEncryptionInfo imsiEncryptionInfo = new ImsiEncryptionInfo("mcc", "mnc", 1, in testExpirationDate1Day() local
107 when(mPhone.getCarrierInfoForImsiEncryption(anyInt())).thenReturn(imsiEncryptionInfo); in testExpirationDate1Day()
131 ImsiEncryptionInfo imsiEncryptionInfo = new ImsiEncryptionInfo("mcc", "mnc", 1, in testExpirationDate7Day() local
133 when(mPhone.getCarrierInfoForImsiEncryption(anyInt())).thenReturn(imsiEncryptionInfo); in testExpirationDate7Day()
152 ImsiEncryptionInfo imsiEncryptionInfo = new ImsiEncryptionInfo("310", "270", 2, in testParseJson() local
157 (Matchers.refEq(imsiEncryptionInfo))); in testParseJson()
173 ImsiEncryptionInfo imsiEncryptionInfo = new ImsiEncryptionInfo("310", "270", 2, in testParseJsonPublicKey() local
178 (Matchers.refEq(imsiEncryptionInfo))); in testParseJsonPublicKey()
322 ImsiEncryptionInfo imsiEncryptionInfo = new ImsiEncryptionInfo("310", "270", in testParseJson3GppFormat() local
328 (Matchers.refEq(imsiEncryptionInfo))); in testParseJson3GppFormat()
DSimulatedCommandsVerifier.java1378 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo, in setCarrierInfoForImsiEncryption() argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiCarrierInfoManager.java518 ImsiEncryptionInfo imsiEncryptionInfo; in getSimIdentity() local
520 imsiEncryptionInfo = specifiedTm.getCarrierInfoForImsiEncryption( in getSimIdentity()
526 if (imsiEncryptionInfo == null) { in getSimIdentity()
532 imsiEncryptionInfo); in getSimIdentity()
618 ImsiEncryptionInfo imsiEncryptionInfo) { in buildEncryptedIdentity() argument
619 if (imsiEncryptionInfo == null) { in buildEncryptedIdentity()
630 imsiEncryptionInfo.getPublicKey(), identity.getBytes(), Base64.NO_WRAP); in buildEncryptedIdentity()
636 if (imsiEncryptionInfo.getKeyIdentifier() != null) { in buildEncryptedIdentity()
638 encryptedIdentity = encryptedIdentity + "," + imsiEncryptionInfo.getKeyIdentifier(); in buildEncryptedIdentity()
/frameworks/base/telephony/java/com/android/internal/telephony/
DIPhoneSubInfo.aidl154 in ImsiEncryptionInfo imsiEncryptionInfo); in setCarrierInfoForImsiEncryption() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCommandInterface.java635 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo, in setCarrierInfoForImsiEncryption() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipCommandInterface.java635 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo, in setCarrierInfoForImsiEncryption() argument
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java4265 ImsiEncryptionInfo imsiEncryptionInfo = info.getCarrierInfoForImsiEncryption( in getCarrierInfoForImsiEncryption() local
4267 if (imsiEncryptionInfo == null && isImsiEncryptionRequired(subId, keyType)) { in getCarrierInfoForImsiEncryption()
4271 return imsiEncryptionInfo; in getCarrierInfoForImsiEncryption()
4362 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo) { in setCarrierInfoForImsiEncryption() argument
4367 imsiEncryptionInfo); in setCarrierInfoForImsiEncryption()