/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationTest.java | 173 Notification.Builder n2 = new Notification.Builder(mContext, "test"); in testStyleChangeVisiblyDifferent_noStyles() local 175 assertFalse(Notification.areStyledNotificationsVisiblyDifferent(n1, n2)); in testStyleChangeVisiblyDifferent_noStyles() 181 Notification.Builder n2 = new Notification.Builder(mContext, "test") in testStyleChangeVisiblyDifferent_noStyleToStyle() local 184 assertTrue(Notification.areStyledNotificationsVisiblyDifferent(n1, n2)); in testStyleChangeVisiblyDifferent_noStyleToStyle() 189 Notification.Builder n2 = new Notification.Builder(mContext, "test"); in testStyleChangeVisiblyDifferent_styleToNoStyle() local 193 assertTrue(Notification.areStyledNotificationsVisiblyDifferent(n1, n2)); in testStyleChangeVisiblyDifferent_styleToNoStyle() 200 Notification.Builder n2 = new Notification.Builder(mContext, "test") in testStyleChangeVisiblyDifferent_changeStyle() local 203 assertTrue(Notification.areStyledNotificationsVisiblyDifferent(n1, n2)); in testStyleChangeVisiblyDifferent_changeStyle() 324 Notification.Builder n2 = new Notification.Builder(mContext, "test"); in testRemoteViews_nullChange() local 325 assertTrue(Notification.areRemoteViewsChanged(n1, n2)); in testRemoteViews_nullChange() [all …]
|
D | NotificationComparatorTest.java | 117 Notification n2 = new Notification.Builder(mContext, TEST_CHANNEL_ID) in setUp() local 122 callPkg, 1, "highcall", callUid, callUid, n2, in setUp()
|
/frameworks/compile/libbcc/tests/debuginfo/host-tests/ |
D | pass-struct.c | 17 int n2[2]; member 23 s.n2[1]++; in test_struct() 24 return s.n > s.n2[0] ? s.n : s.n2[0]; in test_struct() 32 s.n2[0] = 20; in main() 33 s.n2[1] = 21; in main()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | NotificationTest.java | 130 Notification n2 = new Notification.Builder(mContext) in testHasCompletedProgress_complete() local 134 assertTrue(n2.hasCompletedProgress()); in testHasCompletedProgress_complete() 142 Notification n2 = new Notification.Builder(mContext) in testHasCompletedProgress_notComplete() local 146 assertFalse(n2.hasCompletedProgress()); in testHasCompletedProgress_notComplete() 201 Notification n2 = builder.build(); in allPendingIntents_recollectedAfterReusingBuilder() local 202 n2.writeToParcel(p, 0); in allPendingIntents_recollectedAfterReusingBuilder() 204 assertTrue(n2.allPendingIntents.contains(intent2)); in allPendingIntents_recollectedAfterReusingBuilder()
|
/frameworks/base/core/tests/privacytests/src/android/privacy/ |
D | LongitudinalReportingEncoderTest.java | 322 final int n2 = 1000; in testLongitudinalReportingEncoder_basicPRRTest() local 324 final double expectedTrueSum2 = n2 * p2; in testLongitudinalReportingEncoder_basicPRRTest() 325 final double valueRange2 = 5 * Math.sqrt(n2 * p2 * (1 - p2)); in testLongitudinalReportingEncoder_basicPRRTest() 327 for (int i = 0; i < n2; i++) { in testLongitudinalReportingEncoder_basicPRRTest()
|
/frameworks/base/tests/notification/src/com/android/frameworks/tests/notification/ |
D | NotificationTests.java | 434 final Notification n2 = Notification.CREATOR.createFromParcel(p); in testCreate() local 436 L(" %s: parcel read=%dms", summarize(n2), time); in testCreate() 439 noMa.notify(NOTIFICATION_ID + i, n2); in testCreate() 441 L(" %s: notify=%dms", summarize(n2), time); in testCreate()
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | Quaternion.java | 127 double n2 = 2 * (x[0] * (v2 * x[0] - (x[1] * v1 - x[2] * v0)) + s * x[3]) - v2; in rotateVec() local 129 return new double[]{n0, n1, n2}; in rotateVec()
|
/frameworks/base/core/java/android/text/format/ |
D | TimeFormatter.java | 238 int n2 = (wallTime.getHour() % 12 != 0) ? (wallTime.getHour() % 12) : 12; in handleToken() local 239 numberFormatter.format(getFormat(modifier, "%2d", "%2d", "%d", "%02d"), n2); in handleToken() local
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | ScriptGroup.java | 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/python/google/protobuf/internal/ |
D | reflection_test.py | 960 n2 = unittest_pb2.TestAllTypes.NestedMessage(bb=2) 961 proto.repeated_nested_message.extend([n1,n2]) 964 self.assertEqual(n2, proto.repeated_nested_message[3])
|