Searched refs:time (Results 201 - 225 of 323) sorted by relevance

1234567891011>>

/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothStressTest.java35 /** The amount of time to sleep between issuing start/stop SCO in ms. */
395 private void sleep(long time) { argument
397 Thread.sleep(time);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifTag.java523 * @param time the number of milliseconds since Jan. 1, 1970 GMT
526 public boolean setTimeValue(long time) { argument
529 return setValue(TIME_FORMAT.format(new Date(time)));
/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/support/v7/appcompat/src/android/support/v7/internal/app/
H A DNotificationCompatImplBase.java239 contentView.setViewVisibility(R.id.time, View.VISIBLE);
240 contentView.setLong(R.id.time, "setTime", when);
/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/native/cmds/service/
H A Dservice.cpp27 #include <sys/time.h>
/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/
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/media/java/android/media/
H A DMediaScanner.java866 long time = exif.getGpsDateTime();
867 if (time != -1) {
868 values.put(Images.Media.DATE_TAKEN, time);
870 // If no time zone information is available, we should consider using
871 // EXIF local time as taken time if the difference between file time
872 // and EXIF local time is not less than 1 Day, otherwise MediaProvider
873 // will use file time as taken time
[all...]
/frameworks/base/services/core/java/com/android/server/location/
H A DGpsLocationProvider.java266 // time for last status update
280 // how often to request NTP time, in milliseconds
311 // set to true if the GPS engine does not do on-demand NTP time requests
335 // for calculating time to first fix
337 // time to first fix for most recent session
339 // time we received our last fix
654 // relative long time, so the ctor() is kept to create objects needed by this instance,
828 // only update when NTP time is fresh
830 long time = mNtpTime.getCachedNtpTime();
836 + time
2271 native_inject_time(long time, long timeReference, int uncertainty) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmServiceStateTracker.java126 * Sometimes we get the NITZ time before we know what country we
127 * are in. Keep the time zone information from the NITZ string so
128 * we can fix the time zone once know the country.
155 /** Wake lock used while setting time of day. */
194 Rlog.i("GsmServiceStateTracker", "Auto time state changed");
202 Rlog.i("GsmServiceStateTracker", "Auto time zone state changed");
1119 // clean slate for next time
1221 log("pollStateDone: fix time zone zoneName='" + zoneName +
1236 // it is in GMT+0 w/ DST time zone
1238 // local time
1904 saveNitzTime(long time) argument
1936 setAndBroadcastNetworkSetTime(long time) argument
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java205 // elapsed time by the number of active timers to arrive at that timer's share of the time.
283 * Total time (in milliseconds) spent executing in user code.
288 * Total time (in milliseconds) spent executing in kernel code.
410 * These provide time bases that discount the time the device is plugged
613 long time = mPastUptime;
615 time += curTime - mUptimeStart;
617 return time;
621 long time
[all...]

Completed in 861 milliseconds

1234567891011>>