Searched refs:NetworkType (Results 1 – 16 of 16) sorted by relevance
33 import androidx.work.NetworkType;196 public static int networkTypeToInt(NetworkType networkType) { in networkTypeToInt()226 public static NetworkType intToNetworkType(int value) { in intToNetworkType()229 return NetworkType.NOT_REQUIRED; in intToNetworkType()232 return NetworkType.CONNECTED; in intToNetworkType()235 return NetworkType.UNMETERED; in intToNetworkType()238 return NetworkType.NOT_ROAMING; in intToNetworkType()241 return NetworkType.METERED; in intToNetworkType()
33 NetworkType mRequiredNetworkType;64 public @NonNull NetworkType getRequiredNetworkType() { in getRequiredNetworkType()68 public void setRequiredNetworkType(@NonNull NetworkType requiredNetworkType) { in setRequiredNetworkType()171 private NetworkType mRequiredNetworkType = NetworkType.NOT_REQUIRED;208 public Builder setRequiredNetworkType(@NonNull NetworkType networkType) { in setRequiredNetworkType()
22 public enum NetworkType { enum
19 import static androidx.work.NetworkType.CONNECTED;20 import static androidx.work.NetworkType.METERED;21 import static androidx.work.NetworkType.NOT_REQUIRED;22 import static androidx.work.NetworkType.NOT_ROAMING;23 import static androidx.work.NetworkType.UNMETERED;39 import androidx.work.NetworkType;214 private void convertWithRequiredNetworkType(NetworkType networkType, in convertWithRequiredNetworkType()
19 import static androidx.work.NetworkType.CONNECTED;20 import static androidx.work.NetworkType.METERED;21 import static androidx.work.NetworkType.NOT_ROAMING;22 import static androidx.work.NetworkType.UNMETERED;
28 import androidx.work.NetworkType;107 .setRequiredNetworkType(NetworkType.CONNECTED).build()) in createWorkRequestWithNetworkConstraints()
35 import androidx.work.NetworkType;134 static int convertNetworkType(NetworkType networkType) { in convertNetworkType()
19 import static androidx.work.NetworkType.UNMETERED;
19 import static androidx.work.NetworkType.CONNECTED;
19 import static androidx.work.NetworkType.NOT_ROAMING;
19 import static androidx.work.NetworkType.METERED;
35 import androidx.work.NetworkType;77 .setRequiredNetworkType(NetworkType.CONNECTED) in onCreate()
18 import static androidx.work.NetworkType.NOT_REQUIRED;
70 public @interface NetworkType {} annotation in JobInfo441 public @NetworkType int getNetworkType() { in getNetworkType()1103 public Builder setRequiredNetworkType(@NetworkType int networkType) { in setRequiredNetworkType()
22 import static androidx.work.NetworkType.METERED;23 import static androidx.work.NetworkType.NOT_REQUIRED;
1733 static_cast<IAGnssRil::NetworkType>(type), in android_location_GnssLocationProvider_update_network_state()