/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
ZOrderingTests.java | 43 import org.junit.After; 124 // We can't use @Before here because it may happen after WindowTestsBase @Before 125 // which is after construction of the DisplayContent, meaning the HierarchyRecorder 132 @After 133 public void after() { method in class:ZOrderingTests
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
NotificationTest.java | 89 Notification after = Notification.Builder.maybeCloneStrippedForDelivery(before, true, local 93 assertNull(new Notification.TvExtender(after).getChannelId()); 96 assertEquals(Notification.COLOR_DEFAULT, new Notification.CarExtender(after).getColor()); 99 assertNull(new Notification.WearableExtender(after).getDismissalId()); 115 Notification after = Notification.Builder.maybeCloneStrippedForDelivery(before, true, local 119 assertEquals("different channel", new Notification.TvExtender(after).getChannelId()); 122 assertEquals(Color.RED, new Notification.CarExtender(after).getColor()); 125 assertEquals("dismiss", new Notification.WearableExtender(after).getDismissalId()); 143 Notification after = Notification.Builder.maybeCloneStrippedForDelivery(before, true, local 148 assertNull(after.contentView) 160 Notification after = Notification.Builder.maybeCloneStrippedForDelivery(before, false, local [all...] |
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
ChildHelper.java | 455 final long after = ((mData & ~mask)) << 1; local 456 mData = before | after; 480 final long after = Long.rotateRight(mData & ~mask, 1); local 481 mData = before | after;
|
/libcore/ojluni/src/main/java/java/time/zone/ |
ZoneOffsetTransitionRule.java | 89 * <li>the Sunday on or after the 16th March 146 * The offset after the cutover. 166 * @param offsetAfter the offset after the cutover, not null 209 * @param offsetAfter the offset after the cutover, not null 354 ZoneOffset after = (afterByte == 3 ? ZoneOffset.ofTotalSeconds(in.readInt()) : ZoneOffset.ofTotalSeconds(std.getTotalSeconds() + afterByte * 1800)); local 355 return ZoneOffsetTransitionRule.of(month, dom, dow, time, timeByte == 24, defn, std, before, after); 465 * Gets the offset after the transition. 467 * @return the offset after, not null 562 buf.append(dow.name()).append(" on or after ").append(month.name()).append(' ').append(dom);
|
/libcore/ojluni/src/test/java/time/tck/java/time/zone/ |
TCKZoneOffsetTransition.java | 120 LocalDateTime after = LocalDateTime.of(2010, 3, 31, 2, 0); local 125 assertEquals(test.getDateTimeAfter(), after); local 135 LocalDateTime after = LocalDateTime.of(2010, 10, 31, 0, 0); local 140 assertEquals(test.getDateTimeAfter(), after); local
|
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/ |
LiveChannelsTestController.java | 103 protected void after() { method in class:LiveChannelsTestController
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/build/ |
AaptQuickFixTest.java | 285 String after = document.get(); local 286 String diff = getDiff(before, after);
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
FileUseMap.java | 127 * will be added before and after if needed to make sure no spaces exist on the map. 166 * entries will be added before and after if needed to make sure no spaces exist on the map. 203 * Splits a container to add an entry, adding new free entries before and after the provided 324 * Obtains the largest used offset in the map. This will be size of the map after truncation. 442 * We don't care about blocks that leave less than the minimum size after. There are 444 * case, after coalescing, the free block with have at least the minimum size. 542 * Obtains the entry that is located after the one provided. 545 * @return the entry after the provided one, {@code null} if {@code entry} is the last entry in 549 FileUseMapEntry<?> after(@Nonnull FileUseMapEntry<?> entry) { method in class:FileUseMap
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/metricregression/ |
DetectRegression.java | 67 description = "When before/after metrics mismatch, true=throw exception, false=log error" 122 Metrics after = local 125 before.crossValidate(after); 126 runRegressionDetection(before, after); 136 * @param after post-patch metrics 139 void runRegressionDetection(Metrics before, Metrics after) { 141 Sets.intersection(before.getRunMetrics().keySet(), after.getRunMetrics().keySet()); 145 List<Double> afterMetrics = after.getRunMetrics().get(name); 153 before.getTestMetrics().keySet(), after.getTestMetrics().keySet()); 157 List<Double> afterMetrics = after.getTestMetrics().get(id) [all...] |
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
UsageStatsTest.java | 342 final UsageStats after = statsMap.get(mTargetPackage); local 343 assertEquals(before.getPackageName(), after.getPackageName()); 345 long diff = before.getFirstTimeStamp() - after.getFirstTimeStamp(); 349 after.getLastTimeStamp() - after.getFirstTimeStamp()); 351 after.getLastTimeUsed() - after.getFirstTimeStamp()); 352 assertEquals(before.getTotalTimeInForeground(), after.getTotalTimeInForeground()); [all...] |
/art/runtime/native/ |
dalvik_system_VMRuntime.cc | 606 DexCacheStats after; local 607 PreloadDexCachesStatsFilled(&after); 608 LOG(INFO) << StringPrintf("VMRuntime.preloadDexCaches strings total=%d before=%d after=%d", 609 total.num_strings, before.num_strings, after.num_strings); 610 LOG(INFO) << StringPrintf("VMRuntime.preloadDexCaches types total=%d before=%d after=%d", 611 total.num_types, before.num_types, after.num_types); 612 LOG(INFO) << StringPrintf("VMRuntime.preloadDexCaches fields total=%d before=%d after=%d", 613 total.num_fields, before.num_fields, after.num_fields); 614 LOG(INFO) << StringPrintf("VMRuntime.preloadDexCaches methods total=%d before=%d after=%d", 615 total.num_methods, before.num_methods, after.num_methods) [all...] |
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/ |
CommonExternalStorageTest.java | 221 final File[] after = new File[before.length - 1]; local 222 System.arraycopy(before, 1, after, 0, after.length); 223 return after;
|
/cts/tests/tests/preference2/src/android/preference2/cts/ |
PreferenceActivityFlowTest.java | 101 * headers are hidden and pressing back button after that shows them again. 126 * Scenario: Tests that after navigating back to the headers list there will be no header 166 * Scenario: Tests that pressing back button twice after having preference panel opened will 302 Bitmap after = mTestUtils.takeScreenshot(); local 303 assertScreenshotsAreEqual(before, after); 415 Bitmap after = mTestUtils.takeScreenshot(); local 416 assertScreenshotsAreEqual(before, after); 450 * Scenario: Tests that the PreferenceActivity properly restores its state after recreation. 469 Bitmap after = mTestUtils.takeScreenshot(); local 470 assertScreenshotsAreEqual(before, after); 514 Bitmap after = mTestUtils.takeScreenshot(); local 542 Bitmap after = mTestUtils.takeScreenshot(); local 573 Bitmap after = mTestUtils.takeScreenshot(); local 616 Bitmap after = mTestUtils.takeScreenshot(); local 671 Bitmap after = mTestUtils.takeScreenshot(); local [all...] |
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
TimestampTest.java | 60 static long TIME_LATE = 2347889122L; // A time well after the Epoch 552 * Method test for after 560 assertFalse(theTimestamp.after(theTest)); 568 assertTrue(theTimestamp.after(theTest)); 575 assertFalse(theTimestamp.after(theTest)); 577 assertTrue(theTimestamp.after(theTest));
|
/external/clang/test/Sema/ |
designated-initializers.c | 145 struct XY { int before; struct XX xx, *xp; float* after; } xy[] = { member in struct:XY
|
/external/curl/lib/ |
easy.c | 563 struct curltime after; local 581 after = Curl_now(); 609 timediff_t timediff = Curl_timediff(after, before); 643 /* this struct is made static to allow it to be used after this function 675 struct curltime after = Curl_now(); local 680 if(Curl_timediff(after, before) <= 10) { 776 /* assign this after curl_multi_add_handle() since that function checks for 1123 * Receives data from the connected socket. Use after successful 1151 * Sends data over the connected socket. Use after successful
|
/external/freetype/src/autofit/ |
afhints.c | 1374 AF_Edge after = edges + min + 0; local [all...] |
/external/freetype/src/type1/ |
t1load.c | 326 /* Point to axes after MM_Var struct */ 505 FT_Int before = -1, after = -1; local 528 after = (FT_Int)p; 539 else if ( after < 0 ) 544 blends [after] - blends [before], 545 designs[after] - designs[before] ); [all...] |
/external/google-breakpad/src/common/mac/ |
macho_reader_unittest.cc | 710 // command list. This Places COMMANDS immediately after the header. 1488 LoadedSection after; local [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
CalendarTest.java | 268 * Test method for 'com.ibm.icu.util.Calendar.after(Object)' 273 assertTrue(cal.after(new Date())); 274 assertTrue(cal.after(Calendar.getInstance()));
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/flow/ |
MethodProbesAdapterTest.java | 19 import org.junit.After; 115 @After 400 Label after = new Label(); local 412 adapter.visitJumpInsn(Opcodes.GOTO, after); 418 adapter.visitLabel(after); 442 expectedVisitor.visitJumpInsn(Opcodes.GOTO, after); 448 expectedVisitor.visitLabel(after);
|
/external/mesa3d/src/compiler/nir/ |
nir_validate.c | 701 nir_block *after = local 703 validate_assert(state, block->successors[0] == after); 728 * point to the block after the loop. 734 nir_block *after = local 736 validate_assert(state, block->successors[0] == after); [all...] |
/external/skia/src/core/ |
SkScan_Path.cpp | 58 SkEdge* after = start->fNext; local 59 if (after->fX >= newEdge->fX) { 62 start = after; 435 // this returns the first and last edge after they're sorted into a dlink list 707 // this returns the first and last edge after they're sorted into a dlink list
|
/external/skia/src/sksl/ |
SkSLCompiler.cpp | 338 // compute definitions after this block 339 DefinitionMap after = block.fBefore; local 341 this->addDefinitions(n, &after); 347 for (const auto& pair : after) { [all...] |
/external/skqp/src/core/ |
SkScan_Path.cpp | 57 SkEdge* after = start->fNext; local 58 if (after->fX >= newEdge->fX) { 61 start = after; 430 // this returns the first and last edge after they're sorted into a dlink list 728 // this returns the first and last edge after they're sorted into a dlink list
|