Home
last modified time | relevance | path

Searched refs:nri (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/telephony/current/src/android/telephony/cts/
DNetworkRegistrationInfoTest.java85 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testGetAccessNetworkTechnology() local
88 assertEquals(TelephonyManager.NETWORK_TYPE_EHRPD, nri.getAccessNetworkTechnology()); in testGetAccessNetworkTechnology()
93 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testGetAvailableServices() local
100 NetworkRegistrationInfo.SERVICE_TYPE_MMS), nri.getAvailableServices()); in testGetAvailableServices()
105 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testGetEmergencyServices() local
110 NetworkRegistrationInfo.SERVICE_TYPE_VOICE), nri.getAvailableServices()); in testGetEmergencyServices()
120 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testNetworkRegistrationInfoIsSearching() local
124 assertTrue(nri.isSearching()); in testNetworkRegistrationInfoIsSearching()
133 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testNetworkRegistrationInfoIsNetworkSearching() local
137 assertTrue(nri.isNetworkSearching()); in testNetworkRegistrationInfoIsNetworkSearching()
[all …]
DServiceStateTest.java142 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testGetDuplexMode() local
147 serviceState.addNetworkRegistrationInfo(nri); in testGetDuplexMode()
150 nri = new NetworkRegistrationInfo.Builder() in testGetDuplexMode()
155 serviceState.addNetworkRegistrationInfo(nri); in testGetDuplexMode()
178 final NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testNrStateRedacted() local
182 nri.setNrState(NetworkRegistrationInfo.NR_STATE_RESTRICTED); in testNrStateRedacted()
185 ss.addNetworkRegistrationInfo(nri); in testNrStateRedacted()
324 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testGetRegistrationInfo() local
330 serviceState.addNetworkRegistrationInfo(nri); in testGetRegistrationInfo()
332 assertEquals(nri, serviceState.getNetworkRegistrationInfo( in testGetRegistrationInfo()
[all …]
DSignalStrengthTest.java79 for (NetworkRegistrationInfo nri : nris) { in isCamped()
80 if (nri.getTransportType() != AccessNetworkConstants.TRANSPORT_TYPE_WWAN) continue; in isCamped()
81 if (nri.isRegistered()) return true; in isCamped()
DConnectivityManagerTestOnMockModem.java285 NetworkRegistrationInfo nri = in getRegState() local
287 assertNotNull(nri); in getRegState()
289 reg = nri.getRegistrationState(); in getRegState()
290 Log.d(TAG, "SS: " + nri.registrationStateToString(reg)); in getRegState()
DTelephonyManagerTestOnMockModem.java347 NetworkRegistrationInfo nri = in getNri() local
349 assertNotNull(nri); in getNri()
350 return nri; in getNri()
356 NetworkRegistrationInfo nri = getNri(domain, subId); in getRegState() local
358 reg = nri.getRegistrationState(); in getRegState()
359 Log.d(TAG, "SS: " + nri.registrationStateToString(reg)); in getRegState()
DTelephonyManagerTest.java1956 for (NetworkRegistrationInfo nri : ss.getNetworkRegistrationInfoList()) { in testNetworkTypeMatchesCellIdentity()
1957 final int networkType = nri.getAccessNetworkTechnology(); in testNetworkTypeMatchesCellIdentity()
1958 final CellIdentity cid = nri.getCellIdentity(); in testNetworkTypeMatchesCellIdentity()
1959 if (nri.getTransportType() == AccessNetworkConstants.TRANSPORT_TYPE_WLAN) { in testNetworkTypeMatchesCellIdentity()
1967 if (!nri.isRegistered() && !nri.isEmergencyEnabled()) { in testNetworkTypeMatchesCellIdentity()
1975 assertEquals(nri.getTransportType(), AccessNetworkConstants.TRANSPORT_TYPE_WWAN); in testNetworkTypeMatchesCellIdentity()
1976 if (nri.isRegistered() || (nri.isEmergencyEnabled() && !nri.isSearching())) { in testNetworkTypeMatchesCellIdentity()
2165 for (NetworkRegistrationInfo nri : ss.getNetworkRegistrationInfoList()) { in testIWlanServiceState()
2166 if (nri.getTransportType() == AccessNetworkConstants.TRANSPORT_TYPE_WWAN) { in testIWlanServiceState()
2168 nri.getAccessNetworkTechnology()); in testIWlanServiceState()
[all …]
DCellInfoTest.java256 for (NetworkRegistrationInfo nri : nris) { in isCamped()
257 if (nri.getTransportType() != AccessNetworkConstants.TRANSPORT_TYPE_WWAN) continue; in isCamped()
258 if (nri.isRegistered()) return true; in isCamped()
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/
DServiceStateTest.java212 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testDataNetworkType_noChangeObserved() local
218 copyOfOldSS.addNetworkRegistrationInfo(nri); in testDataNetworkType_noChangeObserved()
239 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testDataNetworkType_changeObserved() local
245 newSS.addNetworkRegistrationInfo(nri); in testDataNetworkType_changeObserved()
287 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testGetDuplexMode_noChangeObserved() local
292 newSS.addNetworkRegistrationInfo(nri); in testGetDuplexMode_noChangeObserved()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DCallDomainSelectionTestOnMockModem.java287 NetworkRegistrationInfo nri = in getRegState() local
289 assertNotNull(nri); in getRegState()
291 reg = nri.getRegistrationState(); in getRegState()
/cts/tests/tests/telecom/src/android/telecom/cts/
DRemoteConnectionTest.java128 NetworkRegistrationInfo nri = serviceState.getNetworkRegistrationInfo(DOMAIN_CS, in testRemoteConnectionOutgoingEmergencyCall() local
130 if (nri != null && nri.isRegistered()) { in testRemoteConnectionOutgoingEmergencyCall()