Home
last modified time | relevance | path

Searched refs:idle (Results 1 – 25 of 50) 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.java187 boolean idle; // has the activity gone idle? field in ActivityRecord
355 pw.print(" idle="); pw.print(idle); in dump()
639 idle = false; in ActivityRecord()
1263 if (!idle) { in windowsVisibleLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java263 IdleFuture idle; in testPidForegroundCombined() local
266 idle = expectIdle(); in testPidForegroundCombined()
270 idle.get(); in testPidForegroundCombined()
275 idle = expectIdle(); in testPidForegroundCombined()
277 idle.get(); in testPidForegroundCombined()
282 idle = expectIdle(); in testPidForegroundCombined()
285 idle.get(); in testPidForegroundCombined()
290 idle = expectIdle(); in testPidForegroundCombined()
293 idle.get(); in testPidForegroundCombined()
297 idle = expectIdle(); in testPidForegroundCombined()
[all …]
/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.h165 void notifyStatus(bool idle); // updates from StatusTracker
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java525 private void notifyBatteryStats(String packageName, int userId, boolean idle) { in notifyBatteryStats() argument
529 if (idle) { in notifyBatteryStats()
679 void forceIdleState(String packageName, int userId, boolean idle) { in forceIdleState() argument
687 mAppIdleHistory.setIdleLocked(packageName, userId, idle, elapsedRealtime); in forceIdleState()
695 notifyBatteryStats(packageName, userId, idle); in forceIdleState()
903 boolean idle = isAppIdleFiltered(ai.packageName, UserHandle.getAppId(ai.uid), in getIdleUidsForUser()
908 uidStates.put(ai.uid, 1 + (idle ? 1<<16 : 0)); in getIdleUidsForUser()
911 uidStates.setValueAt(index, value + 1 + (idle ? 1<<16 : 0)); in getIdleUidsForUser()
938 void setAppIdle(String packageName, boolean idle, int userId) { in setAppIdle() argument
941 mHandler.obtainMessage(MSG_FORCE_IDLE_STATE, userId, idle ? 1 : 0, packageName) in setAppIdle()
[all …]
DAppIdleHistory.java266 public void setIdleLocked(String packageName, int userId, boolean idle, long elapsedRealtime) { in setIdleLocked() argument
273 - (idle ? mScreenOnTimeThreshold : 0) - 1000 /* just a second more */; in setIdleLocked()
/frameworks/base/docs/html-intl/intl/zh-cn/about/versions/marshmallow/
Dandroid-6.0-testing.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/about/versions/marshmallow/
Dandroid-6.0-testing.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/about/versions/marshmallow/
Dandroid-6.0-testing.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.java121 public abstract void onAppIdleStateChanged(String packageName, int userId, boolean idle); in onAppIdleStateChanged() argument
/frameworks/base/docs/html/about/versions/marshmallow/
Dandroid-6.0-testing.jd124 your app can perform when a device is in an idle state or while your app is not in focus. The
165 $ adb shell am set-idle &lt;packageName&gt; true
170 <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.
389 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/about/versions/marshmallow/
Dandroid-6.0-testing.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/id/about/versions/marshmallow/
Dandroid-6.0-testing.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/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java503 boolean idle = mPowerManager.isDeviceIdleMode(); in handleIdleModeChanged()
504 if (mInIdleMode != idle) { in handleIdleModeChanged()
505 mInIdleMode = idle; in handleIdleModeChanged()
506 if (!idle) { in handleIdleModeChanged()
/frameworks/base/docs/html-intl/intl/es/about/versions/marshmallow/
Dandroid-6.0-testing.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/about/versions/marshmallow/
Dandroid-6.0-testing.jd172 $ adb shell am set-idle &lt;packageName&gt; true
177 <pre>$ adb shell am set-idle &lt;packageName&gt; false</pre>
/frameworks/base/services/core/java/com/android/server/
DEventLogTags.logtags193 # Device idle

12