Home
last modified time | relevance | path

Searched refs:times (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/base/tools/preload/
DLoadedClass.java90 int[] times = new int[size]; in calculateMedian() local
92 times[i] = operations.get(i).exclusiveTimeMicros(); in calculateMedian()
95 Arrays.sort(times); in calculateMedian()
99 return times[middle]; in calculateMedian()
102 return (times[middle - 1] + times[middle]) / 2; in calculateMedian()
/frameworks/base/services/java/com/android/server/am/
DUsageStatsService.java127 int[] times = new int[NUM_LAUNCH_TIME_BINS]; field in UsageStatsService.TimeStats
140 times[i]++; in add()
144 times[NUM_LAUNCH_TIME_BINS-1]++; in add()
149 final int[] localTimes = times; in TimeStats()
157 final int[] localTimes = times; in writeToParcel()
188 TimeStats times = new TimeStats(in); in PkgUsageStatsExtended() local
189 mLaunchTimes.put(comp, times); in PkgUsageStatsExtended()
206 TimeStats times = mLaunchTimes.get(comp); in addLaunchCount() local
207 if (times == null) { in addLaunchCount()
208 times = new TimeStats(); in addLaunchCount()
[all …]
DEventLogTags.logtags69 # A process has crashed too many times, it is being cleared
73 # A service has crashed too many times, it is being stopped
/frameworks/base/core/java/android/gesture/
DGestureStroke.java52 final long[] times = new long[count]; in GestureStroke() local
62 times[index] = p.timestamp; in GestureStroke()
79 timestamps = times; in GestureStroke()
88 private GestureStroke(RectF bbx, float len, float[] pts, long[] times) { in GestureStroke() argument
92 timestamps = times.clone(); in GestureStroke()
203 final long[] times = timestamps; in serialize() local
215 out.writeLong(times[i / 2]); in serialize()
/frameworks/base/core/jni/
Dcom_android_internal_content_NativeLibraryHelper.cpp239 struct timeval times[2]; in copyFileIfChanged() local
240 times[0].tv_sec = st.st_atime; in copyFileIfChanged()
241 times[1].tv_sec = modTime; in copyFileIfChanged()
242 times[0].tv_usec = times[1].tv_usec = 0; in copyFileIfChanged()
243 if (utimes(localTmpFileName, times) < 0) { in copyFileIfChanged()
/frameworks/base/opengl/tests/fillrate/
Dfillrate.cpp127 nsecs_t times[32]; in main() local
148 times[j++] = t; in main()
152 nsecs_t t = times[j]; in main()
/frameworks/base/core/java/android/content/
DSyncManager.java1255 authoritySyncStats.times++; in dumpRecentHistory()
1263 accountSyncStats.times++; in dumpRecentHistory()
1277 int compare = Integer.compare(rhs.times, lhs.times); in dumpRecentHistory()
1298 int times; in dumpRecentHistory() local
1303 times = authoritySyncStats.times; in dumpRecentHistory()
1308 times, in dumpRecentHistory()
1309 times * 100 / totalTimes); in dumpRecentHistory()
1319 int compare = Integer.compare(rhs.times, lhs.times); in dumpRecentHistory()
1328 times = stats.times; in dumpRecentHistory()
1333 times, in dumpRecentHistory()
[all …]
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DFsUtils.java205 public static void writeDrawTime(String fileName, String url, long[] times) { in writeDrawTime() argument
209 for (long time : times) { in writeDrawTime()
DTestShellActivity.java567 long[] times = new long[DRAW_RUNS];
568 times = getDrawWebViewTime(mWebView, DRAW_RUNS);
569 FsUtils.writeDrawTime(DRAW_TIME_LOG, url, times);
/frameworks/base/tests/DumpRenderTree/assets/
Drun_reliability_tests.py91 for url, times in load_times.iteritems():
93 arr = array(times)
/frameworks/base/libs/utils/
DBackupHelpers.cpp1327 get_mod_time(const char* filename, struct timeval times[2]) in get_mod_time()
1336 times[0].tv_sec = st.st_atime; in get_mod_time()
1337 times[1].tv_sec = st.st_mtime; in get_mod_time()
1347 times[0].tv_usec = st.st_atim.tv_nsec / 1000; in get_mod_time()
1348 times[1].tv_usec = st.st_mtim.tv_nsec / 1000; in get_mod_time()
1350 times[0].tv_usec = st.st_atime_nsec / 1000; in get_mod_time()
1351 times[1].tv_usec = st.st_mtime_nsec / 1000; in get_mod_time()
/frameworks/base/docs/html/guide/practices/ui_guidelines/
Dwidget_design.jd149 <td>70 &times; <em>n</em> &minus; 30</td>
184 <li><code>minWidth</code> = 144dp + (2 &times; 8dp) + (2 &times; 56dp) =
186 <li><code>minHeight</code> = 48dp + (2 &times; 4dp) = <strong>56dp</strong></li>
298 grid cell is 80dp &times; 100dp in size and 16dp of margins are automatically applied on all sizes,
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/
Dsyn_filt_neon.s58 MOV r8, #0 @ loop times
/frameworks/base/docs/html/resources/articles/
Dlistview-backgrounds.jd8 <code>ListView</code> can also be difficult to understand at times.</p>
62 fling when drawing happens dozen of times per second. </p>
Dlayout-tricks-reuse.jd52 layout is included three times in a row. This tag also lets you override a few
Dlive-wallpapers.jd26 wallpaper uses the phone's location to compute sunrise and sunset times in order
Dwikinotes-linkify.jd95 <p>Linkify can be used multiple times on the same view to add more
/frameworks/ex/common/java/com/android/common/
DGoogleLogTags.logtags89 # This event is for when communicating to the server times out during account setup
/frameworks/base/docs/html/guide/topics/manifest/
Dpath-permission-element.jd28 specified multiple times to supply multiple paths.
Dsupports-screens-element.jd102 you explicitly declare this attribute at all times. Beware that setting it "false" will
114 you explicitly declare this attribute at all times. Beware that setting it "false" will
/frameworks/base/docs/html/guide/market/billing/
Dbilling_admin.jd185 of unmanaged items. Also, unmanaged items can be purchased multiple times as far as Android Market
186 is concerned, so it's also up to you to control how many times an unmanaged item can be
191 times.</p>
/frameworks/base/docs/html/guide/developing/tools/
Dmonkey.jd162 in all packages. To specify multiple packages, use the -p option multiple times &mdash; one -p
172 option multiple times &mdash; one -c option per category.</td>
/frameworks/base/docs/html/guide/topics/fundamentals/
Dtasks-and-back-stack.jd121 class="img-caption"><strong>Figure 3.</strong> A single activity is instantiated multiple times.</p>
150 times (even from different tasks), as shown in figure 3. As such, if the user navigates backward
171 <li>Activities can be instantiated multiple times, even from other tasks.</li>
296 which it was started and routes the intent to it. The activity can be instantiated multiple times,
302 activity. The activity can be instantiated multiple times, each instance can
/frameworks/compile/libbcc/
DREADME.rst46 at least 2 times bigger.
/frameworks/base/docs/html/guide/topics/resources/
Danimation-resource.jd186 … <em>int</em>. How many times to repeat an animation. Set to <code>"-1"</code> to infinitely
189 of two times. The default value is <code>"0"</code>, which means no repetition.
260 … <em>int</em>. How many times to repeat an animation. Set to <code>"-1"</code> to infinitely
263 of two times. The default value is <code>"0"</code>, which means no repetition.

123