Home
last modified time | relevance | path

Searched refs:NetworkState (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Connectivity/framework/src/android/net/
DNetworkState.java32 public class NetworkState implements Parcelable { class
36 public static final NetworkState EMPTY = new NetworkState();
46 private NetworkState() { in NetworkState() method in NetworkState
55 public NetworkState(int legacyNetworkType, @NonNull LinkProperties linkProperties, in NetworkState() method in NetworkState
63 public NetworkState(@NonNull NetworkInfo networkInfo, @NonNull LinkProperties linkProperties, in NetworkState() method in NetworkState
70 public NetworkState(int legacyNetworkType, @NonNull NetworkInfo networkInfo, in NetworkState() method in NetworkState
93 public NetworkState(Parcel in) { in NetworkState() method in NetworkState
119 public static final Creator<NetworkState> CREATOR = new Creator<NetworkState>() {
121 public NetworkState createFromParcel(Parcel in) {
122 return new NetworkState(in);
[all …]
DIConnectivityManager.aidl37 import android.net.NetworkState;
90 NetworkState[] getAllNetworkState(); in getAllNetworkState()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/download/
DMddJobService.java99 enum NetworkState { enum in MddJobService
250 NetworkState.NETWORK_STATE_ANY, in scheduleIfNeeded()
257 NetworkState.NETWORK_STATE_ANY, in scheduleIfNeeded()
264 NetworkState.NETWORK_STATE_CONNECTED, in scheduleIfNeeded()
271 NetworkState.NETWORK_STATE_UNMETERED, in scheduleIfNeeded()
309 NetworkState networkState, in scheduleIfNeededMddSingleTask()
382 @NonNull NetworkState networkState) { in schedule()
418 private static int getNetworkConstraints(NetworkState networkState) { in getNetworkConstraints()
DMddJob.java19 import static com.android.adservices.download.MddJob.NetworkState.NETWORK_STATE_ANY;
20 import static com.android.adservices.download.MddJob.NetworkState.NETWORK_STATE_CONNECTED;
21 import static com.android.adservices.download.MddJob.NetworkState.NETWORK_STATE_UNMETERED;
106 enum NetworkState { enum in MddJob
195 String mddTag, long periodicalIntervalMs, NetworkState networkState) { in createJobSpec()
260 private static NetworkType getNetworkConstraints(NetworkState networkState) { in getNetworkConstraints()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/download/mdd/
DMddTaskScheduler.java59 static int getNetworkConstraints(NetworkState networkState) { in getNetworkConstraints()
75 NetworkState networkState) { in schedulePeriodicTask()
94 NetworkState networkState) { in schedulePeriodicTaskWithUpdate()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/
DMddJobTest.java24 import static com.android.adservices.download.MddJob.NetworkState.NETWORK_STATE_ANY;
25 import static com.android.adservices.download.MddJob.NetworkState.NETWORK_STATE_CONNECTED;
26 import static com.android.adservices.download.MddJob.NetworkState.NETWORK_STATE_UNMETERED;
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/
DNetworkState.java45 public class NetworkState extends PreferenceControllerState implements class
95 public NetworkState(Context context, in NetworkState() method in NetworkState
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt180 Landroid/net/IConnectivityManager$Stub$Proxy;->getAllNetworkState()[Landroid/net/NetworkState;
742 …Identity;->buildNetworkIdentity(Landroid/content/Context;Landroid/net/NetworkState;Z)Landroid/net/…
943 Landroid/net/NetworkState;-><init>(Landroid/net/NetworkInfo;Landroid/net/LinkProperties;Landroid/ne…
944 Landroid/net/NetworkState;->EMPTY:Landroid/net/NetworkState;
945 Landroid/net/NetworkState;->linkProperties:Landroid/net/LinkProperties;
946 Landroid/net/NetworkState;->networkCapabilities:Landroid/net/NetworkCapabilities;
947 Landroid/net/NetworkState;->networkId:Ljava/lang/String;
948 Landroid/net/NetworkState;->networkInfo:Landroid/net/NetworkInfo;
949 Landroid/net/NetworkState;->SANITY_CHECK_ROAMING:Z
950 Landroid/net/NetworkState;->subscriberId:Ljava/lang/String;
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java218 import android.net.NetworkState;
3167 public NetworkState[] getAllNetworkState() {
3171 final ArrayList<NetworkState> result = new ArrayList<>();
3177 result.add(new NetworkState(new NetworkInfo(nai.networkInfo),
3182 return result.toArray(new NetworkState[0]);