Searched refs:nri (Results 1 – 10 of 10) sorted by relevance
85 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testGetAccessNetworkTechnology() local88 assertEquals(TelephonyManager.NETWORK_TYPE_EHRPD, nri.getAccessNetworkTechnology()); in testGetAccessNetworkTechnology()93 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testGetAvailableServices() local100 NetworkRegistrationInfo.SERVICE_TYPE_MMS), nri.getAvailableServices()); in testGetAvailableServices()105 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testGetEmergencyServices() local110 NetworkRegistrationInfo.SERVICE_TYPE_VOICE), nri.getAvailableServices()); in testGetEmergencyServices()120 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testNetworkRegistrationInfoIsSearching() local124 assertTrue(nri.isSearching()); in testNetworkRegistrationInfoIsSearching()133 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testNetworkRegistrationInfoIsNetworkSearching() local137 assertTrue(nri.isNetworkSearching()); in testNetworkRegistrationInfoIsNetworkSearching()[all …]
142 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testGetDuplexMode() local147 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() local182 nri.setNrState(NetworkRegistrationInfo.NR_STATE_RESTRICTED); in testNrStateRedacted()185 ss.addNetworkRegistrationInfo(nri); in testNrStateRedacted()324 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testGetRegistrationInfo() local330 serviceState.addNetworkRegistrationInfo(nri); in testGetRegistrationInfo()332 assertEquals(nri, serviceState.getNetworkRegistrationInfo( in testGetRegistrationInfo()[all …]
79 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()
285 NetworkRegistrationInfo nri = in getRegState() local287 assertNotNull(nri); in getRegState()289 reg = nri.getRegistrationState(); in getRegState()290 Log.d(TAG, "SS: " + nri.registrationStateToString(reg)); in getRegState()
347 NetworkRegistrationInfo nri = in getNri() local349 assertNotNull(nri); in getNri()350 return nri; in getNri()356 NetworkRegistrationInfo nri = getNri(domain, subId); in getRegState() local358 reg = nri.getRegistrationState(); in getRegState()359 Log.d(TAG, "SS: " + nri.registrationStateToString(reg)); in getRegState()
1956 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 …]
256 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()
212 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testDataNetworkType_noChangeObserved() local218 copyOfOldSS.addNetworkRegistrationInfo(nri); in testDataNetworkType_noChangeObserved()239 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testDataNetworkType_changeObserved() local245 newSS.addNetworkRegistrationInfo(nri); in testDataNetworkType_changeObserved()287 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testGetDuplexMode_noChangeObserved() local292 newSS.addNetworkRegistrationInfo(nri); in testGetDuplexMode_noChangeObserved()
287 NetworkRegistrationInfo nri = in getRegState() local289 assertNotNull(nri); in getRegState()291 reg = nri.getRegistrationState(); in getRegState()
128 NetworkRegistrationInfo nri = serviceState.getNetworkRegistrationInfo(DOMAIN_CS, in testRemoteConnectionOutgoingEmergencyCall() local130 if (nri != null && nri.isRegistered()) { in testRemoteConnectionOutgoingEmergencyCall()