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.java172 Notification.Builder n1 = new Notification.Builder(mContext, "test"); in testStyleChangeVisiblyDifferent_noStyles() local
175 assertFalse(Notification.areStyledNotificationsVisiblyDifferent(n1, n2)); in testStyleChangeVisiblyDifferent_noStyles()
180 Notification.Builder n1 = new Notification.Builder(mContext, "test"); in testStyleChangeVisiblyDifferent_noStyleToStyle() local
184 assertTrue(Notification.areStyledNotificationsVisiblyDifferent(n1, n2)); in testStyleChangeVisiblyDifferent_noStyleToStyle()
190 Notification.Builder n1 = new Notification.Builder(mContext, "test") in testStyleChangeVisiblyDifferent_styleToNoStyle() local
193 assertTrue(Notification.areStyledNotificationsVisiblyDifferent(n1, n2)); in testStyleChangeVisiblyDifferent_styleToNoStyle()
198 Notification.Builder n1 = new Notification.Builder(mContext, "test") in testStyleChangeVisiblyDifferent_changeStyle() local
203 assertTrue(Notification.areStyledNotificationsVisiblyDifferent(n1, n2)); in testStyleChangeVisiblyDifferent_changeStyle()
322 Notification.Builder n1 = new Notification.Builder(mContext, "test") in testRemoteViews_nullChange() local
325 assertTrue(Notification.areRemoteViewsChanged(n1, n2)); in testRemoteViews_nullChange()
[all …]
DNotificationComparatorTest.java108 Notification n1 = new Notification.Builder(mContext, TEST_CHANNEL_ID) in setUp() local
113 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/gamesdk/third_party/protobuf-3.0.0/objectivec/DevTools/
Dcompile_testing_protos.sh49 | sort -n | tail -n1 | cut -f2- -d" ")
55 | sort -n -r | tail -n1 | cut -f2- -d" ")
/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/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/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dmap.h756 bool operator()(const Key* n0, const Key* n1) const { return *n0 < *n1; } in operator()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Dreflection_test.py959 n1 = unittest_pb2.TestAllTypes.NestedMessage(bb=1)
961 proto.repeated_nested_message.extend([n1,n2])
963 self.assertEqual(n1, proto.repeated_nested_message[2])