Searched refs:METERED (Results 1 – 9 of 9) sorted by relevance
78 int METERED = 4; field210 case METERED: in networkTypeToInt()211 return NetworkTypeIds.METERED; in networkTypeToInt()240 case NetworkTypeIds.METERED: in intToNetworkType()241 return NetworkType.METERED; in intToNetworkType()
19 import static androidx.work.NetworkType.METERED;43 return workSpec.constraints.getRequiredNetworkType() == METERED; in hasConstraint()
20 import static androidx.work.NetworkType.METERED;211 convertWithRequiredNetworkType(METERED, JobInfo.NETWORK_TYPE_METERED, 26); in testConvert_networkTypeMeteredRequiresApi26()268 assertThat(SystemJobInfoConverter.convertNetworkType(METERED), in testConvertNetworkType_metered_returnsAnyBeforeApi26()276 assertThat(SystemJobInfoConverter.convertNetworkType(METERED), in testConvertNetworkType_metered_returnsMeteredAtOrAfterApi26()
47 METERED enumConstant
20 import static androidx.work.NetworkType.METERED;201 .setRequiredNetworkType(METERED) in testConvert_requiresNetworkMetered_unsupported()
147 case METERED: in convertNetworkType()
167 case METERED: { in getConstraints()
132 proto.write(NetworkIdentityProto.METERED, mMetered); in writeToProto()
22 import static androidx.work.NetworkType.METERED;316 .setRequiredNetworkType(METERED) in testEnqueue_insertWorkConstraints()339 assertThat(constraints.getRequiredNetworkType(), is(METERED)); in testEnqueue_insertWorkConstraints()