Home
last modified time | relevance | path

Searched refs:networkState (Results 1 – 5 of 5) sorted by relevance

/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/download/mdd/
DMddTaskScheduler.java59 static int getNetworkConstraints(NetworkState networkState) { in getNetworkConstraints() argument
60 switch (networkState) { in getNetworkConstraints()
75 NetworkState networkState) { in schedulePeriodicTask() argument
89 schedulePeriodicTaskWithUpdate(mddTaskTag, periodSeconds, networkState); in schedulePeriodicTask()
94 NetworkState networkState) { in schedulePeriodicTaskWithUpdate() argument
111 .setRequiredNetworkType(getNetworkConstraints(networkState)) in schedulePeriodicTaskWithUpdate()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/download/
DMddJobService.java309 NetworkState networkState, in scheduleIfNeededMddSingleTask() argument
343 schedule(context, jobScheduler, taskPeriodMs, mddTag, networkState); in scheduleIfNeededMddSingleTask()
382 @NonNull NetworkState networkState) { in schedule() argument
395 .setRequiredNetworkType(getNetworkConstraints(networkState)) in schedule()
418 private static int getNetworkConstraints(NetworkState networkState) { in getNetworkConstraints() argument
419 switch (networkState) { in getNetworkConstraints()
DMddJob.java195 String mddTag, long periodicalIntervalMs, NetworkState networkState) { in createJobSpec() argument
207 .setNetworkType(getNetworkConstraints(networkState)) in createJobSpec()
260 private static NetworkType getNetworkConstraints(NetworkState networkState) { in getNetworkConstraints() argument
261 switch (networkState) { in getNetworkConstraints()
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/
DCtsNetUtils.java651 State networkState = networkInfo.getState(); in onReceive() local
652 Log.i(TAG, "Network type: " + networkType + " state: " + networkState); in onReceive()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DHeadsetNativeInterface.java606 int networkState, int serviceType, int signal, int batteryCharge, byte[] address); in notifyDeviceStatusNative() argument