Home
last modified time | relevance | path

Searched refs:setRequiredNetworkType (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DConnectivityControllerTest.java138 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY); in testInsane()
155 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY); in testCongestion()
182 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_UNMETERED); in testRelaxed()
230 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_UNMETERED), UID_RED); in testUpdates()
233 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY), UID_BLUE); in testUpdates()
302 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_UNMETERED), UID_RED); in testRequestStandbyExceptionLocked()
305 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY), UID_BLUE); in testRequestStandbyExceptionLocked()
339 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_UNMETERED), UID_RED); in testWouldBeReadyWithConnectivityLocked()
361 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_UNMETERED), UID_RED); in testEvaluateStateLocked_HeartbeatsOn()
388 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_UNMETERED), UID_RED); in testEvaluateStateLocked_JobWouldBeReady()
[all …]
DJobStatusTest.java277 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY) in testWouldBeReadyWithConstraint_RequestedConnectivity()
322 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_CELLULAR) in testWouldBeReadyWithConstraint_RequestedMixture_NoDeadline()
575 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY).build(); in createJobStatus()
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/
DMainActivity.java149 builder.setRequiredNetworkType(JobInfo.NETWORK_TYPE_UNMETERED); in scheduleJob()
151 builder.setRequiredNetworkType(JobInfo.NETWORK_TYPE_METERED); in scheduleJob()
153 builder.setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY); in scheduleJob()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java113 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY) in testMaybeWriteStatusToDisk()
153 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_UNMETERED) in testWritingTwoFilesToDisk()
344 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_NONE).build()); in testRequiredNetworkType()
347 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY).build()); in testRequiredNetworkType()
350 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_UNMETERED).build()); in testRequiredNetworkType()
353 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_NOT_ROAMING).build()); in testRequiredNetworkType()
356 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_CELLULAR).build()); in testRequiredNetworkType()
/frameworks/base/services/backup/java/com/android/server/backup/
DFullBackupJob.java51 .setRequiredNetworkType(constants.getFullBackupRequiredNetworkType()) in schedule()
DKeyValueBackupJob.java98 .setRequiredNetworkType(networkType) in schedule()
/frameworks/base/services/core/java/com/android/server/job/
DJobStore.java977 jobBuilder.setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY); in buildConstraintsFromXml()
981 jobBuilder.setRequiredNetworkType(JobInfo.NETWORK_TYPE_METERED); in buildConstraintsFromXml()
985 jobBuilder.setRequiredNetworkType(JobInfo.NETWORK_TYPE_UNMETERED); in buildConstraintsFromXml()
989 jobBuilder.setRequiredNetworkType(JobInfo.NETWORK_TYPE_NOT_ROAMING); in buildConstraintsFromXml()
/frameworks/base/core/java/android/app/job/
DJobInfo.java1123 public Builder setRequiredNetworkType(@NetworkType int networkType) { in setRequiredNetworkType() method in JobInfo.Builder
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java1611 .setRequiredNetworkType(networkType) in scheduleSyncOperationH()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...