Searched defs:idle (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/content/
H A DAppIdleMonitor.java26 * Helper to listen for app idle and charging status changes and restart backed off
58 public void onAppIdleStateChanged(String packageName, int userId, boolean idle) { argument
59 // Don't care if the app is becoming idle
60 if (idle) return;
/frameworks/base/core/java/android/app/usage/
H A DUsageStatsManagerInternal.java82 * are in the app idle state -- there are no associated apps that are not idle. This means
83 * all of the returned uids can be safely considered app idle.
88 * @return True if currently app idle parole mode is on. This means all idle apps are allow to
108 public abstract void onAppIdleStateChanged(String packageName, int userId, boolean idle); argument
/frameworks/base/services/usage/java/com/android/server/usage/
H A DAppIdleHistory.java39 public void addEntry(String packageName, int userId, boolean idle, long timeNow) { argument
63 if (!idle) {
H A DUsageStatsService.java357 /** Check all running users' or specified user's apps to see if they enter an idle state. */
403 /** Check if it's been a while since last parole and let idle apps do some work */
419 private void notifyBatteryStats(String packageName, int userId, boolean idle) { argument
422 if (idle) {
496 if (DEBUG) Slog.i(TAG, "Bringing idle apps out of inactive state due to deviceIdleMode=false");
499 if (DEBUG) Slog.i(TAG, "Device idle, back to prison");
598 // Slog.d(TAG, "Informing listeners of out-of-idle " + event.mPackage);
600 /* idle = */ 0, event.mPackage));
632 * Forces the app's beginIdleTime and lastUsedTime to reflect idle or active. If idle,
636 forceIdleState(String packageName, int userId, boolean idle) argument
919 setAppIdle(String packageName, boolean idle, int userId) argument
1256 setAppInactive(String packageName, boolean idle, int userId) argument
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DStatusTracker.cpp94 state == IDLE ? "idle" : "active");
117 ALOGV("%s: Component %d not idle", __FUNCTION__,
126 // to be able to idle in case of errors.
156 // After new pending states appear, or timeout, check if we're idle. Even
165 // collectively transitions between idle and active for each one
204 bool idle = (mStateTransitions[i] == IDLE); local
205 ALOGV("Camera device is now %s", idle ? "idle" : "active");
206 parent->notifyStatus(idle);
H A DCamera3Device.cpp1040 // CameraDevice semantics require device to already be idle before
1043 ALOGV("%s: Camera %d: Device not idle", __FUNCTION__, mId);
1171 ALOGV("%s: Already idle", __FUNCTION__);
1184 ALOGV("%s: Camera %d: Waiting until idle", __FUNCTION__, mId);
1205 ALOGV("%s: Camera %d: Internal wait until idle", __FUNCTION__, mId);
1208 SET_ERR_L("Can't idle device in %f seconds!",
1505 void Camera3Device::notifyStatus(bool idle) { argument
1510 // We can get various system-idle notices from the status tracker
1517 idle ? "idle"
[all...]
/frameworks/base/services/core/java/com/android/server/job/controllers/
H A DAppIdleController.java31 * Controls when apps are considered idle and if jobs pertaining to those apps should
33 * for a certain amount of time (maybe hours or days) are considered idle. When the app comes
34 * out of idle state, it will be allowed to run scheduled jobs.
72 Slog.d(LOG_TAG, "Start tracking, setting idle state of "
93 pw.print(":idle=" + !task.appNotIdleConstraintSatisfied.get());
101 // Flag if any app's idle state has changed
113 Slog.d(LOG_TAG, "Setting idle state of " + packageName + " to " + appIdle);
129 public void onAppIdleStateChanged(String packageName, int userId, boolean idle) { argument
138 if (task.appNotIdleConstraintSatisfied.get() != !idle) {
140 Slog.d(LOG_TAG, "App Idle state changed, setting idle stat
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityRecord.java167 boolean idle; // has the activity gone idle? field in class:ActivityRecord
293 pw.print(" idle="); pw.println(idle);
470 idle = false;
1034 if (!idle) {
1036 // we now can, and let them stop when the normal idle happens.
1039 // If this activity was already idle, then we now need to make sure we perform
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkPolicyManagerService.java293 * in power save mode, except device idle (doze) still applies.
1803 // Device idle change means we need to rebuild rules for all
1924 fout.print("Device idle: "); fout.println(mDeviceIdleMode);
1950 fout.println("Power save whitelist (except idle) app ids:");
2138 // Fully update the app idle firewall chain.
2328 public void onAppIdleStateChanged(String packageName, int userId, boolean idle) { argument

Completed in 738 milliseconds