Home
last modified time | relevance | path

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

123

/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.
260 // idle" alarm for the UID. For a SET op, this is when the alarm was
/frameworks/base/services/core/java/com/android/server/job/controllers/
DIdleController.java29 import com.android.server.job.controllers.idle.CarIdlenessTracker;
30 import com.android.server.job.controllers.idle.DeviceIdlenessTracker;
31 import com.android.server.job.controllers.idle.IdlenessListener;
32 import com.android.server.job.controllers.idle.IdlenessTracker;
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/model/
DHighResThumbnailLoader.java87 public void onIdleChanged(boolean idle) { in onIdleChanged() argument
88 setTaskLoadQueueIdle(idle); in onIdleChanged()
95 public void setTaskLoadQueueIdle(boolean idle) { in setTaskLoadQueueIdle() argument
99 mTaskLoadQueueIdle = idle; in setTaskLoadQueueIdle()
DBackgroundTaskLoader.java167 void onIdleChanged(boolean idle); in onIdleChanged() argument
/frameworks/base/services/core/java/com/android/server/am/
DUidRecord.java42 boolean idle; field in UidRecord
120 idle = true; in UidRecord()
163 proto.write(UidRecordProto.IDLE, idle); in writeToProto()
201 if (idle) { in toString()
DEventLogTags.logtags121 # Note when the state of a uid has become idle (background check enforced).
123 # Note when a service is being forcibly stopped because its app went idle.
DOomAdjuster.java574 if (uidRec.idle && !uidRec.setIdle) { in updateOomAdjLocked()
582 if (uidRec.idle) { in updateOomAdjLocked()
585 uidRec.idle = false; in updateOomAdjLocked()
598 uidRec.setIdle = uidRec.idle; in updateOomAdjLocked()
2070 if (bgTime > 0 && !uidRec.idle) { in idleUidsLocked()
2073 uidRec.idle = true; in idleUidsLocked()
/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.java142 void appIdleStateChanged(int uid, boolean idle) { in appIdleStateChanged() argument
144 if (LOGD) Slog.d(TAG, getAppIdleChangedLog(uid, idle)); in appIdleStateChanged()
145 mEventsBuffer.appIdleStateChanged(uid, idle); in appIdleStateChanged()
266 private static String getAppIdleChangedLog(int uid, boolean idle) { in getAppIdleChangedLog() argument
267 return "App idle state of uid " + uid + ": " + idle; in getAppIdleChangedLog()
413 public void appIdleStateChanged(int uid, boolean idle) { in appIdleStateChanged() argument
420 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/services/core/java/com/android/server/job/controllers/idle/
DIdlenessListener.java17 package com.android.server.job.controllers.idle;
DIdlenessTracker.java17 package com.android.server.job.controllers.idle;
DCarIdlenessTracker.java17 package com.android.server.job.controllers.idle;
DDeviceIdlenessTracker.java17 package com.android.server.job.controllers.idle;
/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.java833 private void notifyBatteryStats(String packageName, int userId, boolean idle) { in notifyBatteryStats() argument
837 if (idle) { in notifyBatteryStats()
961 void forceIdleState(String packageName, int userId, boolean idle) { in forceIdleState() argument
972 standbyBucket = mAppIdleHistory.setIdle(packageName, userId, idle, elapsedRealtime); in forceIdleState()
981 notifyBatteryStats(packageName, userId, idle); in forceIdleState()
1149 boolean idle = isAppIdleFiltered(ai.packageName, UserHandle.getAppId(ai.uid), in getIdleUidsForUser()
1154 uidStates.put(ai.uid, 1 + (idle ? 1<<16 : 0)); in getIdleUidsForUser()
1157 uidStates.setValueAt(index, value + 1 + (idle ? 1<<16 : 0)); in getIdleUidsForUser()
1184 void setAppIdleAsync(String packageName, boolean idle, int userId) { in setAppIdleAsync() argument
1187 mHandler.obtainMessage(MSG_FORCE_IDLE_STATE, userId, idle ? 1 : 0, packageName) in setAppIdleAsync()
[all …]
DAppIdleHistory.java438 public int setIdle(String packageName, int userId, boolean idle, long elapsedRealtime) { in setIdle() argument
442 if (idle) { in setIdle()
/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.java164 boolean idle, int bucket, int reason); in onAppIdleStateChanged() argument
/frameworks/hardware/interfaces/cameraservice/device/2.0/
DICameraDeviceCallback.hal33 * Callback called when the device is idle.
DICameraDeviceUser.hal165 * Block until the device is idle.
187 * is not idle.
/frameworks/base/core/proto/android/os/
Dcpuinfo.proto63 optional int32 idle = 5; field
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessTrackerTest.java854 Idle idle = new Idle(); in waitForHandler() local
855 mHandler.getLooper().getQueue().addIdleHandler(idle); in waitForHandler()
857 idle.waitForIdle(); in waitForHandler()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DApplicationsStateRoboTest.java258 shadowBkgLooper.idle(); in processAllMessages()
259 shadowMainLooper.idle(); in processAllMessages()

123