/developers/samples/android/content/webview/PermissionRequest/Application/tests/src/com/example/android/permissionrequest/test/ |
SampleTests.java | 176 long time = 0; local 177 while (time < timeoutMs) { 185 time += 100;
|
/developers/samples/android/wearable/wear/SpeedTracker/Application/src/main/java/com/example/android/wearable/speedtracker/db/ |
UpdateService.java | 84 long time = dataMap.getLong(Constants.KEY_TIME); local 86 calendar.setTimeInMillis(time);
|
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/db/ |
UpdateService.java | 84 long time = dataMap.getLong(Constants.KEY_TIME); local 86 calendar.setTimeInMillis(time);
|
/development/testrunner/ |
adb_interface.py | 25 import time namespace 67 WaitForResponseTimedOutError if device does not respond to command within time 170 time.sleep(2) 323 wait_time: time in seconds to wait 356 wait_time: time in seconds to wait 371 wait_time: time in seconds to wait 391 wait_time: time in seconds to wait 418 time.sleep(wait_period) 428 wait_time: time in seconds to wait 447 time.sleep(wait_period [all...] |
runtest.py | 39 import time namespace 466 # Every time device is booted, it will pick up this value
|
/development/tools/axl/ |
axl.py | 24 import sys, time namespace 87 time.sleep(1) 97 time.sleep(1) 99 time.sleep(1) 125 # time.sleep(4) 209 """Ensure client does not time out on slow writes"""
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t059debug.py | 11 import time namespace 23 tstart = time.time() 24 while time.time() - tstart < 10: 32 time.sleep(0.1) 120 # to change (at the time of writing there are two, which is one too
|
/external/apache-http/android/src/android/net/http/ |
IdleCache.java | 73 long time = SystemClock.uptimeMillis(); local 79 entry.mTimeout = time + TIMEOUT; 128 long time = SystemClock.uptimeMillis(); local 131 if (entry.mHost != null && time > entry.mTimeout) {
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
ASN1GeneralizedTime.java | 17 * The main difference between these and UTC time is a 4 digit year. 23 private byte[] time; field in class:ASN1GeneralizedTime 26 * return a generalized time from the passed in object 56 * return a Generalized Time object from a tagged object. 83 * for local time, or Z+-HHMM on the end, for difference between local 84 * time and UTC time. The fractional second amount f must consist of at 87 * @param time the time string. 91 String time) [all...] |
ASN1UTCTime.java | 14 - * UTC time object. 37 private byte[] time; field in class:ASN1UTCTime 40 * return an UTC Time from the passed in object. 70 * return an UTC Time from a tagged object. 103 * @param time the time string. 106 String time) 108 this.time = Strings.toByteArray(time); 121 * @param time the Date to build the time from [all...] |
/external/chromium-trace/trace-viewer/perf_insights/third_party/cloudstorage/ |
api_utils.py | 29 import time namespace 152 start_time = time.time() 168 time.time() - start_time) 181 n, time.time() - start_time) 307 start_time: the time when retry started in unix time. 314 time.time() - start_time > self.max_retry_period)) [all...] |
/external/chromium-trace/trace-viewer/third_party/Paste/paste/auth/ |
cookie.py | 44 import hmac, base64, random, six, time, warnings namespace 54 return time.strftime("%Y%m%d%H%M", time.gmtime(value)) 56 _header_size = _signature_size + len(make_time(time.time())) 107 one is generated each time you create the handler; this 112 This is the time (in minutes) from which the cookie is set 143 timestamp = make_time(time.time() + 60*self.timeout) 168 if int(expires) > int(make_time(time.time())) [all...] |
/external/chromium-trace/trace-viewer/third_party/Paste/paste/exceptions/ |
reporter.py | 7 import time namespace 29 return time.strftime('%c', exc_data.date)
|
/external/chromium-trace/trace-viewer/third_party/Paste/paste/ |
session.py | 32 import time namespace 136 return (''.join(['%02d' % x for x in time.localtime(time.time())[:6]]) 146 r = [time.time(), random.random()] 170 gmt_expiration_time = time.gmtime(time.time() + (self.expiration * 60)) 171 c[self.cookie_name]['expires'] = time.strftime("%a, %d-%b-%Y %H:%M:%S GMT", gmt_expiration_time [all...] |
/external/chromium-trace/trace-viewer/third_party/webapp2/webapp2_extras/appengine/auth/ |
models.py | 11 import time namespace 278 timestamp = int(time.mktime(valid_token.created.timetuple()))
|
/external/clang/utils/ |
FindSpecRefs | 5 import time namespace 201 ('7.23 Date and time <time.h>', '338'), 202 ('7.23.1 Components of time', '338'), 203 ('7.23.2 Time manipulation functions', '339'), 204 ('7.23.3 Time conversion functions', '341'), 210 ('7.24.5 Wide character time conversion functions', '385'), 257 ('B.22 Date and time <time.h>', '433'), 484 ('20.3 Compile-time rational arithmetic', '463') [all...] |
/external/deqp/modules/gles3/stress/ |
es3sOcclusionQueryTests.cpp | 215 deUint64 time = deGetMicroseconds(); local 255 deUint64 dTime = deGetMicroseconds() - time;
|
/external/fonttools/Lib/fontTools/ |
ttx.py | 41 instead of assembly. This saves some time and makes the TTX 219 import time namespace 220 print("finished at", time.strftime("%H:%M:%S", time.localtime(time.time())))
|
/external/icu/icu4c/source/tools/ctestfw/unicode/ |
uperf.h | 118 virtual double time(int32_t n, UErrorCode* status) { function in class:UPerfFunction 184 int32_t time; member in class:UPerfTest
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
DateTimeRule.java | 12 * <code>DateTimeRule</code> is a class representing a time in a year by 14 * time in the day. 57 * Time rule type for local wall time. 64 * Time rule type for local standard time. 71 * Time rule type for coordinated universal time. 89 * the time rule. The date rule type for an instance created by 95 * @param timeType The time type, <code>WALL_TIME</code> or <code>STANDARD_TIME</code 297 int time = millisInDay; local [all...] |
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
Timer.java | 89 abstract public void time(int repeat); method in class:Timer.Loop 94 // The current strategy is to warm up once, then time it until we reach the timingPeriod (eg 5 seconds), increasing the iterations each time 101 loop.time(1); 108 loop.time(iterations);
|
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
SortUtil.java | 120 long time, dt; local 122 time = System.nanoTime(); 127 dt = System.nanoTime() - time; 130 time = System.nanoTime(); 135 dt = System.nanoTime() - time; 138 time = System.nanoTime(); 143 dt = System.nanoTime() - time; 146 time = System.nanoTime(); 151 dt = System.nanoTime() - time;
|
/external/jmonkeyengine/engine/src/jogg/com/jme3/audio/plugins/ |
CachedOggStream.java | 71 long time = System.nanoTime();
local 75 long dt = System.nanoTime() - time;
|
/external/jmonkeyengine/engine/src/test/jme3test/batching/ |
TestBatchNode.java | 83 float time = 0; field in class:TestBatchNode 87 time += tpf; 89 cube2.setLocalTranslation(FastMath.sin(-time)*3, FastMath.cos(time)*3, 0); 90 cube2.setLocalRotation(new Quaternion().fromAngleAxis(time, Vector3f.UNIT_Z)); 91 cube2.setLocalScale(Math.max(FastMath.sin(time),0.5f)); 93 batch.setLocalRotation(new Quaternion().fromAngleAxis(time, Vector3f.UNIT_Z));
|
/external/jmonkeyengine/engine/src/test/jme3test/input/combomoves/ |
TestComboMoves.java | 68 private float time = 0; field in class:TestComboMoves 147 time += tpf; 150 shurikenExec.updateExpiration(time); 153 fireballExec.updateExpiration(time); 156 jabExec.updateExpiration(time); 159 punchExec.updateExpiration(time); 181 if (shurikenExec.updateState(pressedMappings, time)){ 185 if (fireballExec.updateState(pressedMappings, time)){ 189 if (jabExec.updateState(pressedMappings, time)){ 193 if (punchExec.updateState(pressedMappings, time)){ [all...] |