Home
last modified time | relevance | path

Searched refs:clock (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/base/location/java/android/location/
DGpsClock.java81 public void set(GpsClock clock) { in set() argument
82 mFlags = clock.mFlags; in set()
83 mLeapSecond = clock.mLeapSecond; in set()
84 mType = clock.mType; in set()
85 mTimeInNs = clock.mTimeInNs; in set()
86 mTimeUncertaintyInNs = clock.mTimeUncertaintyInNs; in set()
87 mFullBiasInNs = clock.mFullBiasInNs; in set()
88 mBiasInNs = clock.mBiasInNs; in set()
89 mBiasUncertaintyInNs = clock.mBiasUncertaintyInNs; in set()
90 mDriftInNsPerSec = clock.mDriftInNsPerSec; in set()
[all …]
DGpsMeasurementsEvent.java79 public GpsMeasurementsEvent(GpsClock clock, GpsMeasurement[] measurements) { in GpsMeasurementsEvent() argument
80 if (clock == null) { in GpsMeasurementsEvent()
88 mClock = clock; in GpsMeasurementsEvent()
112 GpsClock clock = in.readParcelable(classLoader);
118 return new GpsMeasurementsEvent(clock, measurementsArray);
/frameworks/ex/variablespeed/jni/
Dprofile_timer.h28 Timer() : startTime_(clock()) { in Timer()
36 clock_t endTime(clock()); in PrintElapsed()
42 clock_t endTime(clock()); in GetElapsed()
/frameworks/native/opengl/specs/
DEGL_ANDROID_presentation_time.txt82 clock. For situations in which an absolute time is not needed such as
109 2. How can the current value of the clock that should be used for the
112 RESOLVED: The current clock value can be queried from the Java
114 passing CLOCK_MONOTONIC as the clock identifier.
/frameworks/base/libs/hwui/
DAnimationContext.cpp25 AnimationContext::AnimationContext(renderthread::TimeLord& clock) in AnimationContext() argument
26 : mClock(clock) in AnimationContext()
DIContextFactory.h30 virtual AnimationContext* createAnimationContext(renderthread::TimeLord& clock) = 0;
DAnimationContext.h78 ANDROID_API AnimationContext(renderthread::TimeLord& clock);
/frameworks/base/libs/hwui/tests/
Dmain.cpp36 virtual AnimationContext* createAnimationContext(renderthread::TimeLord& clock) { in createAnimationContext() argument
37 return new AnimationContext(clock); in createAnimationContext()
/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/
DAAC_E_SAMPLES.c231 t1 = clock(); in main()
257 t2 = clock(); in main()
/frameworks/base/services/core/jni/
Dcom_android_server_location_GpsLocationProvider.cpp896 static jobject translate_gps_clock(JNIEnv* env, GpsClock* clock) { in translate_gps_clock() argument
904 GpsClockFlags flags = clock->flags; in translate_gps_clock()
908 env->CallVoidMethod(gpsClockObject, setterMethod, clock->leap_second); in translate_gps_clock()
912 env->CallVoidMethod(gpsClockObject, typeSetterMethod, clock->type); in translate_gps_clock()
915 env->CallVoidMethod(gpsClockObject, setterMethod, clock->time_ns); in translate_gps_clock()
920 env->CallVoidMethod(gpsClockObject, setterMethod, clock->time_uncertainty_ns); in translate_gps_clock()
925 env->CallVoidMethod(gpsClockObject, setterMethod, clock->full_bias_ns); in translate_gps_clock()
930 env->CallVoidMethod(gpsClockObject, setterMethod, clock->bias_ns); in translate_gps_clock()
936 env->CallVoidMethod(gpsClockObject, setterMethod, clock->bias_uncertainty_ns); in translate_gps_clock()
942 env->CallVoidMethod(gpsClockObject, setterMethod, clock->drift_nsps); in translate_gps_clock()
[all …]
/frameworks/base/docs/html/training/scheduling/
Dalarms.jd100 syncs with a server. If the sync operation is based on clock time and every instance of the
133 <li>Avoid basing your alarm on clock time if possible.
164 <p>There are two general clock types for alarms: "elapsed real time" and "real time clock"
167 reference, and real time clock uses UTC (wall clock) time. This means that
170 time zone/locale. The real time clock type is better suited for alarms that are dependent
183 then choose one of the clock-based real time clock types. Note, however, that this approach can
186 real time clock alarm type also does not scale well, as discussed above. We recommend
/frameworks/base/docs/html/tools/adk/
Dadk2.jd10 <li><a href="#clock">Using the Alarm Clock</a></li>
84 <p>The ADK comes preloaded with an alarm clock firmware program that you can use immediately. A
100 <h2 id="clock">Using the Alarm Clock</h2>
102 <p>An alarm clock program comes preloaded on the ADK. This firmware program allows you to use the
103 ADK as an alarm clock.</p>
105 <p>To use the ADK as an alarm clock:</p>
111 <li>Place and hold your fingertip over the clock symbol on the control face.
115 <li>Use the plus (+) and minus (-) symbols inside the clock digits to set the correct time.</li>
116 <li>Place your fingertip over the alarm clock symbol to activate alarm setting.</li>
117 <li>Use the plus (+) and minus (-) symbols inside the clock digits to set the alarm time.</li>
[all …]
/frameworks/base/core/jni/
Dandroid_view_ThreadedRenderer.cpp153 AnimationContextBridge(renderthread::TimeLord& clock, RootRenderNode* rootNode) in AnimationContextBridge() argument
154 : AnimationContext(clock), mRootNode(rootNode) { in AnimationContextBridge()
201 virtual AnimationContext* createAnimationContext(renderthread::TimeLord& clock) { in createAnimationContext() argument
202 return new AnimationContextBridge(clock, mRootNode); in createAnimationContext()
Dandroid_view_Surface.cpp382 virtual AnimationContext* createAnimationContext(renderthread::TimeLord& clock) { in createAnimationContext() argument
383 return new AnimationContext(clock); in createAnimationContext()
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/
DAMRWB_E_SAMPLE.c203 start = clock(); in encode()
232 finish = clock(); in encode()
/frameworks/rs/
DrsCppUtils.h156 static inline nsecs_t systemTime(int clock) in systemTime() argument
167 clock_gettime(clocks[clock], &t); in systemTime()
/frameworks/rs/scriptc/
Drs_time.rsh91 * Returns the current system clock (uptime) in milliseconds.
99 * Returns the current system clock (uptime) in nanoseconds.
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardWidgetPager.java922 private static int getClockFlags(TextClock clock) {
925 final String timeZone = clock.getTimeZone();
931 final CharSequence format = clock.getFormat();
932 final char hour = clock.is24HourModeEnabled() ? DateFormat.HOUR_OF_DAY
DKeyguardDisplayManager.java165 mClock = findViewById(R.id.clock); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarTransitions.java50 mClock = mView.findViewById(R.id.clock); in init()
/frameworks/native/cmds/atrace/
Datrace.cpp387 const char *clock = enable ? "global" : "local"; in setGlobalClockEnable() local
389 if (isTraceClock(clock)) { in setGlobalClockEnable()
393 return writeStr(k_traceClockPath, clock); in setGlobalClockEnable()
/frameworks/native/opengl/tools/glgen2/registry/
Dgenheaders.py85 startTime = time.clock()
88 endTime = time.clock()
/frameworks/base/tools/aapt/
DPackage.cpp56 long startAPKTime = clock(); in writeAPK()
213 …fprintf(stdout, "BENCHMARK: End APK Bundling. Time Elapsed: %f ms \n",(clock() - startAPKTime)/100… in writeAPK()
/frameworks/base/docs/html/training/wearables/watch-faces/
Dperformance.jd35 and overlapped on top of the background image, such as clock hands and other elements of the design
61 <p>The example clock hand on the left side of <a href="#fig1">Figure 1</a> can be reduced in size
99 setFilterBitmap()} method. <a href="#fig2">Figure 2</a> shows a magnified view of a clock hand with
/frameworks/native/cmds/flatland/
DREADME.txt72 flatland is being run. Check that the hardware clock frequencies are

12