/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierInfoManager.java | 113 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 …]
|
D | CarrierKeyDownloadManager.java | 231 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()
|
D | PhoneSubInfoController.java | 98 ImsiEncryptionInfo imsiEncryptionInfo) { in setCarrierInfoForImsiEncryption() argument 102 phone.setCarrierInfoForImsiEncryption(imsiEncryptionInfo); in setCarrierInfoForImsiEncryption()
|
D | PhoneInternalInterface.java | 924 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo); in setCarrierInfoForImsiEncryption() argument
|
D | RIL.java | 5084 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()
|
D | CommandsInterface.java | 1609 void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo, in setCarrierInfoForImsiEncryption() argument
|
D | GsmCdmaPhone.java | 1844 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo) { in setCarrierInfoForImsiEncryption() argument 1845 CarrierInfoManager.setCarrierInfoForImsiEncryption(imsiEncryptionInfo, mContext, mPhoneId); in setCarrierInfoForImsiEncryption()
|
D | Phone.java | 3658 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo) { in setCarrierInfoForImsiEncryption() argument
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierKeyDownloadMgrTest.java | 105 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()
|
D | SimulatedCommandsVerifier.java | 1378 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo, in setCarrierInfoForImsiEncryption() argument
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiCarrierInfoManager.java | 518 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/ |
D | IPhoneSubInfo.aidl | 154 in ImsiEncryptionInfo imsiEncryptionInfo); in setCarrierInfoForImsiEncryption() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCommandInterface.java | 635 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo, in setCarrierInfoForImsiEncryption() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipCommandInterface.java | 635 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo, in setCarrierInfoForImsiEncryption() argument
|
/frameworks/base/telephony/java/android/telephony/ |
D | TelephonyManager.java | 4265 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()
|