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

<<111213

/frameworks/base/services/core/java/com/android/server/power/
H A DPowerManagerService.java189 // True if the sandman has just been summoned for the first time since entering the
210 // Timestamp of the last time the device was awoken or put to sleep.
274 // The battery level percentage at the time the dream started.
345 // The maximum screen dim time expressed as a ratio relative to the screen
347 // dim timeout to also be quite short so that most of the time is spent on.
348 // Otherwise the user won't get much screen on time before dimming occurs.
812 // go to sleep between the time we start the accounting in battery
1204 Slog.i(TAG, "Nap time (uid " + uid +")...");
1262 * each time something important changes, and ensure that we do it the same
1263 * way each time
[all...]
/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioService.java769 // process restarts after a crash, not the first time it is started.
3136 // Approximate cumulative active music time
3168 // next time we boot and cannot be "inactive"
3180 // We have existing playback time recorded, already confirmed.
3396 * @param delay_ms max time since last STREAM_MUSIC activity to consider
3515 long time = SystemClock.uptimeMillis() + delay;
3516 handler.sendMessageAtTime(handler.obtainMessage(msg, arg1, arg2, obj), time);
3520 mLastDeviceConnectMsgTime = time;
4364 // value of ringer mode as of the time the request was made to persist
4540 // Reset A2DP suspend state each time
[all...]
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp935 // happens the first time egl_get_display() is called.
968 * this extension for the first time, we go through all our
1805 EGLnsecsANDROID time)
1821 native_window_set_buffers_timestamp(s->win.get(), time);
1804 eglPresentationTimeANDROID(EGLDisplay dpy, EGLSurface surface, EGLnsecsANDROID time) argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiNative.java827 public boolean setP2pGroupIdle(String iface, int time) { argument
829 return doBooleanCommandNative("IFNAME=" + iface + " SET p2p_group_idle " + time);
H A DWifiStateMachine.java347 * Tether state change notification time out
351 /* Tracks sequence number on a tether notification time out */
355 * Driver start time out.
359 /* Tracks sequence number on a driver time out */
364 * pending connection for this much time
685 * Leave time for 4-way handshake to succeed
843 * time interval to the next full band scan we will perform for
849 * max time interval to the next full band scan we will perform for
851 * Max time is 5 minutes
856 * Minimum time interva
[all...]
/frameworks/av/cmds/stagefright/
H A Dstagefright.cpp21 #include <sys/time.h>
94 printf("min decode time %" PRId64 " us (%.2f secs)\n", minUs, minUs / 1E6);
95 printf("max decode time %" PRId64 " us (%.2f secs)\n", maxUs, maxUs / 1E6);
336 // Ignore the first time since it includes some setup
380 printf("avg. time to decode one buffer %.2f usecs\n",
/frameworks/av/drm/drmserver/
H A DDrmManager.cpp45 srand(time(NULL));
/frameworks/av/media/libstagefright/omx/tests/
H A DOMXHarness.cpp24 #include <sys/time.h>
345 "Not all output buffers have been returned to us by the time "
373 "time we received the transition-to-idle complete "
380 "time we received the transition-to-idle complete "
/frameworks/wilhelm/tests/examples/
H A DslesTestDecodeAac.cpp53 #include <sys/time.h>
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java421 private static final String TAG_MAX_TIME_TO_UNLOCK = "max-time-to-unlock";
1160 // Selecting the next alarm time: Roll forward to the next 24 hour multiple before
1161 // the expiration time.
2274 * Return a single admin's expiration cycle time, or the min of all cycle times.
2378 * Return a single admin's expiration date/time, or the min (soonest) for all admins.
3026 // would allow bypassing of the maximum time to lock.
3045 long time = 0;
3049 return admin != null ? admin.maximumTimeToUnlock : time;
3059 if (time == 0) {
3060 time
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DGridLayoutManager.java226 final int time = calculateTimeForDeceleration(distance);
227 action.update(dx, dy, time, mDecelerateInterpolator);
/frameworks/av/media/libstagefright/wifi-display/source/
H A DWifiDisplaySource.cpp1581 time_t now = time(NULL);
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyService.cpp26 #include <sys/time.h>
434 // commands are sorted by increasing time stamp: execute them from index 0 and up
849 // check same pending commands with later time stamps and eliminate them
852 // commands are sorted by increasing time stamp: no need to scan the rest of mAudioCommands
974 // removed commands always have time stamps greater than current command
992 // insert command at the right place according to its time stamp
/frameworks/base/libs/androidfw/
H A DBackupHelpers.cpp29 #include <sys/time.h> // for utimes
550 // read/write up to this much at a time.
572 // [ 108 : 8 ] uid -- ignored in Android format; uids are remapped at restore time
580 // [ 136 : 12 ] last mod time as a UTC time_t
1426 SCRATCH_DIR "data/c", // different mod time
1427 SCRATCH_DIR "data/d", // different size (same mod time)
1428 SCRATCH_DIR "data/e", // different contents (same mod time, same size)
1435 "data/c", // different mod time
1436 "data/d", // different size (same mod time)
1437 "data/e", // different contents (same mod time, sam
[all...]
H A DResourceTypes.cpp3933 // references have build-time generated package IDs. These ids may not match
6329 ALOGV("DynamicRefTable(0x%02x): No mapping for build-time package ID 0x%02x.",
6592 // easier by scanning the string one byte at a time.
/frameworks/native/services/inputflinger/
H A DInputReader.cpp76 // Maximum amount of time to wait on touch data before pushing out new pressure data.
591 void InputReader::disableVirtualKeysUntilLocked(nsecs_t time) { argument
592 mDisableVirtualKeysTimeout = time;
855 void InputReader::ContextImpl::disableVirtualKeysUntil(nsecs_t time) { argument
857 mReader->disableVirtualKeysUntilLocked(time);
982 if (!changes) { // first time only
2117 if (!changes) { // first time only
2416 if (!changes) { // first time only
2895 if (!changes) { // first time only
2934 // Send reset, unless this is the first time th
[all...]
H A DInputDispatcher.cpp57 #include <time.h>
70 // Amount of time to allow for all pending events to be processed when an app switch
75 // Amount of time to allow for an event to be dispatched (measured since its eventTime)
79 // Amount of time to allow touch events to be streamed out to a connection before requiring
753 // Handle case where the policy asked us to try again later last time.
1686 // to touch whatever was visible at the time. Even if focus changes or a new
1688 // whatever window happened to be on screen at the time.
3441 // Capture a record of the InputDispatcher state at the time of the ANR.
3442 time_t t = time(NULL);
3803 dump.append("\nInput Dispatcher State at time o
[all...]
/frameworks/rs/driver/
H A DrsdRuntimeStubs.cpp31 #include <time.h>
113 int tm_isdst; ///< daylight savings time
/frameworks/base/services/core/java/com/android/server/
H A DMountService.java1105 final long time = Long.parseLong(cooked[3]);
1109 + " " + bytes + " " + time);
1292 // TODO: estimate remaining time
/frameworks/av/media/libstagefright/
H A DMPEG4Writer.cpp312 // Determine the track time scale
314 // the time scale; however, if user chooses the overwrite
315 // value, the user-supplied time scale will be used.
326 // Duration is time scale based
695 ALOGV("movie time scale: %d", mTimeScale);
998 time_t now = time(NULL);
999 // MP4 file uses time counting seconds since midnight, Jan. 1, 1904
1000 // while time function returns Unix epoch values which starts
1010 writeInt32(now); // creation time
1011 writeInt32(now); // modification time
[all...]
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp26 #include <sys/time.h>
104 // In order to avoid invalidating offloaded tracks each time a Visualizer is turned on and off
105 // we define a minimum time during which a global effect is considered enabled.
227 ALOGI("Using %u mSec as standby time.", int_val);
230 ALOGI("Using default %u mSec as standby time.",
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp586 time_t now = time(nullptr);
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java312 // Amount of time after a call to stopAppSwitches() during which we will
329 // The minimum amount of time between successive GC requests for a process.
332 // The minimum amount of time between successive PSS requests for a process.
335 // The minimum amount of time between successive PSS requests for a process
360 // Amount of time we wait for observers to handle a user switch before
364 // This is the amount of time an app needs to be running a foreground service before
368 // Maximum number of users we allow to be running at a time.
447 * If non-null, we are tracking the time the user spends in the currently focused app.
551 * The last time that various processes have crashed.
559 BadProcessInfo(long time, Strin argument
566 final long time; field in class:ActivityManagerService.BadProcessInfo
[all...]

Completed in 1009 milliseconds

<<111213