/frameworks/base/libs/hwui/utils/ |
H A D | TimeUtils.h | 24 constexpr nsecs_t operator"" _ms (unsigned long long ms) { argument 25 return milliseconds_to_nanoseconds(ms);
|
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/ |
H A D | UiAutomatorTestCase.java | 98 * @param ms is in milliseconds. 101 public void sleep(long ms) { argument 102 SystemClock.sleep(ms);
|
/frameworks/base/core/java/android/os/ |
H A D | SystemClock.java | 111 * @param ms to sleep before returning, in milliseconds of uptime. 113 public static void sleep(long ms) argument 116 long duration = ms; 125 duration = start + ms - uptimeMillis();
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | TelephonyTestUtils.java | 156 public static void waitForMs(long ms) { argument 158 Thread.sleep(ms);
|
/frameworks/av/include/media/stagefright/ |
H A D | MediaWriter.h | 51 virtual void setStartTimeOffsetMs(int ms) {} argument
|
H A D | MPEG4Writer.h | 68 virtual void setStartTimeOffsetMs(int ms) { mStartTimeOffsetMs = ms; } argument
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
H A D | UiAutomatorTestCase.java | 120 * @param ms is in milliseconds. 123 public void sleep(long ms) { argument 124 SystemClock.sleep(ms);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Movie.cpp | 61 static jboolean movie_setTime(JNIEnv* env, jobject movie, jint ms) { argument 63 return J2Movie(env, movie)->setTime(ms) ? JNI_TRUE : JNI_FALSE;
|
/frameworks/av/media/libstagefright/webm/ |
H A D | WebmWriter.h | 49 virtual void setStartTimeOffsetMs(int ms) { mStartTimeOffsetMs = ms; } argument
|
/frameworks/base/core/java/android/widget/ |
H A D | Chronometer.java | 324 private static String formatDuration(long ms) { argument 328 int duration = (int) (ms / DateUtils.SECOND_IN_MILLIS);
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/ |
H A D | Utils.java | 249 long ms = time - tmp * 1000L; 259 return String.format("%s%d:%02d:%02d.%03d", millis < 0 ? "-" : "", tmp, m, s, ms); 262 public static String toUTCString(long ms) { argument 263 if (ms < 0) { 267 c.setTimeInMillis(ms); 288 public static void delay(long ms) { argument 289 long until = System.currentTimeMillis() + ms;
|
/frameworks/base/tests/notification/src/com/android/frameworks/tests/notification/ |
H A D | NotificationTests.java | 230 public static void sleepIfYouCan(int ms) { argument 232 Thread.sleep(ms);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
H A D | Utils.java | 249 long ms = time - tmp * 1000L; 259 return String.format("%s%d:%02d:%02d.%03d", millis < 0 ? "-" : "", tmp, m, s, ms); 262 public static String toUTCString(long ms) { argument 263 if (ms < 0) { 267 c.setTimeInMillis(ms);
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTPWriter.cpp | 322 uint32_t ms = tolel(ALooper::GetNowUs() / 1000ll); local 324 write(fd, &ms, sizeof(ms));
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | PlaybackControlsPresenter.java | 238 public void setTotalTime(ViewHolder vh, int ms) { argument 239 vh.setTotalTime(ms); 246 public void setCurrentTime(ViewHolder vh, int ms) { argument 247 vh.setCurrentTime(ms);
|
H A D | PlaybackControlsRow.java | 723 public void setTotalTime(int ms) { argument 724 mTotalTimeMs = ms; 739 public void setCurrentTime(int ms) { argument 740 if (mCurrentTimeMs != ms) { 741 mCurrentTimeMs = ms; 758 public void setBufferedProgress(int ms) { argument 759 if (mBufferedProgressMs != ms) { 760 mBufferedProgressMs = ms;
|
/frameworks/av/media/libmedia/ |
H A D | AudioRecord.cpp | 764 long long ms = WAIT_PERIOD_MS * (long long) waitCount; local 765 timeout.tv_sec = ms / 1000; 766 timeout.tv_nsec = (int) (ms % 1000) * 1000000; 1041 static const nsecs_t kFudgeNs = 10000000LL; // 10 ms
|
H A D | AudioTrack.cpp | 1593 long long ms = WAIT_PERIOD_MS * (long long) waitCount; local 1594 timeout.tv_sec = ms / 1000; 1595 timeout.tv_nsec = (int) (ms % 1000) * 1000000; 2432 static const int kTimeJitterUs = 100000; // 100 ms 2680 // ms is the playback time by frames 2681 int64_t ms = (int64_t)((double)diff * 1000 / local 2689 //ALOGV("ms: %lld clockdiff: %lld", (long long)ms, (long long)clockdiff); 2691 *msec = (int32_t)(ms + clockdiff / NANOS_PER_MILLIS);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | DrawableContainer.java | 216 * @param ms The amount of time to fade in milliseconds. 218 public void setEnterFadeDuration(int ms) { argument 219 mDrawableContainerState.mEnterFadeDuration = ms; 225 * @param ms The amount of time to fade in milliseconds. 227 public void setExitFadeDuration(int ms) { argument 228 mDrawableContainerState.mExitFadeDuration = ms;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/ |
H A D | MLand.java | 369 private void thump(int playerIndex, long ms) { argument 379 (long) (ms * CONTROLLER_VIBRATION_MULTIPLIER), 384 mVibrator.vibrate(ms, mAudioAttrs);
|
/frameworks/native/cmds/dumpstate/ |
H A D | utils.cpp | 1227 void vibrate(FILE* vibrator, int ms) { argument 1228 fprintf(vibrator, "%d\n", ms);
|