Searched refs:milliseconds (Results 1 - 22 of 22) sorted by relevance

/frameworks/base/core/java/android/os/
H A DIVibratorService.aidl23 void vibrate(long milliseconds, IBinder token);
H A DVibrator.java60 * @param milliseconds The number of milliseconds to vibrate.
62 public void vibrate(long milliseconds) argument
69 mService.vibrate(milliseconds, mToken);
80 * the vibrator in milliseconds. The first value indicates the number of milliseconds
81 * to wait before turning the vibrator on. The next value indicates the number of milliseconds
83 * between durations in milliseconds to turn the vibrator off or to turn the vibrator on.
/frameworks/base/core/java/com/android/server/
H A DResettableTimeout.java52 public void go(long milliseconds) argument
55 mOffAt = SystemClock.uptimeMillis() + milliseconds;
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DEventSender.java24 public void leapForward(int milliseconds); argument
H A DWebViewEventSender.java74 public void leapForward(int milliseconds) { argument
H A DCallbackProxy.java311 public void leapForward(int milliseconds) { argument
312 obtainMessage(EVENT_LEAP, milliseconds, 0).sendToTarget();
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DEventSender.java51 public void leapForward(int milliseconds) { argument
52 mEventSenderImpl.leapForward(milliseconds);
H A DEventSenderImpl.java362 public void leapForward(int milliseconds) { argument
364 msg.arg1 = milliseconds;
/frameworks/base/services/java/com/android/server/
H A DVibratorService.java119 public void vibrate(long milliseconds, IBinder token) { argument
128 if (milliseconds <= 0 || (mCurrentVibration != null
129 && mCurrentVibration.hasLongerTimeout(milliseconds))) {
131 // longer than milliseconds.
134 Vibration vib = new Vibration(token, milliseconds, uid);
406 native static void vibratorOn(long milliseconds); argument
H A DPowerManagerService.java103 // How long to wait to debounce light sensor changes in milliseconds
109 // For debouncing the proximity sensor in milliseconds
3082 long milliseconds = SystemClock.elapsedRealtime();
3085 long timeSinceLastEvent = milliseconds - mLastProximityEventTime;
3086 mLastProximityEventTime = milliseconds;
3133 long milliseconds = SystemClock.elapsedRealtime();
3138 milliseconds < mLastScreenOnTime + mLightSensorWarmupTime) {
/frameworks/base/core/java/android/net/
H A DSntpClient.java63 // round trip time in milliseconds
70 * @param timeout network timeout in milliseconds.
156 * @return round trip time in milliseconds.
182 * it as a system time (milliseconds since January 1, 1970).
191 * Writes system time (milliseconds since January 1, 1970) as an NTP time stamp
196 long milliseconds = time - seconds * 1000L;
205 long fraction = milliseconds * 0x100000000L / 1000L;
/frameworks/base/core/java/android/widget/
H A DAdapterViewFlipper.java132 * @param milliseconds
133 * time in milliseconds
135 public void setFlipInterval(int milliseconds) { argument
136 mFlipInterval = milliseconds;
H A DViewFlipper.java118 * @param milliseconds
119 * time in milliseconds
122 public void setFlipInterval(int milliseconds) { argument
123 mFlipInterval = milliseconds;
/frameworks/base/include/utils/
H A DTimers.h74 static inline nsecs_t milliseconds(nsecs_t v) { return ms2ns(v); } function
92 * Returns the number of milliseconds to wait between the reference time and the timeout time.
94 * If the timeout is more than INT_MAX milliseconds in the future relative to the reference time,
/frameworks/base/media/libdrm/mobile1/src/jni/
H A Ddrm1_jni.c344 * Compute the milliseconds by the specified <code>date</code>
352 * @return the related milliseconds
382 * Compute the milliseconds by the specified <code>date</code>
395 * @return the related milliseconds
400 int64_t milliseconds; local
409 /* milliseconds = ((((year * 365 + month * 30 + day) * 24
412 int64_mul(milliseconds,
415 int64_add(milliseconds, milliseconds,
419 return milliseconds;
[all...]
/frameworks/ex/carousel/java/com/android/ex/carousel/
H A DCarouselController.java627 * @param milliseconds the length of the animation
637 public void setCarouselRotationAngle(float endAngle, int milliseconds, int interpolationMode, argument
640 mRenderScript.setCarouselRotationAngle(endAngle, milliseconds,
746 * @param t The time, in milliseconds
759 * @param t The time, in milliseconds
H A DCarouselRS.java638 public void setCarouselRotationAngle(float endAngle, int milliseconds, int interpolationMode, argument
640 mScript.invoke_setCarouselRotationAngle2(endAngle, milliseconds, interpolationMode,
H A Dcarousel.rs1282 int milliseconds,
1304 autoscrollDuration = milliseconds;
/frameworks/base/media/libmedia/
H A DAudioRecord.cpp521 result = cblk->cv.waitRelative(cblk->lock, milliseconds(waitTimeMs));
789 result = cblk->cv.waitRelative(cblk->lock, milliseconds(RESTORE_TIMEOUT_MS));
H A DAudioTrack.cpp862 result = cblk->cv.waitRelative(cblk->lock, milliseconds(waitTimeMs));
1235 result = cblk->cv.waitRelative(cblk->lock, milliseconds(RESTORE_TIMEOUT_MS));
/frameworks/base/services/audioflinger/
H A DAudioPolicyService.cpp906 command->mTime = systemTime() + milliseconds(delayMs);
H A DAudioFlinger.cpp3977 result = cblk->cv.waitRelative(cblk->lock, milliseconds(waitTimeMs));

Completed in 412 milliseconds