Home
last modified time | relevance | path

Searched refs:NetworkRegistrationInfo (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DServiceStateTest.java23 import android.telephony.NetworkRegistrationInfo;
40 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testRoaming()
41 .setDomain(NetworkRegistrationInfo.DOMAIN_PS) in testRoaming()
43 .setRegistrationState(NetworkRegistrationInfo.REGISTRATION_STATE_ROAMING) in testRoaming()
134 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testRAT()
137 .setDomain(NetworkRegistrationInfo.DOMAIN_PS) in testRAT()
143 nri = new NetworkRegistrationInfo.Builder() in testRAT()
146 .setDomain(NetworkRegistrationInfo.DOMAIN_CS) in testRAT()
272 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testBundle()
275 .setRegistrationState(NetworkRegistrationInfo.REGISTRATION_STATE_HOME) in testBundle()
[all …]
DNetworkRegistrationInfoTest.java24 import android.telephony.NetworkRegistrationInfo;
39 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testParcel()
40 .setDomain(NetworkRegistrationInfo.DOMAIN_CS) in testParcel()
42 .setRegistrationState(NetworkRegistrationInfo.REGISTRATION_STATE_HOME) in testParcel()
44 .setAvailableServices(Arrays.asList(NetworkRegistrationInfo.SERVICE_TYPE_DATA)) in testParcel()
52 NetworkRegistrationInfo newNrs = NetworkRegistrationInfo.CREATOR.createFromParcel(p); in testParcel()
DServiceStateTrackerTest.java80 import android.telephony.NetworkRegistrationInfo;
247 mSimulatedCommands.setVoiceRegState(NetworkRegistrationInfo.REGISTRATION_STATE_HOME); in setUp()
249 mSimulatedCommands.setDataRegState(NetworkRegistrationInfo.REGISTRATION_STATE_HOME); in setUp()
725 NetworkRegistrationInfo result = new NetworkRegistrationInfo.Builder() in testGsmCellLocation()
726 .setDomain(NetworkRegistrationInfo.DOMAIN_CS) in testGsmCellLocation()
728 .setRegistrationState(NetworkRegistrationInfo.REGISTRATION_STATE_HOME) in testGsmCellLocation()
749 NetworkRegistrationInfo result = new NetworkRegistrationInfo.Builder() in testCdmaCellLocation()
750 .setDomain(NetworkRegistrationInfo.DOMAIN_CS) in testCdmaCellLocation()
752 .setRegistrationState(NetworkRegistrationInfo.REGISTRATION_STATE_HOME) in testCdmaCellLocation()
817 mSimulatedCommands.setVoiceRegState(NetworkRegistrationInfo.REGISTRATION_STATE_ROAMING); in testRegAndUnregForVoiceRoamingOn()
[all …]
DCellularNetworkServiceTest.java34 import android.telephony.NetworkRegistrationInfo;
100 int voiceRegState = NetworkRegistrationInfo.REGISTRATION_STATE_HOME; in testGetNetworkRegistrationInfo()
101 int dataRegState = NetworkRegistrationInfo.REGISTRATION_STATE_HOME; in testGetNetworkRegistrationInfo()
104 int domain = NetworkRegistrationInfo.DOMAIN_CS; in testGetNetworkRegistrationInfo()
113 NetworkRegistrationInfo.SERVICE_TYPE_VOICE, in testGetNetworkRegistrationInfo()
114 NetworkRegistrationInfo.SERVICE_TYPE_SMS, in testGetNetworkRegistrationInfo()
115 NetworkRegistrationInfo.SERVICE_TYPE_VIDEO in testGetNetworkRegistrationInfo()
139 NetworkRegistrationInfo expectedState = new NetworkRegistrationInfo( in testGetNetworkRegistrationInfo()
152 domain = NetworkRegistrationInfo.DOMAIN_PS; in testGetNetworkRegistrationInfo()
153 availableServices = Arrays.asList(NetworkRegistrationInfo.SERVICE_TYPE_DATA); in testGetNetworkRegistrationInfo()
[all …]
DGsmCdmaPhoneTest.java55 import android.telephony.NetworkRegistrationInfo;
956 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testGetCsCallRadioTech()
958 .setDomain(NetworkRegistrationInfo.DOMAIN_CS) in testGetCsCallRadioTech()
970 nri = new NetworkRegistrationInfo.Builder() in testGetCsCallRadioTech()
972 .setDomain(NetworkRegistrationInfo.DOMAIN_CS) in testGetCsCallRadioTech()
DTelephonyTest.java52 import android.telephony.NetworkRegistrationInfo;
160 protected NetworkRegistrationInfo mNetworkRegistrationInfo =
161 new NetworkRegistrationInfo.Builder()
163 .setRegistrationState(NetworkRegistrationInfo.REGISTRATION_STATE_HOME)
/frameworks/base/telephony/java/android/telephony/
DServiceState.java32 import android.telephony.NetworkRegistrationInfo.Domain;
33 import android.telephony.NetworkRegistrationInfo.NRState;
340 private final List<NetworkRegistrationInfo> mNetworkRegistrationInfos = new ArrayList<>();
461 in.readList(mNetworkRegistrationInfos, NetworkRegistrationInfo.class.getClassLoader()); in ServiceState()
620 final NetworkRegistrationInfo regState = getNetworkRegistrationInfo( in getVoiceRoamingType()
621 NetworkRegistrationInfo.DOMAIN_CS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN); in getVoiceRoamingType()
644 final NetworkRegistrationInfo regState = getNetworkRegistrationInfo( in getDataRoamingFromRegistration()
645 NetworkRegistrationInfo.DOMAIN_PS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN); in getDataRoamingFromRegistration()
648 == NetworkRegistrationInfo.REGISTRATION_STATE_ROAMING; in getDataRoamingFromRegistration()
660 final NetworkRegistrationInfo regState = getNetworkRegistrationInfo( in getDataRoamingType()
[all …]
DNetworkRegistrationInfo.java43 public final class NetworkRegistrationInfo implements Parcelable { class
205 private NetworkRegistrationInfo(@Domain int domain, @TransportType int transportType, in NetworkRegistrationInfo() method in NetworkRegistrationInfo
229 public NetworkRegistrationInfo(int domain, @TransportType int transportType, in NetworkRegistrationInfo() method in NetworkRegistrationInfo
247 public NetworkRegistrationInfo(int domain, @TransportType int transportType, in NetworkRegistrationInfo() method in NetworkRegistrationInfo
264 private NetworkRegistrationInfo(Parcel source) { in NetworkRegistrationInfo() method in NetworkRegistrationInfo
288 public NetworkRegistrationInfo(NetworkRegistrationInfo nri) { in NetworkRegistrationInfo() method in NetworkRegistrationInfo
537 if (!(o instanceof NetworkRegistrationInfo)) { in equals()
541 NetworkRegistrationInfo other = (NetworkRegistrationInfo) o; in equals()
600 public static final @NonNull Parcelable.Creator<NetworkRegistrationInfo> CREATOR =
601 new Parcelable.Creator<NetworkRegistrationInfo>() {
[all …]
DINetworkServiceCallback.aidl19 import android.telephony.NetworkRegistrationInfo;
27 void onRequestNetworkRegistrationInfoComplete(int result, in NetworkRegistrationInfo state); in onRequestNetworkRegistrationInfoComplete()
DNetworkRegistrationInfo.aidl19 parcelable NetworkRegistrationInfo;
DNetworkServiceCallback.java80 @Nullable NetworkRegistrationInfo state) { in onRequestNetworkRegistrationInfoComplete()
DNetworkService.java31 import android.telephony.NetworkRegistrationInfo.Domain;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCellularNetworkService.java36 import android.telephony.NetworkRegistrationInfo;
95 ? NetworkRegistrationInfo.DOMAIN_CS in CellularNetworkServiceProvider()
96 : NetworkRegistrationInfo.DOMAIN_PS; in CellularNetworkServiceProvider()
97 NetworkRegistrationInfo netState = in CellularNetworkServiceProvider()
136 return NetworkRegistrationInfo.REGISTRATION_STATE_NOT_REGISTERED_OR_SEARCHING; in getRegStateFromHalRegState()
138 return NetworkRegistrationInfo.REGISTRATION_STATE_HOME; in getRegStateFromHalRegState()
141 return NetworkRegistrationInfo.REGISTRATION_STATE_NOT_REGISTERED_SEARCHING; in getRegStateFromHalRegState()
144 return NetworkRegistrationInfo.REGISTRATION_STATE_DENIED; in getRegStateFromHalRegState()
147 return NetworkRegistrationInfo.REGISTRATION_STATE_UNKNOWN; in getRegStateFromHalRegState()
149 return NetworkRegistrationInfo.REGISTRATION_STATE_ROAMING; in getRegStateFromHalRegState()
[all …]
DRatRatcheter.java27 import android.telephony.NetworkRegistrationInfo;
130 NetworkRegistrationInfo oldCsNri = oldSS.getNetworkRegistrationInfo( in ratchet()
131 NetworkRegistrationInfo.DOMAIN_CS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN); in ratchet()
132 NetworkRegistrationInfo newCsNri = newSS.getNetworkRegistrationInfo( in ratchet()
133 NetworkRegistrationInfo.DOMAIN_CS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN); in ratchet()
144 NetworkRegistrationInfo oldPsNri = oldSS.getNetworkRegistrationInfo( in ratchet()
145 NetworkRegistrationInfo.DOMAIN_PS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN); in ratchet()
146 NetworkRegistrationInfo newPsNri = newSS.getNetworkRegistrationInfo( in ratchet()
147 NetworkRegistrationInfo.DOMAIN_PS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN); in ratchet()
166 ss1.getNetworkRegistrationInfo(NetworkRegistrationInfo.DOMAIN_PS, in isSameRatFamily()
[all …]
DNetworkRegistrationManager.java38 import android.telephony.NetworkRegistrationInfo;
141 public void requestNetworkRegistrationInfo(@NetworkRegistrationInfo.Domain int domain, in requestNetworkRegistrationInfo()
147 + ((domain == NetworkRegistrationInfo.DOMAIN_CS) ? "CS" : "PS")); in requestNetworkRegistrationInfo()
217 int result, NetworkRegistrationInfo info) { in onRequestNetworkRegistrationInfoComplete()
224 new NetworkRegistrationInfo(info), null); in onRequestNetworkRegistrationInfoComplete()
DServiceStateTracker.java69 import android.telephony.NetworkRegistrationInfo;
684 NetworkRegistrationInfo nrs = mSS.getNetworkRegistrationInfo( in updatePhoneType()
685 NetworkRegistrationInfo.DOMAIN_PS, transport); in updatePhoneType()
826 NetworkRegistrationInfo nrs = mSS.getNetworkRegistrationInfo( in notifyDataRegStateRilRadioTechnologyChanged()
827 NetworkRegistrationInfo.DOMAIN_PS, transport); in notifyDataRegStateRilRadioTechnologyChanged()
1218 CellIdentity cellIdentity = ((NetworkRegistrationInfo) ar.result) in handleMessage()
1297 .requestNetworkRegistrationInfo(NetworkRegistrationInfo.DOMAIN_CS, in handleMessage()
1912 NetworkRegistrationInfo oldRegState, NetworkRegistrationInfo newRegState) { in isNrStateChanged()
1951 NetworkRegistrationInfo regInfo = ss.getNetworkRegistrationInfo( in updateNrStateFromPhysicalChannelConfigs()
1952 NetworkRegistrationInfo.DOMAIN_PS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN); in updateNrStateFromPhysicalChannelConfigs()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerDataTest.java10 import android.telephony.NetworkRegistrationInfo;
184 doReturn(NetworkRegistrationInfo.NR_STATE_CONNECTED).when(ss).getNrState(); in testNr5GIcon_NrConnectedWithoutMMWave_show5GIcon()
198 doReturn(NetworkRegistrationInfo.NR_STATE_CONNECTED).when(ss).getNrState(); in testNr5GIcon_NrConnectedWithMMWave_show5GPlusIcon()
212 doReturn(NetworkRegistrationInfo.NR_STATE_RESTRICTED).when(ss).getNrState(); in testNr5GIcon_NrRestricted_showLteIcon()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java67 import android.telephony.NetworkRegistrationInfo;
1234 mNetworkRegistrationInfo = new NetworkRegistrationInfo.Builder() in testTrySetupDefaultOnIWLAN()
1236 .setRegistrationState(NetworkRegistrationInfo.REGISTRATION_STATE_HOME) in testTrySetupDefaultOnIWLAN()
1291 mNetworkRegistrationInfo = new NetworkRegistrationInfo.Builder() in testUpdateWaitingApnListOnDataRatChange()
1293 .setRegistrationState(NetworkRegistrationInfo.REGISTRATION_STATE_HOME) in testUpdateWaitingApnListOnDataRatChange()
1321 mNetworkRegistrationInfo = new NetworkRegistrationInfo.Builder() in testUpdateWaitingApnListOnDataRatChange()
1323 .setRegistrationState(NetworkRegistrationInfo.REGISTRATION_STATE_HOME) in testUpdateWaitingApnListOnDataRatChange()
1418 mNetworkRegistrationInfo = new NetworkRegistrationInfo.Builder() in testDataRatChangeOOS()
1420 .setRegistrationState(NetworkRegistrationInfo.REGISTRATION_STATE_HOME) in testDataRatChangeOOS()
1449 mNetworkRegistrationInfo = new NetworkRegistrationInfo.Builder() in testDataRatChangeOOS()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DMobileSignalController.java25 import android.telephony.NetworkRegistrationInfo;
521 if (nrState == NetworkRegistrationInfo.NR_STATE_CONNECTED) { in getNr5GIconGroup()
534 } else if (nrState == NetworkRegistrationInfo.NR_STATE_NOT_RESTRICTED) { in getNr5GIconGroup()
538 } else if (nrState == NetworkRegistrationInfo.NR_STATE_RESTRICTED) { in getNr5GIconGroup()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java65 import android.telephony.NetworkRegistrationInfo;
1449 List<NetworkRegistrationInfo> nriList = in updateDataServiceState()
1450 ss.getNetworkRegistrationInfoListForDomain(NetworkRegistrationInfo.DOMAIN_PS); in updateDataServiceState()
1451 for (NetworkRegistrationInfo nri : nriList) { in updateDataServiceState()
1963 NetworkRegistrationInfo csInfo = ss.getNetworkRegistrationInfo( in isCsNotInServiceAndPsWwanReportingWlan()
1964 NetworkRegistrationInfo.DOMAIN_CS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN); in isCsNotInServiceAndPsWwanReportingWlan()
1965 NetworkRegistrationInfo psInfo = ss.getNetworkRegistrationInfo( in isCsNotInServiceAndPsWwanReportingWlan()
1966 NetworkRegistrationInfo.DOMAIN_PS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN); in isCsNotInServiceAndPsWwanReportingWlan()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DSimulatedCommands.java43 import android.telephony.NetworkRegistrationInfo;
131 private int mVoiceRegState = NetworkRegistrationInfo.REGISTRATION_STATE_HOME;
133 private int mDataRegState = NetworkRegistrationInfo.REGISTRATION_STATE_HOME;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java72 import android.telephony.NetworkRegistrationInfo;
4822 NetworkRegistrationInfo nrs = ss.getNetworkRegistrationInfo( in getDataRat()
4823 NetworkRegistrationInfo.DOMAIN_PS, mTransportType); in getDataRat()
4833 NetworkRegistrationInfo nrs = ss.getNetworkRegistrationInfo( in getVoiceRat()
4834 NetworkRegistrationInfo.DOMAIN_CS, mTransportType); in getVoiceRat()
/frameworks/base/api/
Dtest-current.txt2804 public final class NetworkRegistrationInfo implements android.os.Parcelable {
2818 …blic static final android.os.Parcelable.Creator<android.telephony.NetworkRegistrationInfo> CREATOR;
2835 public static final class NetworkRegistrationInfo.Builder {
2836 ctor public NetworkRegistrationInfo.Builder();
2837 method @NonNull public android.telephony.NetworkRegistrationInfo build();
2838 …method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setAccessNetworkTechnolog…
2839 …method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setAvailableServices(@Non…
2840 …method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setCellIdentity(@Nullable…
2841 method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setDomain(int);
2842 …method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setEmergencyOnly(boolean);
[all …]
Dsystem-current.txt7635 public final class NetworkRegistrationInfo implements android.os.Parcelable {
7649 …blic static final android.os.Parcelable.Creator<android.telephony.NetworkRegistrationInfo> CREATOR;
7666 public static final class NetworkRegistrationInfo.Builder {
7667 ctor public NetworkRegistrationInfo.Builder();
7668 method @NonNull public android.telephony.NetworkRegistrationInfo build();
7669 …method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setAccessNetworkTechnolog…
7670 …method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setAvailableServices(@Non…
7671 …method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setCellIdentity(@Nullable…
7672 method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setDomain(int);
7673 …method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setEmergencyOnly(boolean);
[all …]
/frameworks/base/config/
Ddirty-image-objects185 android.telephony.NetworkRegistrationInfo

12