Home
last modified time | relevance | path

Searched refs:idle (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/job/controllers/
DAppIdleController.java129 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/
Dpower-mgmt.jd31 <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 &lt;packageName&gt; true
105 $ adb shell am set-idle &lt;packageName&gt; false
106 $ adb shell am get-idle &lt;packageName&gt;
116 brief network access even when the app is idle.
/frameworks/base/services/core/java/com/android/server/content/
DAppIdleMonitor.java58 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/
DUsageStatsService.java417 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 …]
DAppIdleHistory.java39 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/
DStatusTracker.cpp204 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/
DNetworkPolicyManagerServiceTest.java267 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/
DUsageStatsManagerInternal.java107 public abstract void onAppIdleStateChanged(String packageName, int userId, boolean idle); in onAppIdleStateChanged() argument
/frameworks/base/docs/html-intl/intl/zh-tw/preview/testing/
Dguide.jd169 $ adb shell am set-idle &lt;packageName&gt; true
174 <pre>$ adb shell am set-idle &lt;packageName&gt; false</pre>
/frameworks/base/docs/html-intl/intl/zh-cn/preview/testing/
Dguide.jd169 $ adb shell am set-idle &lt;packageName&gt; true
174 <pre>$ adb shell am set-idle &lt;packageName&gt; false</pre>
/frameworks/base/docs/html-intl/intl/ko/preview/testing/
Dguide.jd169 $ adb shell am set-idle &lt;packageName&gt; true
174 <pre>$ adb shell am set-idle &lt;packageName&gt; false</pre>
/frameworks/base/docs/html-intl/intl/ru/preview/testing/
Dguide.jd169 $ adb shell am set-idle &lt;packageName&gt; true
174 <pre>$ adb shell am set-idle &lt;packageName&gt; false</pre>
/frameworks/base/docs/html-intl/intl/ja/preview/testing/
Dguide.jd169 $ adb shell am set-idle &lt;packageName&gt; true
174 <pre>$ adb shell am set-idle &lt;packageName&gt; false</pre>
/frameworks/base/docs/html/preview/testing/
Dguide.jd128 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 &lt;packageName&gt; true
174 <pre>$ adb shell am set-idle &lt;packageName&gt; false</pre>
/frameworks/base/docs/html/training/scheduling/
Dindex.jd31 When an Android device is left idle, it will first dim, then turn off the screen, and
/frameworks/base/docs/html/training/wearables/apps/
Dindex.jd50 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/
Dbehavior-changes.jd136 $ adb shell am set-idle &lt;packageName&gt; true
137 $ adb shell am set-idle &lt;packageName&gt; false
138 $ adb shell am get-idle &lt;packageName&gt;
/frameworks/base/docs/html-intl/intl/ru/preview/
Dbehavior-changes.jd136 $ adb shell am set-idle &lt;packageName&gt; true
137 $ adb shell am set-idle &lt;packageName&gt; false
138 $ adb shell am get-idle &lt;packageName&gt;
/frameworks/base/docs/html-intl/intl/ja/preview/
Dbehavior-changes.jd136 $ adb shell am set-idle &lt;packageName&gt; true
137 $ adb shell am set-idle &lt;packageName&gt; false
138 $ adb shell am get-idle &lt;packageName&gt;
/frameworks/base/docs/html-intl/intl/zh-cn/preview/
Dbehavior-changes.jd136 $ adb shell am set-idle &lt;packageName&gt; true
137 $ adb shell am set-idle &lt;packageName&gt; false
138 $ adb shell am get-idle &lt;packageName&gt;
/frameworks/base/docs/html-intl/intl/ko/preview/
Dbehavior-changes.jd136 $ adb shell am set-idle &lt;packageName&gt; true
137 $ adb shell am set-idle &lt;packageName&gt; false
138 $ adb shell am get-idle &lt;packageName&gt;
/frameworks/base/docs/html/tools/help/uiautomator/
DConfigurator.jd147 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/
Defficient-network-access.jd46idle 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/
Dcreate-threadpool.jd182 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/
DActivityRecord.java167 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()

123