Home
last modified time | relevance | path

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

/frameworks/base/telephony/java/android/telephony/
DNetworkScanRequest.java243 NetworkScanRequest nsr; in equals() local
246 nsr = (NetworkScanRequest) o; in equals()
255 return (mScanType == nsr.mScanType in equals()
256 && Arrays.equals(mSpecifiers, nsr.mSpecifiers) in equals()
257 && mSearchPeriodicity == nsr.mSearchPeriodicity in equals()
258 && mMaxSearchTime == nsr.mMaxSearchTime in equals()
259 && mIncrementalResults == nsr.mIncrementalResults in equals()
260 && mIncrementalResultsPeriodicity == nsr.mIncrementalResultsPeriodicity in equals()
262 && mMccMncs.equals(nsr.mMccMncs)))); in equals()
/frameworks/base/telephony/java/com/android/internal/telephony/
DNetworkScanResult.java92 NetworkScanResult nsr; in equals() local
95 nsr = (NetworkScanResult) o; in equals()
104 return (scanStatus == nsr.scanStatus in equals()
105 && scanError == nsr.scanError in equals()
106 && networkInfos.equals(nsr.networkInfos)); in equals()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DCat.java172 final Random nsr = notSoRandom(seed); in Cat() local
175 mBodyColor = chooseP(nsr, P_BODY_COLORS); in Cat()
177 nsr.nextFloat() * 360f, frandrange(nsr, 0.5f, 1f), frandrange(nsr, 0.5f, 1f)}); in Cat()
187 tint(chooseP(nsr, P_BELLY_COLORS), D.belly); in Cat()
188 tint(chooseP(nsr, P_BELLY_COLORS), D.back); in Cat()
189 final int faceColor = chooseP(nsr, P_BELLY_COLORS); in Cat()
196 if (nsr.nextFloat() < 0.25f) { in Cat()
200 if (nsr.nextFloat() < 0.25f) { in Cat()
203 } else if (nsr.nextFloat() < 0.25f) { in Cat()
206 } else if (nsr.nextFloat() < 0.1f) { in Cat()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DNetworkScanResultTest.java66 NetworkScanResult nsr = new NetworkScanResult(0, 0, infos); in testParcel() local
69 nsr.writeToParcel(p, 0); in testParcel()
73 assertEquals(nsr, newNsr); in testParcel()
DSimulatedCommandsVerifier.java978 public void startNetworkScan(NetworkScanRequest nsr, Message response) { in startNetworkScan() argument
DRILTest.java611 NetworkScanRequest nsr = getNetworkScanRequestForTesting(); in testStartNetworkScanWithUnsupportedResponse() local
612 mRILUnderTest.startNetworkScan(nsr, obtainMessage()); in testStartNetworkScanWithUnsupportedResponse()
620 mRILUnderTest.startNetworkScan(nsr, Message.obtain(rr.getResult())); in testStartNetworkScanWithUnsupportedResponse()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNetworkScanRequestTracker.java449 NetworkScanResult nsr = (NetworkScanResult) ar.result; in receiveResult() local
456 if (nsr.scanError == NetworkScan.SUCCESS) { in receiveResult()
459 nsr.networkInfos); in receiveResult()
463 rilErrorToScanError(nsr.scanError), nsr.networkInfos); in receiveResult()
464 if (nsr.scanStatus == NetworkScanResult.SCAN_STATUS_COMPLETE) { in receiveResult()
469 if (nsr.networkInfos != null) { in receiveResult()
471 rilErrorToScanError(nsr.scanError), nsr.networkInfos); in receiveResult()
473 deleteScanAndMayNotify(nsri, rilErrorToScanError(nsr.scanError), true); in receiveResult()
DRadioIndication.java1163 NetworkScanResult nsr = null; in responseNetworkScan() local
1165 nsr = new NetworkScanResult(result.status, result.error, infos); in responseNetworkScan()
1166 if (RIL.RILJ_LOGD) mRil.unsljLogRet(RIL_UNSOL_NETWORK_SCAN_RESULT, nsr); in responseNetworkScan()
1167 mRil.mRilNetworkScanResultRegistrants.notifyRegistrants(new AsyncResult(null, nsr, null)); in responseNetworkScan()
1174 NetworkScanResult nsr = null; in responseNetworkScan_1_2() local
1176 nsr = new NetworkScanResult(result.status, result.error, infos); in responseNetworkScan_1_2()
1177 if (RIL.RILJ_LOGD) mRil.unsljLogRet(RIL_UNSOL_NETWORK_SCAN_RESULT, nsr); in responseNetworkScan_1_2()
1178 mRil.mRilNetworkScanResultRegistrants.notifyRegistrants(new AsyncResult(null, nsr, null)); in responseNetworkScan_1_2()
1186 NetworkScanResult nsr = new NetworkScanResult(result.status, result.error, cellInfos); in responseNetworkScan_1_4() local
1187 if (RIL.RILJ_LOGD) mRil.unsljLogRet(RIL_UNSOL_NETWORK_SCAN_RESULT, nsr); in responseNetworkScan_1_4()
[all …]
DRIL.java2506 final NetworkScanRequest nsr = networkScanRequest; in startNetworkScan() local
2519 request.type = nsr.getScanType(); in startNetworkScan()
2520 request.interval = nsr.getSearchPeriodicity(); in startNetworkScan()
2521 request.maxSearchTime = nsr.getMaxSearchTime(); in startNetworkScan()
2522 request.incrementalResultsPeriodicity = nsr.getIncrementalResultsPeriodicity(); in startNetworkScan()
2523 request.incrementalResults = nsr.getIncrementalResults(); in startNetworkScan()
2525 for (RadioAccessSpecifier ras : nsr.getSpecifiers()) { in startNetworkScan()
2537 request.mccMncs.addAll(nsr.getPlmns()); in startNetworkScan()
2539 mRILDefaultWorkSource, nsr); in startNetworkScan()
2555 request.type = nsr.getScanType(); in startNetworkScan()
[all …]
DPhoneInternalInterface.java776 void startNetworkScan(NetworkScanRequest nsr, Message response); in startNetworkScan() argument
DRadioResponse.java2273 NetworkScanResult nsr = null; in responseScanStatus() local
2275 nsr = new NetworkScanResult( in responseScanStatus()
2277 sendMessageResponse(rr.mResult, nsr); in responseScanStatus()
2279 mRil.processResponseDone(rr, responseInfo, nsr); in responseScanStatus()
DCommandsInterface.java1440 void startNetworkScan(NetworkScanRequest nsr, Message response); in startNetworkScan() argument
DGsmCdmaPhone.java2342 public void startNetworkScan(NetworkScanRequest nsr, Message response) { in startNetworkScan() argument
2343 mCi.startNetworkScan(nsr, response); in startNetworkScan()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhoneBase.java384 public void startNetworkScan(NetworkScanRequest nsr, Message response) { in startNetworkScan() argument
DSipCommandInterface.java360 public void startNetworkScan(NetworkScanRequest nsr, Message response) { in startNetworkScan() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneBase.java420 public void startNetworkScan(NetworkScanRequest nsr, Message response) { in startNetworkScan() argument
DImsPhoneCommandInterface.java359 public void startNetworkScan(NetworkScanRequest nsr, Message response) { in startNetworkScan() argument