Home
last modified time | relevance | path

Searched refs:n1 (Results 1 – 17 of 17) 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.java123 Notification n1 = new Notification.Builder(mContext, TEST_CHANNEL_ID) in setUp() local
128 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/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/base/packages/OsuLogin/certs/
Dkey.pem30 AOfjSO6Dlfr7V9SWmGvexosH0gu6H8KO+n1/ZPH5fHGt7ORubUDhkNI/fqZK0Hls
/frameworks/ml/nn/runtime/
DManager.cpp339 const auto [n1, inputPtrArgsMemory, inputPtrArgsLocations] = in execute()
341 if (n1 != ANEURALNETWORKS_NO_ERROR) { in execute()
342 return {n1, {}, kNoTiming}; in execute()
449 const auto [n1, inputPtrArgsMemory, inputPtrArgsLocations] = in executeFenced()
451 if (n1 != ANEURALNETWORKS_NO_ERROR) { in executeFenced()
452 return {n1, -1, nullptr, timing}; in executeFenced()
DExecutionBuilder.cpp488 int n1 = plan.fallback(controller, &executor); in cpuFallbackPartial() local
489 if (n1 != ANEURALNETWORKS_NO_ERROR) { in cpuFallbackPartial()
490 return {n1, {}, kNoTiming, nullptr}; in cpuFallbackPartial()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationTest.java197 Notification n1 = builder.build(); in allPendingIntents_recollectedAfterReusingBuilder() local
198 n1.writeToParcel(p, 0); in allPendingIntents_recollectedAfterReusingBuilder()
/frameworks/rs/support/java/src/androidx/renderscript/
DScriptGroup.java858 for (Node n1 : mNodes) { in calcOrder()
859 n1.mSeen = false; in calcOrder()
866 public int compare(Node n1, Node n2) { in calcOrder()
867 return n1.mOrder - n2.mOrder; in calcOrder()
/frameworks/ml/nn/runtime/test/
DTestMemoryDomain.cpp449 auto [n1, memory1] = allocateDeviceMemory(compilation, {0}, {}); in TEST_F()
451 ASSERT_EQ(n1, ANEURALNETWORKS_NO_ERROR); in TEST_F()