Home
last modified time | relevance | path

Searched refs:nr (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/libs/hwui/tests/scripts/
Dprep_taieye.sh1 nr=$(adb shell cat /proc/cpuinfo | grep processor | wc -l)
22 while [ $((cpu < $nr)) -eq 1 ]; do
Dprep_buller.sh3 nr=$(adb shell cat /proc/cpuinfo | grep processor | wc -l)
30 while [ $((cpu < $nr)) -eq 1 ]; do
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DApnContext.java451 for (NetworkRequest nr : mNetworkRequests) { in hasRestrictedRequests()
453 nr.networkCapabilities.hasCapability( in hasRestrictedRequests()
457 if (!nr.networkCapabilities.hasCapability( in hasRestrictedRequests()
561 static @ApnType int getApnTypeFromNetworkRequest(NetworkRequest nr) { in getApnTypeFromNetworkRequest() argument
562 NetworkCapabilities nc = nr.networkCapabilities; in getApnTypeFromNetworkRequest()
621 Rlog.d(SLOG_TAG, "Unsupported NetworkRequest in Telephony: nr=" + nr); in getApnTypeFromNetworkRequest()
659 for (NetworkRequest nr : mNetworkRequests) { in dump()
660 pw.println(nr); in dump()
DDcRequest.java32 public DcRequest(NetworkRequest nr, Context context) { in DcRequest() argument
34 networkRequest = nr; in DcRequest()
DTelephonyNetworkFactory.java178 NetworkRequest nr = bundle.getParcelable( in handleMessage() local
186 onDataHandoverSetupCompleted(nr, success, transport, handoverParams); in handleMessage()
415 NetworkRequest nr = entry.getKey(); in dump() local
417 pw.println(nr + (transport != AccessNetworkConstants.TRANSPORT_TYPE_INVALID in dump()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java2508 NotificationRecord nr = new NotificationRecord(mContext, sbn, mTestNotificationChannel); in testNoFakeColorizedPermission() local
2511 nr.sbn.getId(), nr.sbn.getNotification(), nr.sbn.getUserId()); in testNoFakeColorizedPermission()
2515 PKG, null, nr.sbn.getId(), nr.sbn.getUserId()); in testNoFakeColorizedPermission()
4265 NotificationRecord nr = generateNotificationRecord(mTestNotificationChannel, in testFlagBubble() local
4269 when(mActivityManager.getPackageImportance(nr.sbn.getPackageName())).thenReturn( in testFlagBubble()
4273 nr.sbn.getId(), nr.sbn.getNotification(), nr.sbn.getUserId()); in testFlagBubble()
4280 nr.sbn.getKey()).getNotification().isBubbleNotification()); in testFlagBubble()
4289 NotificationRecord nr = generateNotificationRecord(mTestNotificationChannel, in testFlagBubble_noFlag_appNotAllowed() local
4293 when(mActivityManager.getPackageImportance(nr.sbn.getPackageName())).thenReturn( in testFlagBubble_noFlag_appNotAllowed()
4297 nr.sbn.getId(), nr.sbn.getNotification(), nr.sbn.getUserId()); in testFlagBubble_noFlag_appNotAllowed()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java298 NetworkRequest nr = getSessionNetworkRequest(clientId, res.mSessionId, res.mPeerHandle, pmk, in testDataPathPmkWithoutPermission() local
303 reqNetworkMsg.obj = nr; in testDataPathPmkWithoutPermission()
333 NetworkRequest nr = getSessionNetworkRequestMore(clientId, res.mSessionId, res.mPeerHandle, in testDataPathWithPortInfoOnPublisher() local
338 reqNetworkMsg.obj = nr; in testDataPathWithPortInfoOnPublisher()
371 NetworkRequest nr = getSessionNetworkRequestMore(clientId, res.mSessionId, res.mPeerHandle, in testDataPathWithPortInfoInvalidPort() local
376 reqNetworkMsg.obj = nr; in testDataPathWithPortInfoInvalidPort()
404 NetworkRequest nr = getSessionNetworkRequestMore(clientId, res.mSessionId, res.mPeerHandle, in testDataPathWithPortInfoButNoSecurityOnSubscriber() local
409 reqNetworkMsg.obj = nr; in testDataPathWithPortInfoButNoSecurityOnSubscriber()
441 NetworkRequest nr = getSessionNetworkRequest(clientId, res.mSessionId, res.mPeerHandle, in testDestroyNdiDuringNdpSetupResponder() local
446 reqNetworkMsg.obj = nr; in testDestroyNdiDuringNdpSetupResponder()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationShellCmd.java502 NotificationRecord nr = mDirectService.findNotificationLocked( in doNotify() local
505 if (nr != null) break; in doNotify()
511 nr = mDirectService.findNotificationLocked( in doNotify()
514 if (nr == null) { in doNotify()
518 nr.dump(pw, " ", context, false); in doNotify()
DNotificationManagerService.java488 public void record(StatusBarNotification nr) { in record() argument
496 mBuffer.addLast(nr.cloneLight()); in record()
4366 final NotificationRecord nr = mNotificationList.get(i);
4367 if (filter.filtered && !filter.matches(nr.sbn)) continue;
4368 nr.dump(proto, NotificationServiceDumpProto.RECORDS, filter.redact,
4373 final NotificationRecord nr = mEnqueuedNotifications.get(i);
4374 if (filter.filtered && !filter.matches(nr.sbn)) continue;
4375 nr.dump(proto, NotificationServiceDumpProto.RECORDS, filter.redact,
4381 final NotificationRecord nr = snoozed.get(i);
4382 if (filter.filtered && !filter.matches(nr.sbn)) continue;
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DConnectivityServiceMock.java573 NetworkRequest nr = nai.requestAt(i); in sendUpdatedScoreToFactories() local
575 if (!isRequest(nr)) continue; in sendUpdatedScoreToFactories()
576 sendUpdatedScoreToFactories(nr, nai.getCurrentScore()); in sendUpdatedScoreToFactories()
604 public synchronized void setCurrentScoreForRequest(NetworkRequest nr, int score) { in setCurrentScoreForRequest() argument
605 sendUpdatedScoreToFactories(nr, score); in setCurrentScoreForRequest()
/frameworks/base/tests/net/common/java/android/net/
DNetworkCapabilitiesTest.java293 NetworkCapabilities nr = new NetworkCapabilities(); in testOemPaid() local
294 nr.addCapability(NET_CAPABILITY_OEM_PAID); in testOemPaid()
295 nr.maybeMarkCapabilitiesRestricted(); in testOemPaid()
296 assertTrue(nr.satisfiedByNetworkCapabilities(nc)); in testOemPaid()
299 assertFalse(nr.satisfiedByNetworkCapabilities(new NetworkCapabilities())); in testOemPaid()
/frameworks/base/telephony/java/android/telephony/
DSignalStrength.java134 @NonNull CellSignalStrengthNr nr) { in SignalStrength() argument
140 mNr = nr; in SignalStrength()
183 new CellSignalStrengthNr(signalStrength.nr)); in SignalStrength()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java1015 for (NetworkRequest nr : nnri.equivalentRequests) { in letAppKnowThatRequestsAreUnavailable()
1016 releaseRequestAsUnfulfillableByAnyFactory(nr); in letAppKnowThatRequestsAreUnavailable()
1221 nr -> nr.networkCapabilities.getNetworkSpecifier()).collect( in getNetworkCapabilities()
1424 for (NetworkRequest nr : equivalentRequests) { in toString()
1425 sb.append(nr.toString()).append(", "); in toString()
1529 nr -> nr.networkCapabilities.getNetworkSpecifier()).collect( in configureAgentProperties()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java5971 NetworkRequest nr = nai.requestAt(i); in sendUpdatedScoreToFactories() local
5973 if (nr.isListen()) continue; in sendUpdatedScoreToFactories()
5974 sendUpdatedScoreToFactories(nr, nai); in sendUpdatedScoreToFactories()
6092 NetworkRequest nr = nai.requestAt(i); in teardownUnneededNetwork() local
6094 if (nr.isListen()) continue; in teardownUnneededNetwork()
6095 loge("Dead network still had at least " + nr); in teardownUnneededNetwork()
6144 NetworkRequest nr = nri.request; in processListenRequests() local
6145 if (!nr.isListen()) continue; in processListenRequests()
6146 if (nai.isSatisfyingRequest(nr.requestId) && !nai.satisfies(nr)) { in processListenRequests()
6157 NetworkRequest nr = nri.request; in processListenRequests() local
[all …]
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java3164 NetworkRequest nr = builder.build(); in testInvalidNetworkSpecifier() local
3165 assertNotNull(nr); in testInvalidNetworkSpecifier()
3169 nr.writeToParcel(parcelW, 0); in testInvalidNetworkSpecifier()
3837 NetworkRequest nr = new NetworkRequest.Builder().addTransportType( in testSatisfiedNetworkRequestDoesNotTriggerOnUnavailable() local
3840 mCm.requestNetwork(nr, networkCallback, TEST_REQUEST_TIMEOUT_MS); in testSatisfiedNetworkRequestDoesNotTriggerOnUnavailable()
3857 NetworkRequest nr = new NetworkRequest.Builder().addTransportType( in testSatisfiedThenLostNetworkRequestDoesNotTriggerOnUnavailable() local
3860 mCm.requestNetwork(nr, networkCallback, TEST_REQUEST_TIMEOUT_MS); in testSatisfiedThenLostNetworkRequestDoesNotTriggerOnUnavailable()
3880 NetworkRequest nr = new NetworkRequest.Builder().addTransportType( in testTimedoutNetworkRequest() local
3884 mCm.requestNetwork(nr, networkCallback, timeoutMs); in testTimedoutNetworkRequest()
3901 NetworkRequest nr = new NetworkRequest.Builder().addTransportType( in testNoCallbackAfterUnregisteredNetworkRequest() local
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java963 NetworkRequest nr = new NetworkRequest.Builder() in testDDSResetAutoAttach() local
965 mDct.requestNetwork(nr, DcTracker.REQUEST_TYPE_NORMAL, null); in testDDSResetAutoAttach()