Home
last modified time | relevance | path

Searched refs:ms (Results 1 – 25 of 70) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/os/storage/
DAsecTests.java53 IMountService ms = getMs(); in cleanupContainers() local
54 String[] containers = ms.getSecureContainerList(); in cleanupContainers()
60 ms.destroySecureContainer(containers[i], true); in cleanupContainers()
66 IMountService ms = getMs(); in containerExists() local
67 String[] containers = ms.getSecureContainerList(); in containerExists()
83 IMountService ms = getMs(); in createContainer() local
84 return ms.createSecureContainer(fullId, size, filesystem, key, android.os.Process.myUid(), in createContainer()
92 IMountService ms = getMs(); in mountContainer() local
93 return ms.mountSecureContainer(fullId, key, android.os.Process.myUid(), true); in mountContainer()
101 IMountService ms = getMs(); in renameContainer() local
[all …]
/frameworks/compile/libbcc/
DREADME.rst61 App_1 1218ms 9ms
62 App_2 842ms 4ms
64 MagicSmoke 182ms 3ms
65 Halo 127ms 3ms
66 Balls 149ms 3ms
67 SceneGraph 146ms 90ms
68 Model 104ms 4ms
69 Fountain 57ms 3ms
/frameworks/base/services/core/java/com/android/server/
DMountServiceIdler.java70 MountService ms = MountService.sSelf; in onStartJob() local
71 if (ms != null) { in onStartJob()
75 ms.runIdleMaintenance(mFinishCallback); in onStartJob()
77 return ms != null; in onStartJob()
/frameworks/base/core/java/android/os/
DSystemClock.java113 public static void sleep(long ms) in sleep() argument
116 long duration = ms; in sleep()
125 duration = start + ms - uptimeMillis(); in sleep()
/frameworks/base/packages/Osu/src/com/android/hotspot2/
DUtils.java249 long ms = time - tmp * 1000L; in toHMS() local
259 return String.format("%s%d:%02d:%02d.%03d", millis < 0 ? "-" : "", tmp, m, s, ms); in toHMS()
262 public static String toUTCString(long ms) { in toUTCString() argument
263 if (ms < 0) { in toUTCString()
267 c.setTimeInMillis(ms); in toUTCString()
288 public static void delay(long ms) { in delay() argument
289 long until = System.currentTimeMillis() + ms; in delay()
/frameworks/base/libs/hwui/utils/
DTimeUtils.h24 constexpr nsecs_t operator"" _ms (unsigned long long ms) {
25 return milliseconds_to_nanoseconds(ms);
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageHelperTests.java50 IMountService ms = getMs(); in cleanupContainers() local
51 String[] containers = ms.getSecureContainerList(); in cleanupContainers()
55 ms.destroySecureContainer(containers[i], true); in cleanupContainers()
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestCase.java101 public void sleep(long ms) { in sleep() argument
102 SystemClock.sleep(ms); in sleep()
/frameworks/native/cmds/flatland/
DREADME.txt29 measured, each sample measurement runs for between 50 and 200 ms, so a sleep
30 time between 10 and 50 ms should address most thermal problems.
38 Scenario | Resolution | Time (ms)
58 reliably benchmarked. This corresponds to a frame time less than 3 ms.
63 complete. This corresponds to a frame time over 50 ms. Rather than
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DUtils.java249 long ms = time - tmp * 1000L; in toHMS() local
259 return String.format("%s%d:%02d:%02d.%03d", millis < 0 ? "-" : "", tmp, m, s, ms); in toHMS()
262 public static String toUTCString(long ms) { in toUTCString() argument
263 if (ms < 0) { in toUTCString()
267 c.setTimeInMillis(ms); in toUTCString()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DPlaybackControlsRow.java723 public void setTotalTime(int ms) {
724 mTotalTimeMs = ms;
739 public void setCurrentTime(int ms) {
740 if (mCurrentTimeMs != ms) {
741 mCurrentTimeMs = ms;
758 public void setBufferedProgress(int ms) {
759 if (mBufferedProgressMs != ms) {
760 mBufferedProgressMs = ms;
DPlaybackControlsPresenter.java238 public void setTotalTime(ViewHolder vh, int ms) { in setTotalTime() argument
239 vh.setTotalTime(ms); in setTotalTime()
246 public void setCurrentTime(ViewHolder vh, int ms) { in setCurrentTime() argument
247 vh.setCurrentTime(ms); in setCurrentTime()
DPlaybackControlsRowPresenter.java75 public void onCurrentTimeChanged(int ms) {
76 mPlaybackControlsPresenter.setCurrentTime(mControlsVh, ms);
79 public void onBufferedProgressChanged(int ms) {
80 mPlaybackControlsPresenter.setSecondaryProgress(mControlsVh, ms);
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestCase.java123 public void sleep(long ms) { in sleep() argument
124 SystemClock.sleep(ms); in sleep()
/frameworks/av/media/libstagefright/webm/
DWebmWriter.h49 virtual void setStartTimeOffsetMs(int ms) { mStartTimeOffsetMs = ms; } in setStartTimeOffsetMs() argument
/frameworks/base/docs/html/training/improving-layouts/
Doptimizing-layout.jd98 <li>Measure: 0.977ms</li>
99 <li>Layout: 0.167ms</li>
100 <li>Draw: 2.717ms</li>
119 <li>Measure: 0.598ms</li>
120 <li>Layout: 0.110ms</li>
121 <li>Draw: 2.146ms</li>
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTestUtils.java156 public static void waitForMs(long ms) { in waitForMs() argument
158 Thread.sleep(ms); in waitForMs()
/frameworks/av/include/media/stagefright/
DMPEG4Writer.h68 virtual void setStartTimeOffsetMs(int ms) { mStartTimeOffsetMs = ms; } in setStartTimeOffsetMs() argument
DMediaWriter.h51 virtual void setStartTimeOffsetMs(int ms) {} in setStartTimeOffsetMs()
/frameworks/base/core/jni/android/graphics/
DMovie.cpp61 static jboolean movie_setTime(JNIEnv* env, jobject movie, jint ms) { in movie_setTime() argument
63 return J2Movie(env, movie)->setTime(ms) ? JNI_TRUE : JNI_FALSE; in movie_setTime()
/frameworks/base/core/java/android/widget/
DChronometer.java324 private static String formatDuration(long ms) { in formatDuration() argument
328 int duration = (int) (ms / DateUtils.SECOND_IN_MILLIS); in formatDuration()
/frameworks/base/docs/html/guide/topics/graphics/
Dprop-animation.jd71 <li>Duration: You can specify the duration of an animation. The default length is 300 ms.</li>
85 …default is set to refresh every 10 ms, but the speed in which your application can refresh frames…
94 horizontal location on a screen. The duration of the animation is set to 40 ms and the distance
95 to travel is 40 pixels. Every 10 ms, which is the default frame refresh rate, the object moves
96 horizontally by 10 pixels. At the end of 40ms, the animation stops, and the object ends at
104 end of the animation. The object still moves 40 pixels in 40 ms, but non-linearly. In the
135 and 1 meaning 100%. For example, in Figure 1, the elapsed fraction at t = 10 ms would be .25
136 because the total duration is t = 40 ms.</p>
143 elapsed fraction, .25, at t = 10 ms. In Figure 1, the interpolated fraction is always the same as
150 10 ms, so the value for the property at that time would be .15 X (40 - 0), or 6.</p>
[all …]
/frameworks/ex/common/java/com/android/common/
DOperationScheduler.java272 long ms = Long.valueOf(retryAfter) * 1000; in setMoratoriumTimeHttp() local
273 setMoratoriumTimeMillis(ms + currentTimeMillis()); in setMoratoriumTimeHttp()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZoneInfo.java242 long ms = s * 1000L; in formatTime() local
243 return df.format(new Date(ms)); in formatTime()
/frameworks/base/docs/html/training/testing/
Dperformance.jd82 90th percentile: 34ms
83 95th percentile: 42ms
84 99th percentile: 69ms
147 than 16ms. Here are a few reasons this could occur:
223 <li>If this number is high (&gt;2ms), this indicates the app is spending an unusually
242 <li>If this number is high (&gt;2ms), check to see if your app has written any custom
295 SYNC_START is substantial (&gt;0.1ms or so), it means that
298 and exceeding the 16ms budget and the frame being stalled due to
299 the previous frame exceeding the 16ms budget.
309 <li>If the time between this and ISSUE_DRAW_COMMANDS_START is substantial (&gt;0.4ms or
[all …]

123