Home
last modified time | relevance | path

Searched refs:getRequiredNetworkType (Results 1 – 9 of 9) sorted by relevance

/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/constraints/controllers/
DNetworkUnmeteredController.java39 return workSpec.constraints.getRequiredNetworkType() == UNMETERED; in hasConstraint()
DNetworkConnectedController.java45 return workSpec.constraints.getRequiredNetworkType() == CONNECTED; in hasConstraint()
DNetworkNotRoamingController.java43 return workSpec.constraints.getRequiredNetworkType() == NOT_ROAMING; in hasConstraint()
DNetworkMeteredController.java43 return workSpec.constraints.getRequiredNetworkType() == METERED; in hasConstraint()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemalarm/
DConstraintProxy.java82 constraints.getRequiredNetworkType() != NOT_REQUIRED; in updateAll()
/frameworks/support/work/workmanager/src/main/java/androidx/work/
DConstraints.java64 public @NonNull NetworkType getRequiredNetworkType() { in getRequiredNetworkType() method in Constraints
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemjob/
DSystemJobInfoConverter.java72 int jobInfoNetworkType = convertNetworkType(constraints.getRequiredNetworkType()); in convert()
/frameworks/support/work/workmanager-firebase/src/main/java/androidx/work/impl/background/firebase/
DFirebaseJobConverter.java144 switch (constraints.getRequiredNetworkType()) { in getConstraints()
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/
DWorkManagerImplTest.java339 assertThat(constraints.getRequiredNetworkType(), is(METERED)); in testEnqueue_insertWorkConstraints()
352 assertThat(constraints.getRequiredNetworkType(), is(NOT_REQUIRED)); in testEnqueue_insertWorkConstraints()