/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 | 94 ImsiEncryptionInfo imsiEncryptionInfo) { in setCarrierInfoForImsiEncryption() argument 98 phone.setCarrierInfoForImsiEncryption(imsiEncryptionInfo); in setCarrierInfoForImsiEncryption()
|
D | PhoneInternalInterface.java | 933 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo); in setCarrierInfoForImsiEncryption() argument
|
D | RIL.java | 5085 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo, in setCarrierInfoForImsiEncryption() argument 5087 checkNotNull(imsiEncryptionInfo, "ImsiEncryptionInfo cannot be null."); in setCarrierInfoForImsiEncryption() 5101 halImsiInfo.mnc = imsiEncryptionInfo.getMnc(); in setCarrierInfoForImsiEncryption() 5102 halImsiInfo.mcc = imsiEncryptionInfo.getMcc(); in setCarrierInfoForImsiEncryption() 5103 halImsiInfo.keyIdentifier = imsiEncryptionInfo.getKeyIdentifier(); in setCarrierInfoForImsiEncryption() 5104 if (imsiEncryptionInfo.getExpirationTime() != null) { in setCarrierInfoForImsiEncryption() 5106 imsiEncryptionInfo.getExpirationTime().getTime(); in setCarrierInfoForImsiEncryption() 5108 for (byte b : imsiEncryptionInfo.getPublicKey().getEncoded()) { in setCarrierInfoForImsiEncryption()
|
D | CommandsInterface.java | 1617 void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo, in setCarrierInfoForImsiEncryption() argument
|
D | GsmCdmaPhone.java | 1834 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo) { in setCarrierInfoForImsiEncryption() argument 1835 CarrierInfoManager.setCarrierInfoForImsiEncryption(imsiEncryptionInfo, mContext, mPhoneId); in setCarrierInfoForImsiEncryption()
|
D | Phone.java | 3638 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 | SimulatedCommands.java | 1559 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo, in setCarrierInfoForImsiEncryption() argument 1563 AsyncResult.forMessage(response).result = imsiEncryptionInfo; in setCarrierInfoForImsiEncryption()
|
D | SimulatedCommandsVerifier.java | 1373 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo, in setCarrierInfoForImsiEncryption() argument
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | TelephonyUtil.java | 117 ImsiEncryptionInfo imsiEncryptionInfo; in getSimIdentity() local 119 imsiEncryptionInfo = defaultDataTm.getCarrierInfoForImsiEncryption( in getSimIdentity() 125 if (imsiEncryptionInfo == null) { in getSimIdentity() 131 imsiEncryptionInfo); in getSimIdentity() 212 ImsiEncryptionInfo imsiEncryptionInfo) { in buildEncryptedIdentity() argument 213 if (imsiEncryptionInfo == null) { in buildEncryptedIdentity() 224 imsiEncryptionInfo.getPublicKey(), identity.getBytes(), Base64.NO_WRAP); in buildEncryptedIdentity() 230 if (imsiEncryptionInfo.getKeyIdentifier() != null) { in buildEncryptedIdentity() 232 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 | 3934 ImsiEncryptionInfo imsiEncryptionInfo = info.getCarrierInfoForImsiEncryption( in getCarrierInfoForImsiEncryption() local 3936 if (imsiEncryptionInfo == null && isImsiEncryptionRequired(subId, keyType)) { in getCarrierInfoForImsiEncryption() 3940 return imsiEncryptionInfo; in getCarrierInfoForImsiEncryption() 4031 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo) { in setCarrierInfoForImsiEncryption() argument 4036 imsiEncryptionInfo); in setCarrierInfoForImsiEncryption()
|