Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/job/controllers/
DAppIdleController.java71 PackageUpdateFunc(int userId, String pkg, boolean idle) { in PackageUpdateFunc() argument
74 mIdle = idle; in PackageUpdateFunc()
176 public void onAppIdleStateChanged(String packageName, int userId, boolean idle) { in onAppIdleStateChanged() argument
182 PackageUpdateFunc update = new PackageUpdateFunc(userId, packageName, idle); in onAppIdleStateChanged()
/frameworks/base/services/core/java/com/android/server/am/
DUidRecord.java32 boolean idle; field in UidRecord
71 if (idle) { in toString()
DActivityRecord.java186 boolean idle; // has the activity gone idle? field in ActivityRecord
347 pw.print(" idle="); pw.print(idle); in dump()
631 idle = false; in ActivityRecord()
1247 if (!idle) { in windowsVisibleLocked()
/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()
DCamera3Device.h161 void notifyStatus(bool idle); // updates from StatusTracker
/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/services/usage/java/com/android/server/usage/
DUsageStatsService.java511 private void notifyBatteryStats(String packageName, int userId, boolean idle) { in notifyBatteryStats() argument
515 if (idle) { in notifyBatteryStats()
665 void forceIdleState(String packageName, int userId, boolean idle) { in forceIdleState() argument
673 mAppIdleHistory.setIdleLocked(packageName, userId, idle, elapsedRealtime); in forceIdleState()
681 notifyBatteryStats(packageName, userId, idle); in forceIdleState()
885 boolean idle = isAppIdleFiltered(ai.packageName, UserHandle.getAppId(ai.uid), in getIdleUidsForUser()
890 uidStates.put(ai.uid, 1 + (idle ? 1<<16 : 0)); in getIdleUidsForUser()
893 uidStates.setValueAt(index, value + 1 + (idle ? 1<<16 : 0)); in getIdleUidsForUser()
920 void setAppIdle(String packageName, boolean idle, int userId) { in setAppIdle() argument
923 mHandler.obtainMessage(MSG_FORCE_IDLE_STATE, userId, idle ? 1 : 0, packageName) in setAppIdle()
[all …]
DAppIdleHistory.java267 public void setIdleLocked(String packageName, int userId, boolean idle, long elapsedRealtime) { in setIdleLocked() argument
274 - (idle ? mScreenOnTimeThreshold : 0) - 1000 /* just a second more */; in setIdleLocked()
/frameworks/base/docs/html-intl/intl/zh-cn/preview/
Dguide.jd172 $ adb shell am set-idle &lt;packageName&gt; true
177 <pre>$ adb shell am set-idle &lt;packageName&gt; false</pre>
/frameworks/base/docs/html-intl/intl/ja/preview/
Dguide.jd172 $ adb shell am set-idle &lt;packageName&gt; true
177 <pre>$ adb shell am set-idle &lt;packageName&gt; false</pre>
/frameworks/base/docs/html-intl/intl/ko/preview/
Dguide.jd172 $ adb shell am set-idle &lt;packageName&gt; true
177 <pre>$ adb shell am set-idle &lt;packageName&gt; false</pre>
/frameworks/base/core/java/android/app/usage/
DUsageStatsManagerInternal.java110 public abstract void onAppIdleStateChanged(String packageName, int userId, boolean idle); in onAppIdleStateChanged() argument
/frameworks/base/docs/html/preview/
Dguide.jd131 your app can perform when a device is in an idle state or while your app is not in focus. The
172 $ adb shell am set-idle &lt;packageName&gt; true
177 <pre>$ adb shell am set-idle &lt;packageName&gt; false</pre>
/frameworks/base/docs/html/training/monitoring-device-state/
Ddoze-standby.jd234 App Standby allows the system to determine that an app is idle when the user
256 execute any pending jobs and syncs. If the device is idle for long periods of
257 time, the system allows idle apps network access around once a day.
276 GCM is optimized to work with Doze and App Standby idle modes by means of
282 to idle state.
392 the device state changes to idle.</p>
/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/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-intl/intl/in/preview/
Dguide.jd172 $ adb shell am set-idle &lt;packageName&gt; true
177 <pre>$ adb shell am set-idle &lt;packageName&gt; false</pre>
/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
Drun-code.jd51 idle thread becomes available, the manager takes the task that has been waiting the longest and
/frameworks/base/docs/html-intl/intl/es/preview/
Dguide.jd172 $ adb shell am set-idle &lt;packageName&gt; true
177 <pre>$ adb shell am set-idle &lt;packageName&gt; false</pre>
/frameworks/base/docs/html-intl/intl/pt-br/preview/
Dguide.jd172 $ adb shell am set-idle &lt;packageName&gt; true
177 <pre>$ adb shell am set-idle &lt;packageName&gt; false</pre>
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java491 boolean idle = mPowerManager.isDeviceIdleMode(); in handleIdleModeChanged()
492 if (mInIdleMode != idle) { in handleIdleModeChanged()
493 mInIdleMode = idle; in handleIdleModeChanged()
494 if (!idle) { in handleIdleModeChanged()
/frameworks/base/services/core/java/com/android/server/
DEventLogTags.logtags193 # Device idle
/frameworks/base/docs/html/training/tv/start/
Dnavigation.jd131 it is idle.

12