/packages/modules/AdServices/adservices/framework/java/android/adservices/common/ |
D | AdServicesStatusUtils.java | 122 public static final int STATUS_BACKGROUND_CALLER = 11; field in AdServicesStatusUtils 359 case STATUS_BACKGROUND_CALLER: in asException() 411 STATUS_BACKGROUND_CALLER,
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/access/ |
D | ForegroundEnforcementAccessResolverTest.java | 19 import static android.adservices.common.AdServicesStatusUtils.STATUS_BACKGROUND_CALLER; 154 assertEquals(STATUS_BACKGROUND_CALLER, result.getResponseCode()); in testIsAllowed_isNotForeground_returnFalse() 175 assertEquals(STATUS_BACKGROUND_CALLER, result.getResponseCode()); in testIsAllowed_CatchesAllExceptions_returnsFalse()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/access/ |
D | ForegroundEnforcementAccessResolver.java | 70 return new AccessInfo(false, AdServicesStatusUtils.STATUS_BACKGROUND_CALLER); in getAccessInfo() 78 return new AccessInfo(false, AdServicesStatusUtils.STATUS_BACKGROUND_CALLER); in getAccessInfo()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsetid/ |
D | AppSetIdServiceImpl.java | 18 import static android.adservices.common.AdServicesStatusUtils.STATUS_BACKGROUND_CALLER; 208 callback, STATUS_BACKGROUND_CALLER, backgroundCaller.getMessage()); in canCallerInvokeAppSetIdService() 209 return STATUS_BACKGROUND_CALLER; in canCallerInvokeAppSetIdService()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adid/ |
D | AdIdServiceImpl.java | 18 import static android.adservices.common.AdServicesStatusUtils.STATUS_BACKGROUND_CALLER; 223 callback, STATUS_BACKGROUND_CALLER, backgroundCaller.getMessage()); in canCallerInvokeAdIdService() 224 return STATUS_BACKGROUND_CALLER; in canCallerInvokeAdIdService()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/ |
D | AppImportanceFilter.java | 165 AdServicesStatusUtils.STATUS_BACKGROUND_CALLER, in assertCallerIsInForeground() 226 AdServicesStatusUtils.STATUS_BACKGROUND_CALLER, in assertCallerIsInForeground()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | AppImportanceFilterTest.java | 159 .hasResultCode(AdServicesStatusUtils.STATUS_BACKGROUND_CALLER) in testCalledWithLessThanForegroundImportanceAppPackageName_logsFailure() 240 .hasResultCode(AdServicesStatusUtils.STATUS_BACKGROUND_CALLER) in testCalledWithLessThanForegroundImportanceAppUid_logsFailure() 262 .hasResultCode(AdServicesStatusUtils.STATUS_BACKGROUND_CALLER) in testCalledWithLessThanForegroundImportanceAppUidAndNullSdkName_logsFailure()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/ |
D | TopicsServiceImpl.java | 18 import static android.adservices.common.AdServicesStatusUtils.STATUS_BACKGROUND_CALLER; 310 callback, STATUS_BACKGROUND_CALLER, backgroundCaller.getMessage()); in canCallerInvokeTopicsService() 311 return STATUS_BACKGROUND_CALLER; in canCallerInvokeTopicsService()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/ |
D | CustomAudienceServiceImplTest.java | 23 import static android.adservices.common.AdServicesStatusUtils.STATUS_BACKGROUND_CALLER; 1033 STATUS_BACKGROUND_CALLER, ILLEGAL_STATE_BACKGROUND_CALLER_ERROR_MESSAGE); in testAppImportanceTestFails_joinCustomAudienceThrowsException() 1136 AdServicesStatusUtils.STATUS_BACKGROUND_CALLER, in testAppImportanceTestFails_leaveCustomAudienceThrowsException() 1250 AdServicesStatusUtils.STATUS_BACKGROUND_CALLER, in testAppImportanceTestFails_overrideCustomAudienceThrowsException() 1255 STATUS_BACKGROUND_CALLER); in testAppImportanceTestFails_overrideCustomAudienceThrowsException() 1362 STATUS_BACKGROUND_CALLER, ILLEGAL_STATE_BACKGROUND_CALLER_ERROR_MESSAGE); in testAppImportanceTestFails_removeCustomAudienceOverrideThrowsException() 1363 verifyLoggerMock(apiName, "", STATUS_BACKGROUND_CALLER); in testAppImportanceTestFails_removeCustomAudienceOverrideThrowsException() 1450 verifyLoggerMock(apiName, TEST_PACKAGE_NAME, STATUS_BACKGROUND_CALLER); in testAppImportanceTestFails_resetOverridesThrowsException() 1452 STATUS_BACKGROUND_CALLER, ILLEGAL_STATE_BACKGROUND_CALLER_ERROR_MESSAGE); in testAppImportanceTestFails_resetOverridesThrowsException()
|
D | FetchCustomAudienceImplTest.java | 23 import static android.adservices.common.AdServicesStatusUtils.STATUS_BACKGROUND_CALLER; 392 assertEquals(STATUS_BACKGROUND_CALLER, callback.mFledgeErrorResponse.getStatusCode()); in testImpl_failedForegroundCheck_throws() 403 eq(STATUS_BACKGROUND_CALLER), in testImpl_failedForegroundCheck_throws()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/exception/ |
D | FilterException.java | 49 return AdServicesStatusUtils.STATUS_BACKGROUND_CALLER; in getResultCode()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/ |
D | MeasurementServiceImplTest.java | 19 import static android.adservices.common.AdServicesStatusUtils.STATUS_BACKGROUND_CALLER; 358 () -> registerSourceAndAssertFailure(STATUS_BACKGROUND_CALLER)); in testRegisterSource_failureByForegroundEnforcementAccessResolver() 369 STATUS_BACKGROUND_CALLER, createRegistrationSourceRequest())); in testRegisterSource_failureByForegroundEnforcementAccessResolver_logFailureReason() 561 () -> registerTriggerAndAssertFailure(STATUS_BACKGROUND_CALLER)); in testRegisterTrigger_failureByForegroundEnforcementAccessResolver() 759 () -> deleteRegistrationsAndAssertFailure(STATUS_BACKGROUND_CALLER)); in testDeleteRegistrations_failureByForegroundEnforcementAccessResolver() 1391 () -> registerSourcesAndAssertFailure(STATUS_BACKGROUND_CALLER)); in testRegisterSources_failureByForegroundEnforcementAccessResolver() 1506 () -> registerWebSourceAndAssertFailure(STATUS_BACKGROUND_CALLER)); in testRegisterWebSource_failureByForegroundEnforcementAccessResolver() 1765 () -> registerWebTriggerAndAssertFailure(STATUS_BACKGROUND_CALLER)); in testRegisterWebTrigger_failureByForegroundEnforcementAccessResolver()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | AppInstallAdvertisersSetterTest.java | 214 verifyLog(AdServicesStatusUtils.STATUS_BACKGROUND_CALLER, never()); in testSetAppInstallAdvertisersBackgroundCaller() 216 verifyLog(AdServicesStatusUtils.STATUS_BACKGROUND_CALLER); in testSetAppInstallAdvertisersBackgroundCaller()
|
D | ReportAndRegisterEventImplTest.java | 23 import static android.adservices.common.AdServicesStatusUtils.STATUS_BACKGROUND_CALLER; 579 STATUS_BACKGROUND_CALLER, ILLEGAL_STATE_BACKGROUND_CALLER_ERROR_MESSAGE); in testImplFailsWhenForegroundCheckFails() 587 eq(STATUS_BACKGROUND_CALLER), in testImplFailsWhenForegroundCheckFails()
|
D | ReportEventImplTest.java | 21 import static android.adservices.common.AdServicesStatusUtils.STATUS_BACKGROUND_CALLER; 919 assertEquals(callback.mFledgeErrorResponse.getStatusCode(), STATUS_BACKGROUND_CALLER); in testImplFailsWhenForegroundCheckFails() local 930 eq(STATUS_BACKGROUND_CALLER), in testImplFailsWhenForegroundCheckFails()
|
D | ReportAndRegisterEventFallbackImplTest.java | 23 import static android.adservices.common.AdServicesStatusUtils.STATUS_BACKGROUND_CALLER; 850 STATUS_BACKGROUND_CALLER, ILLEGAL_STATE_BACKGROUND_CALLER_ERROR_MESSAGE); in testImplFailsWhenForegroundCheckFails() 858 eq(STATUS_BACKGROUND_CALLER), in testImplFailsWhenForegroundCheckFails()
|
D | OnDeviceAdSelectionRunnerTest.java | 24 import static android.adservices.common.AdServicesStatusUtils.STATUS_BACKGROUND_CALLER; 1618 verifyLogForFailurePriorPersistAdSelection(STATUS_BACKGROUND_CALLER); in testRunAdSelectionCallerNotInForeground_fails() 1626 eq(STATUS_BACKGROUND_CALLER), in testRunAdSelectionCallerNotInForeground_fails()
|
D | AdSelectionServiceImplTest.java | 7064 AdServicesStatusUtils.STATUS_BACKGROUND_CALLER, in testReportImpressionForegroundCheckEnabledFails_throwsException() 7137 AdServicesStatusUtils.STATUS_BACKGROUND_CALLER, in testOverrideAdSelectionForegroundCheckEnabledFails_throwsException() 7269 AdServicesStatusUtils.STATUS_BACKGROUND_CALLER, in testRemoveOverrideForegroundCheckEnabledFails_throwsException() 7392 AdServicesStatusUtils.STATUS_BACKGROUND_CALLER, in testResetAllOverridesForegroundCheckEnabledFails_throwsException()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/devapi/ |
D | CustomAudienceOverrider.java | 367 resultCode = AdServicesStatusUtils.STATUS_BACKGROUND_CALLER;
|
D | AdSelectionOverrider.java | 568 AdServicesStatusUtils.STATUS_BACKGROUND_CALLER,
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/ |
D | TopicsServiceImplTest.java | 20 import static android.adservices.common.AdServicesStatusUtils.STATUS_BACKGROUND_CALLER; 415 mSpyContext, STATUS_BACKGROUND_CALLER, /* checkLoggingStatus */ true); in testEnforceForeground_backgroundCaller()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/ |
D | CustomAudienceServiceImpl.java | 360 resultCode = AdServicesStatusUtils.STATUS_BACKGROUND_CALLER; in notifyFailure()
|