/external/replicaisland/src/com/replica/replicaisland/ |
PatrolComponent.java | 202 TimeSystem time = sSystemRegistry.timeSystem; local 203 final float gameTime = time.getGameTime(); 238 // Time to attack.
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowTimeTest.java | 12 import android.text.format.Time; 30 // default time zone, make sure we've set it back to what 37 Time t = new Time(); 45 Time t = new Time(); 51 Time t = new Time(); 53 Time t2 = new Time(t) 399 Time time = new Time(); local 423 Time time = new Time(); local [all...] |
/external/skia/tests/ |
skia_test.cpp | 59 SkString time; local 62 time.printf("%5dms ", elapsed); 64 SkDebugf("%s[%3d/%3d] %s%s", prefix.c_str(), done, fTotal, time.c_str(),
|
/external/skqp/tests/ |
skia_test.cpp | 59 SkString time; local 62 time.printf("%5dms ", elapsed); 64 SkDebugf("%s[%3d/%3d] %s%s", prefix.c_str(), done, fTotal, time.c_str(),
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
CallLogFacade.java | 49 private static final String JSON_TIME = "time"; 84 String time = log.getString(JSON_TIME); local 87 values.put(Calls.DATE, time);
|
/external/sonivox/arm-wt-22k/lib_src/ |
eas_miditypes.h | 82 EAS_U32 ticks; /* time of next event in stream */ 107 EAS_I32 time; /* current time in milliseconds/256 */ member in struct:s_smf_data_tag 116 #define SMF_FLAGS_HAS_TIME_SIG 0x02 /* time signature encountered at time 0 */ 117 #define SMF_FLAGS_HAS_TEMPO 0x04 /* tempo encountered at time 0 */ 118 #define SMF_FLAGS_HAS_GM_ON 0x08 /* GM System On encountered at time 0 */
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/ |
experiment_test.py | 23 import time 49 """To be patched in for the time module, replacing sleep() and time().""" 60 def time(self): member in class:SheepCounter 259 with test.mock.patch.object(time, 'time', sheep.time): 260 with test.mock.patch.object(time, 'sleep', sheep.sleep): 262 self.assertAlmostEqual(delay, sheep.time(), delta=1e-4) 275 with test.mock.patch.object(time, 'time', sheep.time) [all...] |
/external/testng/src/main/java/org/testng/reporters/ |
JUnitReportReporter.java | 112 long time = tr.getEndMillis() - tr.getStartMillis(); local 114 time += getNextConfiguration(befores, tr); 115 time += getNextConfiguration(afters, tr); 117 p2.setProperty("time", "" + formatTime(time)); 128 totalTime += time; 138 p1.setProperty("time", "" + formatTime(totalTime)); 183 * Add the time of the configuration method to this test method. 186 * might not be added to the time of the same configuration method that ran before 217 private String formatTime(float time) { [all...] |
TestHTMLReporter.java | 66 .append("<td width=\"10%\"><b>Time (seconds)</b></td>\n") 172 // Time 173 long time = (tr.getEndMillis() - tr.getStartMillis()) / 1000; local 174 String strTime = Long.toString(time); 287 .append("<tr><td>Total time:</td><td>").append(duration).append(" seconds (").append(endDate.getTime() - startDate.getTime())
|
/external/u-boot/drivers/mmc/ |
sdhci.c | 128 * Every time when card is busy after timeout then (last) timeout value will be 152 unsigned int time = 0, start_addr = 0; local 169 if (time >= cmd_timeout) { 180 time++;
|
sh_mmcif.c | 183 long time; local 196 time = mmcif_wait_interrupt_flag(host); 197 if (time == 0 || host->sd_error != 0) 208 time = mmcif_wait_interrupt_flag(host); 209 if (time == 0 || host->sd_error != 0) 219 long time; local 232 time = mmcif_wait_interrupt_flag(host); 233 if (time == 0 || host->sd_error != 0) 248 long time; local 260 time = mmcif_wait_interrupt_flag(host) 284 long time; local 434 long time; local [all...] |
/external/u-boot/tools/ |
fit_image.c | 54 time_t time = imagetool_get_source_date(params, sbuf.st_mtime); local 55 ret = fit_set_timestamp(ptr, 0, time); 676 * calculate the signature every time. It would be better to calculate
|
/external/vboot_reference/tests/ |
vboot_api_devmode_tests.c | 35 int time; member in struct:__anon48910 258 abs(current_time - expected_event[current_event].time) < TIME_FUZZ ) {
|
/external/volley/src/main/java/com/android/volley/ |
VolleyLog.java | 117 public final long time; field in class:VolleyLog.MarkerLog.Marker 119 public Marker(String name, long thread, long time) { 122 this.time = time; 139 * Closes the log, dumping it to logcat if the time difference between the first and last 152 long prevTime = mMarkers.get(0).time; 155 long thisTime = marker.time; 171 /** Returns the time difference between the first and last events in this log. */ 177 long first = mMarkers.get(0).time; 178 long last = mMarkers.get(mMarkers.size() - 1).time; [all...] |
/external/webrtc/webrtc/base/ |
win32regkey.cc | 860 FILETIME time = {0}; local 865 NULL, NULL, NULL, &time) == ERROR_SUCCESS) { 982 NULL)) { // last write time 1026 NULL)) { // last write time
|
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/ |
opus_unittest.cc | 204 // Opus needs time to adapt), the absolute values of DTX decoded signal are 214 int time = 0; local 215 while (time < kRunTimeMs) { 219 time += block_length_ms; 232 if (time >= kCheckTimeMs) { 245 // With DTX, Opus must stop transmission for some time. 255 time += block_length_ms; 265 if (time >= kCheckTimeMs) {
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/ |
transport_feedback_unittest.cc | 60 int64_t time = received_ts[i]; local 61 EXPECT_TRUE(feedback_->WithReceivedPacket(received_seq[i], time)); 64 int64_t delta = time - last_time; 67 last_time = time; 392 // Base time at maximum value. 405 // Base time above maximum value.
|
/frameworks/av/media/libaaudio/tests/ |
test_timestamps.cpp | 266 // Give AAudio callback time to run in the background. 333 int64_t time; local 336 &position, &time);
|
/art/tools/dmtracedump/ |
createtesttrace.cc | 29 #include <sys/time.h> 30 #include <time.h> 62 uint32_t time; member in struct:dataRecord 99 * where the first column is the time, the second column is the thread id, 103 * more space. In the example above, A is called at time 4, A calls B at 104 * time 6, B returns at time 8, and A returns at time 10. Thread 1 is the 113 * In this file format, the thread id is always 1, and the time starts at 154 uint32_t time = 0 local [all...] |
/bionic/libc/bionic/ |
time64.c | 37 Programmers who have available to them 64-bit time values as a 'long 39 converts the time even on 32-bit systems. Whether you have 64-bit time 52 #include <time.h> 111 /* Year range we can trust the time funcitons with */ 310 wind up on Dec 31st the previous year when doing a -UTC time zone. 313 is for Dec 31st with a +UTC time zone. 489 Time64_T time; local 502 time = (Time64_T)mktime(&safe_date); 504 time += seconds_between_years(year, (Year)(safe_date.tm_year + 1900)) 522 Time64_T time = *in_time; local [all...] |
/bionic/libc/kernel/uapi/linux/ |
timex.h | 14 *** Any manual change here will be lost the next time this script will 21 #include <linux/time.h> 33 struct timeval time; member in struct:timex
|
/cts/hostsidetests/sustainedperf/src/android/SustainedPerformance/cts/ |
SustainedPerformanceHostTest.java | 84 } else if (result.contains("Measured time too small")) { 124 Double time = Double.parseDouble(line.split(":")[1]); local 125 testSet[index++] = time;
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
MagnificationGestureHandlerTest.java | 292 long time = 0; local 295 builder.addStroke(startingAt(time, stroke)); 296 time += stroke.getDuration() + 20;
|
/cts/tests/tests/media/src/android/media/cts/ |
EnvReverbTest.java | 112 //Test case 1.1: test decay time and ratio 119 int time = mReverb.getDecayTime(); local 120 time = (time == 500) ? 1000 : 500; 121 mReverb.setDecayTime(time); 123 assertTrue("got incorrect decay time", 124 ((float)time2 > (float)(time / DELAY_TOLERANCE)) && 125 ((float)time2 < (float)(time * DELAY_TOLERANCE))); 162 // int time = mReverb.getReverbDelay(); 163 // mReverb.setReverbDelay(time); [all...] |
/cts/tests/tests/view/jni/ |
android_view_cts_ASurfaceControlTest.cpp | 20 #include <sys/time.h> 36 #include <time.h> 64 struct timespec time; local 65 int result = clock_gettime(CLOCK_MONOTONIC, &time); 69 return (time.tv_sec * NANOS_PER_SECOND) + time.tv_nsec; 409 // In the worst case the worst present time should be no more than three frames off from the 410 // desired present time. Since the test case is using a virtual display and there are no 416 // The device doesn't support present fences. We will use the callback time to roughly
|