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

1234567891011

/frameworks/native/opengl/tests/gl_perf/
H A Dgl2_perf.cpp19 #include <time.h>
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DCircleView.java17 package com.android.datetimepicker.time;
H A DRadialPickerLayout.java17 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 Dlatency.cpp2 #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 DslesTestEffectCapabilities.cpp21 #include <sys/time.h>
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java145 // 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 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/native/include/input/
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/native/libs/input/
H A DAndroid.mk17 # libinput is partially built for the host (used by build time keymap validation tool)
H A DVelocityTracker.cpp196 // 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 DSmsMessage.java596 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 DTimeZonePickerView.java90 public void showFilterResults(int type, String string, int time) { argument
92 mResultAdapter.onSetFilter(type, string, time);
/frameworks/rs/
H A DrsScriptC_Lib.cpp28 #include <time.h>
85 return time(timer);
/frameworks/base/core/java/com/android/internal/app/
H A DProcessStats.java394 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 DWifiWatchdogStateMachine.java188 * 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 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>
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 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/libcpustats/
H A DThreadCpuUsage.cpp22 #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 Dsupport.h44 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/usb/tests/AccessoryChat/accessorychat/
H A Daccessorychat.c27 #include <time.h>
/frameworks/base/location/java/android/location/
H A DLocation.java37 * (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...]

Completed in 1188 milliseconds

1234567891011