Home
last modified time | relevance | path

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

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/encryptionkey/
DEncryptionKeyFetcher.java30 import com.android.adservices.service.stats.AdServicesEncryptionKeyFetchedStats.FetchStatus;
114 logEncryptionKeyFetchedStats(FetchStatus.NULL_ENDPOINT, enrollmentData, null); in fetchEncryptionKeys()
119 FetchStatus.INVALID_ENDPOINT, enrollmentData, encryptionKeyUrl); in fetchEncryptionKeys()
129 FetchStatus.INVALID_ENDPOINT, enrollmentData, encryptionKeyUrl); in fetchEncryptionKeys()
138 FetchStatus.IO_EXCEPTION, enrollmentData, encryptionKeyUrl); in fetchEncryptionKeys()
160 FetchStatus.KEY_NOT_MODIFIED, enrollmentData, encryptionKeyUrl); in fetchEncryptionKeys()
166 FetchStatus.BAD_REQUEST_EXCEPTION, enrollmentData, encryptionKeyUrl); in fetchEncryptionKeys()
178 FetchStatus.IO_EXCEPTION, enrollmentData, encryptionKeyUrl); in fetchEncryptionKeys()
224 FetchStatus.BAD_REQUEST_EXCEPTION, enrollmentData, encryptionKeyUrl); in getJsonResponse()
258 logEncryptionKeyFetchedStats(FetchStatus.SUCCESS, enrollmentData, encryptionKeyUrl); in parseEncryptionKeyJSONResponse()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stats/
DAdServicesEncryptionKeyFetchedStats.java35 public abstract FetchStatus getFetchStatus(); in getFetchStatus()
78 public enum FetchStatus { enum in AdServicesEncryptionKeyFetchedStats
89 FetchStatus(int value) { in FetchStatus() method in AdServicesEncryptionKeyFetchedStats.FetchStatus
105 public abstract Builder setFetchStatus(FetchStatus value); in setFetchStatus()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/encryptionkey/
DEncryptionKeyFetcherTest.java43 import com.android.adservices.service.stats.AdServicesEncryptionKeyFetchedStats.FetchStatus;
210 .setFetchStatus(FetchStatus.SUCCESS) in testFirstTimeFetchEncryptionKeysSucceed()
232 .setFetchStatus(FetchStatus.NULL_ENDPOINT) in testFirstTimeFetchEncryptionKeysNullEncryptionKeyUrl()
255 .setFetchStatus(FetchStatus.NULL_ENDPOINT) in testFirstTimeFetchEncryptionKeysEmptyEncryptionKeyUrl()
278 .setFetchStatus(FetchStatus.NULL_ENDPOINT) in testFirstTimeFetchEncryptionKeysSingleWhiteSpaceEncryptionKeyUrl()
300 .setFetchStatus(FetchStatus.IO_EXCEPTION) in testFirstTimeFetchEncryptionKeysBadConnection()
323 .setFetchStatus(FetchStatus.IO_EXCEPTION) in testFirstTimeFetchEncryptionKeysServerTimeOut()
349 .setFetchStatus(FetchStatus.BAD_REQUEST_EXCEPTION) in testFirstTimeFetchEncryptionKeysInvalidJSONResponse()
372 .setFetchStatus(FetchStatus.KEY_NOT_MODIFIED) in testRefetchEncryptionKeysNoChangeMadeToKeys()
396 .setFetchStatus(FetchStatus.SUCCESS) in testRefetchEncryptionKeysReturnNewKeys()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/stats/
DAdServicesLoggerImplTest.java26 import static com.android.adservices.service.stats.AdServicesEncryptionKeyFetchedStats.FetchStatus.…
DStatsdAdServicesLoggerTest.java26 import static com.android.adservices.service.stats.AdServicesEncryptionKeyFetchedStats.FetchStatus.…