/frameworks/native/opengl/tests/gl_perf/ |
H A D | gl2_perf.cpp | 19 #include <time.h>
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
H A D | CircleView.java | 17 package com.android.datetimepicker.time;
|
H A D | RadialPickerLayout.java | 17 package com.android.datetimepicker.time; 753 * Announce the currently-selected time when launched. 758 // Clear the event's current text so that only the current time will be spoken. 760 Time time = new Time(); 761 time.hour = getHours(); 762 time.minute = getMinutes(); 763 long millis = time.normalize(true); 776 * When scroll forward/backward events are received, jump the time to the higher/lower
|
/frameworks/rs/tests/latency/ |
H A D | latency.cpp | 2 #include <sys/time.h> 88 printf("elapsed time : %lld microseconds\n", elapsed); 89 printf("time per iter: %f microseconds\n", (double)elapsed / iters); 103 printf("elapsed time with copy : %lld microseconds\n", elapsed); 104 printf("time per iter with copy: %f microseconds\n", (double)elapsed / iters);
|
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestEffectCapabilities.cpp | 21 #include <sys/time.h>
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsImpl.java | 145 // elapsed time by the number of active timers to arrive at that timer's share of the time. 254 * These provide time bases that discount the time the device is plugged 589 * The total time we have accumulated since the start of the original 590 * boot, to the last time something interesting happened in the 596 * The total time we loaded for the previous runs. Subtract this from 597 * mTotalTime to find the time for the current run of the system. 602 * The run time of the last run of the system, as loaded from the 609 * this from mTotalTime to find the time sinc [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | AnalogClock.java | 117 // The time zone may have changed while the receiver wasn't registered, so update the Time 120 // Make sure we update to the current time 244 String tz = intent.getStringExtra("time-zone"); 254 private void updateContentDescription(Time time) { argument 257 time.toMillis(false), flags);
|
/frameworks/native/include/input/ |
H A D | VelocityTracker.h | 29 * Calculates the velocity of pointer movements over time. 40 // Estimator time base. 41 nsecs_t time; member in struct:android::VelocityTracker::Estimator 54 time = 0; 145 // Weight by time delta. Data points clustered together are weighted less.
|
/frameworks/native/libs/input/ |
H A D | Android.mk | 17 # libinput is partially built for the host (used by build time keymap validation tool)
|
H A D | VelocityTracker.cpp | 196 // time to adjust to changes in direction. 561 // Iterate over movement samples in reverse time order and collect samples. 565 float time[HISTORY_SIZE]; 584 time[m] = -age * 0.000000001f; 600 if (solveLeastSquares(time, x, w, m, n, outEstimator->xCoeff, &xdet) 601 && solveLeastSquares(time, y, w, m, n, outEstimator->yCoeff, &ydet)) { 602 outEstimator->time = newestMovement.eventTime; 619 outEstimator->time = newestMovement.eventTime; 628 // Weight points based on how much time elapsed between them and the next 629 // point so that points that "cover" a shorter time spa [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | SmsMessage.java | 596 Time time = new Time(Time.TIMEZONE_UTC); 599 time.year = year >= 90 ? year + 1900 : year + 2000; 600 time.month = month - 1; 601 time.monthDay = day; 602 time.hour = hour; 603 time.minute = minute; 604 time.second = second; 607 return time.toMillis(true) - (timezoneOffset * 15 * 60 * 1000);
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
H A D | TimeZonePickerView.java | 90 public void showFilterResults(int type, String string, int time) { argument 92 mResultAdapter.onSetFilter(type, string, time);
|
/frameworks/rs/ |
H A D | rsScriptC_Lib.cpp | 28 #include <time.h> 85 return time(timer);
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ProcessStats.java | 394 long time = durations[state]; 397 time += now - curStartTime; 402 if (time != 0) { 411 TimeUtils.formatDuration(time, pw); pw.println(running); 413 totalTime += time; 431 long time = durations[state]; 433 time += now - curStartTime; 435 if (time != 0) { 436 printAdjTagAndValue(pw, state, time); 466 long time [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiWatchdogStateMachine.java | 188 * Response time = confirm_count * sample_interval . 229 * Index i is incremented each time after a poor link detection. 245 * The max time to avoid a BSSID, to prevent avoiding forever. 246 * If current RSSI is at least min_rssi[i], the max avoidance time is at most max_time[i] 250 * time to be low to allow for quick turn around from temporary interference. 654 long time = mCurrentBssid.mBssidAvoidTimeMax - SystemClock.elapsedRealtime(); 655 if (time <= 0) { 656 // max avoidance time is met 657 if (DBG) logd("Max avoid time elapsed"); 669 if (DBG) logd("Link is still poor, time lef 973 GoodLinkTarget(int adj, int count, int time) argument 986 MaxAvoidTime(int time, int rssi) argument [all...] |
/frameworks/av/libvideoeditor/osal/src/ |
H A D | M4OSA_FileCommon.c | 544 pAttribute->creationDate.time = (M4OSA_Time)TheStat.st_ctime; 545 pAttribute->lastAccessDate.time = (M4OSA_Time)TheStat.st_atime; 546 pAttribute->modifiedDate.time = (M4OSA_Time)TheStat.st_mtime;
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 26 #include <sys/time.h> 1046 // Right now, the only valid time to set a retransmit endpoint is before 1421 // slightly prematurely to allow time for the gapless track switch 2022 int32_t time = systemTime() / 1000000L; local 2047 mBatteryAudio.lastTime[i] += time; 2051 mBatteryAudio.lastTime[i] = 0 - time; 2063 // record the start time only if currently no other audio 2068 mBatteryAudio.lastTime[i] -= time; 2082 // record the stop time only if currently this is the only 2087 mBatteryAudio.lastTime[i] += time; 2162 int32_t time = systemTime() / 1000000L; //in ms local [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
H A D | MediaEnvReverbTest.java | 167 //Test case 1.1: test decay time and ratio 175 int time = mReverb.getDecayTime(); 176 assertTrue(msg +": got incorrect decay time", 177 ((float)time > (float)(500 / DELAY_TOLERANCE)) && 178 ((float)time < (float)(500 * DELAY_TOLERANCE)));
|
/frameworks/av/media/libcpustats/ |
H A D | ThreadCpuUsage.cpp | 22 #include <time.h> 46 // record wall clock time at first enable 84 // was disabled, but add sample for accumulated time while enabled 90 // first time called 144 ALOGW("Can't compute elapsed time because measurements have never been enabled");
|
/frameworks/av/media/libstagefright/chromium_http/ |
H A D | support.h | 44 const base::TimeTicks &time,
|
/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/ |
H A D | AAC_E_SAMPLES.c | 27 #include <time.h>
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | ALooper.cpp | 21 #include <sys/time.h>
|
/frameworks/base/core/jni/ |
H A D | Time.cpp | 175 time(&seconds);
|
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/ |
H A D | accessorychat.c | 27 #include <time.h>
|
/frameworks/base/location/java/android/location/ |
H A D | Location.java | 37 * (both UTC time and elapsed real-time since boot), all other 110 * <p>By default time, latitude and longitude are 0, and the location 486 * Return the UTC time of this fix, in milliseconds since January 1, 1970. 488 * <p>Note that the UTC time on a device is not monotonic: it 490 * {@link #getElapsedRealtimeNanos} when calculating time deltas. 493 * a human readable time to the user, or for carefully comparing 497 * are guaranteed to have a valid UTC time, however remember that 498 * the system time may have changed since the location was generated. 500 * @return time o 512 setTime(long time) argument 540 setElapsedRealtimeNanos(long time) argument [all...] |