/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
D | ConnectivityServiceMock.java | 185 for (NetworkRequestInfo nri : mNetworkRequests.values()) { in handleAsyncChannelHalfConnect() 186 if (nri.isRequest == false) continue; in handleAsyncChannelHalfConnect() 190 (nai != null ? nai.getCurrentScore() : 0), 0, nri.request); in handleAsyncChannelHalfConnect() 410 NetworkRequestInfo nri = new NetworkRequestInfo(messenger, networkRequest, binder, true); in requestNetwork() local 411 if (DBG) log("requestNetwork for " + nri); in requestNetwork() 413 mHandler.sendMessage(mHandler.obtainMessage(EVENT_REGISTER_NETWORK_REQUEST, nri)); in requestNetwork() 477 private void handleRegisterNetworkRequest(NetworkRequestInfo nri) { in handleRegisterNetworkRequest() argument 478 mNetworkRequests.put(nri.request, nri); in handleRegisterNetworkRequest() 479 if (!nri.isRequest) { in handleRegisterNetworkRequest() 481 if (nri.request.networkCapabilities.hasSignalStrength() && in handleRegisterNetworkRequest() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ServiceStateTest.java | 40 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testRoaming() local 45 ss.addNetworkRegistrationInfo(nri); in testRoaming() 134 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testRAT() local 139 ss.addNetworkRegistrationInfo(nri); in testRAT() 143 nri = new NetworkRegistrationInfo.Builder() in testRAT() 148 ss.addNetworkRegistrationInfo(nri); in testRAT() 272 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testBundle() local 278 ss.addNetworkRegistrationInfo(nri); in testBundle() 280 nri = new NetworkRegistrationInfo.Builder() in testBundle() 287 ss.addNetworkRegistrationInfo(nri); in testBundle() [all …]
|
D | NetworkRegistrationInfoTest.java | 39 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testParcel() local 49 nri.writeToParcel(p, 0); in testParcel() 53 assertEquals(nri, newNrs); in testParcel()
|
D | GsmCdmaPhoneTest.java | 956 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testGetCsCallRadioTech() local 961 ss.addNetworkRegistrationInfo(nri); in testGetCsCallRadioTech() 970 nri = new NetworkRegistrationInfo.Builder() in testGetCsCallRadioTech() 975 ss.addNetworkRegistrationInfo(nri); in testGetCsCallRadioTech()
|
D | ServiceStateTrackerTest.java | 1127 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testRegisterForVoiceRegStateOrRatChange() local 1132 sst.mSS.addNetworkRegistrationInfo(nri); in testRegisterForVoiceRegStateOrRatChange() 1640 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in testIsConcurrentVoiceAndDataAllowed() local 1645 sst.mSS.addNetworkRegistrationInfo(nri); in testIsConcurrentVoiceAndDataAllowed() 1647 nri = new NetworkRegistrationInfo.Builder() in testIsConcurrentVoiceAndDataAllowed() 1652 sst.mSS.addNetworkRegistrationInfo(nri); in testIsConcurrentVoiceAndDataAllowed()
|
/frameworks/base/telephony/java/android/telephony/ |
D | NetworkRegistrationInfo.java | 288 public NetworkRegistrationInfo(NetworkRegistrationInfo nri) { in NetworkRegistrationInfo() argument 289 mDomain = nri.mDomain; in NetworkRegistrationInfo() 290 mTransportType = nri.mTransportType; in NetworkRegistrationInfo() 291 mRegistrationState = nri.mRegistrationState; in NetworkRegistrationInfo() 292 mRoamingType = nri.mRoamingType; in NetworkRegistrationInfo() 293 mAccessNetworkTechnology = nri.mAccessNetworkTechnology; in NetworkRegistrationInfo() 294 mRejectCause = nri.mRejectCause; in NetworkRegistrationInfo() 295 mEmergencyOnly = nri.mEmergencyOnly; in NetworkRegistrationInfo() 296 mAvailableServices = new ArrayList<>(nri.mAvailableServices); in NetworkRegistrationInfo() 297 if (nri.mCellIdentity != null) { in NetworkRegistrationInfo() [all …]
|
D | ServiceState.java | 1383 NetworkRegistrationInfo nri = getNetworkRegistrationInfo( in isUsingCarrierAggregation() local 1385 if (nri != null) { in isUsingCarrierAggregation() 1386 DataSpecificRegistrationInfo dsri = nri.getDataSpecificInfo(); in isUsingCarrierAggregation() 1396 NetworkRegistrationInfo nri = getNetworkRegistrationInfo( in setIsUsingCarrierAggregation() local 1398 if (nri != null) { in setIsUsingCarrierAggregation() 1399 DataSpecificRegistrationInfo dsri = nri.getDataSpecificInfo(); in setIsUsingCarrierAggregation() 1821 for (NetworkRegistrationInfo nri : mNetworkRegistrationInfos) { in getNetworkRegistrationInfoList() 1822 newList.add(new NetworkRegistrationInfo(nri)); in getNetworkRegistrationInfoList() 1905 public void addNetworkRegistrationInfo(NetworkRegistrationInfo nri) { in addNetworkRegistrationInfo() argument 1906 if (nri == null) return; in addNetworkRegistrationInfo() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 1283 private void maybeLogBlockedStatusChanged(NetworkRequestInfo nri, Network net, in maybeLogBlockedStatusChanged() argument 1285 if (nri == null || net == null || !LOGD_BLOCKED_NETWORKINFO) { in maybeLogBlockedStatusChanged() 1290 nri.mUid, nri.request.requestId, net.netId)); in maybeLogBlockedStatusChanged() 1291 mNetworkInfoBlockingLogs.log(action + " " + nri.mUid); in maybeLogBlockedStatusChanged() 2486 for (NetworkRequestInfo nri : requestsSortedById()) { in dumpNetworkRequests() 2487 pw.println(nri.toString()); in dumpNetworkRequests() 2507 Arrays.sort(requests, Comparator.comparingInt(nri -> nri.request.requestId)); in requestsSortedById() 2941 for (NetworkRequestInfo nri : mNetworkRequests.values()) { in handleAsyncChannelHalfConnect() 2942 if (nri.request.isListen()) continue; in handleAsyncChannelHalfConnect() 2943 NetworkAgentInfo nai = getNetworkForRequest(nri.request.requestId); in handleAsyncChannelHalfConnect() [all …]
|
/frameworks/av/media/libstagefright/rtsp/ |
D | AAVCAssembler.cpp | 212 uint32_t nri = (data[0] >> 5) & 3; in addFragmentedNALUnit() local 290 unit->data()[0] = (nri << 5) | nalType; in addFragmentedNALUnit()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManager.java | 1089 private boolean isInterfaceUpAndUsedByAnotherNdp(AwareNetworkRequestInformation nri) { in isInterfaceUpAndUsedByAnotherNdp() argument 1091 if (lnri == nri) { in isInterfaceUpAndUsedByAnotherNdp() 1095 if (nri.interfaceName.equals(lnri.interfaceName) && ( in isInterfaceUpAndUsedByAnotherNdp()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhone.java | 1451 for (NetworkRegistrationInfo nri : nriList) { in updateDataServiceState() 1452 mSS.addNetworkRegistrationInfo(nri); in updateDataServiceState()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | ServiceStateTracker.java | 5208 NetworkRegistrationInfo nri = new NetworkRegistrationInfo.Builder() in processIwlanRegistrationInfo() local 5214 mNewSS.addNetworkRegistrationInfo(nri); in processIwlanRegistrationInfo() 5218 nri = new NetworkRegistrationInfo.Builder() in processIwlanRegistrationInfo() 5224 mNewSS.addNetworkRegistrationInfo(nri); in processIwlanRegistrationInfo()
|