/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/webrtc/sdk/android/src/jni/ |
D | android_network_monitor.cc | 38 static NetworkType GetNetworkTypeFromJava( in GetNetworkTypeFromJava() 43 return NetworkType::NETWORK_UNKNOWN; in GetNetworkTypeFromJava() 46 return NetworkType::NETWORK_ETHERNET; in GetNetworkTypeFromJava() 49 return NetworkType::NETWORK_WIFI; in GetNetworkTypeFromJava() 52 return NetworkType::NETWORK_5G; in GetNetworkTypeFromJava() 55 return NetworkType::NETWORK_4G; in GetNetworkTypeFromJava() 58 return NetworkType::NETWORK_3G; in GetNetworkTypeFromJava() 61 return NetworkType::NETWORK_2G; in GetNetworkTypeFromJava() 64 return NetworkType::NETWORK_UNKNOWN_CELLULAR; in GetNetworkTypeFromJava() 67 return NetworkType::NETWORK_BLUETOOTH; in GetNetworkTypeFromJava() [all …]
|
D | android_network_monitor.h | 30 enum NetworkType { enum 49 NetworkType type; 50 NetworkType underlying_type_for_vpn;
|
/external/exoplayer/tree/extensions/workmanager/src/main/java/com/google/android/exoplayer2/ext/workmanager/ |
D | WorkManagerScheduler.java | 24 import androidx.work.NetworkType; 77 builder.setRequiredNetworkType(NetworkType.UNMETERED); in buildConstraints() 79 builder.setRequiredNetworkType(NetworkType.CONNECTED); in buildConstraints() 81 builder.setRequiredNetworkType(NetworkType.NOT_REQUIRED); in buildConstraints()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/ |
D | DefaultBandwidthMeter.java | 142 @C.NetworkType int networkType, long initialBitrateEstimate) { in setInitialBitrateEstimate() 246 @C.NetworkType private int networkType; 253 @C.NetworkType private int networkTypeOverride; 296 public synchronized void setNetworkTypeOverride(@C.NetworkType int networkType) { in setNetworkTypeOverride() 413 private long getInitialBitrateEstimateForNetworkType(@C.NetworkType int networkType) { in getInitialBitrateEstimateForNetworkType()
|
/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 | 365 enum NetworkType { enum 387 optional NetworkType local_network_type = 5;
|
D | rtc_event_log2.proto | 573 enum NetworkType { enum 598 optional NetworkType local_network_type = 6;
|
D | rtc_event_log_parser.h | 249 rtclog2::IceCandidatePairConfig::NetworkType network_type); in RTC_POP_IGNORING_WUNDEF()
|
D | rtc_event_log_parser.cc | 261 rtclog::IceCandidatePairConfig::NetworkType network_type) { in GetRuntimeIceCandidateNetworkType() 879 rtclog2::IceCandidatePairConfig::NetworkType network_type) { in GetRuntimeIceCandidateNetworkType()
|
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/ |
D | C.java | 939 public @interface NetworkType {} annotation in C
|
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/ |
D | Util.java | 1908 @C.NetworkType 2204 private static @C.NetworkType int getMobileNetworkType(NetworkInfo networkInfo) { in getMobileNetworkType()
|
/external/webrtc/logging/rtc_event_log/encoder/ |
D | rtc_event_log_encoder_legacy.cc | 190 rtclog::IceCandidatePairConfig::NetworkType ConvertIceCandidateNetworkType( in ConvertIceCandidateNetworkType()
|
D | rtc_event_log_encoder_new_format.cc | 229 rtclog2::IceCandidatePairConfig::NetworkType ConvertToProtoFormat( in ConvertToProtoFormat()
|