Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyTester.java419 NetworkRegistrationInfo nri = ss.getNetworkRegistrationInfo( in overrideServiceState() local
421 if (nri == null) { in overrideServiceState()
422 nri = new NetworkRegistrationInfo.Builder() in overrideServiceState()
427 nri.setNrState(mServiceStateTestIntent.getIntExtra(EXTRA_NR_STATE, in overrideServiceState()
429 ss.addNetworkRegistrationInfo(nri); in overrideServiceState()
433 NetworkRegistrationInfo nri = ss.getNetworkRegistrationInfo( in overrideServiceState() local
435 if (nri == null) { in overrideServiceState()
436 nri = new NetworkRegistrationInfo.Builder() in overrideServiceState()
441 nri.setAccessNetworkTechnology(ServiceState.rilRadioTechnologyToNetworkType( in overrideServiceState()
444 ss.addNetworkRegistrationInfo(nri); in overrideServiceState()
[all …]
DServiceStateTracker.java3167 .filter(nri -> nri.getCellIdentity() != null) in getPrioritizedCellIdentities()
3168 .filter(nri -> nri.getTransportType() == AccessNetworkConstants.TRANSPORT_TYPE_WWAN) in getPrioritizedCellIdentities()
3171 .thenComparing((nri) -> nri.getDomain() & NetworkRegistrationInfo.DOMAIN_CS) in getPrioritizedCellIdentities()
3173 .map(nri -> nri.getCellIdentity()) in getPrioritizedCellIdentities()
3297 for (NetworkRegistrationInfo nri : mNewSS.getNetworkRegistrationInfoListForTransportType( in pollStateDone()
3299 isRegisteredOnWwan |= nri.isRegistered(); in pollStateDone()
5485 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in processIwlanRegistrationInfo() local
5491 mNewSS.addNetworkRegistrationInfo(nri); in processIwlanRegistrationInfo()
5495 nri = new NetworkRegistrationInfo.Builder() in processIwlanRegistrationInfo()
5501 mNewSS.addNetworkRegistrationInfo(nri); in processIwlanRegistrationInfo()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DNetworkRegistrationInfoTest.java39 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testParcel() local
50 nri.writeToParcel(p, 0); in testParcel()
54 assertEquals(nri, newNrs); in testParcel()
61 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder().build(); in testDefaultValues() local
62 assertEquals("", nri.getRegisteredPlmn()); in testDefaultValues()
DServiceStateTest.java128 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testRAT() local
133 ss.addNetworkRegistrationInfo(nri); in testRAT()
137 nri = new NetworkRegistrationInfo.Builder() in testRAT()
142 ss.addNetworkRegistrationInfo(nri); in testRAT()
262 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testBundle() local
268 ss.addNetworkRegistrationInfo(nri); in testBundle()
270 nri = new NetworkRegistrationInfo.Builder() in testBundle()
277 ss.addNetworkRegistrationInfo(nri); in testBundle()
347 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testDuplexMode_notLte() local
352 ss.addNetworkRegistrationInfo(nri); in testDuplexMode_notLte()
[all …]
DGsmCdmaPhoneTest.java1171 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testGetCsCallRadioTech() local
1176 ss.addNetworkRegistrationInfo(nri); in testGetCsCallRadioTech()
1185 nri = new NetworkRegistrationInfo.Builder() in testGetCsCallRadioTech()
1190 ss.addNetworkRegistrationInfo(nri); in testGetCsCallRadioTech()
DServiceStateTrackerTest.java1315 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testRegisterForVoiceRegStateOrRatChange() local
1320 sst.mSS.addNetworkRegistrationInfo(nri); in testRegisterForVoiceRegStateOrRatChange()
1812 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testIsConcurrentVoiceAndDataAllowed() local
1817 sst.mSS.addNetworkRegistrationInfo(nri); in testIsConcurrentVoiceAndDataAllowed()
1819 nri = new NetworkRegistrationInfo.Builder() in testIsConcurrentVoiceAndDataAllowed()
1824 sst.mSS.addNetworkRegistrationInfo(nri); in testIsConcurrentVoiceAndDataAllowed()
/frameworks/base/telephony/java/android/telephony/
DNetworkRegistrationInfo.java330 public NetworkRegistrationInfo(NetworkRegistrationInfo nri) { in NetworkRegistrationInfo() argument
331 mDomain = nri.mDomain; in NetworkRegistrationInfo()
332 mTransportType = nri.mTransportType; in NetworkRegistrationInfo()
333 mRegistrationState = nri.mRegistrationState; in NetworkRegistrationInfo()
334 mRoamingType = nri.mRoamingType; in NetworkRegistrationInfo()
335 mAccessNetworkTechnology = nri.mAccessNetworkTechnology; in NetworkRegistrationInfo()
336 mIsUsingCarrierAggregation = nri.mIsUsingCarrierAggregation; in NetworkRegistrationInfo()
337 mRejectCause = nri.mRejectCause; in NetworkRegistrationInfo()
338 mEmergencyOnly = nri.mEmergencyOnly; in NetworkRegistrationInfo()
339 mAvailableServices = new ArrayList<>(nri.mAvailableServices); in NetworkRegistrationInfo()
[all …]
DServiceState.java1418 for (NetworkRegistrationInfo nri : mNetworkRegistrationInfos) { in isUsingCarrierAggregation()
1419 if (nri.isUsingCarrierAggregation()) return true; in isUsingCarrierAggregation()
1877 for (NetworkRegistrationInfo nri : mNetworkRegistrationInfos) { in getNetworkRegistrationInfoList()
1878 newList.add(new NetworkRegistrationInfo(nri)); in getNetworkRegistrationInfoList()
1962 public void addNetworkRegistrationInfo(NetworkRegistrationInfo nri) { in addNetworkRegistrationInfo() argument
1963 if (nri == null) return; in addNetworkRegistrationInfo()
1968 if (curRegState.getTransportType() == nri.getTransportType() in addNetworkRegistrationInfo()
1969 && curRegState.getDomain() == nri.getDomain()) { in addNetworkRegistrationInfo()
1975 mNetworkRegistrationInfos.add(new NetworkRegistrationInfo(nri)); in addNetworkRegistrationInfo()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1373 private void maybeLogBlockedStatusChanged(NetworkRequestInfo nri, Network net, in maybeLogBlockedStatusChanged() argument
1375 if (nri == null || net == null || !LOGD_BLOCKED_NETWORKINFO) { in maybeLogBlockedStatusChanged()
1380 "%s %d(%d) on netId %d", action, nri.mUid, nri.request.requestId, net.netId)); in maybeLogBlockedStatusChanged()
2659 for (NetworkRequestInfo nri : requestsSortedById()) { in dumpNetworkRequests()
2660 pw.println(nri.toString()); in dumpNetworkRequests()
2680 Arrays.sort(requests, Comparator.comparingInt(nri -> nri.request.requestId)); in requestsSortedById()
3352 final NetworkRequestInfo nri = mNetworkRequests.get(request); in disconnectAndDestroyNetwork() local
3353 final NetworkAgentInfo currentNetwork = nri.mSatisfier; in disconnectAndDestroyNetwork()
3355 nri.mSatisfier = null; in disconnectAndDestroyNetwork()
3434 final NetworkRequestInfo nri = (NetworkRequestInfo) (msg.obj); in handleRegisterNetworkRequestWithIntent() local
[all …]
/frameworks/av/media/libstagefright/rtsp/
DAAVCAssembler.cpp212 uint32_t nri = (data[0] >> 5) & 3; in addFragmentedNALUnit() local
290 unit->data()[0] = (nri << 5) | nalType; in addFragmentedNALUnit()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java632 NetworkRegistrationInfo nri = ss.getNetworkRegistrationInfo( in DataConnection() local
634 if (nri != null) { in DataConnection()
635 networkType = nri.getAccessNetworkTechnology(); in DataConnection()
1778 NetworkRegistrationInfo nri = state.getNetworkRegistrationInfo( in updateNetworkInfo() local
1781 if (nri != null) { in updateNetworkInfo()
1782 subtype = nri.getAccessNetworkTechnology(); in updateNetworkInfo()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java1083 private boolean isInterfaceUpAndUsedByAnotherNdp(AwareNetworkRequestInformation nri) { in isInterfaceUpAndUsedByAnotherNdp() argument
1085 if (lnri == nri) { in isInterfaceUpAndUsedByAnotherNdp()
1089 if (nri.interfaceName.equals(lnri.interfaceName) && ( in isInterfaceUpAndUsedByAnotherNdp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java938 NetworkRegistrationInfo nri = serviceState.getNetworkRegistrationInfo( in toServiceStateProto() local
940 if (nri != null) { in toServiceStateProto()
946 nri.getAccessNetworkTechnology()); in toServiceStateProto()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java1662 for (NetworkRegistrationInfo nri : nriList) { in updateDataServiceState()
1663 mSS.addNetworkRegistrationInfo(nri); in updateDataServiceState()