Home
last modified time | relevance | path

Searched refs:nsr (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/telephony/java/android/telephony/
DNetworkScanRequest.java237 NetworkScanRequest nsr; in equals() local
240 nsr = (NetworkScanRequest) o; in equals()
249 return (mScanType == nsr.mScanType in equals()
250 && Arrays.equals(mSpecifiers, nsr.mSpecifiers) in equals()
251 && mSearchPeriodicity == nsr.mSearchPeriodicity in equals()
252 && mMaxSearchTime == nsr.mMaxSearchTime in equals()
253 && mIncrementalResults == nsr.mIncrementalResults in equals()
254 && mIncrementalResultsPeriodicity == nsr.mIncrementalResultsPeriodicity in equals()
256 && mMccMncs.equals(nsr.mMccMncs)))); in equals()
/frameworks/base/telephony/java/com/android/internal/telephony/
DNetworkScanResult.java91 NetworkScanResult nsr; in equals() local
94 nsr = (NetworkScanResult) o; in equals()
103 return (scanStatus == nsr.scanStatus in equals()
104 && scanError == nsr.scanError in equals()
105 && networkInfos.equals(nsr.networkInfos)); in equals()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DCat.java150 final Random nsr = notSoRandom(seed); in Cat() local
153 mBodyColor = chooseP(nsr, P_BODY_COLORS); in Cat()
155 nsr.nextFloat()*360f, frandrange(nsr,0.5f,1f), frandrange(nsr,0.5f, 1f)}); in Cat()
165 tint(chooseP(nsr, P_BELLY_COLORS), D.belly); in Cat()
166 tint(chooseP(nsr, P_BELLY_COLORS), D.back); in Cat()
167 final int faceColor = chooseP(nsr, P_BELLY_COLORS); in Cat()
174 if (nsr.nextFloat() < 0.25f) { in Cat()
178 if (nsr.nextFloat() < 0.25f) { in Cat()
181 } else if (nsr.nextFloat() < 0.25f) { in Cat()
184 } else if (nsr.nextFloat() < 0.1f) { in Cat()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DNetworkScanResultTest.java64 NetworkScanResult nsr = new NetworkScanResult(0, 0, infos); in testParcel() local
67 nsr.writeToParcel(p, 0); in testParcel()
71 assertEquals(nsr, newNsr); in testParcel()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNetworkScanRequestTracker.java376 NetworkScanResult nsr = (NetworkScanResult) ar.result; in receiveResult() local
377 if (nsr.scanError == NetworkScan.SUCCESS) { in receiveResult()
379 rilErrorToScanError(nsr.scanError), nsr.networkInfos); in receiveResult()
380 if (nsr.scanStatus == NetworkScanResult.SCAN_STATUS_COMPLETE) { in receiveResult()
385 if (nsr.networkInfos != null) { in receiveResult()
387 NetworkScan.SUCCESS, nsr.networkInfos); in receiveResult()
389 deleteScanAndMayNotify(nsri, rilErrorToScanError(nsr.scanError), true); in receiveResult()
DRadioIndication.java930 NetworkScanResult nsr = null; in responseCellInfos() local
932 nsr = new NetworkScanResult(result.status, result.error, infos); in responseCellInfos()
933 if (RIL.RILJ_LOGD) mRil.unsljLogRet(RIL_UNSOL_NETWORK_SCAN_RESULT, nsr); in responseCellInfos()
934 mRil.mRilNetworkScanResultRegistrants.notifyRegistrants(new AsyncResult(null, nsr, null)); in responseCellInfos()
941 NetworkScanResult nsr = null; in responseCellInfos_1_2() local
943 nsr = new NetworkScanResult(result.status, result.error, infos); in responseCellInfos_1_2()
944 if (RIL.RILJ_LOGD) mRil.unsljLogRet(RIL_UNSOL_NETWORK_SCAN_RESULT, nsr); in responseCellInfos_1_2()
945 mRil.mRilNetworkScanResultRegistrants.notifyRegistrants(new AsyncResult(null, nsr, null)); in responseCellInfos_1_2()
DPhoneInternalInterface.java714 void startNetworkScan(NetworkScanRequest nsr, Message response); in startNetworkScan() argument
DRadioResponse.java1815 NetworkScanResult nsr = null; in responseScanStatus() local
1817 nsr = new NetworkScanResult( in responseScanStatus()
1819 sendMessageResponse(rr.mResult, nsr); in responseScanStatus()
1821 mRil.processResponseDone(rr, responseInfo, nsr); in responseScanStatus()
DRIL.java1736 public void startNetworkScan(NetworkScanRequest nsr, Message result) { in startNetworkScan() argument
1744 request.type = nsr.getScanType(); in startNetworkScan()
1745 request.interval = nsr.getSearchPeriodicity(); in startNetworkScan()
1746 request.maxSearchTime = nsr.getMaxSearchTime(); in startNetworkScan()
1747 request.incrementalResultsPeriodicity = nsr.getIncrementalResultsPeriodicity(); in startNetworkScan()
1748 request.incrementalResults = nsr.getIncrementalResults(); in startNetworkScan()
1750 for (RadioAccessSpecifier ras : nsr.getSpecifiers()) { in startNetworkScan()
1761 request.mccMncs.addAll(nsr.getPlmns()); in startNetworkScan()
1786 request.type = nsr.getScanType(); in startNetworkScan()
1787 request.interval = nsr.getSearchPeriodicity(); in startNetworkScan()
[all …]
DCommandsInterface.java1303 void startNetworkScan(NetworkScanRequest nsr, Message response); in startNetworkScan() argument
DGsmCdmaPhone.java1928 public void startNetworkScan(NetworkScanRequest nsr, Message response) { in startNetworkScan() argument
1929 mCi.startNetworkScan(nsr, response); in startNetworkScan()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhoneBase.java390 public void startNetworkScan(NetworkScanRequest nsr, Message response) { in startNetworkScan() argument
DSipCommandInterface.java350 public void startNetworkScan(NetworkScanRequest nsr, Message response) { in startNetworkScan() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneBase.java433 public void startNetworkScan(NetworkScanRequest nsr, Message response) { in startNetworkScan() argument
DImsPhoneCommandInterface.java349 public void startNetworkScan(NetworkScanRequest nsr, Message response) { in startNetworkScan() argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DPhoneMock.java1243 public void startNetworkScan(NetworkScanRequest nsr, Message response) { in startNetworkScan() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DSimulatedCommandsVerifier.java962 public void startNetworkScan(NetworkScanRequest nsr, Message response) { in startNetworkScan() argument
DSimulatedCommands.java1436 public void startNetworkScan(NetworkScanRequest nsr, Message result) { in startNetworkScan() argument