Searched refs:when (Results 51 - 71 of 71) sorted by relevance

123

/frameworks/base/location/java/com/android/internal/location/
H A DGpsNetInitiatedHandler.java122 * The notification that is shown when a network-initiated notification
154 // when the user opens the notification message
170 // a default response should be sent when time out.
175 // However, the UI should at least close the dialog when timeout. Further,
199 mNiNotification.when = 0;
/frameworks/base/services/input/
H A DEventHub.h58 nsecs_t when; member in struct:android::RawEvent
138 * when devices are added or removed.
151 // Synthetic raw event type codes produced when devices are added or removed.
153 // Sent when a device is added.
155 // Sent when a device is removed.
157 // Sent when all added/removed devices from the most recent scan have been reported.
H A DInputDispatcher.h126 * It is used to transmute ACTION_MOVE into ACTION_CANCEL when a touch slips
131 * It is used to transmute ACTION_MOVE into ACTION_DOWN when a touch slips
198 virtual void notifyConfigurationChanged(nsecs_t when) = 0;
237 virtual void interceptMotionBeforeQueueing(nsecs_t when, uint32_t& policyFlags) = 0;
250 virtual void notifySwitch(nsecs_t when,
541 nsecs_t deliveryTime; // time when the event was actually delivered
543 // Set to the resolved action and flags when the event is enqueued.
572 // the dispatcher lock at will. Initially when the command starts running, the
690 * synthesized when events are dropped. */
854 // Cleans up input state when droppin
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DBaseStatusBar.java176 // so dismiss the lock screen when the activity starts.
601 // additional optimization when we have software system buttons - start loading the recent
818 // so dismiss the lock screen when the activity starts.
856 * The LEDs are turned o)ff when the notification panel is shown, even just a little bit.
1003 // XXX: modify when we do something more intelligent with the two content views
1010 Slog.d(TAG, "old notification: when=" + oldNotification.notification.when
1016 Slog.d(TAG, "new notification: when=" + notification.notification.when
1022 // Can we just reapply the RemoteViews in place? If when did
[all...]
/frameworks/base/tools/aapt/
H A DCommand.cpp157 time_t when; local
159 when = entry->getModWhen();
161 localtime(&when));
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
H A DomxVCM4P2_PredictReconCoefIntra_s.s36 ; * equal to predQP especially when the current block and
/frameworks/base/core/jni/
H A Dandroid_util_Process.cpp864 nsecs_t when = seconds_to_nanoseconds(ts.tv_sec) + ts.tv_nsec; local
865 return (jlong) nanoseconds_to_milliseconds(when);
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardViewMediator.java59 * it of when the keyguard is showing, and events from the keyguard view itself
62 * Note that the keyguard view is shown when the screen is off (as appropriate)
141 * Allow the user to expand the status bar when the keyguard is engaged
229 * we send this intent when the keyguard is dismissed.
234 * {@link #setKeyguardEnabled} waits on this condition when it reenables
319 // Disable face unlock when the user switches.
336 // note: this is a way to gracefully reenable the keyguard when the call
555 // send it here when the device first boots.
573 // This also "locks" the device when not secure to provide easy access to the
635 long when
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/
H A DKeyguardViewMediator.java57 * it of when the keyguard is showing, and events from the keyguard view itself
60 * Note that the keyguard view is shown when the screen is off (as appropriate)
139 * Allow the user to expand the status bar when the keyguard is engaged
235 * we send this intent when the keyguard is dismissed.
240 * {@link #setKeyguardEnabled} waits on this condition when it reenables
278 // note: this is a way to gracefully reenable the keyguard when the call
438 // This also "locks" the device when not secure to provide easy access to the
490 long when = SystemClock.elapsedRealtime() + timeout;
495 mAlarmManager.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, when, sender);
524 * the phone app disables the keyguard when i
[all...]
/frameworks/base/services/java/com/android/server/usb/
H A DUsbDeviceManager.java95 // We often get rapid connect/disconnect events when enabling USB functions,
429 // State transition is done when sys.usb.state is set to the new configuration
605 // restore defaults when USB is disconnected
690 notification.when = 0;
725 notification.when = 0;
/frameworks/base/services/java/com/android/server/
H A DUiModeManagerService.java56 // Enable launching of applications when entering the dock.
101 // The broadcast receiver which receives the result of the ordered broadcast sent when
391 // to override the behavior and stay in their app even when the device is
430 // keep screen on when charging and in car mode
447 // Only launch car home when car mode is enabled and the caller
454 // Only launch car home when desk mode is enabled and the caller
550 n.when = 0;
H A DThrottleService.java505 // when trusted cache outdated, try refreshing
681 mThrottlingNotification.when = 0;
761 // when trusted cache outdated, try refreshing
H A DWifiService.java880 * persisted country code on a restart, when the locale information is
1165 /* Disable tethering when airplane mode is enabled */
1572 // Note that we could call stopFilteringMulticastV4Packets only when
1742 // Since we use auto cancel on the notification, when the
1744 // have actually been canceled. However, when it is false we know
1767 mNotification.when = 0;
H A DBackupManagerService.java234 // Activity Manager; use this lock object to signal when a requested binding has
438 static final int CURRENT_ANCESTRAL_RECORD_VERSION = 1; // increment when the schema changes
1483 // !!! TODO: cache this and regenerate only when necessary
2391 // when backing up, if there is a current backup password, we require that
2927 // Packages we've already wiped data on when restoring their first file
3143 // This case frequently occurs when the wrong password is used to decrypt
3248 // Something has gone dreadfully wrong when determining
4300 // good citizen and timing out etc when appropriate.
4302 // TODO: when appropriate, move the download off the looper and rearrange the
4497 Slog.e(TAG, "Error when attemptin
[all...]
H A DInputMethodManagerService.java613 mImeSwitcherNotification.when = 0;
699 // Do not reset the default (current) IME when it is a 3rd-party IME
738 // InputMethodAndSubtypeListManager should be reset when the locale is changed.
770 // InputMethodFileManager should be reset when the user is changed
893 // Check whether or not this is a valid IPC. Assumes an IPC is valid when either
1165 // Return to client, and we will get back with it when
2926 // newDefaultIme is empty when there is no candidate for the selected IME.
3379 // We show all enabled IMEs and subtypes when an IME is shown.
3850 // TODO: Cache the state for each user and reset when the cached user is removed.
/frameworks/base/core/java/android/text/format/
H A DDateUtils.java493 * when showing relative times. For example, a time 3 seconds in
500 * when using {@link #WEEK_IN_MILLIS}.
759 * @return true if the supplied when is today else false
761 public static boolean isToday(long when) { argument
763 time.set(when);
1227 // Don't waste time on setting endTimeFormat when
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DVideoEditorStressTest.java148 private void getAfterMemory_updateLog(String[] loggingInfo, boolean when, argument
154 if(when == false){
/frameworks/base/services/input/tests/
H A DInputReader_test.cpp439 void enqueueEvent(nsecs_t when, int32_t deviceId, int32_t type, argument
442 event.when = when;
763 virtual void requestTimeoutAtTime(nsecs_t when) { argument
856 virtual void configure(nsecs_t when, argument
861 virtual void reset(nsecs_t when) { argument
1037 << "Should return unknown when the device id is >= 0 but unknown.";
1041 << "Should return unknown when the device id is valid but the sources are not supported by the device.";
1045 << "Should return value provided by mapper when device id is valid and the device supports some of the sources.";
1049 << "Should return unknown when th
1414 process(InputMapper* mapper, nsecs_t when, int32_t deviceId, int32_t type, int32_t code, int32_t value) argument
[all...]
/frameworks/base/services/java/com/android/server/connectivity/
H A DTethering.java134 // when RNDIS is enabled
475 mTetheredNotification.when = 0;
543 // configured when we start tethering and unconfig'd on error or conclusion
1137 // should inc this when it is entered and whenever it sends a new timeout event.
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java224 // before we decide it's never going to come up for real, when the process was
362 * Processes are added to this set when they have crashed twice within
363 * a minimum amount of time; they are removed from it when they are
644 * List of initialization arguments to pass to all processes when binding applications to them.
820 * Used to collect process stats when showing not responding dialog.
991 Slog.e(TAG, "App not found when showing strict mode dialog.");
1181 notification.when = 0;
1804 * process when the bindApplication() IPC is sent to the process. They're
1805 * lazily setup to make sure the services are running when they're asked for.
1830 // put it on the LRU to keep track of when i
[all...]
/frameworks/base/core/java/android/view/
H A DView.java140 * that will be notified when something interesting happens to the view. For
141 * example, all views will let you set a listener to be notified when the view
145 * exposes a listener to notify clients when the button is clicked.</li>
174 * <td>There is a form of the constructor that are called when the view
175 * is created from code and a form that is called when the view is
195 * <td>Called when this view should assign a size and position to all
201 * <td>Called when the size of this view has changed.
208 * <td>Called when the view should render its content.
215 * <td>Called when a new hardware key event occurs.
220 * <td>Called when
14156 scheduleDrawable(Drawable who, Runnable what, long when) argument
[all...]

Completed in 283 milliseconds

123