/frameworks/base/services/core/java/com/android/server/am/ |
H A D | UidRecord.java | 32 boolean idle; field in class:UidRecord 71 if (idle) { 72 sb.append(" idle");
|
H A D | ActivityRecord.java | 186 boolean idle; // has the activity gone idle? field in class:ActivityRecord 347 pw.print(" idle="); pw.print(idle); 631 idle = false; 1247 if (!idle) { 1249 // we now can, and let them stop when the normal idle happens. 1252 // If this activity was already idle, then we now need to make sure we perform
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | StatusTracker.cpp | 94 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 D | Camera3Device.cpp | 1194 // CameraDevice semantics require device to already be idle before 1197 ALOGV("%s: Camera %d: Device not idle", __FUNCTION__, mId); 1342 ALOGV("%s: Already idle", __FUNCTION__); 1355 ALOGV("%s: Camera %d: Waiting until idle", __FUNCTION__, mId); 1376 ALOGV("%s: Camera %d: Internal wait until idle", __FUNCTION__, mId); 1379 SET_ERR_L("Can't idle device in %f seconds!", 1696 void Camera3Device::notifyStatus(bool idle) { argument 1701 // We can get various system-idle notices from the status tracker 1708 idle ? "idle" [all...] |
/frameworks/base/core/java/android/app/usage/ |
H A D | UsageStatsManagerInternal.java | 84 * are in the app idle state -- there are no associated apps that are not idle. This means 85 * all of the returned uids can be safely considered app idle. 90 * @return True if currently app idle parole mode is on. This means all idle apps are allow to 110 public abstract void onAppIdleStateChanged(String packageName, int userId, boolean idle); argument
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
H A D | AppIdleController.java | 31 * 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. 57 Slog.d(LOG_TAG, "Setting idle state of " + packageName + " to " + appIdle); 71 PackageUpdateFunc(int userId, String pkg, boolean idle) { argument 74 mIdle = idle; 82 Slog.d(LOG_TAG, "App Idle state changed, setting idle state of " 119 Slog.d(LOG_TAG, "Start tracking, setting idle state of " 155 // Flag if any app's idle state has changed 176 public void onAppIdleStateChanged(String packageName, int userId, boolean idle) { argument [all...] |
/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | AppIdleHistory.java | 168 * To be called periodically to keep track of elapsed time when app idle times are written 257 return false; // Default to not idle 267 public void setIdleLocked(String packageName, int userId, boolean idle, long elapsedRealtime) { argument 274 - (idle ? mScreenOnTimeThreshold : 0) - 1000 /* just a second more */; 309 Slog.e(TAG, "Unable to read app idle file for user " + userId); 330 Slog.e(TAG, "Unable to read app idle file for user " + userId); 369 Slog.e(TAG, "Error writing app idle file for user " + userId); 374 idpw.println("Package idle stats:"); 390 idpw.print(" idle=" + (isIdleLocked(packageName, userId, elapsedRealtime) ? "y" : "n")); 414 idpw.print(" idle [all...] |
H A D | UsageStatsService.java | 427 * We send a different message to check idle states once, otherwise we would end up 441 * Check all running users' or specified user's apps to see if they enter an idle state. 467 Slog.d(TAG, "Checking idle state for user " + userId); 495 /** Check if it's been a while since last parole and let idle apps do some work */ 511 private void notifyBatteryStats(String packageName, int userId, boolean idle) { argument 515 if (idle) { 533 if (DEBUG) Slog.i(TAG, "Bringing idle apps out of inactive state due to deviceIdleMode=false"); 536 if (DEBUG) Slog.i(TAG, "Device idle, back to prison"); 631 /* idle = */ 0, event.mPackage)); 661 * Forces the app's beginIdleTime and lastUsedTime to reflect idle o 665 forceIdleState(String packageName, int userId, boolean idle) argument 920 setAppIdle(String packageName, boolean idle, int userId) argument 1299 setAppInactive(String packageName, boolean idle, int userId) argument [all...] |
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkPolicyManagerService.java | 314 * in power save mode, except device idle (doze) still applies. 2153 // Device idle change means we need to rebuild rules for all 2278 fout.print("Device idle: "); fout.println(mDeviceIdleMode); 2304 fout.println("Power save whitelist (except idle) app ids:"); 2628 // Fully update the app idle firewall chain. 2783 * <li>App idle mode 2965 * <li>App is idle: {@code fw_standby} firewall chain. 2966 * <li>Device is idle: {@code fw_dozable} firewall chain. 3046 public void onAppIdleStateChanged(String packageName, int userId, boolean idle) { argument 3050 if (LOGV) Log.v(TAG, "onAppIdleStateChanged(): uid=" + uid + ", idle [all...] |