/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | AppIdleController.java | 129 public void onAppIdleStateChanged(String packageName, int userId, boolean idle) { in onAppIdleStateChanged() argument 138 if (task.appNotIdleConstraintSatisfied.get() != !idle) { in onAppIdleStateChanged() 141 + packageName + " to " + idle); in onAppIdleStateChanged() 143 task.appNotIdleConstraintSatisfied.set(!idle); in onAppIdleStateChanged()
|
/frameworks/base/docs/html/preview/features/ |
D | power-mgmt.jd | 31 <em>Doze</em> mode improves the sleep efficiency of idle devices. <em>App Standby</em> prevents apps 32 from eating up power while idle.</p> 79 <p>App Standby allows the system to determine that an app is idle when the user is not actively 95 device is idle for long periods of time, the system allows idle apps network access around once a 104 $ adb shell am set-idle <packageName> true 105 $ adb shell am set-idle <packageName> false 106 $ adb shell am get-idle <packageName> 116 brief network access even when the app is idle.
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | AppIdleMonitor.java | 58 public void onAppIdleStateChanged(String packageName, int userId, boolean idle) { in onAppIdleStateChanged() argument 60 if (idle) return; in onAppIdleStateChanged()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsService.java | 417 private void notifyBatteryStats(String packageName, int userId, boolean idle) { in notifyBatteryStats() argument 420 if (idle) { in notifyBatteryStats() 635 void forceIdleState(String packageName, int userId, boolean idle) { in forceIdleState() argument 639 final long deviceUsageTime = screenOnTime - (idle ? mAppIdleDurationMillis : 0) - 5000; in forceIdleState() 649 timeNow - (idle ? mAppIdleWallclockThresholdMillis : 0) - 5000); in forceIdleState() 651 if (previouslyIdle != idle) { in forceIdleState() 654 /* idle = */ idle ? 1 : 0, packageName)); in forceIdleState() 655 if (!idle) { in forceIdleState() 656 notifyBatteryStats(packageName, userId, idle); in forceIdleState() 658 mAppIdleHistory.addEntry(packageName, userId, idle, timeNow); in forceIdleState() [all …]
|
D | AppIdleHistory.java | 39 public void addEntry(String packageName, int userId, boolean idle, long timeNow) { in addEntry() argument 63 if (!idle) { in addEntry()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | StatusTracker.cpp | 204 bool idle = (mStateTransitions[i] == IDLE); in threadLoop() local 205 ALOGV("Camera device is now %s", idle ? "idle" : "active"); in threadLoop() 206 parent->notifyStatus(idle); in threadLoop()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkPolicyManagerServiceTest.java | 267 IdleFuture idle; in testPidForegroundCombined() local 270 idle = expectIdle(); in testPidForegroundCombined() 274 idle.get(); in testPidForegroundCombined() 279 idle = expectIdle(); in testPidForegroundCombined() 281 idle.get(); in testPidForegroundCombined() 286 idle = expectIdle(); in testPidForegroundCombined() 289 idle.get(); in testPidForegroundCombined() 294 idle = expectIdle(); in testPidForegroundCombined() 297 idle.get(); in testPidForegroundCombined() 301 idle = expectIdle(); in testPidForegroundCombined() [all …]
|
/frameworks/base/core/java/android/app/usage/ |
D | UsageStatsManagerInternal.java | 107 public abstract void onAppIdleStateChanged(String packageName, int userId, boolean idle); in onAppIdleStateChanged() argument
|
/frameworks/base/docs/html-intl/intl/zh-tw/preview/testing/ |
D | guide.jd | 169 $ adb shell am set-idle <packageName> true 174 <pre>$ adb shell am set-idle <packageName> false</pre>
|
/frameworks/base/docs/html-intl/intl/zh-cn/preview/testing/ |
D | guide.jd | 169 $ adb shell am set-idle <packageName> true 174 <pre>$ adb shell am set-idle <packageName> false</pre>
|
/frameworks/base/docs/html-intl/intl/ko/preview/testing/ |
D | guide.jd | 169 $ adb shell am set-idle <packageName> true 174 <pre>$ adb shell am set-idle <packageName> false</pre>
|
/frameworks/base/docs/html-intl/intl/ru/preview/testing/ |
D | guide.jd | 169 $ adb shell am set-idle <packageName> true 174 <pre>$ adb shell am set-idle <packageName> false</pre>
|
/frameworks/base/docs/html-intl/intl/ja/preview/testing/ |
D | guide.jd | 169 $ adb shell am set-idle <packageName> true 174 <pre>$ adb shell am set-idle <packageName> false</pre>
|
/frameworks/base/docs/html/preview/testing/ |
D | guide.jd | 128 your app can perform when a device is in an idle state or while your app is not in focus. The 169 $ adb shell am set-idle <packageName> true 174 <pre>$ adb shell am set-idle <packageName> false</pre>
|
/frameworks/base/docs/html/training/scheduling/ |
D | index.jd | 31 When an Android device is left idle, it will first dim, then turn off the screen, and
|
/frameworks/base/docs/html/training/wearables/apps/ |
D | index.jd | 50 Devices transition from interactive to ambient mode when the user is idle on an activity or when 64 when a user is idle on an activity or when the user covers the screen with their palm on an
|
/frameworks/base/docs/html-intl/intl/zh-tw/preview/ |
D | behavior-changes.jd | 136 $ adb shell am set-idle <packageName> true 137 $ adb shell am set-idle <packageName> false 138 $ adb shell am get-idle <packageName>
|
/frameworks/base/docs/html-intl/intl/ru/preview/ |
D | behavior-changes.jd | 136 $ adb shell am set-idle <packageName> true 137 $ adb shell am set-idle <packageName> false 138 $ adb shell am get-idle <packageName>
|
/frameworks/base/docs/html-intl/intl/ja/preview/ |
D | behavior-changes.jd | 136 $ adb shell am set-idle <packageName> true 137 $ adb shell am set-idle <packageName> false 138 $ adb shell am get-idle <packageName>
|
/frameworks/base/docs/html-intl/intl/zh-cn/preview/ |
D | behavior-changes.jd | 136 $ adb shell am set-idle <packageName> true 137 $ adb shell am set-idle <packageName> false 138 $ adb shell am get-idle <packageName>
|
/frameworks/base/docs/html-intl/intl/ko/preview/ |
D | behavior-changes.jd | 136 $ adb shell am set-idle <packageName> true 137 $ adb shell am set-idle <packageName> false 138 $ adb shell am get-idle <packageName>
|
/frameworks/base/docs/html/tools/help/uiautomator/ |
D | Configurator.jd | 147 into an idle state.</div> 240 … <div class="jd-descrdiv">Sets the timeout for waiting for the user interface to go into an idle 676 into an idle state. 680 …object's <code><a href="UiSelector.html">UiSelector</a></code>. Once the idle state is detected or… 879 …="jd-tagdata jd-tagdescr"><p>Sets the timeout for waiting for the user interface to go into an idle 884 …object's <code><a href="UiSelector.html">UiSelector</a></code>. Once the idle state is detected or…
|
/frameworks/base/docs/html/training/efficient-downloads/ |
D | efficient-network-access.jd | 46 …idle states drain significantly less battery, they also introduce significant latency to network r… 65 …ually active, moving it back to high power just as it was about to become idle. As a result, every… 69 <p>The second example allows the radio to be idle for an additional 40 second every minute, resulti…
|
/frameworks/base/docs/html/training/multiple-threads/ |
D | create-threadpool.jd | 182 The duration that a thread will remain idle before it shuts down. The duration is 226 // Sets the amount of time an idle thread waits before terminating
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityRecord.java | 167 boolean idle; // has the activity gone idle? field in ActivityRecord 293 pw.print(" idle="); pw.println(idle); in dump() 470 idle = false; in ActivityRecord() 1034 if (!idle) { in windowsVisibleLocked()
|