Home
last modified time | relevance | path

Searched refs:uploadBytes (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()
116 @BytesLong long uploadBytes, @BytesLong long minimumChunkBytes) { in JobWorkItem() argument
120 mNetworkUploadBytes = uploadBytes; in JobWorkItem()
335 @BytesLong long uploadBytes) { in setEstimatedNetworkBytes() argument
340 if (uploadBytes != NETWORK_BYTES_UNKNOWN && uploadBytes < 0) { in setEstimatedNetworkBytes()
341 throw new IllegalArgumentException("Invalid network upload bytes: " + uploadBytes); in setEstimatedNetworkBytes()
344 mNetworkUploadBytes = uploadBytes; 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
465 args.argl2 = uploadBytes; in updateTransferredNetworkBytes()
477 @BytesLong long downloadBytes, @BytesLong long uploadBytes) { in updateEstimatedNetworkBytes() argument
485 args.argl2 = uploadBytes; in updateEstimatedNetworkBytes()
DJobInfo.java1633 @BytesLong long uploadBytes) { in setEstimatedNetworkBytes() argument
1635 mNetworkUploadBytes = uploadBytes; 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
851 safelyScaleBytesToKBForHistogram(uploadBytes)); in doUpdateEstimatedNetworkBytes()
867 && uploadBytes != JobInfo.NETWORK_BYTES_UNKNOWN) { in doUpdateEstimatedNetworkBytes()
868 if (mEstimatedUploadBytes < uploadBytes) { in doUpdateEstimatedNetworkBytes()
873 } else if (mEstimatedUploadBytes > uploadBytes) { in doUpdateEstimatedNetworkBytes()
881 mEstimatedUploadBytes = uploadBytes; in doUpdateEstimatedNetworkBytes()
[all …]
DJobSchedulerService.java5579 final long uploadBytes;
5584 uploadBytes = js.getEstimatedNetworkUploadBytes();
5587 uploadBytes = bytes.second;
5592 pw.println(uploadBytes);
5627 final long uploadBytes;
5632 uploadBytes = 0;
5635 uploadBytes = bytes.second;
5640 pw.println(uploadBytes);
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DConnectivityController.java765 final long uploadBytes = jobStatus.getEstimatedNetworkUploadBytes(); in isInsane() local
766 if (uploadBytes != JobInfo.NETWORK_BYTES_UNKNOWN) { in isInsane()
770 final long estimatedMillis = calculateTransferTimeMs(uploadBytes, bandwidth); in isInsane()
773 Slog.w(TAG, "Estimated " + uploadBytes + " upload bytes over " + bandwidth in isInsane()
872 final long uploadBytes = jobStatus.getEstimatedNetworkUploadBytes(); in getEstimatedTransferTimeMs() local
874 && uploadBytes == JobInfo.NETWORK_BYTES_UNKNOWN) { in getEstimatedTransferTimeMs()
887 final long estimatedUploadTimeMs = calculateTransferTimeMs(uploadBytes, in getEstimatedTransferTimeMs()
DJobStatus.java1524 long uploadBytes = pendingWork.get(i).getEstimatedNetworkUploadBytes(); in updateNetworkBytesLocked() local
1525 if (uploadBytes != JobInfo.NETWORK_BYTES_UNKNOWN && uploadBytes > 0) { in updateNetworkBytesLocked()
1530 mTotalNetworkUploadBytes += uploadBytes; in updateNetworkBytesLocked()
1532 mTotalNetworkUploadBytes = uploadBytes; in updateNetworkBytesLocked()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...