/external/downloader/src/main/java/com/google/android/downloader/ |
D | AndroidConnectivityHandler.java | 40 import com.google.android.downloader.DownloadConstraints.NetworkType; 112 NetworkType networkType; in connectivitySatisfied() 140 if (downloadConstraints.requiredNetworkTypes().contains(NetworkType.ANY)) { in connectivitySatisfied() 168 if (downloadConstraints.requiredNetworkTypes().contains(NetworkType.ANY)) { in connectivitySatisfied() 188 private static NetworkType computeNetworkType(int networkType) { in computeNetworkType() 191 return NetworkType.BLUETOOTH; in computeNetworkType() 194 return NetworkType.ETHERNET; in computeNetworkType() 200 return NetworkType.CELLULAR; in computeNetworkType() 205 return NetworkType.CELLULAR; in computeNetworkType() 207 return NetworkType.WIFI; in computeNetworkType() [all …]
|
D | DownloadConstraints.java | 48 .setRequiredNetworkTypes(ImmutableSet.of(NetworkType.ANY)) 62 .setRequiredNetworkTypes(ImmutableSet.of(NetworkType.ANY)) 70 public enum NetworkType { enum in DownloadConstraints 96 public abstract ImmutableSet<NetworkType> requiredNetworkTypes(); in requiredNetworkTypes() 109 public abstract Builder setRequiredNetworkTypes(Set<NetworkType> networkTypes); in setRequiredNetworkTypes() 111 abstract ImmutableSet.Builder<NetworkType> requiredNetworkTypesBuilder(); in requiredNetworkTypesBuilder() 113 public Builder addRequiredNetworkType(NetworkType networkType) { in addRequiredNetworkType()
|
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/downloader/ |
D | DownloadConstraints.java | 36 .setRequiredNetworkTypes(EnumSet.noneOf(NetworkType.class)) 46 .setRequiredNetworkTypes(EnumSet.of(NetworkType.ANY)) 58 .setRequiredNetworkTypes(EnumSet.of(NetworkType.ANY)) 66 public enum NetworkType { enum in DownloadConstraints 92 public abstract ImmutableSet<NetworkType> requiredNetworkTypes(); in requiredNetworkTypes() 107 public abstract Builder setRequiredNetworkTypes(Set<NetworkType> networkTypes); in setRequiredNetworkTypes() 109 abstract ImmutableSet.Builder<NetworkType> requiredNetworkTypesBuilder(); in requiredNetworkTypesBuilder() 112 public final Builder addRequiredNetworkType(NetworkType networkType) { in addRequiredNetworkType()
|
/external/webrtc/sdk/android/src/jni/ |
D | android_network_monitor.cc | 36 const char* NetworkTypeToString(NetworkType type) { in NetworkTypeToString() 70 static NetworkType GetNetworkTypeFromJava( in GetNetworkTypeFromJava() 75 return NetworkType::NETWORK_UNKNOWN; in GetNetworkTypeFromJava() 78 return NetworkType::NETWORK_ETHERNET; in GetNetworkTypeFromJava() 81 return NetworkType::NETWORK_WIFI; in GetNetworkTypeFromJava() 84 return NetworkType::NETWORK_5G; in GetNetworkTypeFromJava() 87 return NetworkType::NETWORK_4G; in GetNetworkTypeFromJava() 90 return NetworkType::NETWORK_3G; in GetNetworkTypeFromJava() 93 return NetworkType::NETWORK_2G; in GetNetworkTypeFromJava() 96 return NetworkType::NETWORK_UNKNOWN_CELLULAR; in GetNetworkTypeFromJava() [all …]
|
D | android_network_monitor.h | 41 enum NetworkType { enum 60 NetworkType type; 61 NetworkType underlying_type_for_vpn; 128 void OnNetworkPreference_n(NetworkType type,
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/common/src/main/java/com/google/android/exoplayer2/util/ |
D | NetworkTypeObserver.java | 58 void onNetworkTypeChanged(@C.NetworkType int networkType); in onNetworkTypeChanged() 87 private @C.NetworkType int networkType; 133 public @C.NetworkType int getNetworkType() { in getNetworkType() 147 private void updateNetworkType(@C.NetworkType int networkType) { in updateNetworkType() 164 private static @C.NetworkType int getNetworkTypeFromConnectivityManager(Context context) { in getNetworkTypeFromConnectivityManager() 197 private static @C.NetworkType int getMobileNetworkType(NetworkInfo networkInfo) { in getMobileNetworkType() 233 @C.NetworkType int networkType = getNetworkTypeFromConnectivityManager(context); in onReceive()
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/common/src/main/java/com/google/android/exoplayer2/util/ |
D | NetworkTypeObserver.java | 58 void onNetworkTypeChanged(@C.NetworkType int networkType); in onNetworkTypeChanged() 87 @C.NetworkType 134 @C.NetworkType 149 private void updateNetworkType(@C.NetworkType int networkType) { in updateNetworkType() 166 @C.NetworkType 200 @C.NetworkType 237 @C.NetworkType int networkType = getNetworkTypeFromConnectivityManager(context); in onReceive()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/main/java/com/google/android/exoplayer2/upstream/ |
D | DefaultBandwidthMeter.java | 167 @C.NetworkType int networkType, long initialBitrateEstimate) { in setInitialBitrateEstimate() 279 private @C.NetworkType int networkType; 286 private @C.NetworkType int networkTypeOverride; 331 public synchronized void setNetworkTypeOverride(@C.NetworkType int networkType) { in setNetworkTypeOverride() 409 private synchronized void onNetworkTypeChanged(@C.NetworkType int networkType) { in onNetworkTypeChanged() 453 private long getInitialBitrateEstimateForNetworkType(@C.NetworkType int networkType) { in getInitialBitrateEstimateForNetworkType()
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/main/java/com/google/android/exoplayer2/upstream/ |
D | DefaultBandwidthMeter.java | 167 @C.NetworkType int networkType, long initialBitrateEstimate) { in setInitialBitrateEstimate() 279 @C.NetworkType private int networkType; 286 @C.NetworkType private int networkTypeOverride; 329 public synchronized void setNetworkTypeOverride(@C.NetworkType int networkType) { in setNetworkTypeOverride() 407 private synchronized void onNetworkTypeChanged(@C.NetworkType int networkType) { in onNetworkTypeChanged() 451 private long getInitialBitrateEstimateForNetworkType(@C.NetworkType int networkType) { in getInitialBitrateEstimateForNetworkType()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/extensions/workmanager/src/main/java/com/google/android/exoplayer2/ext/workmanager/ |
D | WorkManagerScheduler.java | 24 import androidx.work.NetworkType; 110 builder.setRequiredNetworkType(NetworkType.UNMETERED); in buildConstraints() 112 builder.setRequiredNetworkType(NetworkType.CONNECTED); in buildConstraints() 114 builder.setRequiredNetworkType(NetworkType.NOT_REQUIRED); in buildConstraints()
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/extensions/workmanager/src/main/java/com/google/android/exoplayer2/ext/workmanager/ |
D | WorkManagerScheduler.java | 24 import androidx.work.NetworkType; 108 builder.setRequiredNetworkType(NetworkType.UNMETERED); in buildConstraints() 110 builder.setRequiredNetworkType(NetworkType.CONNECTED); in buildConstraints() 112 builder.setRequiredNetworkType(NetworkType.NOT_REQUIRED); in buildConstraints()
|
/external/libtextclassifier/proto/ |
D | model_manifest.proto | 41 // Consistent with androidx.work.NetworkType. 42 enum NetworkType { enum 50 optional NetworkType required_network_type = 2;
|
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/downloader/offroad/ |
D | Offroad2FileDownloader.java | 22 import com.google.android.downloader.DownloadConstraints.NetworkType; 211 .addRequiredNetworkType(NetworkType.WIFI) 212 .addRequiredNetworkType(NetworkType.ETHERNET) 213 .addRequiredNetworkType(NetworkType.BLUETOOTH)
|
/external/libtextclassifier/java/src/com/android/textclassifier/downloader/ |
D | ModelDownloadManager.java | 36 import androidx.work.NetworkType; 228 NetworkType networkType = in scheduleDownloadWork() 229 Enums.getIfPresent(NetworkType.class, settings.getManifestDownloadRequiredNetworkType()) in scheduleDownloadWork() 230 .or(NetworkType.UNMETERED); in scheduleDownloadWork()
|
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/downloader/offroad/ |
D | Offroad2FileDownloaderTest.java | 32 import com.google.android.downloader.DownloadConstraints.NetworkType; 204 .containsExactly(NetworkType.WIFI, NetworkType.ETHERNET, NetworkType.BLUETOOTH); in testStartDownloading_downloadConditionsNull_usesWifiOnly() 241 .containsExactly(NetworkType.WIFI, NetworkType.ETHERNET, NetworkType.BLUETOOTH); in testStartDownloading_wifi()
|
/external/downloader/src/test/java/com/google/android/downloader/ |
D | AndroidConnectivityHandlerTest.java | 34 import com.google.android.downloader.DownloadConstraints.NetworkType; 167 .setRequiredNetworkTypes(ImmutableSet.of(NetworkType.ANY)) in checkConnectivity_anyNetworkType() 190 .setRequiredNetworkTypes(EnumSet.of(NetworkType.WIFI)) in checkConnectivity_unknownNetworkType()
|
/external/webrtc/logging/rtc_event_log/ |
D | rtc_event_log.proto | 377 enum NetworkType { enum 399 optional NetworkType local_network_type = 5;
|
D | rtc_event_log2.proto | 618 enum NetworkType { enum 643 optional NetworkType local_network_type = 6;
|
D | rtc_event_log_parser.h | 307 rtclog2::IceCandidatePairConfig::NetworkType network_type); in RTC_POP_IGNORING_WUNDEF()
|
D | rtc_event_log_parser.cc | 271 rtclog::IceCandidatePairConfig::NetworkType network_type) { in GetRuntimeIceCandidateNetworkType() 884 rtclog2::IceCandidatePairConfig::NetworkType network_type) { in GetRuntimeIceCandidateNetworkType()
|
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowTelephonyManager.java | 36 import android.telephony.Annotation.NetworkType; 1426 @NetworkType int networkType, @OverrideNetworkType int overrideNetworkType) {
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/common/src/main/java/com/google/android/exoplayer2/ |
D | C.java | 982 public @interface NetworkType {} annotation in C
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/common/src/main/java/com/google/android/exoplayer2/ |
D | C.java | 1092 public @interface NetworkType {} annotation in C
|
/external/webrtc/logging/rtc_event_log/encoder/ |
D | rtc_event_log_encoder_legacy.cc | 191 rtclog::IceCandidatePairConfig::NetworkType ConvertIceCandidateNetworkType( in ConvertIceCandidateNetworkType()
|
D | rtc_event_log_encoder_new_format.cc | 249 rtclog2::IceCandidatePairConfig::NetworkType ConvertToProtoFormat( in ConvertToProtoFormat()
|