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

1234

/frameworks/base/tools/aapt/
H A DZipEntry.cpp101 * can defer worrying about that to when we're extracting data.
357 void ZipEntry::setModWhen(time_t when) argument
368 even = (time_t)(((unsigned long)(when) + 1) & (~1));
H A DCommand.cpp158 time_t when; local
160 when = entry->getModWhen();
162 localtime(&when));
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DomxVCM4P2_PredictReconCoefIntra_s.s36 ; * equal to predQP especially when the current block and
/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/packages/SystemUI/src/com/android/systemui/statusbar/
H A DBaseStatusBar.java187 // so dismiss the lock screen when the activity starts.
506 // additional optimization when we have software system buttons - start loading the recent
732 // so dismiss the lock screen when the activity starts.
765 * The LEDs are turned o)ff when the notification panel is shown, even just a little bit.
902 // XXX: modify when we do something more intelligent with the two content views
909 Log.d(TAG, "old notification: when=" + oldNotification.getNotification().when
915 Log.d(TAG, "new notification: when=" + notification.getNotification().when
921 // Can we just reapply the RemoteViews in place? If when did
[all...]
/frameworks/native/services/surfaceflinger/
H A DDispSync.cpp42 // This is the threshold used to determine when hardware vsync events are
290 virtual void onDispSyncEvent(nsecs_t when) { argument
H A DSurfaceFlinger.cpp100 // event is when SurfaceFlinger and Choreographer-based applications run each
481 virtual void onDispSyncEvent(nsecs_t when) { argument
494 callback->onVSyncEvent(when);
599 // make the GLContext current so that we can create textures when creating Layers
790 ALOGE("resyncToHardwareVsync called when HW vsync unavailable");
1236 // improve performance by skipping the transaction entirely when
1421 // could be null when this layer is using a layerStack
1529 * transparent. This is only used to tell when the layer has no visible
1720 // when using overlays, we assume a fully transparent framebuffer
2139 // called by the window manager when i
[all...]
/frameworks/base/services/input/
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
200 virtual void notifyConfigurationChanged(nsecs_t when) = 0;
240 virtual void interceptMotionBeforeQueueing(nsecs_t when, uint32_t& policyFlags) = 0;
253 virtual void notifySwitch(nsecs_t when,
544 nsecs_t deliveryTime; // time when the event was actually delivered
546 // Set to the resolved action and flags when the event is enqueued.
575 // the dispatcher lock at will. Initially when the command starts running, the
694 * synthesized when events are dropped. */
859 // Cleans up input state when droppin
[all...]
H A DEventHub.h73 nsecs_t when; member in struct:android::RawEvent
153 * when devices are added or removed.
166 // Synthetic raw event type codes produced when devices are added or removed.
168 // Sent when a device is added.
170 // Sent when a device is removed.
172 // Sent when all added/removed devices from the most recent scan have been reported.
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDirectoryFragment.java239 // Hide titles when showing recents for picking images/videos
757 // when setting back later.
824 // Always throw MIME icon into place, even when a thumbnail is being
1056 private static String formatTime(Context context, long when) { argument
1059 then.set(when);
1074 return DateUtils.formatDateTime(context, when, flags);
1122 // Read-only files are disabled when creating
/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.cpp897 nsecs_t when = seconds_to_nanoseconds(ts.tv_sec) + ts.tv_nsec; local
898 return (jlong) nanoseconds_to_milliseconds(when);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardViewMediator.java65 * it of when the keyguard is showing, and events from the keyguard view itself
68 * Note that the keyguard view is shown when the screen is off (as appropriate)
149 * Allow the user to expand the status bar when the keyguard is engaged
231 * we send this intent when the keyguard is dismissed.
238 * {@link #setKeyguardEnabled} waits on this condition when it reenables
314 * Report when keyguard is actually gone
359 // note: this is a way to gracefully reenable the keyguard when the call
574 // send it here when the device first boots.
592 // This also "locks" the device when not secure to provide easy access to the
659 long when
[all...]
/frameworks/base/services/java/com/android/server/usb/
H A DUsbDeviceManager.java97 // We often get rapid connect/disconnect events when enabling USB functions,
439 // State transition is done when sys.usb.state is set to the new configuration
624 // restore defaults when USB is disconnected
709 notification.when = 0;
744 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 DBackupManagerService.java169 // Retry interval for clear/init when the transport is unavailable
249 // Activity Manager; use this lock object to signal when a requested binding has
474 static final int CURRENT_ANCESTRAL_RECORD_VERSION = 1; // increment when the schema changes
1399 // transport threw when asked its name; fall through to the lookup-failed case
1488 // the transport threw when asked its file naming prefs; declare it invalid
1650 // !!! TODO: cache this and regenerate only when necessary
2692 // when backing up, if there is a current backup password, we require that
3227 // Packages we've already wiped data on when restoring their first file
3437 // This case frequently occurs when the wrong password is used to decrypt
3572 // Something has gone dreadfully wrong when determinin
[all...]
H A DConnectivityService.java325 * used internally to clear a wakelock when transitioning
375 // list of DeathRecipients used to make sure features are turned off when
446 // TODO: create here when we have cleaner WiMAX support
887 * a connection to the preferred network is taken care of when we handle
1189 * Used to notice when the calling process dies so we can self-expire
1191 * Also used to know if the process has cleaned up after itself when
1339 // this gets used for per-pid dns when connected
1385 // this gets used for per-pid dns when connected
1836 // skip update when we've already applied rules
1843 // TODO: notify UID when i
[all...]
H A DInputMethodManagerService.java312 // Was the keyguard locked when this client became current?
627 mImeSwitcherNotification.when = 0;
717 // Do not reset the default (current) IME when it is a 3rd-party IME
760 // InputMethodAndSubtypeListManager should be reset when the locale is changed.
793 // InputMethodFileManager should be reset when the user is changed
882 // We assume the softkeyboard is shown when the input is active as long as the
895 // Check whether or not this is a valid IPC. Assumes an IPC is valid when either
1138 // Was the keyguard locked when switching over to the new client?
1170 // Return to client, and we will get back with it when
2407 // because the remote proxy will get its own copy when unparcele
[all...]
/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;
767 virtual void requestTimeoutAtTime(nsecs_t when) { argument
860 virtual void configure(nsecs_t when, argument
865 virtual void reset(nsecs_t when) { argument
1043 << "Should return unknown when the device id is >= 0 but unknown.";
1047 << "Should return unknown when the device id is valid but the sources are not supported by the device.";
1051 << "Should return value provided by mapper when device id is valid and the device supports some of the sources.";
1055 << "Should return unknown when th
1423 process(InputMapper* mapper, nsecs_t when, int32_t deviceId, int32_t type, int32_t code, int32_t value) argument
[all...]
/frameworks/base/docs/html/training/
H A Dtraining_toc.cs296 when playing audio, and respond appropriately to changes in audio focus."
535 "How to minimize your app's impact on the battery when performing downloads
794 Preserving Navigation when Starting an Activity
1311 "How to ensure that your app is secure when performing network transactions."
/frameworks/base/services/java/com/android/server/content/
H A DSyncStorageEngine.java326 * Called when a sync is needed on an account(s) due to some change in state.
1045 * Called when the set of account has changed, given the new array of
1099 * Called when a sync is starting. Supply a valid ActiveSyncContext with information
1618 int authorityId, PeriodicSync targetPeriodicSync, long when) {
1626 mSyncStatus.get(authorityId).setPeriodicSyncTime(i, when);
1617 setPeriodicSyncTime( int authorityId, PeriodicSync targetPeriodicSync, long when) argument
/frameworks/base/services/java/com/android/server/connectivity/
H A DTethering.java132 // when RNDIS is enabled
476 mTetheredNotification.when = 0;
546 // configured when we start tethering and unconfig'd on error or conclusion
1127 // 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 DActiveServices.java91 // That is, when multiple services are restarting, we won't allow each
229 long when = next.startingBgTimeout > now ? next.startingBgTimeout : now;
231 + ", can delay others up to " + when);
233 sendMessageAtTime(msg, when);
289 + ") when starting service " + service);
326 // that are starting. This is to avoid process start spam when lots
352 // We slightly loosen when we will enqueue this new service as a background
451 + ") when stopping service " + service);
653 + ") when binding service " + service);
783 // and the service had previously asked to be told when
[all...]
H A DActivityManagerService.java269 // before we decide it's never going to come up for real, when the process was
284 // when the request is due to the memory state being lowered.
479 * Processes are added to this set when they have crashed twice within
480 * a minimum amount of time; they are removed from it when they are
787 * List of initialization arguments to pass to all processes when binding applications to them.
893 * This is set to false when we are killing processes for reasons other than
900 * The last computed memory level, for holding when we are in a state that
922 * If RAM is currently low, when that horrible situatin started.
973 * Used to collect process stats when showing not responding dialog.
984 * Used to retain an update lock when th
[all...]

Completed in 786 milliseconds

1234