/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
SSLSessionTest.java | 58 // NativeCrypto just multiplies by 1000, which looks like truncation, which 61 long t0 = System.currentTimeMillis() / 1000; 63 long t1 = System.currentTimeMillis() / 1000; 67 long sTime = s.server.getCreationTime() / 1000; 71 long cTime = s.client.getCreationTime() / 1000; 100 - s.client.getLastAccessedTime()) < 1 * 1000);
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastAlertAudio.java | 72 private static final int PAUSE_DURATION_BEFORE_SPEAKING_MSEC = 1000; 75 private static final long[] sVibratePattern = { 0, 2000, 500, 1000, 500, 1000, 500, 76 2000, 500, 1000, 500, 1000}; 101 private static final int ALERT_SOUND_FINISHED = 1000;
|
/packages/apps/Gallery2/tests/src/com/android/gallery3d/data/ |
LocalDataTest.java | 38 private static final long DEFAULT_TIMEOUT = 1000; // one second 138 insertImageData(db, 1000, 0xB000, "second"); // id 1 163 assertEquals(1000L, item.dateTakenInMs); 187 insertImageData(db, 1000, 0xB000, "second"); // id 1 317 insertVideoData(db, 1000, 0xB000, "second"); // id 1 342 assertEquals(1000L, item.dateTakenInMs);
|
/cts/suite/audio_quality/lib/src/task/ |
TaskSound.cpp | 82 int samples = time * AudioHardware::ESampleRate_44100 / 1000; 92 int samples = time * AudioHardware::ESampleRate_44100 / 1000;
|
/cts/tests/res/layout/ |
textview_ems.xml | 56 android:minEms="1000" 74 android:maxEms="1000"
|
/cts/tests/src/android/app/cts/ |
TestedScreen.java | 108 mHandler.sendMessageAtTime(m, SystemClock.uptimeMillis() + 1000); 111 mHandler.sendMessageAtTime(m, SystemClock.uptimeMillis() + 1000);
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
SQLiteQueryBuilderTest.java | 207 "name", "sum(salary)>1000", "name"); 227 "name", "sum(salary)>1000", "name", "2" // limit is 2 282 "name", "sum(salary)>1000", "name", null, cancellationSignal); 298 "name", "sum(salary)>1000", "name", null, cancellationSignal); 314 "name", "sum(salary)>1000", "name", null, cancellationSignal); 370 "name", "sum(salary)>1000", "name", null, cancellationSignal); 463 "VALUES ('Mike', '1', '1000');"); 471 "VALUES ('Jim', '1', '1000');");
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
MovieTest.java | 137 assertTrue(mMovie.setTime(1000)); 144 assertEquals(1000, mMovie.duration());
|
/cts/tests/tests/media/src/android/media/cts/ |
AudioTrack_ListenerTest.java | 84 final int sampleLengthMs = (int)(1000 * ((float)vai.length / TEST_SR / bytesPerFrame)); 85 Thread.sleep(sampleLengthMs + 1000);
|
/cts/tests/tests/os/src/android/os/cts/ |
MemoryFileTest.java | 48 checkWriteBytesInIllegalParameter(1000, 0, 128); 127 checkReadBytesInIllegalParameter(0, 1000, 128);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_PlaylistsTest.java | 67 long dateAdded = System.currentTimeMillis() / 1000; 68 long dateModified = System.currentTimeMillis() / 1000;
|
/cts/tests/tests/view/src/android/view/cts/ |
View_LayoutPositionTest.java | 113 view.setPadding(-10, 0, 5, 1000); 117 assertEquals(1000, view.getPaddingBottom());
|
/dalvik/tests/003-omnibus-opcodes/src/ |
IntMath.java | 169 results[0] = x + 1000; 170 results[1] = 1000 - x; 171 results[2] = x * 1000; 172 results[3] = x / 1000; 173 results[4] = x % 1000; 174 results[5] = x & 1000; 175 results[6] = x | -1000; 176 results[7] = x ^ -1000;
|
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
TestIntervalSet.java | 101 IntervalSet vocabulary = IntervalSet.of(1,1000); 104 String expecting = "{1..49, 51..1000, 2000..3000}"; 110 IntervalSet vocabulary = IntervalSet.of(1,1000); 114 String expecting = "{1..4, 6..49, 61..249, 301..1000}"; 120 IntervalSet vocabulary = IntervalSet.of(1,1000); 121 IntervalSet s = IntervalSet.of(1,1000); 137 vocabulary.add(1000,2000); 143 String expecting = "{1..2, 4..49, 61..249, 1000..2000, 9999}";
|
/external/apache-harmony/nio/src/test/java/unix/org/apache/harmony/nio/tests/java/nio/channels/ |
UnixSelectorTest.java | 60 Thread.sleep(1000); 88 Thread.sleep(1000);
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
CertificateMessageTest.java | 68 byte[] encoded = out.getData(1000); 98 byte[] encoded = out.getData(1000);
|
/external/chromium/base/metrics/ |
histogram_unittest.cc | 22 "TestHistogram", 1, 1000, 10, Histogram::kNoFlags)); 25 "Test1Histogram", 1, 1000, 10, Histogram::kNoFlags)); 31 "TestLinearHistogram", 1, 1000, 10, Histogram::kNoFlags)); 34 "Test1LinearHistogram", 1, 1000, 10, Histogram::kNoFlags)); 84 "TestHistogram", 1, 1000, 10, Histogram::kNoFlags)); 90 "Test1Histogram", 1, 1000, 10, Histogram::kNoFlags)); 97 "TestLinearHistogram", 1, 1000, 10, Histogram::kNoFlags)); 104 "Test1LinearHistogram", 1, 1000, 10, Histogram::kNoFlags));
|
/external/chromium/chrome/browser/chromeos/notifications/ |
balloon_view.h | 86 return gfx::Size(1000, 1000);
|
/external/chromium/chrome/browser/chromeos/panels/ |
panel_browsertest.cc | 75 " window.open(null, null, 'width=1000,height=1000');"
|
/external/chromium/third_party/libjingle/source/talk/base/ |
time.cc | 51 return tv.tv_sec * 1000 + tv.tv_usec / 1000;
|
/external/chromium/webkit/glue/ |
webcursor_unittest.cc | 89 reinterpret_cast<HCURSOR>(1000)); 93 EXPECT_EQ(reinterpret_cast<HCURSOR>(1000), custom_cursor.GetCursor(NULL));
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_allocator_test.cc | 38 const int kCount = 1000; 42 uptr sz = rand_r(&rnd) % 1000;
|
/external/icu4c/i18n/ |
utmscale.c | 16 #define milliseconds (microseconds * 1000) 17 #define seconds (milliseconds * 1000)
|
/external/iproute2/misc/ |
nstat.c | 340 sample = (double)(incr*1000)/interval; 343 } else if (interval >= 1000) { 367 #define T_DIFF(a,b) (((a).tv_sec-(b).tv_sec)*1000 + ((a).tv_usec-(b).tv_usec)/1000) 378 getpid(), (unsigned long)random(), scan_interval/1000, time_constant/1000); 472 scan_interval = 1000*atoi(optarg); 502 time_constant *= 1000;
|
rtacct.c | 320 sample = (double)(incr*1000)/interval; 323 } else if (interval >= 1000) { 351 #define T_DIFF(a,b) (((a).tv_sec-(b).tv_sec)*1000 + ((a).tv_usec-(b).tv_usec)/1000) 374 scan_interval/1000, time_constant/1000); 461 scan_interval = 1000*atoi(optarg); 513 time_constant *= 1000;
|