Searched refs:time (Results 176 - 200 of 292) sorted by relevance

1234567891011>>

/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
H A DAppLaunch.java46 * This test is intended to measure the time it takes for the apps to start.
48 * test starts each application, and reports the start up time in milliseconds.
128 // keep the min launch time
241 // e.g. device must have a valid Google account sign in to measure a meaningful launch time
290 private void sleep(int time) { argument
292 Thread.sleep(time);
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
H A DMemoryUsageTest.java255 private void sleep(int time) { argument
257 Thread.sleep(time);
/frameworks/av/media/libstagefright/
H A DTimedEventQueue.cpp24 #include <sys/time.h>
238 // while we were waiting for its scheduled time.
266 // 10 secs at a time. This will also avoid overflow
276 // We finally hit the time this event is supposed to
284 // waiting for its trigger-time, in that case
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/
H A DAMRWB_E_SAMPLE.c24 #include <time.h>
227 printf("Encoder time reach upper limit......");
/frameworks/base/core/java/android/net/
H A DNetworkStatsHistory.java49 * "buckets" in time. Internally it stores data in {@code long} series for more
240 * requested time.
242 public int getIndexBefore(long time) { argument
243 int index = Arrays.binarySearch(bucketStart, 0, bucketCount, time);
254 * requested time.
256 public int getIndexAfter(long time) { argument
257 int index = Arrays.binarySearch(bucketStart, 0, bucketCount, time);
283 * Record that data traffic occurred in the given time range. Will
293 * Record that data traffic occurred in the given time range. Will
328 // integer math each time i
[all...]
/frameworks/base/media/java/android/media/
H A DTtmlRenderer.java126 * Parses the given time expression and returns a timestamp in millisecond.
128 * For the format of the time expression, please refer <a href=
131 * @param time A string which includes time expression.
139 public static long parseTimeExpression(String time, int frameRate, int subframeRate, argument
141 Matcher matcher = CLOCK_TIME.matcher(time);
159 matcher = OFFSET_TIME.matcher(time);
179 throw new NumberFormatException("Malformed time expression : " + time);
218 * Returns the timed text for the given time perio
[all...]
H A DMediaScanner.java873 long time = exif.getGpsDateTime();
874 if (time != -1) {
875 values.put(Images.Media.DATE_TAKEN, time);
877 // If no time zone information is available, we should consider using
878 // EXIF local time as taken time if the difference between file time
879 // and EXIF local time is not less than 1 Day, otherwise MediaProvider
880 // will use file time as taken time
[all...]
/frameworks/native/cmds/service/
H A Dservice.cpp27 #include <sys/time.h>
/frameworks/native/include/input/
H A DInputTransport.h292 * The frameTime parameter specifies the time when the current display frame started
293 * rendering in the CLOCK_MONOTONIC time base, or -1 if unknown.
330 * one more time to consume the deferred event.
443 static ssize_t findSampleNoLaterThan(const Batch& batch, nsecs_t time);
/frameworks/native/opengl/tests/finish/
H A Dfinish.cpp19 #include <time.h>
94 printf("memcpy() time = %llu us\n", (t-now)/1000);
112 printf("glFinish() time = %llu us\n", (t-now)/1000);
126 printf("glFinish() time = %llu us\n", (t-now)/1000);
141 printf("glFinish() time = %llu us\n", (t-now)/1000);
156 printf("glFinish() time = %llu us\n", (t-now)/1000);
173 printf("glFinish() time = %llu us\n", (t-now)/1000);
192 printf("glFinish() time = %llu us\n", (t-now)/1000);
205 printf("glFinish() time = %llu us\n", (t-now)/1000);
221 printf("glFinish() time
[all...]
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DAmPmCirclesView.java17 package com.android.datetimepicker.time;
/frameworks/rs/cpu_ref/linkloader/
H A Dmain.cpp102 return time(output);
120 DEF("time", stub_time)
/frameworks/rs/
H A DrsCppUtils.h31 #include <time.h>
151 SYSTEM_TIME_MONOTONIC = 1, // monotonic time since unspecified starting point
/frameworks/wilhelm/tests/examples/
H A DslesTestBassBoostPath.cpp21 #include <sys/time.h>
H A DslesTestPlayFdPath.cpp21 #include <sys/time.h>
H A DslesTestSawtoothBufferQueue.cpp44 #include <sys/time.h>
H A DslesTestVirtualizerPath.cpp21 #include <sys/time.h>
H A DxaVideoDecoderCapabilities.cpp21 #include <sys/time.h>
/frameworks/wilhelm/tests/mimeUri/
H A DslesTestLoopUri.cpp23 #include <sys/time.h>
H A DslesTestPlayStreamType.cpp21 #include <sys/time.h>
H A DslesTest_playStates.cpp21 #include <sys/time.h>
/frameworks/wilhelm/tests/
H A DmimeUri_test.cpp49 #include <sys/time.h>
210 fprintf(stderr, "Error: Failed to prefetch data in time, exiting\n");
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DNetworkControllerImpl.java1329 * mDataState, and mSimState. It should be called any time one of these is updated.
1580 // Updates the current time.
1581 mCurrentState.time = System.currentTimeMillis();
1654 // Count up the states that actually contain time stamps, and only display those.
1657 if (mHistory[i].time != 0) size++;
1728 long time; field in class:NetworkControllerImpl.SignalController.State
1739 time = state.time;
1744 if (time != 0) {
1762 .append("lastModified=").append(DateFormat.format("MM-dd hh:mm:ss", time));
[all...]
/frameworks/av/services/audioflinger/
H A DTracks.cpp808 ALOGV("flush called in active state, resetting buffer time out retry count");
918 struct timespec time = playbackThread->mLatchQ.mTimestamp.mTime; local
920 if (time.tv_sec < mPreviousTimestamp.mTime.tv_sec ||
921 (time.tv_sec == mPreviousTimestamp.mTime.tv_sec &&
922 time.tv_nsec < mPreviousTimestamp.mTime.tv_nsec)) {
930 time = mPreviousTimestamp.mTime;
934 timestamp.mTime = time;
1008 // first time (mPresentationCompleteFrames == 0) plus the buffer filling status at that time.
1263 // this frame in media time unit
[all...]
/frameworks/base/services/core/java/com/android/server/location/
H A DGpsLocationProvider.java268 // time for last status update
282 // how often to request NTP time, in milliseconds
305 // set to true if the GPS engine does not do on-demand NTP time requests
329 // for calculating time to first fix
331 // time to first fix for most recent session
333 // time we received our last fix
649 // to invoke onSubscriptionsChanged the first time.
866 // only update when NTP time is fresh
868 long time = mNtpTime.getCachedNtpTime();
874 + time
2186 native_inject_time(long time, long timeReference, int uncertainty) argument
[all...]

Completed in 630 milliseconds

1234567891011>>