From 8a25c52d0b7decf86cfb7329b31c512d5510e176 Mon Sep 17 00:00:00 2001 From: yangsen Date: Mon, 24 Jun 2024 14:03:18 +0800 Subject: [PATCH] Support acc (#511) --- .idea/misc.xml | 1 - build.gradle | 1 + .../java/com/qiniu/android/TestConfig.java | 14 ++-- .../qiniu/android/http/dns/DnsApiTest.java | 4 +- .../android/http/dns/DnsTransactionTest.java | 2 +- .../qiniu/android/http/dns/SystemDnsTest.java | 6 +- .../serverRegion/UploadDomainRegionTest.java | 2 +- .../android/collect/UploadInfoReporter.java | 4 +- .../com/qiniu/android/common/AutoZone.java | 73 ++++++++++++----- .../java/com/qiniu/android/common/Config.java | 3 +- .../com/qiniu/android/common/FixedZone.java | 41 ++++++++-- .../java/com/qiniu/android/common/Zone.java | 24 ++++++ .../com/qiniu/android/common/ZoneInfo.java | 65 +++++++++++++--- .../com/qiniu/android/http/ResponseInfo.java | 33 +++++++- .../http/dns/DnsPrefetchTransaction.java | 19 ++++- .../qiniu/android/http/dns/DnsPrefetcher.java | 26 +++++-- .../http/request/HttpRegionRequest.java | 2 +- .../http/request/HttpSingleRequest.java | 2 +- .../http/request/RequestTransaction.java | 4 +- .../request/httpclient/SystemHttpClient.java | 7 +- .../http/serverRegion/UploadDomainRegion.java | 78 ++++++++++++++++--- .../com/qiniu/android/storage/BaseUpload.java | 35 +++++---- .../qiniu/android/storage/Configuration.java | 19 +++++ .../qiniu/android/storage/PartsUpload.java | 2 +- .../android/storage/PartsUploadPerformer.java | 2 +- .../qiniu/android/storage/UploadManager.java | 4 +- .../com/qiniu/android/utils/ListUtils.java | 10 +++ .../com/qiniu/android/utils/MapUtils.java | 9 +++ 28 files changed, 392 insertions(+), 100 deletions(-) create mode 100644 library/src/main/java/com/qiniu/android/utils/ListUtils.java create mode 100644 library/src/main/java/com/qiniu/android/utils/MapUtils.java diff --git a/.idea/misc.xml b/.idea/misc.xml index c4aa05ee..d5328a40 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,4 +1,3 @@ -