Home
last modified time | relevance | path

Searched refs:ONSStatsInfo (Results 1 – 5 of 5) sorted by relevance

/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/
DONSStatsInfoTest.java36 ONSStatsInfo info; in testProvisioningResult()
37 info = new ONSStatsInfo().setProvisioningResult(Result.ERR_AUTO_PROVISIONING_DISABLED); in testProvisioningResult()
45 ONSStatsInfo info; in testDownloadResult()
46 info = new ONSStatsInfo().setDownloadResult(DownloadRetryResultCode.ERR_MEMORY_FULL); in testDownloadResult()
54 ONSStatsInfo info; in testPrimarySimSubId()
55 info = new ONSStatsInfo().setPrimarySimSubId(1); in testPrimarySimSubId()
61 ONSStatsInfo info; in testOppSimCarrierId()
62 info = new ONSStatsInfo().setOppSimCarrierId(1221); in testOppSimCarrierId()
68 ONSStatsInfo info; in testRetryCount()
69 info = new ONSStatsInfo().setRetryCount(3); in testRetryCount()
[all …]
DONSStatsTest.java207 ONSStatsInfo info = in testLogEvent()
208 new ONSStatsInfo() in testLogEvent()
217 ONSStatsInfo info = new ONSStatsInfo().setProvisioningResult(Result.DOWNLOAD_REQUESTED); in testIgnoredLogEvents()
220 info = new ONSStatsInfo().setProvisioningResult(Result.ERR_NO_SIM_INSERTED); in testIgnoredLogEvents()
223 info = new ONSStatsInfo().setProvisioningResult(Result.ERR_DUPLICATE_DOWNLOAD_REQUEST); in testIgnoredLogEvents()
226 info = new ONSStatsInfo().setProvisioningResult(Result.ERR_SWITCHING_TO_DUAL_SIM_MODE); in testIgnoredLogEvents()
232 ONSStatsInfo info; in testRepeatedLogEvents()
234 new ONSStatsInfo() in testRepeatedLogEvents()
246 ONSStatsInfo info; in testRepeatedAllowedLogEvents()
247 info = new ONSStatsInfo().setProvisioningResult(Result.ERR_DOWNLOADED_ESIM_NOT_FOUND); in testRepeatedAllowedLogEvents()
[all …]
/packages/services/AlternativeNetworkAccess/src/com/android/ons/
DONSStatsInfo.java22 public final class ONSStatsInfo { class
65 public ONSStatsInfo setProvisioningResult(Result result) { in setProvisioningResult()
72 public ONSStatsInfo setDownloadResult(DownloadRetryResultCode retryResultCode) { in setDownloadResult()
79 public ONSStatsInfo setPrimarySimSubId(int primarySimSubId) { in setPrimarySimSubId()
84 public ONSStatsInfo setOppSimCarrierId(int oppSimCarrierId) { in setOppSimCarrierId()
89 public ONSStatsInfo setRetryCount(int retryCount) { in setRetryCount()
94 public ONSStatsInfo setDetailedErrCode(int detailedErrCode) { in setDetailedErrCode()
99 public ONSStatsInfo setWifiConnected(boolean wifiConnected) { in setWifiConnected()
DONSProfileActivator.java128 mONSStats.logEvent(new ONSStatsInfo().setProvisioningResult(res));
141 mONSStats.logEvent(new ONSStatsInfo().setProvisioningResult(res)); in handleCarrierConfigChange()
156 mONSStats.logEvent(new ONSStatsInfo().setProvisioningResult(res)); in onOppSubscriptionDeleted()
310 mONSStats.logEvent(new ONSStatsInfo() in onDownloadComplete()
323 mONSStats.logEvent(new ONSStatsInfo() in onDownloadComplete()
329 mONSStats.logEvent(new ONSStatsInfo() in onDownloadComplete()
392 mONSStats.logEvent(new ONSStatsInfo() in onDownloadError()
575 mONSStats.logEvent(new ONSStatsInfo().setProvisioningResult(res)); in onAvailable()
DONSStats.java53 public boolean logEvent(ONSStatsInfo info) { in logEvent()
121 private void updateSharedPreferences(ONSStatsInfo info) { in updateSharedPreferences()
139 private boolean ignoreEvent(ONSStatsInfo info) { in ignoreEvent()