/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
AuptTestCase.java | 64 private static final long DEFAULT_SHORT_SLEEP = 5 * 1000; 65 private static final long DEFAULT_LONG_SLEEP = 30 * 1000; 81 private long mDumpheapThreshold; 82 private long mDumpheapInterval ; 83 private long mMaxDumpheaps; 84 private Map<String, Long> mLastDumpheap = new HashMap<String, Long>(); 85 private Map<String, Long> mDumpheapCount = new HashMap<String, Long>(); 92 private final long mTimeMs [all...] |
/external/jacoco/org.jacoco.core/src/org/jacoco/core/data/ |
ExecutionData.java | 25 private final long id; 41 public ExecutionData(final long id, final String name, 59 public ExecutionData(final long id, final String name, final int probeCount) { 71 public long getId() { 168 public void assertCompatibility(final long id, final String name, 172 "Different ids (%016x and %016x).", Long.valueOf(this.id), 173 Long.valueOf(id))); 178 name, Long.valueOf(id))); 183 name, Long.valueOf(id))); 190 Long.valueOf(id)) [all...] |
/libcore/ojluni/src/main/java/java/lang/ |
Long.java | 30 * The {@code Long} class wraps a value of the primitive type {@code 31 * long} in an object. An object of type {@code Long} contains a 32 * single field whose type is {@code long}. 35 * a {@code long} to a {@code String} and a {@code String} to a {@code 36 * long}, as well as other constants and methods useful when dealing 37 * with a {@code long}. 40 * methods (such as {@link #highestOneBit(long) highestOneBit} and 41 * {@link #numberOfTrailingZeros(long) numberOfTrailingZeros}) are 51 public final class Long extends Number implements Comparable<Long> [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue193/ |
TestYaml.java | 30 private Long id; 33 public Long getId() { 37 public void setId(Long id) {
|
/packages/apps/Camera2/src/com/android/camera/app/ |
MemoryQuery.java | 33 private final long BYTES_IN_KILOBYTE = 1024; 34 private final long BYTES_IN_MEGABYTE = BYTES_IN_KILOBYTE * BYTES_IN_KILOBYTE; 71 long availMem = memoryInfo.availMem / BYTES_IN_MEGABYTE; 72 long totalMem = memoryInfo.totalMem / BYTES_IN_MEGABYTE; 73 long threshold = memoryInfo.threshold / BYTES_IN_MEGABYTE; 84 long timestamp = SystemClock.elapsedRealtime(); 85 long totalPrivateDirty = 0L; 86 long totalSharedDirty = 0L; 87 long totalPSS = 0L; 88 long nativePSS = 0L [all...] |
/cts/tests/tests/os/src/android/os/health/cts/ |
TimerStatTest.java | 46 TimerStat timer = new TimerStat(Integer.MAX_VALUE, Long.MAX_VALUE); 53 Assert.assertEquals(Long.MAX_VALUE, timer.getTime()); 61 TimerStat timer = new TimerStat(Integer.MAX_VALUE, Long.MAX_VALUE); 76 TimerStat timer = new TimerStat(Integer.MAX_VALUE, Long.MAX_VALUE); 79 Assert.assertEquals(Long.MAX_VALUE, timer.getTime()); 90 Assert.assertEquals(Long.MAX_VALUE, readback.getTime());
|
/external/guava/guava-tests/test/com/google/common/math/ |
MathTesting.java | 58 /* Helper function to make a Long value from an Integer. */ 59 private static final Function<Integer, Long> TO_LONG = new Function<Integer, Long>() { 61 public Long apply(Integer n) { 62 return Long.valueOf(n); 66 /* Helper function to make a BigInteger value from a Long. */ 67 private static final Function<Long, BigInteger> TO_BIGINTEGER = 68 new Function<Long, BigInteger>() { 70 public BigInteger apply(Long n) { 82 private static final Function<Long, Long> NEGATE_LONG = new Function<Long, Long>() [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/xslt/ |
EnvironmentCheck.java | 654 * @see #getApparentVersion(String, long) 740 protected String getApparentVersion(String jarName, long jarSize) 745 String foundSize = (String) jarVersions.get(new Long(jarSize)); [all...] |
/art/test/302-float-conversion/src/ |
Main.java | 18 static final long NUM_ITERATIONS = 50000; 29 long sumInf = 0; 30 long sumRes = 0; 32 for (long i = 0 ; i < NUM_ITERATIONS ; i++) { 34 sumInf += (long) negInfinity; 38 if (sumInf == Long.MIN_VALUE) { 51 long a = 1L; 52 long b = 2L; 60 double d = Long.MAX_VALUE; 61 System.out.println("max_long:" + (long)d) [all...] |
/art/test/438-volatile/src/ |
Main.java | 18 static volatile long long_volatile; 23 checkVolatileUpdate(Long.MAX_VALUE); 24 checkVolatileUpdate(Long.MIN_VALUE); 31 public static long $opt$update(long a) { 41 public static void checkVolatileUpdate(long value) { 43 throw new RuntimeException("Volatile update failed for long:" + value);
|
/art/test/454-get-vreg/src/ |
Main.java | 27 long testPairVReg(long a, long b, long c, double e) { 28 long f = doCall(); 29 long g = doNativeCall(); 46 if (rm.testPairVReg(Long.MIN_VALUE, Long.MAX_VALUE, 0, 2.0) != 44) {
|
/cts/tests/tests/os/src/android/os/cts/ |
CountDownTimerTestStub.java | 27 public ArrayList<Long> tickTimes; 29 public final long MILLISINFUTURE = 4500; 30 public final long INTERVAL = 1000; 36 tickTimes = new ArrayList<Long>(); 39 public void onTick(long millisUntilFinished) {
|
/external/valgrind/include/ |
pub_tool_replacemalloc.h | 54 extern Long VG_(free_queue_volume); 55 extern Long VG_(free_queue_length);
|
/frameworks/base/core/java/android/annotation/ |
IntRange.java | 29 * Denotes that the annotated element should be an int or long in the given range 45 long from() default Long.MIN_VALUE; 47 long to() default Long.MAX_VALUE;
|
Size.java | 45 long value() default -1; 47 long min() default Long.MIN_VALUE; 49 long max() default Long.MAX_VALUE; 51 long multiple() default 1;
|
/frameworks/support/annotations/src/android/support/annotation/ |
IntRange.java | 29 * Denotes that the annotated element should be an int or long in the given range 43 long from() default Long.MIN_VALUE; 45 long to() default Long.MAX_VALUE;
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/util/ |
ContactAggregatorHelperTest.java | 35 private static final long ACCOUNT_1 = 1; 36 private static final long ACCOUNT_2 = 2; 37 private static final long ACCOUNT_3 = 3; 38 private static final long ACCOUNT_4 = 4; 39 private static final long ACCOUNT_5 = 5; 47 Set<Set<Long>> connectedRawContactSets = new HashSet<>(); 48 Map<Long, Long> rawContactsToAccounts = new HashMap<>(); 49 for (long i = 100; i < 108; ) { 50 Set<Long> rawContactSet = new HashSet<>() [all...] |
/libcore/jsr166-tests/src/test/java/jsr166/ |
LongAccumulatorTest.java | 32 LongAccumulator ai = new LongAccumulator(Long::max, 0L); 40 LongAccumulator ai = new LongAccumulator(Long::max, 0L); 53 LongAccumulator ai = new LongAccumulator(Long::max, 0L); 64 LongAccumulator ai = new LongAccumulator(Long::max, 0L); 75 LongAccumulator ai = new LongAccumulator(Long::max, 0L); 78 assertEquals(Long.toString(1), ai.toString()); 85 LongAccumulator ai = new LongAccumulator(Long::max, 0L); 95 LongAccumulator ai = new LongAccumulator(Long::max, 0L); 105 LongAccumulator ai = new LongAccumulator(Long::max, 0L); 115 LongAccumulator ai = new LongAccumulator(Long::max, 0L) [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/cmp_long/ |
Test_cmp_long.java | 50 * @title Arguments = Long.MAX_VALUE > Long.MIN_VALUE 54 assertEquals(1, t.run(Long.MAX_VALUE, Long.MIN_VALUE)); 58 * @title Arguments = Long.MIN_VALUE < Long.MAX_VALUE 62 assertEquals(-1, t.run(Long.MIN_VALUE, Long.MAX_VALUE)); 100 * @title types of arguments - float, long 108 * @title types of arguments - int, long [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/not_long/ |
Test_not_long.java | 52 * @title Argument = Long.MAX_VALUE 56 assertEquals(Long.MIN_VALUE, t.run(Long.MAX_VALUE)); 60 * @title Argument = Long.MIN_VALUE 64 assertEquals(Long.MAX_VALUE, t.run(Long.MIN_VALUE)); 127 * @title Types of arguments - long, double. The verifier checks that longs
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/xor_long/ |
Test_xor_long.java | 58 * @title Arguments = Long.MAX_VALUE & Long.MIN_VALUE 62 assertEquals(0xffffffff, t.run(Long.MAX_VALUE, Long.MIN_VALUE)); 66 * @title Arguments = Long.MAX_VALUE & Long.MAX_VALUE 70 assertEquals(0l, t.run(Long.MAX_VALUE, Long.MAX_VALUE)); 86 * @title types of arguments - int, long 95 * @title types of arguments - float, long [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/xor_long_2addr/ |
Test_xor_long_2addr.java | 59 * @title Arguments = Long.MAX_VALUE & Long.MIN_VALUE 63 assertEquals(0xffffffff, t.run(Long.MAX_VALUE, Long.MIN_VALUE)); 67 * @title Arguments = Long.MAX_VALUE & Long.MAX_VALUE 71 assertEquals(0l, t.run(Long.MAX_VALUE, Long.MAX_VALUE)); 87 * @title types of arguments - int, long 96 * @title types of arguments - float, long [all...] |
/external/guava/guava-tests/test/com/google/common/base/ |
ConverterTest.java | 39 private static final Converter<String, Long> STR_TO_LONG = 40 new Converter<String, Long>() { 41 @Override public Long doForward(String object) { 42 return Long.valueOf(object); 45 @Override public String doBackward(Long object) { 54 private static final Long LONG_VAL = 12345L; 58 private static final ImmutableList<Long> LONGS = ImmutableList.of(123L, 456L); 64 Iterable<Long> convertedValues = STR_TO_LONG.convertAll(STRINGS); 70 Iterable<Long> convertedValues = STR_TO_LONG.convertAll(mutableList); 73 Iterator<Long> iterator = convertedValues.iterator() [all...] |
/external/guice/core/test/com/google/inject/internal/ |
MoreTypesTest.java | 41 TypeLiteral<Map<Inner<Long>, Set<Inner<Long>>>> mapInnerLongToSetInnerLong = 42 new TypeLiteral<Map<Inner<Long>, Set<Inner<Long>>>>() {}; 43 assertEquals("java.util.Map<com.google.inject.internal.MoreTypesTest$Inner<java.lang.Long>, " 44 + "java.util.Set<com.google.inject.internal.MoreTypesTest$Inner<java.lang.Long>>>",
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/ |
TestStorage.java | 27 private final Map<Long, ExecutionData> data = new HashMap<Long, ExecutionData>(); 35 public ExecutionData getData(long classId) { 36 return data.get(Long.valueOf(classId)); 43 public void assertData(long classId, boolean[] expected) { 50 data.put(Long.valueOf(ed.getId()), ed);
|