Searched defs:time (Results 126 - 150 of 153) sorted by relevance

1234567

/frameworks/native/libs/input/
H A DKeyCharacterMap.cpp487 int32_t deviceId, int32_t keyCode, int32_t metaState, bool down, nsecs_t time) {
492 0, keyCode, 0, metaState, 0, time, time);
496 int32_t deviceId, int32_t metaState, bool down, nsecs_t time,
500 addLockedMetaKey(outEvents, deviceId, metaState, time,
502 addLockedMetaKey(outEvents, deviceId, metaState, time,
504 addLockedMetaKey(outEvents, deviceId, metaState, time,
507 addDoubleEphemeralMetaKey(outEvents, deviceId, metaState, true, time,
511 addDoubleEphemeralMetaKey(outEvents, deviceId, metaState, true, time,
515 addDoubleEphemeralMetaKey(outEvents, deviceId, metaState, true, time,
486 addKey(Vector<KeyEvent>& outEvents, int32_t deviceId, int32_t keyCode, int32_t metaState, bool down, nsecs_t time) argument
495 addMetaKeys(Vector<KeyEvent>& outEvents, int32_t deviceId, int32_t metaState, bool down, nsecs_t time, int32_t* currentMetaState) argument
560 addSingleEphemeralMetaKey(Vector<KeyEvent>& outEvents, int32_t deviceId, int32_t metaState, bool down, nsecs_t time, int32_t keyCode, int32_t keyMetaState, int32_t* currentMetaState) argument
572 addDoubleEphemeralMetaKey(Vector<KeyEvent>& outEvents, int32_t deviceId, int32_t metaState, bool down, nsecs_t time, int32_t leftKeyCode, int32_t leftKeyMetaState, int32_t rightKeyCode, int32_t rightKeyMetaState, int32_t eitherKeyMetaState, int32_t* currentMetaState) argument
590 addLockedMetaKey(Vector<KeyEvent>& outEvents, int32_t deviceId, int32_t metaState, nsecs_t time, int32_t keyCode, int32_t keyMetaState, int32_t* currentMetaState) argument
[all...]
/frameworks/native/opengl/libagl/
H A Darray.cpp403 nsecs_t time = systemTime(SYSTEM_TIME_THREAD) - startTime; local
417 " prims=%5u, time=%6u us, prims/s=%d, v/t=%f\n",
419 prim_count, int(ns2us(time)), int(prim_count*float(seconds(1))/time),
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DTimePickerDialog.java17 package com.android.datetimepicker.time;
41 import com.android.datetimepicker.time.RadialPickerLayout.OnValueSelectedListener;
48 * Dialog to set a time.
115 * the time (they clicked on the 'Set' button).
539 // Something's wrong, because time picker should definitely not be null.
616 * Check if the time that has been typed so far is completely legal, as is.
620 // For 24-hour mode, the time is legal if the hours and minutes are each legal. Note:
625 // For AM/PM mode, the time is legal if it contains an AM or PM, as those can only be
641 * Get out of keyboard mode. If there is nothing in typedTimes, revert to TimePicker's time.
642 * @param changeDisplays If true, update the displays with the relevant time
[all...]
/frameworks/base/core/java/android/app/
H A DAppOpsManager.java1166 public OpEntry(int op, int mode, long time, long rejectTime, int duration, argument
1170 mTime = time;
1493 * as an early reject of some work. This does not modify the time stamp or other data
1519 * succeeds, the last execution time of the operation for this app will be updated to
1520 * the current time.
1547 * succeeds, the last execution time of the operation for the proxied app and
1548 * your app will be updated to the current time.
1572 * succeeds, the last execution time of the operation for this app will be updated to
1573 * the current time and the operation will be marked as "running". In this case you must
1612 * as an early reject of some work. This does not modify the time stam
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboardView.java465 * Attaches a keyboard to this view. The keyboard can be switched at any time and the
485 mMiniKeyboardCache.clear(); // Not really necessary to do every time, but will free up views
1485 long time = ev.getEventTime();
1491 addPoint(ev.getX(), ev.getY(), time);
1494 private void addPoint(float x, float y, long time) { argument
1501 } else if (pastTime[i] < time-LONGEST_PAST_TIME) {
1521 pastTime[i] = time;
/frameworks/base/core/java/android/service/notification/
H A DZenModeConfig.java708 public static Condition toTimeCondition(Context context, long time, int minutes, argument
712 final CharSequence formattedTime = getFormattedTime(context, time, userHandle);
735 // display as day/time
738 final Uri id = toCountdownConditionId(time);
753 private static CharSequence getFormattedTime(Context context, long time, int userHandle) { argument
757 endTime.setTimeInMillis(time);
764 return DateFormat.format(pattern, time);
775 public static Uri toCountdownConditionId(long time) { argument
779 .appendPath(Long.toString(time))
1005 final long time
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DAppOpsService.java156 public long time; field in class:AppOpsService.Op
380 resOps.add(new AppOpsManager.OpEntry(curOp.op, curOp.mode, curOp.time,
391 resOps.add(new AppOpsManager.OpEntry(curOp.op, curOp.mode, curOp.time,
458 if (op.time == 0 && op.rejectTime == 0) {
766 if (curOp.time == 0 && curOp.rejectTime == 0) {
1032 + " code " + code + " time=" + op.time + " duration=" + op.duration);
1060 op.time = System.currentTimeMillis();
1111 op.time = System.currentTimeMillis();
1161 op.duration = (int)(System.currentTimeMillis() - op.time);
[all...]
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkStatsService.java281 AlarmManager alarmManager, PowerManager.WakeLock wakeLock, TrustedTime time,
287 mTime = checkNotNull(time, "missing TrustedTime");
1049 // try refreshing time source when stale
280 NetworkStatsService(Context context, INetworkManagementService networkManager, AlarmManager alarmManager, PowerManager.WakeLock wakeLock, TrustedTime time, TelephonyManager teleManager, NetworkStatsSettings settings, NetworkStatsObservers statsObservers, File systemDir, File baseDir) argument
H A DNetworkPolicyManagerService.java391 INetworkManagementService networkManagement, TrustedTime time, File systemDir,
400 mTime = checkNotNull(time, "missing TrustedTime");
1388 final Time time = new Time();
1389 time.setToNow();
1391 final int cycleDay = time.monthDay;
1392 final String cycleTimezone = time.timezone;
1871 // SKIP checking run-time OP_READ_PHONE_STATE since caller or self has PRIVILEGED
2934 // where app is whitelisted and blacklisted at the same time (although such
389 NetworkPolicyManagerService(Context context, IActivityManager activityManager, IPowerManager powerManager, INetworkStatsService networkStats, INetworkManagementService networkManagement, TrustedTime time, File systemDir, boolean suppressDefaultPolicy) argument
/frameworks/native/cmds/dumpstate/
H A Dutils.cpp32 #include <sys/time.h>
35 #include <time.h>
270 // print time in centiseconds
272 unsigned long long time) {
283 time = (time * 100 + (hz / 2)) / hz;
288 time / 100, (unsigned)(time % 100));
410 // Only show the modification time of non-device files.
271 snprcent(char *buffer, size_t len, size_t spc, unsigned long long time) argument
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp926 // happens the first time egl_get_display() is called.
959 * this extension for the first time, we go through all our
1763 EGLnsecsANDROID time)
1779 native_window_set_buffers_timestamp(s->win.get(), time);
1762 eglPresentationTimeANDROID(EGLDisplay dpy, EGLSurface surface, EGLnsecsANDROID time) argument
/frameworks/native/services/inputflinger/
H A DEventHub.cpp537 ev.time.tv_sec = 0;
538 ev.time.tv_usec = 0;
656 ev.time.tv_sec = 0;
657 ev.time.tv_usec = 0;
678 ev.time.tv_sec = 0;
679 ev.time.tv_usec = 0;
852 ALOGV("%s got: time=%d.%06d, type=%d, code=%d, value=%d",
854 (int) iev.time.tv_sec, (int) iev.time.tv_usec,
857 // Some input devices may have a better concept of the time
914 nsecs_t time = systemTime(SYSTEM_TIME_MONOTONIC); local
[all...]
H A DInputReader.cpp76 // Maximum amount of time to wait on touch data before pushing out new pressure data.
596 void InputReader::disableVirtualKeysUntilLocked(nsecs_t time) { argument
597 mDisableVirtualKeysTimeout = time;
875 void InputReader::ContextImpl::disableVirtualKeysUntil(nsecs_t time) { argument
877 mReader->disableVirtualKeysUntilLocked(time);
1002 if (!changes) { // first time only
2147 if (!changes) { // first time only
2464 if (!changes) { // first time only
3042 if (!changes) { // first time only
3081 // Send reset, unless this is the first time th
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp26 #include <sys/time.h>
1232 // Right now, the only valid time to set a retransmit endpoint is before
1493 // accessing getTimestamp() or getPosition() every time a data buffer with
1494 // a media time is received.
1545 // (1) In case 1, the time nowUs is computed before getTimestamp() is called and
1546 // numFramesPlayedAt is greater than nowUs by time more than numFramesPlayed.
1548 // numFramesPlayedAt, by a time amount greater than numFramesPlayed.
1634 // slightly prematurely to allow time for the gapless track switch
1788 // based on mPlaybackRate at the time of open (instead of kMaxRequiredSpeed),
2258 int32_t time local
2398 int32_t time = systemTime() / 1000000L; //in ms local
[all...]
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncManager.java128 * run at a later time. Similarly, when a sync succeeds, backoff is cleared and all associated syncs
145 * When retrying a sync for the first time use this delay. After that
146 * the retry time will double until it reached MAX_SYNC_RETRY_TIME.
152 * Default the max sync retry time to this value.
168 * How many bytes must be transferred (Tx + Rx) over the period of time defined by
176 * pushed back for this amount of time.
182 * pushed back for this amount of time.
568 // This WakeLock is used to ensure that we stay awake between the time that we receive
748 Log.d(TAG, "one-time sync for: " + requestedAccount + " " + extras.toString() + " "
963 LOCAL_SYNC_DELAY /* earliest run time */,
1606 formatTime(long time) argument
1776 dumpTimeSec(PrintWriter pw, long time) argument
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutService.java237 * Max number of dynamic shortcuts that each application can have at a time.
275 * A counter that increments every time the system locale changes. We keep track of it to reset
367 // We need to keep track of last time an app comes to foreground.
369 // It doesn't have to be persisted, but it needs to be the elapsed time.
751 // Adjust the last reset time.
901 /** Return the last reset time. */
907 /** Return the next reset time. */
913 static boolean isClockValid(long time) { argument
914 return time >= 1420070400; // Thu, 01 Jan 2015 00:00:00 GMT
918 * Update the last reset time
2313 formatTime(long time) argument
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_location_GnssLocationProvider.cpp829 jlong time, jlong timeReference, jint uncertainty)
832 sGpsInterface->inject_time(time, timeReference, uncertainty);
1152 // the GPS time information is handled as an always discontinuous HW clock,
1153 // with the GPS time information put into the full_bias_ns instead - so that
1154 // time_ns - full_bias_ns = local estimate of GPS time. Additionally, the
1163 // Already local hardware time. No need to do anything.
1166 // GPS time, need to convert.
828 android_location_GnssLocationProvider_inject_time(JNIEnv* , jobject , jlong time, jlong timeReference, jint uncertainty) argument
/frameworks/base/services/core/java/com/android/server/location/
H A DGnssLocationProvider.java271 // time for last status update
285 // how often to request NTP time, in milliseconds
313 // set to true if the GPS engine requested on-demand NTP time requests
337 // for calculating time to first fix
339 // time to first fix for most recent session
341 // time we received our last fix
693 // relative long time, so the ctor() is kept to create objects needed by this instance,
914 // only update when NTP time is fresh
916 long time = mNtpTime.getCachedNtpTime();
923 + time
2440 native_inject_time(long time, long timeReference, int uncertainty) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DServiceStateTracker.java217 * GMT+0 when not in daylight savings time. This ignores some
355 * Sometimes we get the NITZ time before we know what country we
356 * are in. Keep the time zone information from the NITZ string so
357 * we can fix the time zone once know the country.
367 /** Wake lock used while setting time of day. */
374 Rlog.i(LOG_TAG, "Auto time state changed");
382 Rlog.i(LOG_TAG, "Auto time zone state changed");
452 /** if time between NITZ updates is less than mNitzUpdateSpacing the update may be ignored. */
1355 // TODO: When RUIM is enabled, IMSI will come from RUIM not build-time props.
1840 // from the modem, which might take a long time t
3896 saveNitzTime(long time) argument
3928 setAndBroadcastNetworkSetTime(long time) argument
[all...]
/frameworks/av/services/audioflinger/
H A DThreads.cpp119 // RecordThread loop sleep time upon application overrun or audio HAL read error
122 // maximum time to wait in sendConfigEvent_l() for a status to be received
125 // minimum sleep time for the mixer thread loop when tracks are active but in underrun
127 // maximum divider applied to the active sleep time in the mixer thread loop
143 // Direct output thread minimum sleep time in idle or active(underrun) state
152 FastMixer_Static, // initialize if needed, then use all the time if initialized,
168 FastCapture_Static, // initialize if needed, then use all the time if initialized
349 // get current thread's delta CPU time in wall clock ns
1787 // read the fast track multiplier property the first time it is needed
2530 // the first time i
5023 uint32_t time; local
5034 uint32_t time; local
5045 uint32_t time; local
6062 int64_t position, time; local
[all...]
/frameworks/base/core/java/android/view/
H A DKeyEvent.java51 * at the same time and each will have its own key character map.
786 * Steps media forward, one frame at a time. */
789 * Steps media backward, one frame at a time. */
1320 * @param downTime The time (in {@link android.os.SystemClock#uptimeMillis})
1322 * @param eventTime The time (in {@link android.os.SystemClock#uptimeMillis})
1343 * @param downTime The time (in {@link android.os.SystemClock#uptimeMillis})
1345 * @param eventTime The time (in {@link android.os.SystemClock#uptimeMillis})
1368 * @param downTime The time (in {@link android.os.SystemClock#uptimeMillis})
1370 * @param eventTime The time (in {@link android.os.SystemClock#uptimeMillis})
1397 * @param downTime The time (i
1470 KeyEvent(long time, String characters, int deviceId, int flags) argument
[all...]
H A DViewRootImpl.java148 * Maximum time we allow the user to roll the trackball enough to generate
429 mFirst = true; // true for the first time the view is added
1542 // shown for the first time the next time it gets focus.
2265 mLayoutRequested = true; // ask wm for a new surface next time.
2374 // Check the valid requests again, this time without checking/clearing the
2471 // time around, to ensure the window has the correct format.
2572 // because it down not account for the intervening idle time
2582 Log.v(mTag, "0x" + thisHash + "\tFrame time:\t" + frameTime);
2868 mLayoutRequested = true; // ask wm for a new surface next time
4759 collect(float off, long time, String axis) argument
5227 finishKeys(long time) argument
5232 finishTracking(long time) argument
5240 consumeAccumulatedMovement(long time, int metaState) argument
5260 consumeAccumulatedMovement(long time, int metaState, float accumulator, int negativeKeyCode, int positiveKeyCode) argument
5273 sendKeyDownOrRepeat(long time, int keyCode, int metaState) argument
5297 sendKeyUp(long time) argument
5311 startFling(long time, float vx, float vy) argument
5357 postFling(long time) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBar.java252 /** Allow some time inbetween the long press for back and recents. */
1200 // after sending - unless the app posts an update in the mean time, so wait a
2113 // time to show some art!
4026 // visibilities so next time we open the panel we know the correct height already.
4062 * @param startTime the start time of the animations in uptime millis
4402 // Indicate that the group expansion is changing at this time -- this way the group
4655 public void wakeUpIfDozing(long time, MotionEvent event) { argument
4658 pm.wakeUp(time, "com.android.systemui:NODOZE");
4784 // Amount of time to allow to update the time show
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiNative.java1110 public boolean setP2pGroupIdle(String iface, int time) { argument
1112 return doBooleanCommandNative("IFNAME=" + iface + " SET p2p_group_idle " + time);
2708 * Converts a driver timestamp to a wallclock time, based on the current
2719 // The 32-bit microsecond count has wrapped between the time that the driver
/frameworks/base/core/java/android/os/
H A DBatteryStats.java167 * Include only the run since the last time the device was unplugged in the stats.
295 * @return a non-null {@link LongCounter} representing time spent (milliseconds) in the
301 * @return a non-null {@link LongCounter} representing time spent (milliseconds) in the
309 * @return non-null array of {@link LongCounter}s representing time spent (milliseconds) in
336 * Returns the total time in microseconds associated with this Timer for the
341 * @return a time in microseconds
346 * Returns the total time in microseconds associated with this Timer since the
350 * @return a time in microseconds
455 // total time a uid has had any processes running at all.
524 * Get the total cpu time (i
1135 public long time; field in class:BatteryStats.HistoryItem
1337 HistoryItem(long time, Parcel src) argument
1445 setTo(long time, byte cmd, HistoryItem o) argument
2460 formatTimeMs(StringBuilder sb, long time) argument
2467 formatTimeMsNoSpace(StringBuilder sb, long time) argument
3313 TimerEntry(String name, int id, BatteryStats.Timer timer, long time) argument
[all...]

Completed in 674 milliseconds

1234567