/packages/apps/Dialer/java/com/android/dialer/common/ |
D | NetworkUtil.java | 39 @NetworkType 42 return NetworkType.NONE; in getCurrentNetworkType() 68 return NetworkType.NONE; in getCurrentNetworkTypeName() 73 @NetworkType String networkType = getNetworkType(netInfo); in getCurrentNetworkTypeName() 80 @NetworkType 83 return NetworkType.NONE; in getNetworkType() 87 return NetworkType.WIFI; in getNetworkType() 91 return NetworkType.UNKNOWN; in getNetworkType() 95 public static boolean isNetworkTypeMobile(@NetworkType String networkType) { in isNetworkTypeMobile() 96 return Objects.equals(networkType, NetworkType.MOBILE_2G) in isNetworkTypeMobile() [all …]
|
/packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/ |
D | UserData.java | 114 public @interface NetworkType { annotation in UserData 133 @NetworkType int mDataNetworkType = 0; 167 @NetworkType int dataNetworkType, in UserData() 188 NetworkType.class, null, mDataNetworkType); in UserData() 260 public @NetworkType int getDataNetworkType() { in getDataNetworkType() 373 NetworkType.class, null, mDataNetworkType); in UserData() 409 private @NetworkType int mDataNetworkType; 499 public @NonNull Builder setDataNetworkType(@NetworkType int value) { in setDataNetworkType()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/download/ |
D | MddJob.java | 43 import com.android.adservices.shared.proto.JobPolicy.NetworkType; 260 private static NetworkType getNetworkConstraints(NetworkState networkState) { in getNetworkConstraints() 264 return NetworkType.NETWORK_TYPE_NONE; in getNetworkConstraints() 267 return NetworkType.NETWORK_TYPE_ANY; in getNetworkConstraints() 270 return NetworkType.NETWORK_TYPE_UNMETERED; in getNetworkConstraints()
|
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/ |
D | BootReceiver.java | 26 import androidx.work.NetworkType; 51 .setRequiredNetworkType(NetworkType.CONNECTED) in onReceive()
|
/packages/modules/DnsResolver/ |
D | resolv_cache.h | 98 android::net::NetworkType resolv_get_network_types_for_net(unsigned netid); 137 android::net::NetworkType convert_network_type(const std::vector<int32_t>& transportTypes);
|
D | stats.proto | 173 enum NetworkType { enum 406 optional NetworkType network_type = 6; 449 optional NetworkType network_type = 4; 488 optional NetworkType network_type = 1;
|
D | PrivateDnsConfigurationTest.cpp | 414 expectedEvent.set_network_type(NetworkType::NT_UNKNOWN); in TEST_F() 442 expectedEvent.set_network_type(NetworkType::NT_UNKNOWN); in TEST_F()
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/provision/worker/ |
D | SetupWizardCompletionTimeoutWorker.java | 35 import androidx.work.NetworkType; 128 request, NetworkType.CONNECTED).build())
|
D | PauseProvisioningWorker.java | 36 import androidx.work.NetworkType; 80 .setRequiredNetworkRequest(request, NetworkType.CONNECTED) in reportProvisionPausedByUser()
|
D | ReportDeviceProvisionStateWorker.java | 41 import androidx.work.NetworkType; 120 .setRequiredNetworkRequest(request, NetworkType.CONNECTED) in enqueueReportWork()
|
D | DeviceCheckInHelper.java | 59 import androidx.work.NetworkType; 230 NetworkType.CONNECTED).build()) in maybeEnqueueFcmRegistrationTokenRetrievalWork()
|
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/spe/scheduling/ |
D | PolicyProcessorTest.java | 23 import static com.android.adservices.shared.proto.JobPolicy.NetworkType.NETWORK_TYPE_NONE; 42 import com.android.adservices.shared.proto.JobPolicy.NetworkType; 64 NetworkType overridingValue = NetworkType.NETWORK_TYPE_CELLULAR; in testApplyPolicyToJobInfo_network()
|
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/spe/scheduling/ |
D | PolicyProcessor.java | 29 import com.android.adservices.shared.proto.JobPolicy.NetworkType; 138 static int convertNetworkType(NetworkType networkType) { in convertNetworkType()
|
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/user/ |
D | RawUserData.java | 48 @UserData.NetworkType public int dataNetworkType;
|
/packages/modules/AdServices/shared/libraries/device-side/proto/ |
D | job_policy.proto | 30 optional NetworkType network_type = 2; field 32 enum NetworkType { enum
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/policy/ |
D | ProvisionHelperImpl.java | 53 import androidx.work.NetworkType; 378 request, NetworkType.CONNECTED).build()) in getIsDeviceInApprovedCountryWork() 394 NetworkType.CONNECTED).build()) in getPlayInstallPackageTask()
|
D | FinalizationControllerImpl.java | 47 import androidx.work.NetworkType; 254 .setRequiredNetworkRequest(request, NetworkType.CONNECTED)
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiUsabilityStatsEntry.java | 26 import android.telephony.Annotation.NetworkType; 654 private final @NetworkType int mCellularDataNetworkType; 827 boolean isCellularDataAvailable, @NetworkType int cellularDataNetworkType, in WifiUsabilityStatsEntry() 1464 @NetworkType public int getCellularDataNetworkType() { in getCellularDataNetworkType()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/coex/ |
D | CoexUtils.java | 642 private final @Annotation.NetworkType int mRat; 650 public CoexCellChannel(@Annotation.NetworkType int rat, int band, in CoexCellChannel() 701 public @Annotation.NetworkType int getRat() { in getRat()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/ |
D | AsyncRegistrationFallbackJob.java | 22 import static com.android.adservices.shared.proto.JobPolicy.NetworkType.NETWORK_TYPE_ANY;
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/ |
D | BackgroundFetchJob.java | 125 .setNetworkType(JobPolicy.NetworkType.NETWORK_TYPE_UNMETERED) in createDefaultJobSpec()
|
/packages/modules/DnsResolver/doh/ |
D | metrics.rs | 21 Cause as StatsdCause, NetworkDnsHandshakeReported, NetworkType as StatsdNetworkType,
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/schedule/ |
D | DeviceLockControllerSchedulerImpl.java | 46 import androidx.work.NetworkType; 500 NetworkType.CONNECTED).build())
|
/packages/modules/DnsResolver/tests/ |
D | resolv_stats_test_utils.cpp | 105 event.set_network_type(static_cast<NetworkType>(value)); in fromNetworkDnsEventReportedStr()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/ |
D | AsyncRegistrationFallbackJobTest.java | 22 import static com.android.adservices.shared.proto.JobPolicy.NetworkType.NETWORK_TYPE_ANY;
|