/external/testng/src/main/java/org/testng/internal/ |
ConfigurationMethod.java | 445 IAnnotation before = m_annotationFinder.findAnnotation(getMethod(), IBeforeMethod.class); local 446 if (before != null) { 447 result = ((ConfigurationAnnotation) before).isFirstTimeOnly(); 454 IAnnotation before = m_annotationFinder.findAnnotation(getMethod(), IAfterMethod.class); local 455 if (before != null) { 456 result = ((ConfigurationAnnotation) before).isLastTimeOnly();
|
/frameworks/base/core/java/com/android/internal/widget/ |
ChildHelper.java | 454 final long before = mData & mask; local 456 mData = before | after; 478 final long before = mData & mask; local 481 mData = before | after;
|
/frameworks/base/services/core/java/com/android/server/ |
DiskStatsService.java | 80 long before = SystemClock.uptimeMillis(); local 103 proto.write(DiskStatsServiceDumpProto.WRITE_512B_LATENCY_MILLIS, after - before); 111 pw.print(after - before);
|
/frameworks/base/services/core/java/com/android/server/am/ |
UriPermission.java | 164 final int before = persistedModeFlags; local 172 return persistedModeFlags != before; 179 final int before = persistedModeFlags; local 189 return persistedModeFlags != before; 200 final int before = persistedModeFlags; local 236 return persistedModeFlags != before;
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
NotificationTest.java | 55 import org.junit.Before; 71 @Before 82 Notification before = nb.build(); local 89 Notification after = Notification.Builder.maybeCloneStrippedForDelivery(before, true, 92 assertEquals("different channel", new Notification.TvExtender(before).getChannelId()); 95 assertEquals(Color.RED, new Notification.CarExtender(before).getColor()); 98 assertEquals("dismiss", new Notification.WearableExtender(before).getDismissalId()); 108 Notification before = nb.build(); local 115 Notification after = Notification.Builder.maybeCloneStrippedForDelivery(before, true, 118 assertEquals("different channel", new Notification.TvExtender(before).getChannelId()) 138 Notification before = new Notification.Builder(context, "channel") local 159 Notification before = nb.build(); local [all...] |
/frameworks/base/tests/UsbTests/src/com/android/server/usb/ |
UsbHandlerTest.java | 42 import org.junit.Before; 139 @Before 140 public void before() { method in class:UsbHandlerTest
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
ChildHelper.java | 454 final long before = mData & mask; local 456 mData = before | after; 478 final long before = mData & mask; local 481 mData = before | after;
|
/libcore/ojluni/src/main/java/java/time/zone/ |
ZoneOffsetTransitionRule.java | 90 * <li>the Sunday on or before the 16th March 126 * The cutover time in the 'before' offset. 142 * The offset before the cutover. 161 * @param time the cutover time in the 'before' offset, not null 165 * @param offsetBefore the offset before the cutover, not null 204 * @param time the cutover time in the 'before' offset, not null 208 * @param offsetBefore the offset before the cutover, not null 353 ZoneOffset before = (beforeByte == 3 ? ZoneOffset.ofTotalSeconds(in.readInt()) : ZoneOffset.ofTotalSeconds(std.getTotalSeconds() + beforeByte * 1800)); local 355 return ZoneOffsetTransitionRule.of(month, dom, dow, time, timeByte == 24, defn, std, before, after); 456 * Gets the offset before the transition [all...] |
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/ |
LiveChannelsTestController.java | 90 protected void before() throws Exception { method in class:LiveChannelsTestController
|
/prebuilts/jdk/jdk8/darwin-x86/sample/jmx/jmx-scandir/test/com/sun/jmx/examples/scandir/ |
ScanManagerTest.java | 191 final ScanState before; local 194 before = proxy.getState(); 209 assertEquals(before,ScanState.valueOf((String)acn.getOldValue()));
|
/prebuilts/jdk/jdk8/linux-x86/sample/jmx/jmx-scandir/test/com/sun/jmx/examples/scandir/ |
ScanManagerTest.java | 191 final ScanState before; local 194 before = proxy.getState(); 209 assertEquals(before,ScanState.valueOf((String)acn.getOldValue()));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/build/ |
AaptQuickFixTest.java | 283 String before = 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 370 * {@code ((start + alignOffset) % align == 0} and such that the free space before {@code start} 376 * may need to be extended before data can be added. 423 * We can't leave than mMinFreeSize before. So if the extraSize is less than 511 * in file order, that is, if area {@code x} starts before area {@code y}, then area {@code x} 512 * will be stored before area {@code y} in the list 528 * Obtains the entry that is located before the one provided. 531 * @return the entry before the provided one, {@code null} if {@code entry} is the first entr 535 FileUseMapEntry<?> before(@Nonnull FileUseMapEntry<?> entry) { method in class:FileUseMap [all...] |
/tools/tradefederation/core/src/com/android/tradefed/testtype/metricregression/ |
DetectRegression.java | 67 description = "When before/after metrics mismatch, true=throw exception, false=log error" 119 Metrics before = local 125 before.crossValidate(after); 126 runRegressionDetection(before, after); 135 * @param before pre-patch metrics 139 void runRegressionDetection(Metrics before, Metrics after) { 141 Sets.intersection(before.getRunMetrics().keySet(), after.getRunMetrics().keySet()); 144 List<Double> beforeMetrics = before.getRunMetrics().get(name); 153 before.getTestMetrics().keySet(), after.getTestMetrics().keySet()); 156 List<Double> beforeMetrics = before.getTestMetrics().get(id) [all...] |
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
UsageStatsTest.java | 57 import org.junit.Before; 105 @Before 333 final UsageStats before = statsMap.get(mTargetPackage); local 343 assertEquals(before.getPackageName(), after.getPackageName()); 345 long diff = before.getFirstTimeStamp() - after.getFirstTimeStamp(); 348 assertEquals(before.getLastTimeStamp() - before.getFirstTimeStamp(), 350 assertEquals(before.getLastTimeUsed() - before.getFirstTimeStamp(), 352 assertEquals(before.getTotalTimeInForeground(), after.getTotalTimeInForeground()) [all...] |
/art/runtime/native/ |
dalvik_system_VMRuntime.cc | 540 DexCacheStats before; local 544 PreloadDexCachesStatsFilled(&before); 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/tests/tests/preference2/src/android/preference2/cts/ |
PreferenceActivityFlowTest.java | 294 Bitmap before = mTestUtils.takeScreenshot(); local 303 assertScreenshotsAreEqual(before, after); 406 Bitmap before = mTestUtils.takeScreenshot(); local 416 assertScreenshotsAreEqual(before, after); 462 Bitmap before = mTestUtils.takeScreenshot(); local 470 assertScreenshotsAreEqual(before, after); 500 Bitmap before = mTestUtils.takeScreenshot(); local 515 assertScreenshotsAreEqual(before, after); 533 Bitmap before = mTestUtils.takeScreenshot(); local 543 assertScreenshotsAreEqual(before, after) 566 Bitmap before = mTestUtils.takeScreenshot(); local 591 Bitmap before = mTestUtils.takeScreenshot(); local 635 Bitmap before = mTestUtils.takeScreenshot(); local [all...] |
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
TimestampTest.java | 58 static long TIME_EARLY = -2347889122L;// A time well before the Epoch 521 * Method test for before 529 assertTrue(theTimestamp.before(theTest)); 537 assertFalse(theTimestamp.before(theTest)); 544 assertFalse(theTimestamp.before(theTest)); 546 assertTrue(theTimestamp.before(theTest));
|
/external/clang/test/Sema/ |
designated-initializers.c | 145 struct XY { int before; struct XX xx, *xp; float* after; } xy[] = { member in struct:XY 150 [2].before = 0, // expected-warning{{initializer overrides prior initialization of this subobject}}
|
/external/curl/lib/ |
connect.c | 859 /* if the first address family runs out of addresses to try before 1171 struct curltime before = Curl_now(); local [all...] |
easy.c | 171 * If a memory-using function (like curl_getenv) is used before 304 /* set memory functions before global_init() in case it wants memory 562 struct curltime before; local 576 before = Curl_now(); 609 timediff_t timediff = Curl_timediff(after, before); 662 struct curltime before; local 670 before = Curl_now(); 680 if(Curl_timediff(after, before) <= 10) {
|
/external/freetype/src/autofit/ |
afhints.c | 162 /* to appear before those in the major one in the list */ 1373 AF_Edge before = edges + min - 1; local [all...] |
/external/freetype/src/type1/ |
t1load.c | 505 FT_Int before = -1, after = -1; local 532 before = (FT_Int)p; 536 if ( before < 0 ) 543 the_blend = FT_MulDiv( design - designs[before], 544 blends [after] - blends [before], 545 designs[after] - designs[before] ); [all...] |
/external/google-breakpad/src/common/mac/ |
macho_reader_unittest.cc | 1447 LoadedSection before; local [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
CalendarTest.java | 258 * Test method for 'com.ibm.icu.util.Calendar.before(Object)' 263 assertTrue(cal.before(new Date())); 264 assertTrue(cal.before(Calendar.getInstance()));
|