Home
last modified time | relevance | path

Searched refs:RESULT_UNSPECIFIED (Results 1 – 4 of 4) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DAppManifestConfigMetricsLogger.java18 import static com.android.adservices.service.common.AppManifestConfigCall.RESULT_UNSPECIFIED;
65 if (call.result == RESULT_UNSPECIFIED) { in logUsage()
86 @Result int currentValue = prefs.getInt(key, RESULT_UNSPECIFIED); in handleLogUsage()
87 if (currentValue == RESULT_UNSPECIFIED) { in handleLogUsage()
DAppManifestConfigCall.java63 public static final int RESULT_UNSPECIFIED = field in AppManifestConfigCall
98 RESULT_UNSPECIFIED,
169 case RESULT_UNSPECIFIED: in resultToString()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DAppManifestConfigCallTest.java36 import static com.android.adservices.service.common.AppManifestConfigCall.RESULT_UNSPECIFIED;
151 expect.withMessage("resultToString(%s)", RESULT_UNSPECIFIED) in testResultToString()
152 .that(resultToString(RESULT_UNSPECIFIED)) in testResultToString()
215 expect.withMessage("isAllowed(%s)", resultToString(RESULT_UNSPECIFIED)) in testIsAllowed()
216 .that(isAllowed(RESULT_UNSPECIFIED)) in testIsAllowed()
DAppManifestConfigMetricsLoggerTest.java28 import static com.android.adservices.service.common.AppManifestConfigCall.RESULT_UNSPECIFIED;
121 call.result = RESULT_UNSPECIFIED; in testLogUsage_callWithInvalidResult()
171 int valueBefore = mPrefs.getInt(KEY_PKG_NAME_API, RESULT_UNSPECIFIED); in testLogUsage_secondTimeDifferentResult()
187 int valueAfter = mPrefs.getInt(KEY_PKG_NAME_API, RESULT_UNSPECIFIED); in testLogUsage_secondTimeDifferentResult()