Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
H A DMagnificationThumbnailTest.java74 idle(); in updateThumbnailShows()
81 idle(); in updateThumbnailShows()
94 idle(); in updateThumbnailLingersThenHidesAfterTimeout()
98 idle(); in updateThumbnailLingersThenHidesAfterTimeout()
111 idle(); in hideThumbnailRemoves()
114 idle(); in hideThumbnailRemoves()
126 idle(); in hideShowHideShowHideRemoves()
133 idle(); in hideShowHideShowHideRemoves()
139 idle(); in hideShowHideShowHideRemoves()
146 idle(); in hideShowHideShowHideRemoves()
[all …]
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
H A DJobConcurrencyManagerTest.java219 idle, preferredUidOnly, stoppable, assignmentInfo); in testPrepareForAssignmentDetermination_noJobs()
241 idle, preferredUidOnly, stoppable, assignmentInfo); in testPrepareForAssignmentDetermination_onlyPendingJobs()
267 idle, preferredUidOnly, stoppable, assignmentInfo); in testPrepareForAssignmentDetermination_onlyPreferredUidOnly()
269 assertEquals(0, idle.size()); in testPrepareForAssignmentDetermination_onlyPreferredUidOnly()
294 idle, preferredUidOnly, stoppable, assignmentInfo); in testPrepareForAssignmentDetermination_onlyStartedWithImmediacyPrivilege()
296 assertEquals(0, idle.size()); in testPrepareForAssignmentDetermination_onlyStartedWithImmediacyPrivilege()
325 idle, preferredUidOnly, stoppable, assignmentInfo); in testDetermineAssignments_allRegular()
373 idle, preferredUidOnly, stoppable, assignmentInfo); in testDetermineAssignments_allPreferredUidOnly_shortTimeLeft()
430 idle, preferredUidOnly, stoppable, assignmentInfo); in testDetermineAssignments_allPreferredUidOnly_mediumTimeLeft_onlyRegRunning()
502 idle, preferredUidOnly, stoppable, assignmentInfo); in testDetermineAssignments_allPreferredUidOnly_mediumTimeLeft_onlyUiRunning()
[all …]
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
H A DIdleController.java30 import com.android.server.job.controllers.idle.CarIdlenessTracker;
31 import com.android.server.job.controllers.idle.DeviceIdlenessTracker;
32 import com.android.server.job.controllers.idle.IdlenessListener;
33 import com.android.server.job.controllers.idle.IdlenessTracker;
/aosp14/frameworks/base/core/proto/android/server/alarm/
H A Dalarmmanagerservice.proto62 // The current set of user exempted apps for device idle mode, meaning
79 // Any alarms that we don't want to run during idle mode. Will be empty if the
83 // This is a special alarm that will put the system into idle until it goes
115 // Time when the next while-idle is allowed, in the 'elapsed' timebase.
119 // Whether the short or long while-idle timeout should be used for each UID.
122 // For each uid, this is the last time we dispatched an "allow while idle"
220 // Minimum time between ALLOW_WHILE_IDLE alarms when system is not idle.
263 // idle" alarm for the UID. For a SET op, this is when the alarm was
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/idle/
H A DIdlenessListener.java17 package com.android.server.job.controllers.idle;
H A DIdlenessTracker.java17 package com.android.server.job.controllers.idle;
H A DCarIdlenessTracker.java17 package com.android.server.job.controllers.idle;
H A DDeviceIdlenessTracker.java17 package com.android.server.job.controllers.idle;
/aosp14/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkPolicyLogger.java176 void appIdleStateChanged(int uid, boolean idle) { in appIdleStateChanged() argument
179 Slog.d(TAG, getAppIdleChangedLog(uid, idle)); in appIdleStateChanged()
181 mEventsBuffer.appIdleStateChanged(uid, idle); in appIdleStateChanged()
337 private static String getAppIdleChangedLog(int uid, boolean idle) { in getAppIdleChangedLog() argument
338 return "App idle state of uid " + uid + ": " + idle; in getAppIdleChangedLog()
511 public void appIdleStateChanged(int uid, boolean idle) { in appIdleStateChanged() argument
518 data.bfield1 = idle; in appIdleStateChanged()
/aosp14/frameworks/base/packages/SystemUI/tests/robolectric/src/com/android/systemui/testutils/shadow/
H A DShadowTestableLooper.java35 shadowOf(mRealTestableLooper.getLooper()).idle(); in processAllMessages()
/aosp14/frameworks/base/apex/jobscheduler/framework/java/com/android/server/usage/
H A DAppStandbyInternal.java45 boolean idle, int bucket, int reason); in onAppIdleStateChanged() argument
132 void setAppIdleAsync(String packageName, boolean idle, int userId); in setAppIdleAsync() argument
/aosp14/frameworks/base/cmds/incident_helper/testdata/
H A Dcpuinfo.txt7 400%cpu 17%user 0%nice 43%sys 338%idle 0%iow 0%irq 1%sirq 0%host
/aosp14/frameworks/base/services/core/java/com/android/server/power/stats/
H A DMobileRadioPowerCalculator.java107 double idle = profile.getAveragePower(PowerProfile.POWER_MODEM_CONTROLLER_IDLE); in MobileRadioPowerCalculator() local
110 mIdlePowerEstimators[0] = new UsageBasedPowerEstimator(idle * 25 / 180); in MobileRadioPowerCalculator()
112 mIdlePowerEstimators[i] = new UsageBasedPowerEstimator(Math.max(1, idle / 256)); in MobileRadioPowerCalculator()
/aosp14/frameworks/base/core/proto/android/app/
H A Dactivitymanager.proto30 // report uid has become idle, original value is 1 << 2
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DEventLogTags.logtags83 # Note when the state of a uid has become idle (background check enforced).
85 # Note when a service is being forcibly stopped because its app went idle.
H A DUidRecord.java305 void setIdle(boolean idle) { in setIdle() argument
306 mIdle = idle; in setIdle()
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
H A DJobConcurrencyManager.java818 void prepareForAssignmentDeterminationLocked(final ArraySet<ContextAssignment> idle, in prepareForAssignmentDeterminationLocked() argument
892 idle.add(assignment); in prepareForAssignmentDeterminationLocked()
906 final ArraySet<ContextAssignment> idle, in determineAssignmentsLocked() argument
958 if (idle.size() > 0) { in determineAssignmentsLocked()
959 final int idx = idle.size() - 1; in determineAssignmentsLocked()
960 final ContextAssignment assignment = idle.valueAt(idx); in determineAssignmentsLocked()
969 idle.removeAt(idx); in determineAssignmentsLocked()
1200 final ArraySet<ContextAssignment> idle, in cleanUpAfterAssignmentChangesLocked() argument
1215 for (int i = idle.size() - 1; i >= 0; --i) { in cleanUpAfterAssignmentChangesLocked()
1216 final ContextAssignment assignment = idle.valueAt(i); in cleanUpAfterAssignmentChangesLocked()
[all …]
/aosp14/frameworks/base/core/proto/android/server/
H A Dpowermanagerservice.proto126 // True if we are currently in light device idle mode.
128 // True if we are currently in device idle mode.
130 // Set of app ids that we will respect the wake locks for while in device idle mode.
463 // True if the device has entered idle mode since becoming non-interactive
466 // True if the device is currently in idle mode
H A Dbiometrics.proto56 * modalities, the HAL enters the idle state after onAuthenticated(false) which differs from
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
H A DAppStandbyController.java1119 private void notifyBatteryStats(String packageName, int userId, boolean idle) { in notifyBatteryStats() argument
1123 if (idle) { in notifyBatteryStats()
1295 void forceIdleState(String packageName, int userId, boolean idle) { in forceIdleState() argument
1301 if (idle && minBucket < AppIdleHistory.IDLE_BUCKET_CUTOFF) { in forceIdleState()
1312 standbyBucket = mAppIdleHistory.setIdle(packageName, userId, idle, elapsedRealtime); in forceIdleState()
1607 public void setAppIdleAsync(String packageName, boolean idle, int userId) { in setAppIdleAsync() argument
1610 mHandler.obtainMessage(MSG_FORCE_IDLE_STATE, userId, idle ? 1 : 0, packageName) in setAppIdleAsync()
2079 final boolean idle = bucket >= STANDBY_BUCKET_RARE; in informListeners()
2082 listener.onAppIdleStateChanged(packageName, userId, idle, bucket, reason); in informListeners()
/aosp14/frameworks/base/core/proto/android/os/
H A Dcpuinfo.proto63 optional int32 idle = 5; field
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
H A DCachedAppOptimizerTest.java998 Idle idle = new Idle(); in waitForHandler() local
999 mCachedAppOptimizerUnderTest.mCompactionHandler.getLooper().getQueue().addIdleHandler(idle); in waitForHandler()
1001 idle.waitForIdle(); in waitForHandler()
/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
H A DBrightnessTrackerTest.java1054 Idle idle = new Idle(); in waitForHandler() local
1055 mHandler.getLooper().getQueue().addIdleHandler(idle); in waitForHandler()
1057 idle.waitForIdle(); in waitForHandler()
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
H A DApplicationsStateRoboTest.java276 shadowBkgLooper.idle(); in processAllMessages()
277 shadowMainLooper.idle(); in processAllMessages()
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/
H A DAppStateTrackerImpl.java767 public void onAppIdleStateChanged(String packageName, int userId, boolean idle, in onAppIdleStateChanged() argument
771 + (idle ? " idle" : " active") + " " + bucket); in onAppIdleStateChanged()

12