Home
last modified time | relevance | path

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

12

/frameworks/base/core/proto/android/server/
Denums.proto24 // Device idle mode - not active.
26 // Device idle mode - active in lightweight mode.
28 // Device idle mode - active in full mode.
Dalarmmanagerservice.proto62 // The current set of user whitelisted apps for device idle mode, meaning
78 // Any alarms that we don't want to run during idle mode. Will be empty if the
82 // This is a special alarm that will put the system into idle until it goes
114 // Time when the next while-idle is allowed, in the 'elapsed' timebase.
118 // Whether the short or long while-idle timeout should be used for each UID.
121 // For each uid, this is the last time we dispatched an "allow while idle"
217 // Minimum time between ALLOW_WHILE_IDLE alarms when system is not idle.
256 // idle" alarm for the UID. For a SET op, this is when the alarm was
Djobscheduler.proto147 // Minimum # of idle jobs that must be ready in order to force the JMS to
328 // True when in device idle mode.
405 IdleController idle = 6; field
Dpowermanagerservice.proto123 // True if we are currently in light device idle mode.
125 // True if we are currently in device idle mode.
/frameworks/base/services/core/java/com/android/server/am/
DUidRecord.java44 boolean idle; field in UidRecord
122 idle = true; in UidRecord()
157 proto.write(UidRecordProto.IDLE, idle); in writeToProto()
195 if (idle) { in toString()
DEventLogTags.logtags124 # Note when the state of a uid has become idle (background check enforced).
126 # Note when a service is being forcibly stopped because its app went idle.
DActivityRecord.java317 boolean idle; // has the activity gone idle? field in ActivityRecord
510 pw.print(" idle="); pw.print(idle); in dump()
884 idle = false; in ActivityRecord()
1846 idle = false; in completeResumeLocked()
2100 if (idle || mStackSupervisor.isStoppingNoHistoryActivity()) { in onWindowsVisible()
/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/core/java/com/android/server/net/
DNetworkPolicyLogger.java140 void appIdleStateChanged(int uid, boolean idle) { in appIdleStateChanged() argument
142 if (LOGD) Slog.d(TAG, getAppIdleChangedLog(uid, idle)); in appIdleStateChanged()
143 mEventsBuffer.appIdleStateChanged(uid, idle); in appIdleStateChanged()
257 private static String getAppIdleChangedLog(int uid, boolean idle) { in getAppIdleChangedLog() argument
258 return "App idle state of uid " + uid + ": " + idle; in getAppIdleChangedLog()
400 public void appIdleStateChanged(int uid, boolean idle) { in appIdleStateChanged() argument
407 data.bfield1 = idle; in appIdleStateChanged()
/frameworks/base/core/java/com/android/internal/os/
DMobileRadioPowerCalculator.java72 double idle = profile.getAveragePower(PowerProfile.POWER_MODEM_CONTROLLER_IDLE); in MobileRadioPowerCalculator() local
73 mPowerBins[0] = idle * 25 / 180; in MobileRadioPowerCalculator()
75 mPowerBins[i] = Math.max(1, idle / 256); in MobileRadioPowerCalculator()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DHighResThumbnailLoader.java87 public void setTaskLoadQueueIdle(boolean idle) { in setTaskLoadQueueIdle() argument
91 mTaskLoadQueueIdle = idle; in setTaskLoadQueueIdle()
DBackgroundTaskLoader.java152 void onIdleChanged(boolean idle); in onIdleChanged() argument
/frameworks/base/cmds/incident_helper/testdata/
Dcpuinfo.txt7 400%cpu 17%user 0%nice 43%sys 338%idle 0%iow 0%irq 1%sirq 0%host
/frameworks/base/services/usage/java/com/android/server/usage/
DAppStandbyController.java790 private void notifyBatteryStats(String packageName, int userId, boolean idle) { in notifyBatteryStats() argument
794 if (idle) { in notifyBatteryStats()
908 void forceIdleState(String packageName, int userId, boolean idle) { in forceIdleState() argument
919 standbyBucket = mAppIdleHistory.setIdle(packageName, userId, idle, elapsedRealtime); in forceIdleState()
928 notifyBatteryStats(packageName, userId, idle); in forceIdleState()
1096 boolean idle = isAppIdleFiltered(ai.packageName, UserHandle.getAppId(ai.uid), in getIdleUidsForUser()
1101 uidStates.put(ai.uid, 1 + (idle ? 1<<16 : 0)); in getIdleUidsForUser()
1104 uidStates.setValueAt(index, value + 1 + (idle ? 1<<16 : 0)); in getIdleUidsForUser()
1131 void setAppIdleAsync(String packageName, boolean idle, int userId) { in setAppIdleAsync() argument
1134 mHandler.obtainMessage(MSG_FORCE_IDLE_STATE, userId, idle ? 1 : 0, packageName) in setAppIdleAsync()
[all …]
DAppIdleHistory.java443 public int setIdle(String packageName, int userId, boolean idle, long elapsedRealtime) { in setIdle() argument
447 if (idle) { in setIdle()
DUsageStatsService.java136 public void onAppIdleStateChanged(String packageName, int userId, boolean idle,
896 public void setAppInactive(String packageName, boolean idle, int userId) { in setAppInactive() argument
911 mAppStandby.setAppIdleAsync(packageName, idle, userId); in setAppInactive()
/frameworks/base/core/proto/android/app/
Dactivitymanager.proto30 // report uid has become idle, original value is 1 << 2
/frameworks/base/core/java/android/app/usage/
DUsageStatsManagerInternal.java152 boolean idle, int bucket, int reason); in onAppIdleStateChanged() argument
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DApplicationsStateRoboTest.java175 shadowBkgLooper.idle(); in processAllMessages()
176 shadowMainLooper.idle(); in processAllMessages()
/frameworks/base/core/proto/android/os/
Dcpuinfo.proto63 optional int32 idle = 5; field
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessTrackerTest.java743 Idle idle = new Idle(); in waitForHandler() local
744 mHandler.getLooper().getQueue().addIdleHandler(idle); in waitForHandler()
746 idle.waitForIdle(); in waitForHandler()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerServiceTest.java602 validateUidRecord.idle); in testDispatchUidChanges_validateUidsUpdated()
605 validateUidRecord.idle); in testDispatchUidChanges_validateUidsUpdated()
/frameworks/base/services/core/java/com/android/server/
DAppStateTracker.java697 public void onAppIdleStateChanged(String packageName, int userId, boolean idle, in onAppIdleStateChanged() argument
701 + (idle ? " idle" : " active") + " " + bucket); in onAppIdleStateChanged()
DEventLogTags.logtags205 # Device idle
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java690 boolean idle = mPowerManager.isDeviceIdleMode(); in handleIdleModeChanged()
691 if (mInIdleMode != idle) { in handleIdleModeChanged()
692 mInIdleMode = idle; in handleIdleModeChanged()
693 if (!idle) { in handleIdleModeChanged()

12