/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 | 131 Notification n2 = new Notification.Builder(mContext, TEST_CHANNEL_ID) in setUp() local 136 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/opt/telephony/src/java/com/android/internal/telephony/ |
D | CellularNetworkValidator.java | 94 new PriorityQueue((Comparator<ValidatedNetwork>) (n1, n2) -> { 95 if (n1.mValidationTimeStamp < n2.mValidationTimeStamp) { 97 } else if (n1.mValidationTimeStamp > n2.mValidationTimeStamp) {
|
/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/ml/nn/runtime/ |
D | Manager.cpp | 343 const auto [n2, outputPtrArgsMemory, outputPtrArgsLocations] = in execute() 345 if (n2 != ANEURALNETWORKS_NO_ERROR) { in execute() 346 return {n2, {}, kNoTiming}; in execute() 453 const auto [n2, outputPtrArgsMemory, outputPtrArgsLocations] = in executeFenced() 455 if (n2 != ANEURALNETWORKS_NO_ERROR) { in executeFenced() 456 return {n2, -1, nullptr, timing}; in executeFenced()
|
D | ExecutionBuilder.cpp | 493 auto [n2, outputShapes, timing] = executor->computeOnCpuFallback(); in cpuFallbackPartial() 494 return {n2, std::move(outputShapes), timing, executor}; in cpuFallbackPartial()
|
/frameworks/base/core/java/android/text/format/ |
D | TimeFormatter.java | 311 int n2 = (wallTime.getHour() % 12 != 0) ? (wallTime.getHour() % 12) : 12; in handleToken() local 312 numberFormatter.format(getFormat(modifier, "%2d", "%2d", "%d", "%02d"), n2); in handleToken() local
|
/frameworks/ml/nn/runtime/test/ |
D | TestMemoryDomain.cpp | 450 auto [n2, memory2] = allocateDeviceMemory(compilation, {0}, {}); in TEST_F() 452 ASSERT_EQ(n2, ANEURALNETWORKS_NO_ERROR); in TEST_F()
|
/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()
|