Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierInfoManager.java114 public static void updateOrInsertCarrierKey(ImsiEncryptionInfo imsiEncryptionInfo, in updateOrInsertCarrierKey() argument
116 byte[] keyBytes = imsiEncryptionInfo.getPublicKey().getEncoded(); in updateOrInsertCarrierKey()
122 contentValues.put(Telephony.CarrierColumns.MCC, imsiEncryptionInfo.getMcc()); in updateOrInsertCarrierKey()
123 contentValues.put(Telephony.CarrierColumns.MNC, imsiEncryptionInfo.getMnc()); in updateOrInsertCarrierKey()
125 imsiEncryptionInfo.getKeyType()); in updateOrInsertCarrierKey()
127 imsiEncryptionInfo.getKeyIdentifier()); in updateOrInsertCarrierKey()
130 imsiEncryptionInfo.getExpirationTime().getTime()); in updateOrInsertCarrierKey()
140 imsiEncryptionInfo.getExpirationTime().getTime()); in updateOrInsertCarrierKey()
142 imsiEncryptionInfo.getKeyIdentifier()); in updateOrInsertCarrierKey()
147 imsiEncryptionInfo.getMcc(), in updateOrInsertCarrierKey()
[all …]
DCarrierKeyDownloadManager.java213 ImsiEncryptionInfo imsiEncryptionInfo = in getExpirationDate() local
215 if (imsiEncryptionInfo != null && imsiEncryptionInfo.getExpirationTime() != null) { in getExpirationDate()
216 if (minExpirationDate > imsiEncryptionInfo.getExpirationTime().getTime()) { in getExpirationDate()
217 minExpirationDate = imsiEncryptionInfo.getExpirationTime().getTime(); in getExpirationDate()
494 ImsiEncryptionInfo imsiEncryptionInfo = in areCarrierKeysAbsentOrExpiring() local
496 if (imsiEncryptionInfo == null) { in areCarrierKeysAbsentOrExpiring()
500 Date imsiDate = imsiEncryptionInfo.getExpirationTime(); in areCarrierKeysAbsentOrExpiring()
569 ImsiEncryptionInfo imsiEncryptionInfo = new ImsiEncryptionInfo(mcc, mnc, type, identifier, in savePublicKey() local
571 mPhone.setCarrierInfoForImsiEncryption(imsiEncryptionInfo); in savePublicKey()
DPhoneSubInfoController.java124 ImsiEncryptionInfo imsiEncryptionInfo) { in setCarrierInfoForImsiEncryption() argument
128 phone.setCarrierInfoForImsiEncryption(imsiEncryptionInfo); in setCarrierInfoForImsiEncryption()
DPhoneInternalInterface.java886 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo); in setCarrierInfoForImsiEncryption() argument
DRIL.java3865 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo, in setCarrierInfoForImsiEncryption() argument
3867 checkNotNull(imsiEncryptionInfo, "ImsiEncryptionInfo cannot be null."); in setCarrierInfoForImsiEncryption()
3886 halImsiInfo.mnc = imsiEncryptionInfo.getMnc(); in setCarrierInfoForImsiEncryption()
3887 halImsiInfo.mcc = imsiEncryptionInfo.getMcc(); in setCarrierInfoForImsiEncryption()
3888 halImsiInfo.keyIdentifier = imsiEncryptionInfo.getKeyIdentifier(); in setCarrierInfoForImsiEncryption()
3889 if (imsiEncryptionInfo.getExpirationTime() != null) { in setCarrierInfoForImsiEncryption()
3891 imsiEncryptionInfo.getExpirationTime().getTime(); in setCarrierInfoForImsiEncryption()
3893 for (byte b : imsiEncryptionInfo.getPublicKey().getEncoded()) { in setCarrierInfoForImsiEncryption()
DCommandsInterface.java1470 void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo, in setCarrierInfoForImsiEncryption() argument
DGsmCdmaPhone.java1536 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo) { in setCarrierInfoForImsiEncryption() argument
1537 CarrierInfoManager.setCarrierInfoForImsiEncryption(imsiEncryptionInfo, mContext, mPhoneId); in setCarrierInfoForImsiEncryption()
DPhone.java3057 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo) { in setCarrierInfoForImsiEncryption() argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierKeyDownloadMgrTest.java119 ImsiEncryptionInfo imsiEncryptionInfo = new ImsiEncryptionInfo("mcc", "mnc", 1, in testExpirationDate1Day() local
121 when(mPhone.getCarrierInfoForImsiEncryption(anyInt())).thenReturn(imsiEncryptionInfo); in testExpirationDate1Day()
145 ImsiEncryptionInfo imsiEncryptionInfo = new ImsiEncryptionInfo("mcc", "mnc", 1, in testExpirationDate7Day() local
147 when(mPhone.getCarrierInfoForImsiEncryption(anyInt())).thenReturn(imsiEncryptionInfo); in testExpirationDate7Day()
169 ImsiEncryptionInfo imsiEncryptionInfo = new ImsiEncryptionInfo("310", "270", 2, in testParseJson() local
174 (Matchers.refEq(imsiEncryptionInfo))); in testParseJson()
193 ImsiEncryptionInfo imsiEncryptionInfo = new ImsiEncryptionInfo("310", "270", 2, in testParseJsonPublicKey() local
198 (Matchers.refEq(imsiEncryptionInfo))); in testParseJsonPublicKey()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DTelephonyUtil.java83 ImsiEncryptionInfo imsiEncryptionInfo; in getSimIdentity() local
85 imsiEncryptionInfo = tm.getCarrierInfoForImsiEncryption(TelephonyManager.KEY_TYPE_WLAN); in getSimIdentity()
98 getSimMethodForConfig(config), imsi, mccMnc, imsiEncryptionInfo); in getSimIdentity()
138 ImsiEncryptionInfo imsiEncryptionInfo) { in buildEncryptedIdentity() argument
139 if (imsiEncryptionInfo == null) { in buildEncryptedIdentity()
150 imsiEncryptionInfo.getPublicKey(), imsi.getBytes()); in buildEncryptedIdentity()
156 if (imsiEncryptionInfo.getKeyIdentifier() != null) { in buildEncryptedIdentity()
158 encryptedIdentity = encryptedIdentity + "," + imsiEncryptionInfo.getKeyIdentifier(); in buildEncryptedIdentity()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DCarrierNetworkConfig.java128 ImsiEncryptionInfo imsiEncryptionInfo = telephonyManager in verifyCarrierImsiEncryptionInfoIsAvailable() local
130 if (imsiEncryptionInfo == null) { in verifyCarrierImsiEncryptionInfoIsAvailable()
/frameworks/base/telephony/java/com/android/internal/telephony/
DIPhoneSubInfo.aidl147 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.java637 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo, in setCarrierInfoForImsiEncryption() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DSimulatedCommands.java1521 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo, in setCarrierInfoForImsiEncryption() argument
1525 AsyncResult.forMessage(response).result = imsiEncryptionInfo; in setCarrierInfoForImsiEncryption()
DSimulatedCommandsVerifier.java1377 public void setCarrierInfoForImsiEncryption(ImsiEncryptionInfo imsiEncryptionInfo, in setCarrierInfoForImsiEncryption() argument