Searched refs:createBaseJobInfoBuilder (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | BatteryControllerTest.java | 174 private JobInfo.Builder createBaseJobInfoBuilder(int jobId) { in createBaseJobInfoBuilder() method in BatteryControllerTest 178 private JobInfo.Builder createBaseJobInfoBuilder(int jobId, String pkgName) { in createBaseJobInfoBuilder() method in BatteryControllerTest 195 createBaseJobInfoBuilder(1).setRequiresBatteryNotLow(true).build()); in testBatteryNotLow() 197 createBaseJobInfoBuilder(2).setRequiresBatteryNotLow(true).build()); in testBatteryNotLow() 270 createBaseJobInfoBuilder(1) in testCharging_BatteryNotLow() 274 createBaseJobInfoBuilder(2) in testCharging_BatteryNotLow() 295 createBaseJobInfoBuilder(1).setRequiresCharging(true).build()); in testTopPowerConnectedExemption() 298 createBaseJobInfoBuilder(2).setRequiresCharging(true).build()); in testTopPowerConnectedExemption() 300 createBaseJobInfoBuilder(3) in testTopPowerConnectedExemption() 306 createBaseJobInfoBuilder(4, "some.background.app") in testTopPowerConnectedExemption() [all …]
|
D | BackgroundJobsControllerTest.java | 196 private JobInfo.Builder createBaseJobInfoBuilder(String pkgName, int jobId) { in createBaseJobInfoBuilder() method in BackgroundJobsControllerTest 217 createBaseJobInfoBuilder(SOURCE_PACKAGE, 1).build()); in testRestartedBroadcastWithoutStopping() 221 createBaseJobInfoBuilder(ALTERNATE_SOURCE_PACKAGE, 2).build()); in testRestartedBroadcastWithoutStopping() 224 createBaseJobInfoBuilder(CALLING_PACKAGE, 3).build()); in testRestartedBroadcastWithoutStopping() 228 createBaseJobInfoBuilder(CALLING_PACKAGE, 4).build()); in testRestartedBroadcastWithoutStopping() 258 createBaseJobInfoBuilder(SOURCE_PACKAGE, 1).build()); in testStopped_disabled() 262 createBaseJobInfoBuilder(ALTERNATE_SOURCE_PACKAGE, 2).build()); in testStopped_disabled() 265 createBaseJobInfoBuilder(CALLING_PACKAGE, 3).build()); in testStopped_disabled() 269 createBaseJobInfoBuilder(CALLING_PACKAGE, 4).build()); in testStopped_disabled() 299 createBaseJobInfoBuilder(SOURCE_PACKAGE, 1).build()); in testStopped_enabled() [all …]
|