Home
last modified time | relevance | path

Searched refs:NETWORK_BYTES_UNKNOWN (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/app/job/
DJobWorkItem.java19 import static android.app.job.JobInfo.NETWORK_BYTES_UNKNOWN;
53 mNetworkDownloadBytes = NETWORK_BYTES_UNKNOWN; in JobWorkItem()
54 mNetworkUploadBytes = NETWORK_BYTES_UNKNOWN; in JobWorkItem()
63 this(intent, networkBytes, NETWORK_BYTES_UNKNOWN); in JobWorkItem()
99 if (mNetworkDownloadBytes == NETWORK_BYTES_UNKNOWN in getEstimatedNetworkBytes()
100 && mNetworkUploadBytes == NETWORK_BYTES_UNKNOWN) { in getEstimatedNetworkBytes()
101 return NETWORK_BYTES_UNKNOWN; in getEstimatedNetworkBytes()
102 } else if (mNetworkDownloadBytes == NETWORK_BYTES_UNKNOWN) { in getEstimatedNetworkBytes()
104 } else if (mNetworkUploadBytes == NETWORK_BYTES_UNKNOWN) { in getEstimatedNetworkBytes()
184 if (mNetworkDownloadBytes != NETWORK_BYTES_UNKNOWN) { in toString()
[all …]
DJobInfo.java99 public static final int NETWORK_BYTES_UNKNOWN = -1; field in JobInfo
490 if (networkDownloadBytes == NETWORK_BYTES_UNKNOWN in getEstimatedNetworkBytes()
491 && networkUploadBytes == NETWORK_BYTES_UNKNOWN) { in getEstimatedNetworkBytes()
492 return NETWORK_BYTES_UNKNOWN; in getEstimatedNetworkBytes()
493 } else if (networkDownloadBytes == NETWORK_BYTES_UNKNOWN) { in getEstimatedNetworkBytes()
495 } else if (networkUploadBytes == NETWORK_BYTES_UNKNOWN) { in getEstimatedNetworkBytes()
988 private long mNetworkDownloadBytes = NETWORK_BYTES_UNKNOWN;
989 private long mNetworkUploadBytes = NETWORK_BYTES_UNKNOWN;
1183 return setEstimatedNetworkBytes(networkBytes, NETWORK_BYTES_UNKNOWN); in setEstimatedNetworkBytes()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DJobStatus.java308 private long totalNetworkBytes = JobInfo.NETWORK_BYTES_UNKNOWN;
799 if (networkBytes == JobInfo.NETWORK_BYTES_UNKNOWN) { in computeEstimatedNetworkBytesLocked()
800 return JobInfo.NETWORK_BYTES_UNKNOWN; in computeEstimatedNetworkBytesLocked()
807 if (networkBytes == JobInfo.NETWORK_BYTES_UNKNOWN) { in computeEstimatedNetworkBytesLocked()
808 return JobInfo.NETWORK_BYTES_UNKNOWN; in computeEstimatedNetworkBytesLocked()
1527 if (totalNetworkBytes != JobInfo.NETWORK_BYTES_UNKNOWN) { in dump()
1720 if (totalNetworkBytes != JobInfo.NETWORK_BYTES_UNKNOWN) { in dump()
DConnectivityController.java325 if (estimatedBytes == JobInfo.NETWORK_BYTES_UNKNOWN) { in isInsane()
/frameworks/base/non-updatable-api/
Dcurrent.txt7353 field public static final int NETWORK_BYTES_UNKNOWN = -1; // 0xffffffff
/frameworks/base/api/
Dcurrent.txt7353 field public static final int NETWORK_BYTES_UNKNOWN = -1; // 0xffffffff