Home
last modified time | relevance | path

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

/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/mockingservicestests/src/com/android/server/job/controllers/
DJobStatusTest.java209 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY) in testCanRunInBatterySaver_userInitiated()
256 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY) in testCanRunInDoze_userInitiated()
326 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY) in testIsUserVisibleJob()
347 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY) in testMediaBackupExemption_lateConstraint()
365 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY) in testMediaBackupExemption_noContentTriggerConstraint()
375 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY) in testMediaBackupExemption_wrongSourcePackage()
389 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY) in testMediaBackupExemption_nonEligibleUri()
400 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY); in testMediaBackupExemption_lowPriorityJobs()
412 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY) in testMediaBackupExemptionGranted()
418 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY) in testMediaBackupExemptionGranted()
[all …]
DConnectivityControllerTest.java194 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY); in testUsable()
199 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY); in testUsable()
307 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY); in testInsane()
332 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY); in testCongestion()
362 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY); in testMeteredAllowed()
486 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY); in testStrongEnough_Cellular()
660 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY); in testStrongEnough_Cellular_CheckDisabled()
834 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY); in testStrongEnough_Cellular_VPN()
890 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_UNMETERED); in testRelaxed()
1015 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_UNMETERED), UID_RED); in testUpdates()
[all …]
DFlexibilityControllerTest.java310 createJob(0).setRequiredNetworkType(NETWORK_TYPE_ANY)); in testAppliedConstraints()
312 createJob(1).setRequiredNetworkType(NETWORK_TYPE_NONE)); in testAppliedConstraints()
1065 jb.setUserInitiated(true).setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY); in testExceptions_UserInitiated()
1352 createJob(0).setRequiredNetworkType(NETWORK_TYPE_ANY)); in testTransportAffinity()
1354 createJob(0).setRequiredNetworkType(NETWORK_TYPE_CELLULAR)); in testTransportAffinity()
1473 createJob(0).setRequiredNetworkType(NETWORK_TYPE_ANY)); in testHasEnoughSatisfiedConstraints_unseenConstraints_soonAfterBoot()
1503 createJob(0).setRequiredNetworkType(NETWORK_TYPE_ANY)); in testHasEnoughSatisfiedConstraints_unseenConstraints_longAfterBoot()
1505 createJob(0).setRequiredNetworkType(NETWORK_TYPE_NONE)); in testHasEnoughSatisfiedConstraints_unseenConstraints_longAfterBoot()
/frameworks/base/packages/StatementService/src/com/android/statementservice/domain/
DBaseDomainVerificationReceiver.kt33 .setRequiredNetworkType(NetworkType.CONNECTED)
DBootCompletedReceiver.kt53 .setRequiredNetworkType(NetworkType.CONNECTED) in onReceive()
DDomainVerificationUtils.kt51 .setRequiredNetworkType(NetworkType.CONNECTED) in schedulePeriodicCheckUnlocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java146 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_UNMETERED) in runRemovingLastJob()
199 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_UNMETERED) in runClearJobs()
229 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_UNMETERED) in testSkipExtraFiles()
339 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY) in testMaybeWriteStatusToDisk()
383 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_UNMETERED) in runWritingTwoJobsToDisk()
662 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_NONE).build()); in testRequiredNetworkType()
665 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY).build()); in testRequiredNetworkType()
668 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_UNMETERED).build()); in testRequiredNetworkType()
671 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_NOT_ROAMING).build()); in testRequiredNetworkType()
674 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_CELLULAR).build()); in testRequiredNetworkType()
DPendingJobQueueTest.java531 .setRequiredNetworkType(ui ? NETWORK_TYPE_ANY : NETWORK_TYPE_NONE), in testPendingJobSorting_Random()
570 .setRequiredNetworkType(ui ? NETWORK_TYPE_ANY : NETWORK_TYPE_NONE), in testPendingJobSortingTransitivity()
596 .setRequiredNetworkType(ui ? NETWORK_TYPE_ANY : NETWORK_TYPE_NONE), in testPendingJobSortingTransitivity_Concentrated()
/frameworks/base/services/backup/java/com/android/server/backup/
DFullBackupJob.java56 builder.setRequiredNetworkType(constants.getFullBackupRequiredNetworkType()) in schedule()
DKeyValueBackupJob.java102 .setRequiredNetworkType(networkType) in schedule()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
DJobSchedulerServiceTest.java287 .setUserInitiated(true).setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY)); in testGetMinJobExecutionGuaranteeMs()
362 .setUserInitiated(true).setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY)); in testGetMinJobExecutionGuaranteeMs_timeoutSafeguards_disabled()
482 .setUserInitiated(true).setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY)); in testGetMinJobExecutionGuaranteeMs_timeoutSafeguards_enabled()
616 .setUserInitiated(true).setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY)); in testGetMaxJobExecutionTimeMs()
648 .setUserInitiated(true).setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY)); in testGetMaxJobExecutionTimeMs_timeoutSafeguards_disabled()
773 .setUserInitiated(true).setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY)); in testGetMaxJobExecutionTimeMs_timeoutSafeguards_enabled()
947 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY)); in testGetRescheduleJobForFailure_cumulativeExecution()
1088 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY)); in testGetRescheduleJobForFailure_userStopped()
1892 createJobInfo().setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY)); in testConnectivityJobBatching()
1913 createJobInfo().setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY)); in testConnectivityJobBatching()
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobStore.java1635 jobBuilder.setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY); in buildConstraintsFromXml()
1639 jobBuilder.setRequiredNetworkType(JobInfo.NETWORK_TYPE_METERED); in buildConstraintsFromXml()
1643 jobBuilder.setRequiredNetworkType(JobInfo.NETWORK_TYPE_UNMETERED); in buildConstraintsFromXml()
1647 jobBuilder.setRequiredNetworkType(JobInfo.NETWORK_TYPE_NOT_ROAMING); in buildConstraintsFromXml()
/frameworks/base/apex/jobscheduler/framework/java/android/app/job/
DJobInfo.java1518 public Builder setRequiredNetworkType(@NetworkType int networkType) { in setRequiredNetworkType() method in JobInfo.Builder
/frameworks/base/core/api/
Dlint-baseline.txt550 RequiresPermission: android.app.job.JobInfo.Builder#setRequiredNetworkType(int):
551 …Method 'setRequiredNetworkType' documentation mentions permissions without declaring @RequiresPerm…
Dmodule-lib-lint-baseline.txt710 RequiresPermission: android.app.job.JobInfo.Builder#setRequiredNetworkType(int):
711 …Method 'setRequiredNetworkType' documentation mentions permissions without declaring @RequiresPerm…
Dtest-lint-baseline.txt776 RequiresPermission: android.app.job.JobInfo.Builder#setRequiredNetworkType(int):
777 …Method 'setRequiredNetworkType' documentation mentions permissions without declaring @RequiresPerm…
Dsystem-lint-baseline.txt800 RequiresPermission: android.app.job.JobInfo.Builder#setRequiredNetworkType(int):
801 …Method 'setRequiredNetworkType' documentation mentions permissions without declaring @RequiresPerm…
Dcurrent.txt9045 method public android.app.job.JobInfo.Builder setRequiredNetworkType(int);
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java1810 .setRequiredNetworkType(networkType) in scheduleSyncOperationH()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/
Dboot-image-profile.txt3142 HSPLandroid/app/job/JobInfo$Builder;->setRequiredNetworkType(I)Landroid/app/job/JobInfo$Builder;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt5567 method public android.app.job.JobInfo.Builder setRequiredNetworkType(int);
/frameworks/base/config/
Dboot-image-profile.txt3142 HSPLandroid/app/job/JobInfo$Builder;->setRequiredNetworkType(I)Landroid/app/job/JobInfo$Builder;