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.java187 ImsiEncryptionInfo imsiEncryptionInfo = null; in getImsiEncryptionInfo() local
189 imsiEncryptionInfo = new ImsiEncryptionInfo(mcc, mnc, in getImsiEncryptionInfo()
195 return imsiEncryptionInfo; in getImsiEncryptionInfo()
203 public static void updateOrInsertCarrierKey(ImsiEncryptionInfo imsiEncryptionInfo, in updateOrInsertCarrierKey() argument
205 byte[] keyBytes = imsiEncryptionInfo.getPublicKey().getEncoded(); in updateOrInsertCarrierKey()
211 contentValues.put(Telephony.CarrierColumns.MCC, imsiEncryptionInfo.getMcc()); in updateOrInsertCarrierKey()
212 contentValues.put(Telephony.CarrierColumns.MNC, imsiEncryptionInfo.getMnc()); in updateOrInsertCarrierKey()
213 contentValues.put(Telephony.CarrierColumns.CARRIER_ID, imsiEncryptionInfo.getCarrierId()); in updateOrInsertCarrierKey()
215 imsiEncryptionInfo.getKeyType()); in updateOrInsertCarrierKey()
217 imsiEncryptionInfo.getKeyIdentifier()); in updateOrInsertCarrierKey()
[all …]
DRadioSimProxy.java559 public void setCarrierInfoForImsiEncryption(int serial, ImsiEncryptionInfo imsiEncryptionInfo) in setCarrierInfoForImsiEncryption() argument
565 halImsiInfo.mnc = imsiEncryptionInfo.getMnc(); in setCarrierInfoForImsiEncryption()
566 halImsiInfo.mcc = imsiEncryptionInfo.getMcc(); in setCarrierInfoForImsiEncryption()
567 halImsiInfo.keyIdentifier = imsiEncryptionInfo.getKeyIdentifier(); in setCarrierInfoForImsiEncryption()
568 if (imsiEncryptionInfo.getExpirationTime() != null) { in setCarrierInfoForImsiEncryption()
569 halImsiInfo.expirationTime = imsiEncryptionInfo.getExpirationTime().getTime(); in setCarrierInfoForImsiEncryption()
571 halImsiInfo.carrierKey = imsiEncryptionInfo.getPublicKey().getEncoded(); in setCarrierInfoForImsiEncryption()
572 halImsiInfo.keyType = (byte) imsiEncryptionInfo.getKeyType(); in setCarrierInfoForImsiEncryption()
578 halImsiInfo.base.mnc = imsiEncryptionInfo.getMnc(); in setCarrierInfoForImsiEncryption()
579 halImsiInfo.base.mcc = imsiEncryptionInfo.getMcc(); in setCarrierInfoForImsiEncryption()
[all …]
DCarrierKeyDownloadManager.java392 ImsiEncryptionInfo imsiEncryptionInfo = in getExpirationDate() local
394 if (imsiEncryptionInfo != null && imsiEncryptionInfo.getExpirationTime() != null) { in getExpirationDate()
395 if (minExpirationDate > imsiEncryptionInfo.getExpirationTime().getTime()) { in getExpirationDate()
396 minExpirationDate = imsiEncryptionInfo.getExpirationTime().getTime(); in getExpirationDate()
727 ImsiEncryptionInfo imsiEncryptionInfo = in areCarrierKeysAbsentOrExpiring() local
729 if (imsiEncryptionInfo == null) { in areCarrierKeysAbsentOrExpiring()
732 } else if (imsiEncryptionInfo.getCarrierId() == TelephonyManager.UNKNOWN_CARRIER_ID) { in areCarrierKeysAbsentOrExpiring()
737 Date imsiDate = imsiEncryptionInfo.getExpirationTime(); in areCarrierKeysAbsentOrExpiring()
822 ImsiEncryptionInfo imsiEncryptionInfo = new ImsiEncryptionInfo(mcc, mnc, in savePublicKey() local
824 mPhone.setCarrierInfoForImsiEncryption(imsiEncryptionInfo); in savePublicKey()
DPhoneSubInfoController.java137 ImsiEncryptionInfo imsiEncryptionInfo) {
141 phone.setCarrierInfoForImsiEncryption(imsiEncryptionInfo);
DPhoneInternalInterface.java1080 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo); in setCarrierInfoForImsiEncryption() argument
DCommandsInterface.java1638 void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo, Message response); in setCarrierInfoForImsiEncryption() argument
DGsmCdmaPhone.java2120 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo) { in setCarrierInfoForImsiEncryption() argument
2121 CarrierInfoManager.setCarrierInfoForImsiEncryption(imsiEncryptionInfo, mContext, mPhoneId); in setCarrierInfoForImsiEncryption()
2122 mCi.setCarrierInfoForImsiEncryption(imsiEncryptionInfo, null); in setCarrierInfoForImsiEncryption()
DRIL.java4511 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo, in setCarrierInfoForImsiEncryption() argument
4513 Objects.requireNonNull(imsiEncryptionInfo, "ImsiEncryptionInfo cannot be null."); in setCarrierInfoForImsiEncryption()
4527 simProxy.setCarrierInfoForImsiEncryption(rr.mSerial, imsiEncryptionInfo); in setCarrierInfoForImsiEncryption()
DPhone.java4017 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo) { in setCarrierInfoForImsiEncryption() argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierKeyDownloadMgrTest.java142 ImsiEncryptionInfo imsiEncryptionInfo = new ImsiEncryptionInfo("mcc", "mnc", 1, in testExpirationDate1Day() local
145 .thenReturn(imsiEncryptionInfo); in testExpirationDate1Day()
168 ImsiEncryptionInfo imsiEncryptionInfo = new ImsiEncryptionInfo("mcc", "mnc", 1, in testExpirationDate7Day() local
171 .thenReturn(imsiEncryptionInfo); in testExpirationDate7Day()
190 ImsiEncryptionInfo imsiEncryptionInfo = new ImsiEncryptionInfo("310", "270", 2, in testParseJson() local
195 (ArgumentMatchers.refEq(imsiEncryptionInfo))); in testParseJson()
212 ImsiEncryptionInfo imsiEncryptionInfo = new ImsiEncryptionInfo("310", "270", 2, in testParseJsonPublicKey() local
217 (ArgumentMatchers.refEq(imsiEncryptionInfo))); in testParseJsonPublicKey()
227 ImsiEncryptionInfo imsiEncryptionInfo = new ImsiEncryptionInfo(mcc, mnc, 2, in testParseJsonPublicKey() local
232 (ArgumentMatchers.refEq(imsiEncryptionInfo))); in testParseJsonPublicKey()
[all …]
DSimulatedCommandsVerifier.java1332 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo, in setCarrierInfoForImsiEncryption() argument
DSimulatedCommands.java1543 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo, in setCarrierInfoForImsiEncryption() argument
1547 AsyncResult.forMessage(response).result = imsiEncryptionInfo; in setCarrierInfoForImsiEncryption()
/frameworks/base/telephony/java/com/android/internal/telephony/
DIPhoneSubInfo.aidl155 in ImsiEncryptionInfo imsiEncryptionInfo); in setCarrierInfoForImsiEncryption() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCommandInterface.java601 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo, in setCarrierInfoForImsiEncryption() argument
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java4741 ImsiEncryptionInfo imsiEncryptionInfo = info.getCarrierInfoForImsiEncryption( in getCarrierInfoForImsiEncryption() local
4743 if (imsiEncryptionInfo == null && isImsiEncryptionRequired(subId, keyType)) { in getCarrierInfoForImsiEncryption()
4747 return imsiEncryptionInfo; in getCarrierInfoForImsiEncryption()
4835 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo) { in setCarrierInfoForImsiEncryption() argument
4840 imsiEncryptionInfo); in setCarrierInfoForImsiEncryption()