/system/core/libsync/tests/ |
sync_test.cpp | 286 timeval time = {0}; local 287 ASSERT_EQ(select(fence.getFd() + 1, &set, nullptr, nullptr, &time), 0); 297 ASSERT_EQ(select(fence.getFd() + 1, &set, nullptr, nullptr, &time), 1);
|
/system/extras/cpustats/ |
cpustats.c | 41 long unsigned time; member in struct:freq_info 246 new_total_cpu.freqs[i].time = 0; 273 &new_cpus[cpu].freqs[i].time); 276 new_total_cpu.freqs[i].time += new_cpus[cpu].freqs[i].time; 283 * Get the sum of the cpu time from all categories. 356 delta_time = new_cpu->freqs[i].time - old_cpu->freqs[i].time; 369 new_cpu->freqs[i].time - old_cpu->freqs[i].time); [all...] |
/system/extras/perfprofd/quipper/ |
perf_parser.cc | 23 uint64_t time; member in struct:quipper::__anon70061::EventAndTime 31 return (e1->time < e2->time); 121 event_and_time->time = sample_info.time; 149 // NB: Not necessarily actually sorted by time. 418 // time to create an address mapper for a process. Example, for pid 0.
|
/system/extras/simpleperf/ |
record.h | 48 uint64_t time; member in struct:PerfSampleTimeType 73 // perf_event_attr each time, we copy sample_id_all and sample_type inside the SampleId structure. 159 uint64_t time; member in struct:ExitRecord::ExitRecordDataType
|
/system/extras/tests/net_test/ |
srcaddr_selection_test.py | 21 import time namespace 113 time.sleep(0.1)
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarAlarmManager.java | 42 import android.text.format.Time; 95 * We search backward in time for event reminders that we may have missed 108 * because the device time was incorrectly in the future. This threshold 209 * @param triggerTimeMillis Time to run the next alarm check, in milliseconds. 223 Time time = new Time(); local 224 time.set(triggerTimeMillis); 225 String timeStr = time.format(" %a, %b %d, %Y %I:%M%P"); 307 Time time = new Time() 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> 36 struct timeval time; member in struct:timex
|
/bionic/libc/tzcode/ |
private.h | 11 ** This header is for use ONLY with the time conversion code. 18 #define GRANDPARENTED "Local time zone must be set--see zic manual page" 85 #include "time.h" 242 ** Some time.h implementations don't declare asctime_r. 259 static time_t sys_time(time_t *x) { return time(x); } 277 # undef time macro 278 # define time tz_time macro 294 time(time_t *p) function 331 /* The minimum and maximum finite time values. */
|
/cts/apps/CtsVerifier/assets/scripts/ |
execute_power_tests.py | 21 import time namespace 158 testid = time.strftime("%d_%m_%Y__%H__%M_%S") 299 # Sometimes command won't go through first time, particularly if immediately after a data 305 time.sleep(2.0) 449 time.sleep(DELAY_SCREEN_OFF) 499 time.sleep(DELAY_SCREEN_OFF) 546 time.sleep(1.0) [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
EnvReverbTest.java | 110 //Test case 1.1: test decay time and ratio 117 int time = mReverb.getDecayTime(); local 118 time = (time == 500) ? 1000 : 500; 119 mReverb.setDecayTime(time); 121 assertTrue("got incorrect decay time", 122 ((float)time2 > (float)(time / DELAY_TOLERANCE)) && 123 ((float)time2 < (float)(time * DELAY_TOLERANCE))); 160 // int time = mReverb.getReverbDelay(); 161 // mReverb.setReverbDelay(time); [all...] |
/dalvik/tools/dmtracedump/ |
CreateTestTrace.c | 31 #include <sys/time.h> 32 #include <time.h> 64 unsigned int time; member in struct:dataRecord 102 * where the first column is the time, the second column is the thread id, 106 * more space. In the example above, A is called at time 4, A calls B at 107 * time 6, B returns at time 8, and A returns at time 10. Thread 1 is the 116 * In this file format, the thread id is always 1, and the time starts at 121 unsigned int time = 0, threadId local 145 int time = strtoul(cp, &cp, 0); local [all...] |
/development/ndk/platforms/android-21/include/linux/ |
timex.h | 14 *** Any manual change here will be lost the next time this script will 21 #include <linux/time.h> 36 struct timeval time; member in struct:timex
|
/development/ndk/platforms/android-3/include/linux/ |
timex.h | 16 #include <linux/time.h> 46 struct timeval time; member in struct:timex
|
/development/ndk/platforms/android-3/include/ |
zlib.h | 111 uLong time; /* modification time */ member in struct:gz_header_s 229 all (the input data is simply copied a block at a time). 507 file name, no extra data, no comment, no modification time (set to zero), [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
FrameBufferObjectActivity.java | 122 long time = SystemClock.uptimeMillis() % 4000L; local 123 float angle = 0.090f * ((int) time); 232 * we are only checking for a few extensions each time a context is created.
|
GLES20TriangleRenderer.java | 73 long time = SystemClock.uptimeMillis() % 4000L; local 74 float angle = 0.090f * ((int) time); 117 * Create our texture. This has to be done each time the
|
/development/samples/BasicGLSurfaceView/src/com/example/android/basicglsurfaceview/ |
GLES20TriangleRenderer.java | 71 long time = SystemClock.uptimeMillis() % 4000L; local 72 float angle = 0.090f * ((int) time); 115 * Create our texture. This has to be done each time the
|
/external/blktrace/btreplay/ |
btrecord.c | 64 * @time: Time stamp when trace was emitted 70 __u64 time; member in struct:io_spec 85 * @start_time: Start time of th ecurrent bunch 86 * @last_time: Time of last packet put in 114 "\t[ -m <nsec> : --max-bunch-time=<nsec> ] Default: 10 msec\n" \ 149 .name = "max-bunch-time", 248 * @pre_stall: Amount of time that this bunch should be delayed by 281 assert(stream->last_time == 0 || stream->last_time <= spec->time); 284 stream->last_time = spec->time; [all...] |
/external/clang/tools/scan-view/ |
ScanView.py | 11 import time namespace 65 # Disabled for the time being until we decide exactly when this should 102 time.sleep(3) 205 dynamic_mtime = time.time() 332 time.sleep(.25)
|
/external/conscrypt/src/platform/java/org/conscrypt/ |
TrustedCertificateStore.java | 222 long time = file.lastModified(); local 223 if (time == 0) { 226 return new Date(time);
|
/external/deqp/scripts/ |
make_release.py | 28 import time namespace
|
/external/fio/ |
iolog.h | 25 uint64_t time; member in struct:io_sample 85 * period of time.
|
/external/fonttools/Lib/fontTools/ttLib/ |
__init__.py | 102 greatly, and therefore should have some impact on the time needed 922 import time namespace 923 print(msg + time.strftime(" (%H:%M:%S)", time.localtime(time.time())))
|
/external/icu/icu4c/source/tools/tzcode/ |
private.h | 11 ** This header is for use ONLY with the time conversion code. 18 #define GRANDPARENTED "Local time zone must be set--see zic manual page" 83 #include "time.h" 239 ** Some time.h implementations don't declare asctime_r. 256 static time_t sys_time(time_t *x) { return time(x); } 274 # undef time macro 275 # define time tz_time macro 291 time(time_t *p) function 328 /* The minimum and maximum finite time values. */
|