Home
last modified time | relevance | path

Searched refs:mCarrierId (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/atoms/
DAtomsQnsHandoverPingPongInfo.java36 private int mCarrierId; field in AtomsQnsHandoverPingPongInfo
53 mCarrierId = carrierId; in AtomsQnsHandoverPingPongInfo()
64 mCarrierId = info.mCarrierId; in AtomsQnsHandoverPingPongInfo()
76 builder.writeInt(mCarrierId); // atom #2 in build()
94 return mCarrierId + "_" + mSlotIndex; in getDimension()
116 return mCarrierId; in getCarrierId()
120 mCarrierId = carrierId; in setCarrierId()
137 + mCarrierId in toString()
149 && mCarrierId == that.mCarrierId in equals()
155 return Objects.hash(mCountHandoverPingPong, mCarrierId, mSlotIndex); in hashCode()
DAtomsQnsRatPreferenceMismatchInfo.java42 private int mCarrierId; field in AtomsQnsRatPreferenceMismatchInfo
68 mCarrierId = carrierId; in AtomsQnsRatPreferenceMismatchInfo()
81 mCarrierId = info.mCarrierId; in AtomsQnsRatPreferenceMismatchInfo()
95 builder.writeInt(mCarrierId); // atom #4 in build()
113 return mNetCapability + "_" + mCarrierId + "_" + mSlotIndex; in getDimension()
152 return mCarrierId; in getCarrierId()
156 mCarrierId = carrierId; in setCarrierId()
177 + mCarrierId in toString()
191 && mCarrierId == that.mCarrierId in equals()
198 mNetCapability, mHandoverFailCount, mDurationOfMismatch, mCarrierId, mSlotIndex); in hashCode()
DAtomsQnsFallbackRestrictionChangedInfo.java42 private int mCarrierId; field in AtomsQnsFallbackRestrictionChangedInfo
75 mCarrierId = carrierId; in AtomsQnsFallbackRestrictionChangedInfo()
89 mCarrierId = info.mCarrierId; in AtomsQnsFallbackRestrictionChangedInfo()
104 builder.writeInt(mCarrierId); // atom #5 in build()
157 return mCarrierId; in getCarrierId()
161 mCarrierId = carrierId; in setCarrierId()
184 + mCarrierId in toString()
203 && mCarrierId == that.mCarrierId in equals()
214 mCarrierId, in hashCode()
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/atoms/
DAtomsQnsRatPreferenceMismatchInfoTest.java63 private int mCarrierId; field in AtomsQnsRatPreferenceMismatchInfoTest
74 mCarrierId = DEFAULT_CARRIER_ID; in setUp()
82 mCarrierId, in setUp()
201 QnsProtoEnums.NET_CAPABILITY_IMS, 0, 0, mCarrierId, mSlotIndex); in testHashCode()
204 QnsProtoEnums.NET_CAPABILITY_MMS, 0, 0, mCarrierId, mSlotIndex); in testHashCode()
212 mCarrierId, in testHashCode()
219 mCarrierId, in testHashCode()
238 mNetCapability, mHandoverFailCount, mDurationOfMismatch, mCarrierId, 0); in testDimension()
241 mNetCapability, mHandoverFailCount, mDurationOfMismatch, mCarrierId, 1); in testDimension()
244 a1 = new AtomsQnsRatPreferenceMismatchInfo(9, 0, 100, mCarrierId, mSlotIndex); in testDimension()
[all …]
DAtomsQnsHandoverPingPongInfoTest.java54 private int mCarrierId; field in AtomsQnsHandoverPingPongInfoTest
63 mCarrierId = DEFAULT_CARRIER_ID; in setUp()
67 new AtomsQnsHandoverPingPongInfo(mCountHandoverPingPong, mCarrierId, mSlotIndex); in setUp()
157 a1 = new AtomsQnsHandoverPingPongInfo(mCountHandoverPingPong, mCarrierId, mSlotIndex); in testHashCode()
158 a2 = new AtomsQnsHandoverPingPongInfo(mCountHandoverPingPong, mCarrierId, mSlotIndex); in testHashCode()
170 a1 = new AtomsQnsHandoverPingPongInfo(mCountHandoverPingPong, mCarrierId, 0); in testDimension()
171 a2 = new AtomsQnsHandoverPingPongInfo(mCountHandoverPingPong, mCarrierId, 1); in testDimension()
174 a1 = new AtomsQnsHandoverPingPongInfo(1, mCarrierId, mSlotIndex); in testDimension()
175 a2 = new AtomsQnsHandoverPingPongInfo(2, mCarrierId, mSlotIndex); in testDimension()
DAtomsQnsFallbackRestrictionChangedInfoTest.java68 private int mCarrierId; field in AtomsQnsFallbackRestrictionChangedInfoTest
80 mCarrierId = DEFAULT_CARRIER_ID; in setUp()
89 mCarrierId, in setUp()
223 true, true, false, false, mCarrierId, mSlotIndex); in testHashCode()
226 false, false, false, false, mCarrierId, mSlotIndex); in testHashCode()
235 mCarrierId, in testHashCode()
243 mCarrierId, in testHashCode()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiStringResourceWrapper.java52 private final int mCarrierId; field in WifiStringResourceWrapper
70 mCarrierId = carrierId; in WifiStringResourceWrapper()
72 CARRIER_ID_RESOURCE_SEPARATOR + mCarrierId + CARRIER_ID_RESOURCE_SEPARATOR; in WifiStringResourceWrapper()
85 if (mCarrierId != TelephonyManager.UNKNOWN_CARRIER_ID) { in getString()
111 if (mCarrierId != TelephonyManager.UNKNOWN_CARRIER_ID) { in getInt()
135 if (mCarrierId != TelephonyManager.UNKNOWN_CARRIER_ID) { in getBoolean()
DWifiNetworkSuggestion.java166 private int mCarrierId; field in WifiNetworkSuggestion.Builder
265 mCarrierId = TelephonyManager.UNKNOWN_CARRIER_ID; in Builder()
536 mCarrierId = carrierId; in setCarrierId()
1090 wifiConfiguration.carrierId = mCarrierId; in buildWifiConfiguration()
1134 wifiConfiguration.carrierId = mCarrierId; in buildWifiConfigurationForPasspoint()
1143 mPasspointConfiguration.setCarrierId(mCarrierId); in buildWifiConfigurationForPasspoint()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiPseudonymManager.java436 @VisibleForTesting int mCarrierId; field in WifiPseudonymManager.RetrieveListener
439 mCarrierId = carrierId; in RetrieveListener()
445 .isOobPseudonymFeatureEnabled(mCarrierId)) { in onAlarm()
447 + mCarrierId); in onAlarm()
451 int subId = mWifiInjector.getWifiCarrierInfoManager().getMatchingSubId(mCarrierId); in onAlarm()
453 Log.e(TAG, "RetrieveListener: " + mCarrierId + ": subId is invalid. Exit."); in onAlarm()
465 mPendingToRetrieveSet.add(mCarrierId); in onAlarm()
471 getServerUrl(subId, mCarrierId)); in onAlarm()
476 entitlement.getImsiPseudonym(mCarrierId, mWifiHandler, mRetrieveCallback); in onAlarm()
DWifiMetrics.java1181 private int mCarrierId; field in WifiMetrics.ConnectionEvent
2002 currentConnectionEvent.mCarrierId = config.carrierId; in startConnectionEvent()
2268 currentConnectionEvent.mCarrierId, in endConnectionEvent()
2744 mCurrentSession.mConnectionEvent.mCarrierId, in reportNetworkDisconnect()
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/
DPasspointConfiguration.java463 private int mCarrierId = TelephonyManager.UNKNOWN_CARRIER_ID; field in PasspointConfiguration
479 this.mCarrierId = carrierId; in setCarrierId()
488 return mCarrierId; in getCarrierId()
770 mCarrierId = source.mCarrierId; in PasspointConfiguration()
809 dest.writeInt(mCarrierId); in writeToParcel()
849 && mCarrierId == that.mCarrierId in equals()
871 mServiceFriendlyNames, mCarrierId, mIsAutojoinEnabled, mIsMacRandomizationEnabled, in hashCode()
927 builder.append("CarrierId:" + mCarrierId); in toString()
1103 config.mCarrierId = in.readInt();
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiPseudonymManagerTest.java168 assertEquals(CARRIER_ID, mRetrieveListenerArgumentCaptor.getValue().mCarrierId); in retrievePseudonymOnFailureTimeout_expiredPseudonym_scheduleRefresh()
324 assertEquals(CARRIER_ID, mRetrieveListenerArgumentCaptor.getValue().mCarrierId); in setPseudonymAndScheduleRefresh_freshPseudonym_schedule()
344 assertEquals(CARRIER_ID, mRetrieveListenerArgumentCaptor.getValue().mCarrierId); in retrieveOobPseudonymIfNeeded_noPseudonym_scheduleRefresh()
369 assertEquals(CARRIER_ID, mRetrieveListenerArgumentCaptor.getValue().mCarrierId); in retrieveOobPseudonymIfNeeded_freshPseudonym_scheduleRefresh()
391 assertEquals(CARRIER_ID, mRetrieveListenerArgumentCaptor.getValue().mCarrierId); in retrieveOobPseudonymIfNeeded_expiredPseudonym_scheduleRefresh()
/packages/services/Iwlan/test/com/google/android/iwlan/
DErrorPolicyManagerTest.java142 private int mCarrierId = TEST_CARRIER_ID; field in ErrorPolicyManagerTest
172 when(mMockTelephonyManager.getSimCarrierId()).thenAnswer(i -> mCarrierId); in setUp()
533 mCarrierId = 1; in testNullCarrierConfig()
547 mCarrierId = 2; in testNullCarrierConfig()
617 mCarrierId = 2; in testGetLastError()