Searched refs:time (Results 51 - 75 of 323) sorted by relevance

1234567891011>>

/frameworks/av/services/audioflinger/
H A Dtest-resample.cpp26 #include <time.h>
228 double time = (input_freq / 2) / k; local
229 size_t input_frames = size_t(input_freq * time);
359 int64_t time = end_ns - start_ns; local
361 looplimit * 4 / (time / 1e9));
375 time = end_ns - start_ns;
377 looplimit / (time / 1e9));
393 * and take the minimum time.
410 int64_t time = 0; local
422 if (n == 0 || diff_ns < time) {
[all...]
H A DAudioWatchdog.h18 // (a) verify that adequate CPU time is available, and log
25 #include <time.h>
37 time_t mMostRecent; // time of most recent log
76 uint32_t mMaxCycleNs; // maximum allowed time of one cycle before declaring underrun
77 struct timespec mOldTs; // monotonic time when threadLoop last ran
78 struct timespec mLogTs; // time since last log
/frameworks/base/test-runner/src/android/test/
H A DTestPrinter.java68 TestRunner.IntermediateTime time = intermediates.get(i);
69 Log.i(mTag, " intermediate: " + time.name + " = "
70 + time.timeInNS + "ns");
/frameworks/native/opengl/tests/swapinterval/
H A Dswapinterval.cpp103 int time = 10; local
104 printf("screen should flash red/green quickly for %d s...\n", time);
118 } while (int(ns2s(t))<=time);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DTransitionDrawable.java137 final long time = SystemClock.uptimeMillis();
139 if (time - mStartTimeMillis > mDuration) {
160 mDuration = (int) (mReverse ? time - mStartTimeMillis :
161 mOriginalDuration - (time - mStartTimeMillis));
/frameworks/base/include/androidfw/
H A DZipUtils.h25 #include <time.h>
65 * Utility function to convert ZIP's time format to a timespec struct.
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.h20 #include <time.h>
/frameworks/support/graphics/drawable/teststatic/src/android/support/test/vectordrawable/
H A DTestActivity.java81 long time = android.os.SystemClock.currentThreadTimeMillis();
85 time = android.os.SystemClock.currentThreadTimeMillis()-time;
104 // Just show the average create time as the first view.
107 t.setText("avgL=" + df.format(time / (icon.length)) + " ms");
/frameworks/base/core/java/android/util/
H A DTimeUtils.java41 * A class containing utility methods related to time zones.
62 * Tries to return a time zone that would have had the specified offset
76 // If the current time zone is from the right country
89 // haven't encountered the current time zone yet.)
103 * Return list of unique time zones for the country. Do not modify
106 * @return list of unique time zones, maybe empty but never null. Do not modify.
151 * Returns the time zones for the country, which is the code
221 * Returns a String indicating the version of the time zone database currently
222 * in use. The format of the string is dependent on the underlying time zone
228 * when computing the UTC time fo
410 formatDuration(long time, long now, PrintWriter pw) argument
419 formatUptime(long time) argument
[all...]
/frameworks/base/tools/preload/
H A DRecord.java100 /** Record time (ns). */
101 final long time; field in class:Record
137 time = Long.parseLong(parts[6]);
/frameworks/native/opengl/tools/glgen2/registry/
H A Dgenheaders.py24 import sys, time, pdb, string, cProfile namespace
33 # timeit - time length of registry loading & header generation
68 elif (arg == '-time'):
69 write('Enabling timing (-time)', file=sys.stderr)
85 startTime = time.clock()
88 endTime = time.clock()
238 format("/* Generated on date %s */" % time.strftime("%Y%m%d")),
244 format("#define GL_GLEXT_VERSION %s" % time.strftime("%Y%m%d")),
249 format("#define WGL_WGLEXT_VERSION %s" % time.strftime("%Y%m%d")),
254 format("#define GLX_GLXEXT_VERSION %s" % time
[all...]
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/
H A DObexTime.java30 public ObexTime(String time) { argument
32 * match OBEX time string: YYYYMMDDTHHMMSS with optional UTF offset
37 Matcher m = p.matcher(time);
61 /* time zone offset is specified in miliseconds */
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/utils/
H A DObexTime.java30 public ObexTime(String time) { argument
32 * match OBEX time string: YYYYMMDDTHHMMSS with optional UTF offset
37 Matcher m = p.matcher(time);
61 /* time zone offset is specified in miliseconds */
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A DConvolve3x3.java69 public void animateBars(float time) { argument
70 float f[] = updateMatrix(time % 1.f);
H A DGrain.java43 public void animateBars(float time) { argument
44 mScript.set_gNoiseStrength(time % 1.f);
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A DConvolve3x3.java76 public void animateBars(float time) { argument
77 float f[] = updateMatrix(time % 1.f);
H A DGrain.java48 public void animateBars(float time) { argument
49 mScript.set_gNoiseStrength(time % 1.f);
/frameworks/native/libs/input/
H A DKeyCharacterMap.cpp487 int32_t deviceId, int32_t keyCode, int32_t metaState, bool down, nsecs_t time) {
492 0, keyCode, 0, metaState, 0, time, time);
496 int32_t deviceId, int32_t metaState, bool down, nsecs_t time,
500 addLockedMetaKey(outEvents, deviceId, metaState, time,
502 addLockedMetaKey(outEvents, deviceId, metaState, time,
504 addLockedMetaKey(outEvents, deviceId, metaState, time,
507 addDoubleEphemeralMetaKey(outEvents, deviceId, metaState, true, time,
511 addDoubleEphemeralMetaKey(outEvents, deviceId, metaState, true, time,
515 addDoubleEphemeralMetaKey(outEvents, deviceId, metaState, true, time,
486 addKey(Vector<KeyEvent>& outEvents, int32_t deviceId, int32_t keyCode, int32_t metaState, bool down, nsecs_t time) argument
495 addMetaKeys(Vector<KeyEvent>& outEvents, int32_t deviceId, int32_t metaState, bool down, nsecs_t time, int32_t* currentMetaState) argument
560 addSingleEphemeralMetaKey(Vector<KeyEvent>& outEvents, int32_t deviceId, int32_t metaState, bool down, nsecs_t time, int32_t keyCode, int32_t keyMetaState, int32_t* currentMetaState) argument
572 addDoubleEphemeralMetaKey(Vector<KeyEvent>& outEvents, int32_t deviceId, int32_t metaState, bool down, nsecs_t time, int32_t leftKeyCode, int32_t leftKeyMetaState, int32_t rightKeyCode, int32_t rightKeyMetaState, int32_t eitherKeyMetaState, int32_t* currentMetaState) argument
590 addLockedMetaKey(Vector<KeyEvent>& outEvents, int32_t deviceId, int32_t metaState, nsecs_t time, int32_t keyCode, int32_t keyMetaState, int32_t* currentMetaState) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DActivityChooserModel.java183 * Attribute for the choice time.
185 private static final String ATTRIBUTE_TIME = "time";
791 * The choice time.
793 public final long time; field in class:ActivityChooserModel.HistoricalRecord
804 * @param time The time the activity was chosen.
807 public HistoricalRecord(String activityName, long time, float weight) { argument
808 this(ComponentName.unflattenFromString(activityName), time, weight);
815 * @param time The time th
818 HistoricalRecord(ComponentName activityName, long time, float weight) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DActivityChooserModel.java178 * Attribute for the choice time.
180 private static final String ATTRIBUTE_TIME = "time";
769 * The choice time.
771 public final long time; field in class:ActivityChooserModel.HistoricalRecord
782 * @param time The time the activity was chosen.
785 public HistoricalRecord(String activityName, long time, float weight) { argument
786 this(ComponentName.unflattenFromString(activityName), time, weight);
793 * @param time The time th
796 HistoricalRecord(ComponentName activityName, long time, float weight) argument
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DUtils.java226 long time = millis >= 0 ? millis : -millis;
227 long tmp = time / 1000L;
228 long ms = time - tmp * 1000L;
230 time = tmp;
232 long s = time - tmp * 60L;
234 time = tmp;
236 long m = time - tmp * 60L;
/frameworks/base/services/core/java/com/android/server/notification/
H A DEventConditionProvider.java59 private static final String EXTRA_TIME = "time";
250 private void rescheduleAlarm(long now, long time) { argument
251 mNextAlarmTime = time;
257 .putExtra(EXTRA_TIME, time),
260 if (time == 0 || time < now) {
261 if (DEBUG) Slog.d(TAG, "Not scheduling evaluate: " + (time == 0 ? "no time specified"
262 : "specified time in the past"));
266 ts(time), formatDuratio
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DGestureRecorder.java42 long time; field in class:GestureRecorder.Gesture.Record
48 this.time = when;
67 ("{\"type\":\"motion\", \"time\":%d, \"action\":\"%s\", "
69 this.time,
81 this.time = when;
86 return String.format("{\"type\":\"tag\", \"time\":%d, \"tag\":\"%s\", \"info\":\"%s\"}",
87 this.time,
/frameworks/native/include/input/
H A DKeyCharacterMap.h243 int32_t deviceId, int32_t keyCode, int32_t metaState, bool down, nsecs_t time);
245 int32_t deviceId, int32_t metaState, bool down, nsecs_t time,
248 int32_t deviceId, int32_t metaState, bool down, nsecs_t time,
252 int32_t deviceId, int32_t metaState, bool down, nsecs_t time,
258 int32_t deviceId, int32_t metaState, nsecs_t time,
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DMonthAdapter.java52 private Time time; field in class:MonthAdapter.CalendarDay
88 if (time == null) {
89 time = new Time();
91 time.setJulianDay(julianDay);
92 setTime(time.toMillis(false));
141 * Set up the gesture detector and selected time

Completed in 876 milliseconds

1234567891011>>