Searched refs:clock (Results 1 - 16 of 16) sorted by relevance

/frameworks/ex/variablespeed/jni/
H A Dprofile_timer.h28 Timer() : startTime_(clock()) {
36 clock_t endTime(clock());
42 clock_t endTime(clock());
/frameworks/base/core/java/com/android/internal/widget/
H A DDigitalClock.java74 public TimeChangedReceiver(DigitalClock clock) { argument
75 mClock = new WeakReference<DigitalClock>(clock);
76 mContext = clock.getContext();
84 final DigitalClock clock = mClock.get();
85 if (clock != null) {
86 clock.mHandler.post(new Runnable() {
89 clock.mCalendar = Calendar.getInstance();
91 clock.updateTime();
136 public FormatChangeObserver(DigitalClock clock) { argument
138 mClock = new WeakReference<DigitalClock>(clock);
[all...]
/frameworks/base/include/utils/
H A DStopWatch.h33 int clock = SYSTEM_TIME_MONOTONIC,
H A DTimers.h78 SYSTEM_TIME_REALTIME = 0, // system-wide realtime clock
80 SYSTEM_TIME_PROCESS = 2, // high-resolution per-process clock
81 SYSTEM_TIME_THREAD = 3 // high-resolution per-thread clock
84 // return the system-time according to the specified clock
86 nsecs_t systemTime(int clock = SYSTEM_TIME_MONOTONIC);
88 nsecs_t systemTime(int clock);
/frameworks/base/libs/utils/
H A DStopWatch.cpp32 StopWatch::StopWatch(const char *name, int clock, uint32_t flags) argument
33 : mName(name), mClock(clock), mFlags(flags)
H A DTimers.cpp35 nsecs_t systemTime(int clock) argument
46 clock_gettime(clocks[clock], &t);
/frameworks/base/media/libstagefright/codecs/aacenc/SampleCode/
H A DAAC_E_SAMPLES.c231 t1 = clock();
257 t2 = clock();
/frameworks/base/media/libstagefright/codecs/amrwbenc/SampleCode/
H A DAMRWB_E_SAMPLE.c203 start = clock();
232 finish = clock();
/frameworks/base/cmds/dumpstate/
H A Dutils.c152 clock_t start = clock();
187 float elapsed = (float) (clock() - start) / CLOCKS_PER_SEC;
/frameworks/base/tools/aapt/
H A DPackage.cpp56 long startAPKTime = clock();
213 fprintf(stdout, "BENCHMARK: End APK Bundling. Time Elapsed: %f ms \n",(clock() - startAPKTime)/1000.0);
H A DResource.cpp791 long startPNGTime = clock();
811 ,(clock() - startPNGTime)/1000.0);
/frameworks/base/core/java/android/text/format/
H A DDateFormat.java245 * to the current locale and the user's 12-/24-hour clock preference.
/frameworks/base/opengl/libs/GLES2_dbg/src/
H A Ddebugger_message.pb.h718 // optional float clock = 22;
722 inline float clock() const;
1162 // optional float clock = 22;
1170 inline float Message::clock() const { function in class:com::android::glesv2debugger::Message
H A Ddebugger_message.pb.cpp914 // optional float clock = 22;
1119 // optional float clock = 22;
1121 ::google::protobuf::internal::WireFormatLite::WriteFloat(22, this->clock(), output);
1306 // optional float clock = 22;
1397 set_clock(from.clock());
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBar.java1036 View clock = mStatusBarView.findViewById(R.id.clock);
1037 if (clock != null) {
1038 clock.setVisibility(show ? View.VISIBLE : View.GONE);
1073 flagdbg.append(((state & StatusBarManager.DISABLE_CLOCK) != 0) ? "CLOCK" : "clock");
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DTabletStatusBar.java932 View clock = mBarContents.findViewById(R.id.clock);
934 if (clock != null) {
935 clock.setVisibility(show ? View.VISIBLE : View.GONE);

Completed in 657 milliseconds