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

/frameworks/base/core/java/android/os/
H A DVibrator.java49 * @param milliseconds The number of milliseconds to vibrate.
51 public abstract void vibrate(long milliseconds); argument
58 * the vibrator in milliseconds. The first value indicates the number of milliseconds
59 * to wait before turning the vibrator on. The next value indicates the number of milliseconds
61 * between durations in milliseconds to turn the vibrator off or to turn the vibrator on.
H A DIVibratorService.aidl23 void vibrate(long milliseconds, IBinder token);
H A DNullVibrator.java42 public void vibrate(long milliseconds) { argument
H A DSystemVibrator.java51 public void vibrate(long milliseconds) { argument
57 mService.vibrate(milliseconds, mToken);
/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.java303 public void leapForward(int milliseconds) { argument
304 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/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 DViewFlipper.java120 * @param milliseconds
121 * time in milliseconds
124 public void setFlipInterval(int milliseconds) { argument
125 mFlipInterval = milliseconds;
/frameworks/native/include/utils/
H A DTimers.h74 static inline nsecs_t milliseconds(nsecs_t v) { return ms2ns(v); } function
93 * Returns the number of milliseconds to wait between the reference time and the timeout time.
95 * If the timeout is more than INT_MAX milliseconds in the future relative to the reference time,
/frameworks/base/services/java/com/android/server/
H A DVibratorService.java68 native static void vibratorOn(long milliseconds); argument
167 public void vibrate(long milliseconds, IBinder token) { argument
176 if (milliseconds <= 0 || (mCurrentVibration != null
177 && mCurrentVibration.hasLongerTimeout(milliseconds))) {
179 // longer than milliseconds.
183 Vibration vib = new Vibration(token, milliseconds, uid);
/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/base/core/java/android/hardware/input/
H A DInputManager.java796 public void vibrate(long milliseconds) { argument
797 vibrate(new long[] { 0, milliseconds}, -1);
/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/av/media/libmedia/
H A DAudioRecord.cpp503 result = cblk->cv.waitRelative(cblk->lock, milliseconds(waitTimeMs));
787 result = cblk->cv.waitRelative(cblk->lock, milliseconds(RESTORE_TIMEOUT_MS));
H A DAudioTrack.cpp979 result = cblk->cv.waitRelative(cblk->lock, milliseconds(waitTimeMs));
1408 result = cblk->cv.waitRelative(cblk->lock, milliseconds(RESTORE_TIMEOUT_MS));
/frameworks/base/core/jni/
H A Dandroid_media_AudioRecord.cpp346 milliseconds(CALLBACK_COND_WAIT_TIMEOUT_MS)) !=
H A Dandroid_media_AudioTrack.cpp490 milliseconds(CALLBACK_COND_WAIT_TIMEOUT_MS)) !=
/frameworks/av/services/audioflinger/
H A DAudioPolicyService.cpp888 command->mTime = systemTime() + milliseconds(delayMs);
H A DAudioFlinger.cpp137 // minimum normal mix buffer size, expressed in milliseconds rather than frames
246 mStandbyTimeInNsecs = milliseconds(int_val);
5682 result = cblk->cv.waitRelative(cblk->lock, milliseconds(waitTimeMs));

Completed in 7113 milliseconds