Searched refs:time (Results 101 - 125 of 253) sorted by relevance

1234567891011

/frameworks/native/opengl/tests/gl_perf/
H A Dgl2_perf.cpp19 #include <time.h>
/frameworks/rs/
H A DrsUtils.h32 #include <time.h>
H A DrsScriptC_Lib.cpp26 #include <time.h>
83 return time(timer);
/frameworks/support/renderscript/v8/rs_support/
H A DrsUtils.h32 #include <time.h>
H A DrsScriptC_Lib.cpp26 #include <time.h>
83 return time(timer);
/frameworks/wilhelm/tests/examples/
H A DslesTestEffectCapabilities.cpp21 #include <sys/time.h>
/frameworks/base/services/input/
H A DEventHub.cpp517 ev.time.tv_sec = 0;
518 ev.time.tv_usec = 0;
585 ev.time.tv_sec = 0;
586 ev.time.tv_usec = 0;
607 ev.time.tv_sec = 0;
608 ev.time.tv_usec = 0;
772 (int) iev.time.tv_sec, (int) iev.time.tv_usec,
776 // Use the time specified in the event instead of the current time
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java152 // elapsed time by the number of active timers to arrive at that timer's share of the time.
256 * These provide time bases that discount the time the device is plugged
507 * The total time we have accumulated since the start of the original
508 * boot, to the last time something interesting happened in the
514 * The total time we loaded for the previous runs. Subtract this from
515 * mTotalTime to find the time for the current run of the system.
520 * The run time of the last run of the system, as loaded from the
527 * this from mTotalTime to find the time sinc
[all...]
/frameworks/base/core/java/android/view/
H A DScaleGestureDetector.java211 final long time = h < historySize ? ev.getHistoricalEventTime(h)
213 mTouchHistoryLastAcceptedTime = time;
475 * Return the time difference in milliseconds between the previous
485 * Return the event time of the current event being processed.
487 * @return Current event time in milliseconds.
/frameworks/base/core/java/android/widget/
H A DAnalogClock.java117 // 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/base/include/androidfw/
H A DVelocityTracker.h29 * 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/base/libs/androidfw/
H A DVelocityTracker.cpp197 // time to adjust to changes in direction.
562 // Iterate over movement samples in reverse time order and collect samples.
566 float time[HISTORY_SIZE];
585 time[m] = -age * 0.000000001f;
601 if (solveLeastSquares(time, x, w, m, n, outEstimator->xCoeff, &xdet)
602 && solveLeastSquares(time, y, w, m, n, outEstimator->yCoeff, &ydet)) {
603 outEstimator->time = newestMovement.eventTime;
620 outEstimator->time = newestMovement.eventTime;
629 // Weight points based on how much time elapsed between them and the next
630 // point so that points that "cover" a shorter time spa
[all...]
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DFsUtils.java116 // read out the test name it stopped last time.
209 for (long time : times) {
211 lineBuffer.append(time);
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
H A DMemoryUsageTest.java197 private void sleep(int time) { argument
199 Thread.sleep(time);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DSmsMessage.java602 Time time = new Time(Time.TIMEZONE_UTC);
605 time.year = year >= 90 ? year + 1900 : year + 2000;
606 time.month = month - 1;
607 time.monthDay = day;
608 time.hour = hour;
609 time.minute = minute;
610 time.second = second;
613 return time.toMillis(true) - (timezoneOffset * 15 * 60 * 1000);
/frameworks/base/media/libdrm/mobile1/src/jni/
H A Ddrm1_jni.c301 * Returns the difference in seconds between the given GMT time
311 * \return the difference in seconds between the given GMT time
345 * and <code>time</code>.
349 * @param time - the specified time,
350 * <code>time = hour * 10000 + minute * 100 + second</code>
354 static int64_t computeTime(int32_t date, int32_t time) argument
361 hour = time / 10000;
362 minute = (time / 100) % 100;
363 second = time
397 computeInterval(int32_t date, int32_t time) argument
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiWatchdogStateMachine.java189 * Response time = confirm_count * sample_interval .
230 * Index i is incremented each time after a poor link detection.
246 * The max time to avoid a BSSID, to prevent avoiding forever.
247 * If current RSSI is at least min_rssi[i], the max avoidance time is at most max_time[i]
251 * time to be low to allow for quick turn around from temporary interference.
653 long time = mCurrentBssid.mBssidAvoidTimeMax - SystemClock.elapsedRealtime();
654 if (time <= 0) {
655 // max avoidance time is met
656 if (DBG) logd("Max avoid time elapsed");
668 if (DBG) logd("Link is still poor, time lef
984 GoodLinkTarget(int adj, int count, int time) argument
997 MaxAvoidTime(int time, int rssi) argument
[all...]
/frameworks/av/libvideoeditor/osal/src/
H A DM4OSA_FileCommon.c544 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 DMediaPlayerService.cpp26 #include <sys/time.h>
1030 // Right now, the only valid time to set a retransmit endpoint is before
1881 int32_t time = systemTime() / 1000000L; local
1906 mBatteryAudio.lastTime[i] += time;
1910 mBatteryAudio.lastTime[i] = 0 - time;
1922 // record the start time only if currently no other audio
1927 mBatteryAudio.lastTime[i] -= time;
1941 // record the stop time only if currently this is the only
1946 mBatteryAudio.lastTime[i] += time;
1981 info.audioLastTime -= time;
2021 int32_t time = systemTime() / 1000000L; //in ms local
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaEnvReverbTest.java167 //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/libstagefright/chromium_http/
H A Dsupport.h39 const base::TimeTicks &time,
/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/
H A DAAC_E_SAMPLES.c27 #include <time.h>
/frameworks/av/media/libstagefright/foundation/
H A DALooper.cpp21 #include <sys/time.h>
/frameworks/base/core/jni/
H A DTime.cpp175 time(&seconds);
/frameworks/base/libs/androidfw/tests/
H A DInputChannel_test.cpp23 #include <time.h>

Completed in 505 milliseconds

1234567891011