Home
last modified time | relevance | path

Searched refs:downloadBytes (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/apex/jobscheduler/framework/java/android/app/job/
DJobWorkItem.java92 public JobWorkItem(Intent intent, @BytesLong long downloadBytes, @BytesLong long uploadBytes) { in JobWorkItem() argument
93 this(intent, downloadBytes, uploadBytes, NETWORK_BYTES_UNKNOWN); in JobWorkItem()
115 public JobWorkItem(@Nullable Intent intent, @BytesLong long downloadBytes, in JobWorkItem() argument
119 mNetworkDownloadBytes = downloadBytes; in JobWorkItem()
334 public Builder setEstimatedNetworkBytes(@BytesLong long downloadBytes, in setEstimatedNetworkBytes() argument
336 if (downloadBytes != NETWORK_BYTES_UNKNOWN && downloadBytes < 0) { in setEstimatedNetworkBytes()
338 "Invalid network download bytes: " + downloadBytes); in setEstimatedNetworkBytes()
343 mNetworkDownloadBytes = downloadBytes; in setEstimatedNetworkBytes()
DJobService.java294 @BytesLong long downloadBytes, @BytesLong long uploadBytes) { in updateEstimatedNetworkBytes() argument
295 mEngine.updateEstimatedNetworkBytes(params, null, downloadBytes, uploadBytes); in updateEstimatedNetworkBytes()
306 @BytesLong long downloadBytes, @BytesLong long uploadBytes) { in updateEstimatedNetworkBytes() argument
307 mEngine.updateEstimatedNetworkBytes(params, jobWorkItem, downloadBytes, uploadBytes); in updateEstimatedNetworkBytes()
DIJobCallback.aidl97 long downloadBytes, long uploadBytes); in updateEstimatedNetworkBytes() argument
DJobServiceEngine.java457 @BytesLong long downloadBytes, @BytesLong long uploadBytes) { in updateTransferredNetworkBytes() argument
464 args.argl1 = downloadBytes; in updateTransferredNetworkBytes()
477 @BytesLong long downloadBytes, @BytesLong long uploadBytes) { in updateEstimatedNetworkBytes() argument
484 args.argl1 = downloadBytes; in updateEstimatedNetworkBytes()
DJobInfo.java1632 public Builder setEstimatedNetworkBytes(@BytesLong long downloadBytes, in setEstimatedNetworkBytes() argument
1634 mNetworkDownloadBytes = downloadBytes; in setEstimatedNetworkBytes()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobServiceContext.java296 long downloadBytes, long uploadBytes) { in updateEstimatedNetworkBytes() argument
297 doUpdateEstimatedNetworkBytes(this, jobId, item, downloadBytes, uploadBytes); in updateEstimatedNetworkBytes()
302 long downloadBytes, long uploadBytes) { in updateTransferredNetworkBytes() argument
303 doUpdateTransferredNetworkBytes(this, jobId, item, downloadBytes, uploadBytes); in updateTransferredNetworkBytes()
839 @Nullable JobWorkItem item, long downloadBytes, long uploadBytes) { in doUpdateEstimatedNetworkBytes() argument
849 safelyScaleBytesToKBForHistogram(downloadBytes)); in doUpdateEstimatedNetworkBytes()
853 && downloadBytes != JobInfo.NETWORK_BYTES_UNKNOWN) { in doUpdateEstimatedNetworkBytes()
854 if (mEstimatedDownloadBytes < downloadBytes) { in doUpdateEstimatedNetworkBytes()
859 } else if (mEstimatedDownloadBytes > downloadBytes) { in doUpdateEstimatedNetworkBytes()
880 mEstimatedDownloadBytes = downloadBytes; in doUpdateEstimatedNetworkBytes()
[all …]
DJobSchedulerService.java5578 final long downloadBytes;
5583 downloadBytes = js.getEstimatedNetworkDownloadBytes();
5586 downloadBytes = bytes.first;
5590 pw.println(downloadBytes);
5626 final long downloadBytes;
5631 downloadBytes = 0;
5634 downloadBytes = bytes.first;
5638 pw.println(downloadBytes);
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DConnectivityController.java749 final long downloadBytes = jobStatus.getEstimatedNetworkDownloadBytes(); in isInsane() local
750 if (downloadBytes != JobInfo.NETWORK_BYTES_UNKNOWN) { in isInsane()
754 final long estimatedMillis = calculateTransferTimeMs(downloadBytes, bandwidth); in isInsane()
757 Slog.w(TAG, "Estimated " + downloadBytes + " download bytes over " + bandwidth in isInsane()
871 final long downloadBytes = jobStatus.getEstimatedNetworkDownloadBytes(); in getEstimatedTransferTimeMs() local
873 if (downloadBytes == JobInfo.NETWORK_BYTES_UNKNOWN in getEstimatedTransferTimeMs()
885 final long estimatedDownloadTimeMs = calculateTransferTimeMs(downloadBytes, in getEstimatedTransferTimeMs()
DJobStatus.java1513 long downloadBytes = pendingWork.get(i).getEstimatedNetworkDownloadBytes(); in updateNetworkBytesLocked() local
1514 if (downloadBytes != JobInfo.NETWORK_BYTES_UNKNOWN && downloadBytes > 0) { in updateNetworkBytesLocked()
1519 mTotalNetworkDownloadBytes += downloadBytes; in updateNetworkBytesLocked()
1521 mTotalNetworkDownloadBytes = downloadBytes; in updateNetworkBytesLocked()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...