HomeSort by relevance Sort by last modified time
    Searched refs:imsi (Results 1 - 25 of 64) sorted by null

1 2 3

  /frameworks/base/packages/Osu/src/com/android/hotspot2/
IMSIParameter.java 9 public IMSIParameter(String imsi, boolean prefix) {
10 mImsi = imsi;
14 public IMSIParameter(String imsi) throws IOException {
15 if (imsi == null || imsi.length() == 0) {
16 throw new IOException("Bad IMSI: '" + imsi + "'");
21 for (nonDigit = 0; nonDigit < imsi.length(); nonDigit++) {
22 stopChar = imsi.charAt(nonDigit);
28 if (nonDigit == imsi.length())
    [all...]
OMADMAdapter.java 213 mDevDetail.add(new ConstPathAccessor<>(mImsi, ExtWiFiPath, "IMSI"));
345 String imsi = tm.getSubscriberId(); local
347 if ("310120".equals(simOperator) || (imsi != null && imsi.startsWith("310120"))) {
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
IMSIParameter.java 9 public IMSIParameter(String imsi, boolean prefix) {
10 mImsi = imsi;
14 public IMSIParameter(String imsi) throws IOException {
15 if (imsi == null || imsi.length() == 0) {
16 throw new IOException("Bad IMSI: '" + imsi + "'");
21 for (nonDigit = 0; nonDigit < imsi.length(); nonDigit++) {
22 stopChar = imsi.charAt(nonDigit);
28 if (nonDigit == imsi.length())
    [all...]
SIMAccessor.java 25 String imsi = mTelephonyManager.getSubscriberId(subId); local
26 if (mccMnc.matches(imsi)) {
27 imsis.add(imsi);
  /external/wpa_supplicant_8/hostapd/
hlr_auc_gw.c 18 * SIM-REQ-AUTH <IMSI> <max_chal>
19 * SIM-RESP-AUTH <IMSI> Kc1:SRES1:RAND1 Kc2:SRES2:RAND2 [Kc3:SRES3:RAND3]
20 * SIM-RESP-AUTH <IMSI> FAILURE
21 * GSM-AUTH-REQ <IMSI> RAND1:RAND2[:RAND3]
22 * GSM-AUTH-RESP <IMSI> Kc1:SRES1:Kc2:SRES2[:Kc3:SRES3]
23 * GSM-AUTH-RESP <IMSI> FAILURE
26 * AKA-REQ-AUTH <IMSI>
27 * AKA-RESP-AUTH <IMSI> <RAND> <AUTN> <IK> <CK> <RES>
28 * AKA-RESP-AUTH <IMSI> FAILURE
31 * AKA-AUTS <IMSI> <AUTS> <RAND
73 char imsi[20]; member in struct:gsm_triplet
84 char imsi[20]; member in struct:milenage_parameters
209 unsigned long long imsi; local
    [all...]
  /external/wpa_supplicant_8/src/eap_server/
eap_sim_db.c 38 char imsi[20]; member in struct:eap_sim_db_pending
377 eap_sim_db_get_pending(struct eap_sim_db_data *data, const char *imsi, int aka)
383 if (entry->aka == aka && os_strcmp(entry->imsi, imsi) == 0) {
457 const char *imsi, char *buf)
464 * SIM-RESP-AUTH <IMSI> Kc(i):SRES(i):RAND(i) ...
465 * SIM-RESP-AUTH <IMSI> FAILURE
466 * (IMSI = ASCII string, Kc/SRES/RAND = hex string)
469 entry = eap_sim_db_get_pending(data, imsi, 0);
536 const char *imsi, char *buf
629 char buf[1000], *pos, *cmd, *imsi; local
933 const char *imsi; local
1400 const char *imsi; local
1493 const char *imsi; local
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/
interworking.c 159 if (cred->pcsc || cred->imsi)
171 if (cred->pcsc || cred->imsi)
187 if (cred->domain || cred->pcsc || cred->imsi ||
724 static int plmn_id_match(struct wpabuf *anqp, const char *imsi, int mnc_len)
742 plmn[0] = (imsi[0] - '0') | ((imsi[1] - '0') << 4);
743 plmn[1] = (imsi[2] - '0') | ((imsi[5] - '0') << 4);
744 plmn[2] = (imsi[3] - '0') | ((imsi[4] - '0') << 4)
1924 const char *imsi; local
2194 char *imsi = NULL; local
    [all...]
eapol_test.c 1069 char imsi[20]; local
1105 len = sizeof(imsi);
1106 if (scard_get_imsi(scard, imsi, &len))
1108 wpa_hexdump_ascii(MSG_DEBUG, "SCARD: IMSI", (u8 *) imsi, len);
1109 /* NOTE: Permanent Username: 1 | IMSI */
1131 printf("%c", imsi[j]);
1178 char imsi[20]; local
1207 len = sizeof(imsi);
1208 if (scard_get_imsi(scard, imsi, &len))
    [all...]
  /external/wpa_supplicant_8/src/utils/
pcsc_funcs.h 17 int scard_get_imsi(struct scard_data *scard, char *imsi, size_t *len);
  /frameworks/base/core/java/android/service/carrier/
CarrierIdentifier.java 48 public CarrierIdentifier(String mcc, String mnc, String spn, String imsi, String gid1,
53 mImsi = imsi;
114 + ",imsi=" + mImsi
  /external/autotest/client/cros/cellular/wardmodem/state_machines/
network_identity_machine.py 59 Return the IMSI stored in the modem.
61 This is currently a stub that returns the same IMSI as returned from
92 Return the IMSI.
94 The IMSI information is also available from request_response state
95 machine. These two IMSI values can actually be different.
100 imsi = self._get_sim_imsi()
105 # |l| is the number of bytes used by the 'x' and 'imsi' together.
110 # |padded_imsi| is imsi padded with 'f' on the right to make the whole
116 padded_imsi = x + imsi
  /external/autotest/client/cros/cellular/pseudomodem/
sim.py 116 imsi=DEFAULT_IMSI,
123 self.imsi = carrier.operator_id + imsi
255 imsi = self.imsi
266 'Imsi' : imsi,
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/
Credential.java 96 EAPMethod eapMethod, IMSIParameter imsi) {
102 mImsi = imsi;
178 String imsi = enterpriseConfig.getPlmn(); local
179 mImsi = imsi == null || imsi.length() == 0 ? null : new IMSIParameter(imsi);
HomeSP.java 277 String imsi = imsiMatch(imsis, mccMnc); local
278 if (imsi != null) {
279 return imsi;
296 for (String imsi : imsis) {
297 if (imsi.startsWith(mccMnc)) {
298 return imsi;
  /system/connectivity/shill/cellular/
cellular_capability_classic.cc 318 string imsi = props.GetString(kModemPropertyIMSI); local
319 cellular()->set_imsi(imsi);
320 cellular()->home_provider_info()->UpdateIMSI(imsi);
321 // We do not currently obtain the IMSI OTA at all. Provide the IMSI from
323 cellular()->serving_operator_info()->UpdateIMSI(imsi);
mobile_operator_info.h 211 virtual void UpdateIMSI(const std::string& imsi);
mobile_operator_info.cc 220 void MobileOperatorInfo::UpdateIMSI(const string& imsi) {
221 SLOG(this, 3) << GetLogPrefix(__func__) << "(" << imsi << ")";
222 impl_->UpdateIMSI(imsi);
mobile_operator_info_impl.cc 226 void MobileOperatorInfoImpl::UpdateIMSI(const string& imsi) {
228 if (user_imsi_ == imsi) {
232 user_imsi_ = imsi;
235 if (!base::StartsWith(imsi, user_mccmnc_,
238 << "the IMSI [" << imsi << "]."; local
241 // Attempt to determine the MNO from IMSI since MCCMNC is absent.
242 AppendToCandidatesByMCCMNC(imsi.substr(0, kMCCMNCMinLen));
243 AppendToCandidatesByMCCMNC(imsi.substr(0, kMCCMNCMinLen + 1));
245 // We found some candidates using IMSI
    [all...]
cellular_capability_gsm.cc 162 // so shill needs to obtain IMSI, as an indicator of SIM presence, even
365 if (cellular()->imsi().empty()) {
375 SLOG(this, 2) << "Already have IMSI " << cellular()->imsi();
753 const string& imsi,
756 SLOG(this, 2) << "IMSI: " << imsi;
757 cellular()->set_imsi(imsi);
759 cellular()->home_provider_info()->UpdateIMSI(imsi);
760 // We do not currently obtain the IMSI OTA at all. Provide the IMSI from th
    [all...]
mobile_operator_info_unittest.cc 279 void UpdateIMSI(const std::string& imsi) {
280 operator_info_->UpdateIMSI(imsi);
561 // match by: MCCMNC part of IMSI of length 5 / 6.
590 // of IMSI
598 // MNO remains unchanged on a mismatched IMSI update.
604 // MNO remains uncnaged on an invalid IMSI update.
616 // Same as above, but this time, match with IMSI, followed by a contradictory
824 // message: MNO with one MVNO (imsi filter).
826 // MVNO fails to match by fist imsi update,
827 // then MVNO matches by imsi
    [all...]
  /frameworks/base/packages/Osu/src/com/android/hotspot2/pps/
HomeSP.java 122 for (String imsi : imsis) {
123 if (imsi.startsWith(mccMnc)) {
124 return imsi;
Credential.java 87 EAPMethod eapMethod, IMSIParameter imsi) {
93 mImsi = imsi;
  /external/wpa_supplicant_8/src/eap_peer/
eap.c 1325 char imsi[100]; local
    [all...]
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
GsmCdmaPhoneTest.java 409 String imsi = "1234567890"; local
410 editor.putString("vm_id_key", imsi);
413 doReturn(imsi).when(mSimRecords).getIMSI();
459 String imsi = "1234567890"; local
460 doReturn(imsi).when(mSimRecords).getIMSI();
660 String imsi = "1234"; local
661 doReturn(imsi).when(mSimRecords).getIMSI();
664 editor.putString(Phone.CF_ID, imsi);
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
OMADMAdapter.java 203 mDevDetail.add(new ConstPathAccessor<>(mImsi, ExtWiFiPath, "IMSI"));
337 String imsi = tm.getSubscriberId(); local
339 if ("310120".equals(simOperator) || (imsi != null && imsi.startsWith("310120"))) {

Completed in 728 milliseconds

1 2 3