Home
last modified time | relevance | path

Searched refs:n1 (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationTest.java89 Notification.Builder n1 = new Notification.Builder(mContext, "test"); in testStyleChangeVisiblyDifferent_noStyles() local
92 assertFalse(Notification.areStyledNotificationsVisiblyDifferent(n1, n2)); in testStyleChangeVisiblyDifferent_noStyles()
97 Notification.Builder n1 = new Notification.Builder(mContext, "test"); in testStyleChangeVisiblyDifferent_noStyleToStyle() local
101 assertTrue(Notification.areStyledNotificationsVisiblyDifferent(n1, n2)); in testStyleChangeVisiblyDifferent_noStyleToStyle()
107 Notification.Builder n1 = new Notification.Builder(mContext, "test") in testStyleChangeVisiblyDifferent_styleToNoStyle() local
110 assertTrue(Notification.areStyledNotificationsVisiblyDifferent(n1, n2)); in testStyleChangeVisiblyDifferent_styleToNoStyle()
115 Notification.Builder n1 = new Notification.Builder(mContext, "test") in testStyleChangeVisiblyDifferent_changeStyle() local
120 assertTrue(Notification.areStyledNotificationsVisiblyDifferent(n1, n2)); in testStyleChangeVisiblyDifferent_changeStyle()
239 Notification.Builder n1 = new Notification.Builder(mContext, "test") in testRemoteViews_nullChange() local
242 assertTrue(Notification.areRemoteViewsChanged(n1, n2)); in testRemoteViews_nullChange()
[all …]
DNotificationComparatorTest.java131 Notification n1 = new Notification.Builder(mContext, TEST_CHANNEL_ID) in setUp() local
136 callPkg, 1, "minCall", callUid, callUid, n1, in setUp()
/frameworks/native/opengl/tests/hwc/
DhwcStress.cpp428 for (unsigned int n1 = 0; n1 < list->numHwLayers; n1++) { in main() local
429 unsigned int idx = testRandMod(selectedFrames[n1].size()); in main()
430 sp<GraphicBuffer> gBuf = selectedFrames[n1][idx]; in main()
431 hwc_layer_1_t *layer = &list->hwLayers[n1]; in main()
492 for (unsigned int n1 = 0; n1 < numSet; n1++) { in main() local
499 for (unsigned int n1 = 0; n1 < list->numHwLayers; n1++) { in main() local
500 unsigned int idx = testRandMod(selectedFrames[n1].size()); in main()
501 sp<GraphicBuffer> gBuf = selectedFrames[n1][idx]; in main()
502 hwc_layer_1_t *layer = &list->hwLayers[n1]; in main()
641 for (size_t n1 = 0; n1 < vec.size(); n1++) { in vectorOr() local
[all …]
DhwcRects.cpp264 for (unsigned int n1 = 0; n1 < argNext.length(); n1++) { in main() local
265 switch(argNext[n1]) { in main()
550 for (unsigned int n1 = 0; n1 < NUMA(hwcTestGraphicFormat); n1++) { in printSyntax() local
551 testPrintE(" %s", hwcTestGraphicFormat[n1].desc); in printSyntax()
DhwcTestLib.cpp360 for (unsigned int n1 = 0; n1 < NUMA(hwcTestGraphicFormat); n1++) { in hwcTestGraphicFormatLookup() local
361 if (string(desc) == string(hwcTestGraphicFormat[n1].desc)) { in hwcTestGraphicFormatLookup()
362 return &hwcTestGraphicFormat[n1]; in hwcTestGraphicFormatLookup()
374 for (unsigned int n1 = 0; n1 < NUMA(hwcTestGraphicFormat); n1++) { in hwcTestGraphicFormatLookup() local
375 if (id == hwcTestGraphicFormat[n1].format) { in hwcTestGraphicFormatLookup()
376 return &hwcTestGraphicFormat[n1]; in hwcTestGraphicFormatLookup()
390 for (unsigned int n1 = 0; n1 < NUMA(hwcTestGraphicFormat); n1++) { in hwcTestGraphicFormat2str() local
391 if (format == hwcTestGraphicFormat[n1].format) { in hwcTestGraphicFormat2str()
392 return hwcTestGraphicFormat[n1].desc; in hwcTestGraphicFormat2str()
DhwcColorEquiv.cpp433 for (unsigned int n1 = 0; n1 < NUMA(hwcTestGraphicFormat); n1++) { in printSyntax() local
434 testPrintE(" %s", hwcTestGraphicFormat[n1].desc); in printSyntax()
DhwcCommit.cpp396 for (unsigned int n1 = 0; n1 < NUMA(hwcTestGraphicFormat); n1++) { in main() local
397 formats.push_back(hwcTestGraphicFormat[n1].desc); in main()
1440 for (unsigned int n1 = 0; n1 < hwcList->numHwLayers; n1++) { in numOverlays() local
1441 if (hwcList->hwLayers[n1].compositionType == HWC_OVERLAY) { in numOverlays()
1557 for (unsigned int n1 = 0; n1 < NUMA(hwcTestGraphicFormat); n1++) { in printSyntax() local
1558 testPrintE(" %s", hwcTestGraphicFormat[n1].desc); in printSyntax()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DNotificationHelper.java69 Notification n1 = e1.getSbn().getNotification();
72 boolean missedCall1 = isMissedCall(n1);
83 getMessagingStyleMessages(n1);
99 return (int) (n2.when - n1.when);
/frameworks/base/core/tests/privacytests/src/android/privacy/
DLongitudinalReportingEncoderTest.java298 final int n1 = 1000; in testLongitudinalReportingEncoder_basicPRRTest() local
300 final double expectedTrueSum1 = n1 * p1; in testLongitudinalReportingEncoder_basicPRRTest()
301 final double valueRange1 = 5 * Math.sqrt(n1 * p1 * (1 - p1)); in testLongitudinalReportingEncoder_basicPRRTest()
303 for (int i = 0; i < n1; i++) { in testLongitudinalReportingEncoder_basicPRRTest()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCellularNetworkValidator.java94 new PriorityQueue((Comparator<ValidatedNetwork>) (n1, n2) -> {
95 if (n1.mValidationTimeStamp < n2.mValidationTimeStamp) {
97 } else if (n1.mValidationTimeStamp > n2.mValidationTimeStamp) {
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DQuaternion.java126 double n1 = 2 * (x[0] * (v1 * x[0] - (x[3] * v0 - x[1] * v2)) + s * x[2]) - v1; in rotateVec() local
129 return new double[]{n0, n1, n2}; in rotateVec()
/frameworks/base/tests/backup/
Dtest_restore.sh69 restore_set=$(a shell bmgr list sets | head -n1 | awk '{print $1}')
/frameworks/rs/support/java/src/androidx/renderscript/
DScriptGroup.java863 for (Node n1 : mNodes) { in calcOrder()
864 n1.mSeen = false; in calcOrder()
871 public int compare(Node n1, Node n2) { in calcOrder()
872 return n1.mOrder - n2.mOrder; in calcOrder()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationTest.java187 Notification n1 = builder.build(); in allPendingIntents_recollectedAfterReusingBuilder() local
188 n1.writeToParcel(p, 0); in allPendingIntents_recollectedAfterReusingBuilder()
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberUtils.java3283 PhoneNumber n1; in areSamePhoneNumber() local
3287 n1 = util.parseAndKeepRawInput(number1, defaultCountryIso); in areSamePhoneNumber()
3293 PhoneNumberUtil.MatchType matchType = util.isNumberMatch(n1, n2); in areSamePhoneNumber()
3298 return (n1.getNationalNumber() == n2.getNationalNumber() in areSamePhoneNumber()
3299 && n1.getCountryCode() == n2.getCountryCode()); in areSamePhoneNumber()