Home
last modified time | relevance | path

Searched refs:DownloadRetryResultCode (Results 1 – 8 of 8) sorted by relevance

/packages/services/AlternativeNetworkAccess/src/com/android/ons/
DONSProfileDownloader.java42 void onDownloadError(int pSIMSubId, DownloadRetryResultCode resultCode, int detailErrCode); in onDownloadError()
64 protected enum DownloadRetryResultCode { enum in ONSProfileDownloader
116 DownloadRetryResultCode resultCode = mapDownloaderErrorCode(msg.arg1, in handleMessage()
141 protected DownloadRetryResultCode mapDownloaderErrorCode(int resultCode, in mapDownloaderErrorCode()
155 return DownloadRetryResultCode.ERR_MEMORY_FULL; in mapDownloaderErrorCode()
161 return DownloadRetryResultCode.ERR_RETRY_DOWNLOAD; in mapDownloaderErrorCode()
165 return DownloadRetryResultCode.ERR_UNRESOLVABLE; in mapDownloaderErrorCode()
173 return DownloadRetryResultCode.DOWNLOAD_SUCCESSFUL; in mapDownloaderErrorCode()
179 return DownloadRetryResultCode.ERR_MEMORY_FULL; in mapDownloaderErrorCode()
186 return DownloadRetryResultCode.ERR_RETRY_DOWNLOAD; in mapDownloaderErrorCode()
[all …]
DONSStatsInfo.java20 import com.android.ons.ONSProfileDownloader.DownloadRetryResultCode;
25 private DownloadRetryResultCode mDownloadResult = null;
37 public DownloadRetryResultCode getDownloadResult() { in getDownloadResult()
72 public ONSStatsInfo setDownloadResult(DownloadRetryResultCode retryResultCode) { in setDownloadResult()
DONSStats.java25 import com.android.ons.ONSProfileDownloader.DownloadRetryResultCode;
187 == DownloadRetryResultCode.ERR_INSTALL_ESIM_PROFILE_FAILED) { in ignoreEvent()
DONSProfileActivator.java40 import com.android.ons.ONSProfileDownloader.DownloadRetryResultCode;
337 public void onDownloadError(int pSIMSubId, DownloadRetryResultCode resultCode, in onDownloadError()
/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/
DONSProfileDownloaderTest.java135 ONSProfileDownloader.DownloadRetryResultCode operationCode, in testDownloadSuccessCallback()
260 TEST_SUB_ID, ONSProfileDownloader.DownloadRetryResultCode.ERR_MEMORY_FULL, 0); in testDownloadFailureMemoryFullError()
272 TEST_SUB_ID, ONSProfileDownloader.DownloadRetryResultCode.ERR_RETRY_DOWNLOAD, 0); in testDownloadFailureConnectionError()
316 TEST_SUB_ID, ONSProfileDownloader.DownloadRetryResultCode.ERR_RETRY_DOWNLOAD, 0); in testDownloadFailureConnectionError()
329 TEST_SUB_ID, ONSProfileDownloader.DownloadRetryResultCode.ERR_RETRY_DOWNLOAD, 0); in testDownloadFailureTimeout()
373 TEST_SUB_ID, ONSProfileDownloader.DownloadRetryResultCode.ERR_RETRY_DOWNLOAD, 0); in testDownloadFailureTimeout()
386 TEST_SUB_ID, ONSProfileDownloader.DownloadRetryResultCode.ERR_RETRY_DOWNLOAD, 0); in testDownloadFailureOperationBusy()
430 TEST_SUB_ID, ONSProfileDownloader.DownloadRetryResultCode.ERR_RETRY_DOWNLOAD, 0); in testDownloadFailureOperationBusy()
443 TEST_SUB_ID, ONSProfileDownloader.DownloadRetryResultCode.ERR_RETRY_DOWNLOAD, 0); in testDownloadFailureInvalidResponse()
481 TEST_SUB_ID, ONSProfileDownloader.DownloadRetryResultCode.ERR_UNRESOLVABLE, 0); in testDownloadFailureInvalidResponse()
[all …]
DONSStatsInfoTest.java25 import com.android.ons.ONSProfileDownloader.DownloadRetryResultCode;
46 info = new ONSStatsInfo().setDownloadResult(DownloadRetryResultCode.ERR_MEMORY_FULL); in testDownloadResult()
47 assertEquals(DownloadRetryResultCode.ERR_MEMORY_FULL, info.getDownloadResult()); in testDownloadResult()
93 info.setDownloadResult(DownloadRetryResultCode.ERR_MEMORY_FULL); in testIsProvisioningResultUpdated()
DONSStatsTest.java31 import com.android.ons.ONSProfileDownloader.DownloadRetryResultCode;
235 .setDownloadResult(DownloadRetryResultCode.ERR_MEMORY_FULL) in testRepeatedLogEvents()
256 .setDownloadResult(DownloadRetryResultCode.ERR_INSTALL_ESIM_PROFILE_FAILED); in testRepeatedAllowedLogEvents()
311 .setDownloadResult(DownloadRetryResultCode.ERR_MEMORY_FULL) in testDetailedErrorCodeLogEvents()
DONSProfileActivatorTest.java712 ONSProfileDownloader.DownloadRetryResultCode.ERR_RETRY_DOWNLOAD, 0); in testESIMDownloadFailureAndRetry()