Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java115 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY) in testMaybeWriteStatusToDisk()
155 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_UNMETERED) in testWritingTwoFilesToDisk()
346 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_NONE).build()); in testRequiredNetworkType()
349 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY).build()); in testRequiredNetworkType()
352 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_UNMETERED).build()); in testRequiredNetworkType()
355 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_NOT_ROAMING).build()); in testRequiredNetworkType()
358 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_CELLULAR).build()); in testRequiredNetworkType()
/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/support/work/workmanager-firebase/src/androidTest/java/androidx/work/impl/background/firebase/
DFirebaseJobConverterTest.java188 .setRequiredNetworkType(CONNECTED) in testConvert_requiresNetworkAny()
201 .setRequiredNetworkType(METERED) in testConvert_requiresNetworkMetered_unsupported()
214 .setRequiredNetworkType(NOT_ROAMING) in testConvert_requiresNetworkNotRoaming_unsupported()
227 .setRequiredNetworkType(UNMETERED) in testConvert_requiresNetworkUnmetered()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/controllers/
DConnectivityControllerTest.java116 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY); in testInsane()
133 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY); in testCongestion()
160 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_UNMETERED); in testRelaxed()
208 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_UNMETERED), UID_RED); in testUpdates()
211 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY), UID_BLUE); in testUpdates()
DJobStatusTest.java72 .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY).build(); in createJobStatus()
/frameworks/support/work/workmanager/src/main/java/androidx/work/
DConstraints.java68 public void setRequiredNetworkType(@NonNull NetworkType requiredNetworkType) { in setRequiredNetworkType() method in Constraints
208 public Builder setRequiredNetworkType(@NonNull NetworkType networkType) { in setRequiredNetworkType() method in Constraints.Builder
/frameworks/base/services/backup/java/com/android/server/backup/
DFullBackupJob.java42 .setRequiredNetworkType(constants.getFullBackupRequiredNetworkType()) in schedule()
DKeyValueBackupJob.java79 .setRequiredNetworkType(networkType) in schedule()
/frameworks/support/work/workmanager-test/src/androidTest/java/androidx/work/test/
DTestSchedulerTest.java107 .setRequiredNetworkType(NetworkType.CONNECTED).build()) in createWorkRequestWithNetworkConstraints()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemjob/
DSystemJobInfoConverter.java77 .setRequiredNetworkType(jobInfoNetworkType) in convert()
/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/
DMainActivity.java77 .setRequiredNetworkType(NetworkType.CONNECTED) in onCreate()
/frameworks/base/services/core/java/com/android/server/job/
DJobStore.java914 jobBuilder.setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY); in buildConstraintsFromXml()
918 jobBuilder.setRequiredNetworkType(JobInfo.NETWORK_TYPE_METERED); in buildConstraintsFromXml()
922 jobBuilder.setRequiredNetworkType(JobInfo.NETWORK_TYPE_UNMETERED); in buildConstraintsFromXml()
926 jobBuilder.setRequiredNetworkType(JobInfo.NETWORK_TYPE_NOT_ROAMING); in buildConstraintsFromXml()
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/background/systemjob/
DSystemJobInfoConverterTest.java218 .setRequiredNetworkType(networkType).build()); in convertWithRequiredNetworkType()
/frameworks/base/core/java/android/app/job/
DJobInfo.java1103 public Builder setRequiredNetworkType(@NetworkType int networkType) { in setRequiredNetworkType() method in JobInfo.Builder
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/
DWorkManagerImplTest.java316 .setRequiredNetworkType(METERED) in testEnqueue_insertWorkConstraints()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java1640 .setRequiredNetworkType(networkType) in scheduleSyncOperationH()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt5567 method public android.app.job.JobInfo.Builder setRequiredNetworkType(int);
/frameworks/base/config/
Dhiddenapi-public-dex.txt3151 Landroid/app/job/JobInfo$Builder;->setRequiredNetworkType(I)Landroid/app/job/JobInfo$Builder;
Dboot-image-profile.txt15994 HSPLandroid/app/job/JobInfo$Builder;->setRequiredNetworkType(I)Landroid/app/job/JobInfo$Builder;
/frameworks/base/api/
Dcurrent.txt7123 method public android.app.job.JobInfo.Builder setRequiredNetworkType(int);