Home
last modified time | relevance | path

Searched refs:setRequiresCharging (Results 1 – 25 of 27) sorted by relevance

12

/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
H A DBatteryControllerTest.java283 .setRequiresCharging(true) in testCharging_BatteryNotLow()
287 .setRequiresCharging(true) in testCharging_BatteryNotLow()
307 createBaseJobInfoBuilder(1).setRequiresCharging(true).build()); in testTopPowerConnectedExemption()
310 createBaseJobInfoBuilder(2).setRequiresCharging(true).build()); in testTopPowerConnectedExemption()
313 .setRequiresCharging(true) in testTopPowerConnectedExemption()
319 .setRequiresCharging(true) in testTopPowerConnectedExemption()
323 createBaseJobInfoBuilder(5, "switch.to.fg").setRequiresCharging(true).build()); in testTopPowerConnectedExemption()
327 .setRequiresCharging(true) in testTopPowerConnectedExemption()
389 createBaseJobInfoBuilder(2).setRequiresCharging(true).build()); in testControllerOnlyTracksPowerJobs()
393 .setRequiresCharging(true) in testControllerOnlyTracksPowerJobs()
H A DJobStatusTest.java767 .setRequiresCharging(true) in testWouldBeReadyWithConstraint_RequestedCharging()
937 .setRequiresCharging(true) in testWouldBeReadyWithConstraint_RequestedMixture_NoDeadline()
1027 .setRequiresCharging(true) in testWouldBeReadyWithConstraint_RequestedMixture_WithDeadline()
H A DFlexibilityControllerTest.java546 jb.setRequiresCharging(true); in testFlexibilityTracker()
790 jb.setRequiresCharging((constraints & CONSTRAINT_CHARGING) != 0); in testSetConstraintSatisfied_Jobs()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/job/
H A DJobStoreTest.java135 .setRequiresCharging(true) in runRemovingLastJob()
188 .setRequiresCharging(true) in runClearJobs()
298 .setRequiresCharging(true) in testMaybeWriteStatusToDisk()
336 .setRequiresCharging(true) in runWritingTwoJobsToDisk()
397 .setRequiresCharging(true) in testWritingTaskWithExtras()
423 .setRequiresCharging(true) in testWritingTaskWithSourcePackage()
446 .setRequiresCharging(true) in testWritingTaskWithFlex()
689 .setRequiresCharging(true) in testPersistedChargingConstraint()
H A DJobSetTest.java79 .setRequiresCharging(true) in getJobStatusWithCallinUid()
/aosp14/frameworks/base/services/companion/java/com/android/server/companion/
H A DInactiveAssociationsRemovalService.java67 .setRequiresCharging(true) in schedule()
/aosp14/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
H A DBlobStoreIdleJobService.java63 .setRequiresCharging(true) in schedule()
/aosp14/frameworks/base/services/core/java/com/android/server/display/
H A DBrightnessIdleJob.java49 .setRequiresCharging(true) in scheduleJob()
/aosp14/frameworks/base/services/core/java/com/android/server/
H A DMountServiceIdler.java116 builder.setRequiresCharging(true); in scheduleIdlePass()
H A DBinaryTransparencyService.java1275 .setRequiresCharging(true) in scheduleBinaryMeasurements()
/aosp14/frameworks/base/services/backup/java/com/android/server/backup/
H A DFullBackupJob.java57 .setRequiresCharging(constants.getFullBackupRequireCharging()); in schedule()
H A DKeyValueBackupJob.java103 .setRequiresCharging(needsCharging) in schedule()
/aosp14/frameworks/base/services/core/java/com/android/server/storage/
H A DDiskStatsLoggingService.java103 .setRequiresCharging(true) in schedule()
/aosp14/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/
H A DMainActivity.java156 builder.setRequiresCharging(mRequiresChargingCheckBox.isChecked()); in scheduleJob()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DDynamicCodeLoggingService.java87 .setRequiresCharging(true) in schedule()
H A DBackgroundDexOptService.java551 builder.setRequiresCharging(true).setPeriodic(IDLE_OPTIMIZATION_PERIOD); in scheduleAJob()
/aosp14/frameworks/base/core/java/android/content/
H A DSyncRequest.java380 public Builder setRequiresCharging(boolean requiresCharging) { in setRequiresCharging() method in SyncRequest.Builder
/aosp14/frameworks/base/services/profcollect/src/com/android/server/profcollect/
H A DProfcollectForwardingService.java225 .setRequiresCharging(true) in schedule()
/aosp14/frameworks/base/apex/jobscheduler/framework/java/android/app/job/
H A DJobInfo.java1667 public Builder setRequiresCharging(boolean requiresCharging) { in setRequiresCharging() method in JobInfo.Builder
/aosp14/frameworks/base/core/java/android/app/
H A DDownloadManager.java759 public Request setRequiresCharging(boolean requiresCharging) { in setRequiresCharging() method in DownloadManager.Request
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
H A DJobStore.java1617 jobBuilder.setRequiresCharging(true); in buildConstraintsFromXml()
/aosp14/frameworks/base/services/core/java/com/android/server/content/
H A DSyncManager.java1779 b.setRequiresCharging(true); in scheduleSyncOperationH()
/aosp14/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsProvider.java2889 .setRequiresCharging(true)
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt5514 method public android.app.DownloadManager.Request setRequiresCharging(boolean);
8812 method public android.app.job.JobInfo.Builder setRequiresCharging(boolean);
11532 method public android.content.SyncRequest.Builder setRequiresCharging(boolean);

12