Home
last modified time | relevance | path

Searched refs:NETWORK_TYPE_ANY (Results 1 – 13 of 13) sorted by relevance

/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
H A DJobStatusTest.java244 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY) in testIsUserVisibleJob()
265 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY) in testMediaBackupExemption_lateConstraint()
283 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY) in testMediaBackupExemption_noContentTriggerConstraint()
293 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY) in testMediaBackupExemption_wrongSourcePackage()
307 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY) in testMediaBackupExemption_nonEligibleUri()
318 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY); in testMediaBackupExemption_lowPriorityJobs()
330 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY) in testMediaBackupExemptionGranted()
336 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY) in testMediaBackupExemptionGranted()
343 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY) in testMediaBackupExemptionGranted()
675 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY) in testShouldTreatAsUserInitiated()
[all …]
H A DConnectivityControllerTest.java170 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY); in testUsable()
175 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY); in testUsable()
283 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY); in testInsane()
308 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY); in testCongestion()
338 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY); in testMeteredAllowed()
462 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY); in testStrongEnough_Cellular()
636 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY); in testStrongEnough_Cellular_CheckDisabled()
810 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY); in testStrongEnough_Cellular_VPN()
954 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY), UID_BLUE); in testUpdates()
1040 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY), UID_BLUE); in testRequestStandbyExceptionLocked()
[all …]
H A DFlexibilityControllerTest.java21 import static android.app.job.JobInfo.NETWORK_TYPE_ANY;
631 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY) in testExceptions_UserInitiated()
709 JobInfo.Builder jb = createJob(0).setRequiredNetworkType(NETWORK_TYPE_ANY); in testConnectionToUnMeteredNetwork()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
H A DJobSchedulerServiceTest.java250 .setUserInitiated(true).setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY)); in testGetMinJobExecutionGuaranteeMs()
325 .setUserInitiated(true).setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY)); in testGetMinJobExecutionGuaranteeMs_timeoutSafeguards_disabled()
445 .setUserInitiated(true).setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY)); in testGetMinJobExecutionGuaranteeMs_timeoutSafeguards_enabled()
579 .setUserInitiated(true).setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY)); in testGetMaxJobExecutionTimeMs()
604 .setUserInitiated(true).setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY)); in testGetMaxJobExecutionTimeMs_timeoutSafeguards_disabled()
733 .setUserInitiated(true).setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY)); in testGetMaxJobExecutionTimeMs_timeoutSafeguards_enabled()
911 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY)); in testGetRescheduleJobForFailure_cumulativeExecution()
1052 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY)); in testGetRescheduleJobForFailure_userStopped()
1716 createJobInfo().setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY)); in testRareJobBatching()
1748 createJobInfo().setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY)); in testRareJobBatching()
/aosp14/frameworks/base/services/backup/java/com/android/server/backup/
H A DBackupManagerConstants.java86 JobInfo.NETWORK_TYPE_ANY;
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/job/
H A DPendingJobQueueTest.java19 import static android.app.job.JobInfo.NETWORK_TYPE_ANY;
532 .setRequiredNetworkType(ui ? NETWORK_TYPE_ANY : NETWORK_TYPE_NONE), in testPendingJobSorting_Random()
571 .setRequiredNetworkType(ui ? NETWORK_TYPE_ANY : NETWORK_TYPE_NONE), in testPendingJobSortingTransitivity()
597 .setRequiredNetworkType(ui ? NETWORK_TYPE_ANY : NETWORK_TYPE_NONE), in testPendingJobSortingTransitivity_Concentrated()
H A DJobStoreTest.java299 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY) in testMaybeWriteStatusToDisk()
602 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY).build()); in testRequiredNetworkType()
/aosp14/frameworks/base/apex/jobscheduler/framework/java/android/app/job/
H A DJobInfo.java114 NETWORK_TYPE_ANY,
125 public static final int NETWORK_TYPE_ANY = 1; field in JobInfo
638 return NETWORK_TYPE_ANY; in getNetworkType()
1414 if (networkType == NETWORK_TYPE_ANY) { in setRequiredNetworkType()
/aosp14/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/
H A DMainActivity.java153 builder.setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY); in scheduleJob()
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
H A DJobStore.java1595 jobBuilder.setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY); in buildConstraintsFromXml()
/aosp14/frameworks/base/services/core/java/com/android/server/content/
H A DSyncManager.java1753 JobInfo.NETWORK_TYPE_UNMETERED : JobInfo.NETWORK_TYPE_ANY; in scheduleSyncOperationH()
/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.txt8778 field public static final int NETWORK_TYPE_ANY = 1; // 0x1