Home
last modified time | relevance | path

Searched refs:carrierId (Results 1 – 25 of 105) sorted by relevance

12345

/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DRcsStats.java395 stat.carrierId = getCarrierId(subId); in getDefaultSipDelegateStat()
406 newStat.carrierId = source.carrierId; in copyOf()
419 public int carrierId; field in RcsStats.SipTransportFeatureTags.LastFeatureTagState
424 LastFeatureTagState(int carrierId, int slotId, int state, int reason, long timeStamp) { in LastFeatureTagState() argument
425 this.carrierId = carrierId; in LastFeatureTagState()
455 int carrierId = getCarrierId(mSubId); in updateLastFeatureTagState() local
463 create(tagName, carrierId, slotId, state, reason, timeStamp); in updateLastFeatureTagState()
467 create(tagName, carrierId, slotId, state, reason, timeStamp); in updateLastFeatureTagState()
488 || !isValidCarrierId(lastFeatureTagState.carrierId)) { in addFeatureTagStat()
490 + ", carrierId = " + lastFeatureTagState.carrierId); in addFeatureTagStat()
[all …]
DModemRestartStats.java46 int carrierId = getCarrierId(); in onModemRestart() local
48 Rlog.d(TAG, "Modem restart (carrier=" + carrierId + "): " + reason); in onModemRestart()
49 TelephonyStatsLog.write(MODEM_RESTART, basebandVersion, reason, carrierId); in onModemRestart()
66 int carrierId = INVALID_SUBSCRIPTION_ID; in getCarrierId() local
69 carrierId = phone.getCarrierId(); in getCarrierId()
70 if (carrierId != INVALID_SUBSCRIPTION_ID) { in getCarrierId()
77 return carrierId; in getCarrierId()
DVoiceCallRatTracker.java80 public void add(int carrierId, int rat, long timestampMillis, Set<Integer> connectionIds) { in add() argument
93 Key key = new Key(carrierId, rat); in add()
151 usage.carrierId = key.carrierId; in entryToProto()
167 public final int carrierId; field in VoiceCallRatTracker.Key
170 Key(int carrierId, int rat) { in Key() argument
171 this.carrierId = carrierId; in Key()
176 return new Key(usage.carrierId, usage.rat); in fromProto()
180 return Objects.hash(carrierId, rat); in hashCode()
188 return thatKey.carrierId == this.carrierId && thatKey.rat == this.rat; in equals()
DPersistAtomsStorage.java483 newMetrics.carrierId = networkRequests.carrierId; in addNetworkRequestsV2()
670 int phoneId, int carrierId, @NetworkTypeBitMask long bitmask) { in addUnmeteredNetworks() argument
676 stats.carrierId = carrierId; in addUnmeteredNetworks()
683 if (stats.carrierId != carrierId) { in addUnmeteredNetworks()
684 stats.carrierId = carrierId; in addUnmeteredNetworks()
1419 public synchronized @NetworkTypeBitMask long getUnmeteredNetworks(int phoneId, int carrierId) { in getUnmeteredNetworks() argument
1426 existingStats.carrierId != carrierId ? 0L : existingStats.unmeteredNetworksBitmask; in getUnmeteredNetworks()
1973 && state.carrierId == key.carrierId in find()
1997 && serviceSwitch.carrierId == key.carrierId) { in find()
2026 if (stats.carrierId == key.carrierId in find()
[all …]
DPerSimStatus.java68 public final int carrierId; field in PerSimStatus
93 int carrierId = phone.getCarrierId(); in getCurrentState() local
99 carrierId, in getCurrentState()
118 persistAtomsStorage.getUnmeteredNetworks(phone.getPhoneId(), carrierId), in getCurrentState()
124 int carrierId, in PerSimStatus() argument
142 this.carrierId = carrierId; in PerSimStatus()
DAirplaneModeStats.java83 int carrierId = getCarrierId(); in onAirplaneModeChanged() local
86 + ", carrierId=" + carrierId); in onAirplaneModeChanged()
87 TelephonyStatsLog.write(AIRPLANE_MODE, isAirplaneModeOn, isShortToggle, carrierId); in onAirplaneModeChanged()
DMetricsCollector.java498 usage -> ((long) usage.carrierId << 32) | usage.rat)) in pullVoiceCallRatUsages()
842 perSimStatus.carrierId, // carrierId in pullPerSimStatus()
1066 serviceSwitch.carrierId, in buildStatsEvent()
1080 state.carrierId, in buildStatsEvent()
1095 usage.carrierId, in buildStatsEvent()
1122 session.carrierId, in buildStatsEvent()
1169 sms.carrierId, in buildStatsEvent()
1190 sms.carrierId, in buildStatsEvent()
1210 dataCallSession.carrierId, in buildStatsEvent()
1237 stats.carrierId, in buildStatsEvent()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DNetworkTypeResIdCache.kt43 fun get(iconGroup: MobileIconGroup, carrierId: Int, context: Context): Int { in get()
44 if (lastCarrierId != carrierId || lastIconGroup != iconGroup) { in get()
45 lastCarrierId = carrierId in get()
48 val maybeOverride = calculateOverriddenIcon(iconGroup, carrierId, context) in get()
68 carrierId: Int, in calculateOverriddenIcon()
72 if (!overrides.carrierIdEntryExists(carrierId)) { in calculateOverriddenIcon()
76 return overrides.getOverrideFor(carrierId, name, context.resources) in calculateOverriddenIcon()
DMobileState.kt56 var carrierId = TelephonyManager.UNKNOWN_CARRIER_ID variable in com.android.systemui.statusbar.connectivity.MobileState
149 return networkTypeResIdCache.get(icon, carrierId, context) in getNetworkTypeIcon()
167 builder.append("carrierId=$carrierId") in toString()
219 carrierId, in tableData()
251 if (carrierId != other.carrierId) return false in equals()
273 result = 31 * result + (carrierId.hashCode()) in hashCode()
/frameworks/base/services/core/java/com/android/server/stats/pull/netstats/
DSubInfo.java30 public final int carrierId; field in SubInfo
39 public SubInfo(int subId, int carrierId, @NonNull String mcc, @NonNull String mnc, in SubInfo() argument
42 this.carrierId = carrierId; in SubInfo()
55 && carrierId == other.carrierId in equals()
64 return Objects.hash(subId, mcc, mnc, carrierId, subscriberId, isOpportunistic); in hashCode()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/
DMobileIconCarrierIdOverrides.kt66 fun getOverrideFor(carrierId: Int, networkType: String, resources: Resources): Int in getOverrideFor()
67 fun carrierIdEntryExists(carrierId: Int): Boolean in getOverrideFor()
72 override fun getOverrideFor(carrierId: Int, networkType: String, resources: Resources): Int { in getOverrideFor()
73 val resId = MAPPING[carrierId] ?: return 0 in getOverrideFor()
80 override fun carrierIdEntryExists(carrierId: Int) = in getOverrideFor()
81 overrideExists(carrierId, MAPPING) in getOverrideFor()
139 private fun overrideExists(carrierId: Int, mapping: Map<Int, Int>): Boolean = in getOverrideFor()
140 mapping.containsKey(carrierId) in getOverrideFor()
/frameworks/base/telephony/java/android/telephony/
DImsiEncryptionInfo.java49 private final int carrierId; field in ImsiEncryptionInfo
53 byte[] key, Date expirationTime, int carrierId) { in ImsiEncryptionInfo() argument
54 this(mcc, mnc, keyType, keyIdentifier, makeKeyObject(key), expirationTime, carrierId); in ImsiEncryptionInfo()
59 PublicKey publicKey, Date expirationTime, int carrierId) { in ImsiEncryptionInfo() argument
69 this.carrierId = carrierId; in ImsiEncryptionInfo()
83 carrierId = in.readInt(); in ImsiEncryptionInfo()
98 return carrierId; in getCarrierId()
168 dest.writeInt(carrierId); in writeToParcel()
180 + ", carrier_id=" + carrierId in toString()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/
DMobileIconCarrierIdOverridesFake.kt36 carrierId: CarrierId, in getOverrideFor()
40 if (!overriddenIds.contains(carrierId)) return 0 in getOverrideFor()
42 return overridesByCarrierId[carrierId]?.get(networkType) ?: 0 in getOverrideFor()
45 override fun carrierIdEntryExists(carrierId: Int): Boolean { in carrierIdEntryExists()
46 return overriddenIds.contains(carrierId) in carrierIdEntryExists()
/frameworks/base/telephony/java/android/telephony/euicc/
DEuiccRulesAuthTable.java97 … public Builder add(int policyRules, List<CarrierIdentifier> carrierId, int policyRuleFlags) { in add() argument
102 if (carrierId != null && carrierId.size() > 0) { in add()
103 mCarrierIds[mPosition] = carrierId.toArray(new CarrierIdentifier[carrierId.size()]); in add()
151 public int findIndex(@EuiccProfileInfo.PolicyRule int policy, CarrierIdentifier carrierId) { in findIndex() argument
162 if (!match(ruleCarrierId.getMcc(), carrierId.getMcc()) in findIndex()
163 || !match(ruleCarrierId.getMnc(), carrierId.getMnc())) { in findIndex()
167 if (!TextUtils.isEmpty(gid) && !gid.equals(carrierId.getGid1())) { in findIndex()
171 if (!TextUtils.isEmpty(gid) && !gid.equals(carrierId.getGid2())) { in findIndex()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierKeyDownloadManager.java156 (slotIndex, subId, carrierId, specificCarrierId) -> { in CarrierKeyDownloadManager()
159 + " CarrierId = " + carrierId + " phoneId = " in CarrierKeyDownloadManager()
162 if ((slotIndex == mPhone.getPhoneId()) && (carrierId > 0 in CarrierKeyDownloadManager()
165 mCarrierId = carrierId; in CarrierKeyDownloadManager()
266 int carrierId = Flags.imsiKeyRetryDownloadOnPhoneUnlock() in handleMessage() local
268 if (isValidDownload(currentMccMnc, carrierKeyDownloadIdentifier, carrierId)) { in handleMessage()
269 onDownloadComplete(carrierKeyDownloadIdentifier, currentMccMnc, carrierId); in handleMessage()
487 public boolean isValidDownload(String currentMccMnc, long currentDownloadId, int carrierId) { in isValidDownload() argument
496 || mCarrierId != carrierId) { in isValidDownload()
498 + "currentCarrierId = " + carrierId + " storedCarrierId = " + mCarrierId); in isValidDownload()
[all …]
DCarrierInfoManager.java73 int carrierId, in getCarrierInfoForImsiEncryption() argument
147 keyInfo.first, new Date(keyInfo.second), carrierId); in getCarrierInfoForImsiEncryption()
159 && cursorCarrierId == carrierId) { in getCarrierInfoForImsiEncryption()
183 String mnc, int keyType, int carrierId) { in getImsiEncryptionInfo() argument
191 expirationTime, carrierId); in getImsiEncryptionInfo()
300 int carrierId = telephonyManager.getSimCarrierId(); in resetCarrierKeysForImsiEncryption() local
303 deleteCarrierInfoForImsiEncryption(context, subId, carrierId, simOperator); in resetCarrierKeysForImsiEncryption()
305 deleteCarrierInfoForImsiEncryption(context, subId, carrierId); in resetCarrierKeysForImsiEncryption()
320 int carrierId) { in deleteCarrierInfoForImsiEncryption() argument
321 deleteCarrierInfoForImsiEncryption(context, subId, carrierId, null); in deleteCarrierInfoForImsiEncryption()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierKeyDownloadMgrTest.java220 public void testParseJsonPublicKey(String mcc, String mnc, int carrierId) { in testParseJsonPublicKey() argument
228 "key1=value", keyInfo.first, new Date(keyInfo.second), carrierId); in testParseJsonPublicKey()
230 mCarrierKeyDM.parseJsonAndPersistKey(mJsonStr1, mccMnc, carrierId); in testParseJsonPublicKey()
267 int carrierId = 1; in testIsValidDownload() local
271 mCarrierKeyDM.mCarrierId = carrierId; in testIsValidDownload()
273 assertTrue(mCarrierKeyDM.isValidDownload(currentMccMnc, currentDownloadId, carrierId)); in testIsValidDownload()
285 int carrierId = 1; in testIsValidDownloadFail() local
290 mCarrierKeyDM.mCarrierId = carrierId; in testIsValidDownloadFail()
291 assertFalse(mCarrierKeyDM.isValidDownload(currentMccMnc, currentDownloadId, carrierId)); in testIsValidDownloadFail()
296 assertFalse(mCarrierKeyDM.isValidDownload(currentMccMnc, currentDownloadId, carrierId)); in testIsValidDownloadFail()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/dataservice/
DSubscriptionInfoEntity.java31 public SubscriptionInfoEntity(@NonNull String subId, int simSlotIndex, int carrierId, in SubscriptionInfoEntity() argument
42 this.carrierId = carrierId; in SubscriptionInfoEntity()
76 public int carrierId; field in SubscriptionInfoEntity
168 carrierId, in hashCode()
205 && carrierId == info.carrierId in equals()
237 .append(carrierId) in toString()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DImsStatsTest.java189 assertEquals(CARRIER1_ID, stats.carrierId); in conclude_registered()
237 assertEquals(CARRIER1_ID, stats.carrierId); in conclude_registeredPartialFeatures()
284 assertEquals(CARRIER1_ID, stats.carrierId); in conclude_registeredVoiceOnly()
319 assertEquals(CARRIER1_ID, stats.carrierId); in conclude_registeredVoiceOnly_crossSimCalling()
363 assertEquals(CARRIER1_ID, termination.carrierId); in conclude_notRegistered()
376 assertEquals(CARRIER1_ID, stats.carrierId); in conclude_notRegistered()
417 assertEquals(CARRIER1_ID, stats.carrierId); in conclude_registering()
469 assertEquals(CARRIER1_ID, termination.carrierId); in conclude_serviceStateChanged_afterRatUnknown()
523 assertEquals(CARRIER1_ID, termination.carrierId); in conclude_serviceStateChanged_afterRatLte()
535 assertEquals(CARRIER1_ID, stats.carrierId); in conclude_serviceStateChanged_afterRatLte()
[all …]
DServiceStateStatsTest.java168 assertEquals(CARRIER1_ID, state.carrierId); in conclude_inService()
204 assertEquals(CARRIER1_ID, state.carrierId); in conclude_outOfService()
272 assertEquals(-1, state.carrierId); in conclude_noSimCardEmergencyOnly()
309 assertEquals(-1, state.carrierId); in conclude_noSimCardOutOfService()
341 assertEquals(CARRIER1_ID, state.carrierId); in conclude_longOnGoingServiceState()
354 assertEquals(CARRIER1_ID, state.carrierId); in conclude_longOnGoingServiceState()
392 assertEquals(CARRIER1_ID, state.carrierId); in onImsVoiceRegistrationChanged_wifiCallingWhileOos()
405 assertEquals(CARRIER1_ID, state.carrierId); in onImsVoiceRegistrationChanged_wifiCallingWhileOos()
464 assertEquals(CARRIER1_ID, state.carrierId); in onInternetDataNetworkDisconnected()
477 assertEquals(CARRIER1_ID, state.carrierId); in onInternetDataNetworkDisconnected()
[all …]
DRcsStatsTest.java135 protected boolean isValidCarrierId(int carrierId) { in isValidCarrierId() argument
136 if (carrierId == INVALID_CARRIER_ID) { in isValidCarrierId()
191 if (stats.carrierId == carreirId && stats.slotId == slotId) { in getRcsAcsProvisioningCachedTime()
233 int carrierId = CARRIER_ID; in onImsRegistrationFeatureTagStats_withAtoms() local
257 assertEquals(CARRIER_ID, stats.carrierId); in onImsRegistrationFeatureTagStats_withAtoms()
282 assertEquals(CARRIER_ID, stats.carrierId); in onRcsClientProvisioningStats_withAtoms()
319 assertEquals(carrierIds[0], stats.carrierId); in onRcsAcsProvisioningStats_withAtoms()
360 assertEquals(carrierIds[0], stats.carrierId); in onRcsAcsProvisioningStats_withAtomsInvalidSubId()
397 assertEquals(CARRIER_ID, stats.carrierId); in onRcsAcsProvisioningStats_byCallBack()
434 assertEquals(CARRIER2_ID, stats.carrierId); in onRcsAcsProvisioningStats_byErrorCallBack()
[all …]
DPersistAtomsStorageTest.java350 mCall1Proto.carrierId = CARRIER1_ID; in makeTestData()
377 mCall2Proto.carrierId = CARRIER2_ID; in makeTestData()
404 mCall3Proto.carrierId = CARRIER2_ID; in makeTestData()
430 mCall4Proto.carrierId = CARRIER3_ID; in makeTestData()
439 mCarrier1LteUsageProto.carrierId = CARRIER1_ID; in makeTestData()
445 mCarrier1UmtsUsageProto.carrierId = CARRIER1_ID; in makeTestData()
451 mCarrier2LteUsageProto.carrierId = CARRIER2_ID; in makeTestData()
457 mCarrier3LteUsageProto.carrierId = CARRIER3_ID; in makeTestData()
463 mCarrier3GsmUsageProto.carrierId = CARRIER3_ID; in makeTestData()
485 mServiceSwitch1Proto.carrierId = CARRIER1_ID; in makeTestData()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/
DSatelliteConfig.java96 carrierToServicesMap.put(carrierProto.carrierId, satelliteCapabilityMap); in getCarrierSupportedSatelliteServices()
108 public List<String> getAllSatellitePlmnsForCarrier(int carrierId) { in getAllSatellitePlmnsForCarrier() argument
111 carrierId); in getAllSatellitePlmnsForCarrier()
128 public Map<String, Set<Integer>> getSupportedSatelliteServices(int carrierId) { in getSupportedSatelliteServices() argument
131 mSupportedServicesPerCarrier.get(carrierId); in getSupportedSatelliteServices()
135 Log.d(TAG, "No supported services found for carrier=" + carrierId); in getSupportedSatelliteServices()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/
DDemoMobileConnectionParameterizedTest.kt120 carrierId = testCase.carrierId, in demoNetworkData()
191 val carrierId: Int, constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.demo.DemoMobileConnectionParameterizedTest.TestCase
204 "carrierId=$carrierId, " + in toString()
219 carrierId: Int? = null, in modifiedBy()
232 carrierId = carrierId ?: this.carrierId, in modifiedBy()
316 carrierIds.map { baseCase.modifiedBy(carrierId = it) }, in modifiedBy()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/
DDemoModeMobileConnectionDataSource.kt73 val carrierId = getString("carrierid")?.toInt() in <lambda>() constant
86 carrierId = carrierId, in <lambda>()

12345