Home
last modified time | relevance | path

Searched refs:nsr (Results 1 – 18 of 18) 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.java991 public void startNetworkScan(NetworkScanRequest nsr, Message response) { in startNetworkScan() argument
DRILTest.java621 NetworkScanRequest nsr = getNetworkScanRequestForTesting(); in testStartNetworkScanWithUnsupportedResponse() local
622 mRILUnderTest.startNetworkScan(nsr, obtainMessage()); in testStartNetworkScanWithUnsupportedResponse()
630 mRILUnderTest.startNetworkScan(nsr, Message.obtain(rr.getResult())); in testStartNetworkScanWithUnsupportedResponse()
DSimulatedCommands.java1507 public void startNetworkScan(NetworkScanRequest nsr, Message result) { in startNetworkScan() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNetworkScanRequestTracker.java455 NetworkScanResult nsr = (NetworkScanResult) ar.result; in receiveResult() local
462 if (nsr.scanError == NetworkScan.SUCCESS) { in receiveResult()
465 nsr.networkInfos); in receiveResult()
469 rilErrorToScanError(nsr.scanError), nsr.networkInfos); in receiveResult()
470 if (nsr.scanStatus == NetworkScanResult.SCAN_STATUS_COMPLETE) { in receiveResult()
475 if (nsr.networkInfos != null) { in receiveResult()
477 rilErrorToScanError(nsr.scanError), nsr.networkInfos); in receiveResult()
479 deleteScanAndMayNotify(nsri, rilErrorToScanError(nsr.scanError), true); in receiveResult()
DRadioIndication.java1338 NetworkScanResult nsr = null; in responseNetworkScan() local
1340 nsr = new NetworkScanResult(result.status, result.error, infos); in responseNetworkScan()
1341 if (RIL.RILJ_LOGD) mRil.unsljLogRet(RIL_UNSOL_NETWORK_SCAN_RESULT, nsr); in responseNetworkScan()
1342 mRil.mRilNetworkScanResultRegistrants.notifyRegistrants(new AsyncResult(null, nsr, null)); in responseNetworkScan()
1349 NetworkScanResult nsr = null; in responseNetworkScan_1_2() local
1351 nsr = new NetworkScanResult(result.status, result.error, infos); in responseNetworkScan_1_2()
1352 if (RIL.RILJ_LOGD) mRil.unsljLogRet(RIL_UNSOL_NETWORK_SCAN_RESULT, nsr); in responseNetworkScan_1_2()
1353 mRil.mRilNetworkScanResultRegistrants.notifyRegistrants(new AsyncResult(null, nsr, null)); in responseNetworkScan_1_2()
1361 NetworkScanResult nsr = new NetworkScanResult(result.status, result.error, cellInfos); in responseNetworkScan_1_4() local
1362 if (RIL.RILJ_LOGD) mRil.unsljLogRet(RIL_UNSOL_NETWORK_SCAN_RESULT, nsr); in responseNetworkScan_1_4()
[all …]
DRIL.java2686 final NetworkScanRequest nsr = networkScanRequest; in startNetworkScan() local
2699 request.type = nsr.getScanType(); in startNetworkScan()
2700 request.interval = nsr.getSearchPeriodicity(); in startNetworkScan()
2701 request.maxSearchTime = nsr.getMaxSearchTime(); in startNetworkScan()
2702 request.incrementalResultsPeriodicity = nsr.getIncrementalResultsPeriodicity(); in startNetworkScan()
2703 request.incrementalResults = nsr.getIncrementalResults(); in startNetworkScan()
2705 for (RadioAccessSpecifier ras : nsr.getSpecifiers()) { in startNetworkScan()
2717 request.mccMncs.addAll(nsr.getPlmns()); in startNetworkScan()
2719 mRILDefaultWorkSource, nsr); in startNetworkScan()
2735 request.type = nsr.getScanType(); in startNetworkScan()
[all …]
DPhoneInternalInterface.java921 void startNetworkScan(NetworkScanRequest nsr, Message response); in startNetworkScan() argument
DRadioResponse.java2614 NetworkScanResult nsr = null; in responseScanStatus() local
2616 nsr = new NetworkScanResult( in responseScanStatus()
2618 sendMessageResponse(rr.mResult, nsr); in responseScanStatus()
2620 mRil.processResponseDone(rr, responseInfo, nsr); in responseScanStatus()
DCommandsInterface.java1452 void startNetworkScan(NetworkScanRequest nsr, Message response); in startNetworkScan() argument
DGsmCdmaPhone.java2523 public void startNetworkScan(NetworkScanRequest nsr, Message response) { in startNetworkScan() argument
2524 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.java364 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.java363 public void startNetworkScan(NetworkScanRequest nsr, Message response) { in startNetworkScan() argument