Home
last modified time | relevance | path

Searched refs:CALLER_UID (Results 1 – 14 of 14) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DAdIdFetcherTest.java51 private static final int CALLER_UID = Process.myUid(); field in AdIdFetcherTest
110 Mockito.when(PermissionHelper.hasAdIdPermission(mContext, CALLER_PACKAGE_NAME, CALLER_UID)) in testIsLimitedTrackingEnabled_PermissionsNotDeclared_ReturnsDefault()
120 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS) in testIsLimitedTrackingEnabled_PermissionsNotDeclared_ReturnsDefault()
129 Mockito.when(PermissionHelper.hasAdIdPermission(mContext, CALLER_PACKAGE_NAME, CALLER_UID)) in testIsLimitedTrackingEnabled_Disabled_ReturnsFalse()
139 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS) in testIsLimitedTrackingEnabled_Disabled_ReturnsFalse()
148 Mockito.when(PermissionHelper.hasAdIdPermission(mContext, CALLER_PACKAGE_NAME, CALLER_UID)) in testIsLimitedTrackingEnabled_LatEnabled_ReturnsTrue()
158 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS) in testIsLimitedTrackingEnabled_LatEnabled_ReturnsTrue()
167 Mockito.when(PermissionHelper.hasAdIdPermission(mContext, CALLER_PACKAGE_NAME, CALLER_UID)) in testIsLimitedTrackingEnabled_AdIdZeroedOut_ReturnsDefault()
177 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS) in testIsLimitedTrackingEnabled_AdIdZeroedOut_ReturnsDefault()
186 Mockito.when(PermissionHelper.hasAdIdPermission(mContext, CALLER_PACKAGE_NAME, CALLER_UID)) in testIsLimitedTrackingEnabled_TimeoutException_ReturnsDefault()
[all …]
DDebugReportingTest.java56 private static final int CALLER_UID = Process.myUid(); field in DebugReportingTest
75 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS)) in setUp()
84 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS)) in isDisabled_withAdIdServiceKillSwitchTrue_returnsFalse()
93 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS); in isDisabled_withAdIdServiceKillSwitchTrue_returnsFalse()
100 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS)) in isEnabled_withLatDisabledAndFlagEnabled_returnsTrue()
109 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS); in isEnabled_withLatDisabledAndFlagEnabled_returnsTrue()
122 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS); in isEnabled_withFlagDisabled_returnsFalse()
129 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS)) in isEnabled_withLatEnabled_returnsFalse()
138 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS); in isEnabled_withLatEnabled_returnsFalse()
145 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS)) in getScriptStrategy_isEnabled_returnsCorrect()
[all …]
DAuctionServerDebugReportingTest.java48 private static final int CALLER_UID = Process.myUid(); field in AuctionServerDebugReportingTest
66 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS)) in setUp()
81 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS); in isDisabled_withAdIdServiceKillSwitchTrue()
95 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS); in isDisabled_withDisabledDebugReporting()
103 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS)) in isDisabled_withLatTrue()
111 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS); in isDisabled_withLatTrue()
119 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS)) in isEnabled_withLatFalse()
127 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS); in isEnabled_withLatFalse()
136 CALLER_UID, in initAuctionServerDebugReporting()
DOnDeviceAdSelectionRunnerTest.java237 private static final int CALLER_UID = Process.myUid(); field in OnDeviceAdSelectionRunnerTest
420 CALLER_UID, in setUp()
463 CALLER_UID, in testRunAdSelectionSuccess()
572 CALLER_UID, in testRunAdSelectionSuccessWithShouldUseUnifiedTablesFlag()
748 CALLER_UID, in testRunAdSelectionSuccessWithBuyerContextualSignals()
877 CALLER_UID, in testRunAdSelectionSuccessWithSellerDataVersionHeader()
1023 CALLER_UID, in testRunAdSelectionSuccessFilteringDisabled()
1227 CALLER_UID, in testRunAdSelectionRetriesAdSelectionIdGenerationAfterCollision()
1294 CALLER_UID, in testRunAdSelectionWithRevokedUserConsentSuccess()
1331 CALLER_UID, in testRunAdSelectionWithRevokedUserConsentSuccess()
[all …]
DOutcomeSelectionRunnerTest.java98 private static final int CALLER_UID = Process.myUid(); field in OutcomeSelectionRunnerTest
164 CALLER_UID, in setup()
184 CALLER_UID, in setup()
244 CALLER_UID, in testRunOutcomeSelectionRevokedUserConsentEmptyResult()
332 CALLER_UID, in testRunOutcomeSelectionOrchestrationTimeoutFailure()
DGetAdSelectionDataRunnerTest.java142 private static final int CALLER_UID = Process.myUid(); field in GetAdSelectionDataRunnerTest
253 CALLER_UID, in setup()
273 CALLER_PACKAGE_NAME, CALLER_UID)) in setup()
327 .isUnlimitedEgressEnabledForAuction(CALLER_PACKAGE_NAME, CALLER_UID); in testRunner_getAdSelectionData_returnsSuccess()
645 .isUnlimitedEgressEnabledForAuction(CALLER_PACKAGE_NAME, CALLER_UID); in testRunner_getAdSelectionData_returnsSuccessMetricsEnabled_withApiSourceCoordinator()
865 eq(CALLER_UID), in testRunner_revokedUserConsent_returnsRandomResult()
903 eq(CALLER_UID), in testRunner_revokedUserConsent_returnsRandomResultWithExcessiveSizeFormatterVersion()
1114 CALLER_UID, in testRunner_getAdSelectionData_timeoutFailure()
1180 CALLER_UID, in initRunner()
DPersistAdSelectionResultRunnerTest.java147 private static final int CALLER_UID = Process.myUid(); field in PersistAdSelectionResultRunnerTest
500 CALLER_UID, in setup()
1095 CALLER_UID, in testRunner_persistRemarketingResult_forceOnAbsentOwnerFalseSkipsValidation()
1194 CALLER_UID, in testRunner_persistRemarketingResult_forceOnAbsentOwnerFalseFuzzySearch()
1373 CALLER_UID, in testRunner_persistTimesOut_throwsException()
1413 eq(CALLER_UID), in testRunner_revokedUserConsent_returnsEmptyResult()
1599 CALLER_UID, in testRunner_persistResultWithLongInteractionKeyAndUri_throwsException()
1684 CALLER_UID, in testRunner_withKAnonSignFlagedDisabled_doesNothing()
1727 CALLER_UID, in testRunner_kanonSignJoinManagerThrowsException_persistSelectionRunnerIsSuccessful()
1768 CALLER_UID, in testRunner_withKAnonEnabled_makesSignAndJoinCalls()
[all …]
DUpdateAdCounterHistogramWorkerTest.java74 private static final int CALLER_UID = 10; field in UpdateAdCounterHistogramWorkerTest
104 CALLER_UID, in setup()
184 CALLER_UID, in testWorkerFeatureFlagDisabledStopsAndNotifiesFailure()
DAdSelectionFailureE2ETest.java143 private static final int CALLER_UID = Process.myUid(); field in AdSelectionFailureE2ETest
410 CALLER_UID, in setUp()
DAdSelectionFromOutcomesE2ETest.java143 private static final int CALLER_UID = Process.myUid(); field in AdSelectionFromOutcomesE2ETest
379 CALLER_UID, in setUp()
DAdSelectionE2ETest.java208 private static final int CALLER_UID = Process.myUid(); field in AdSelectionE2ETest
895 CALLER_UID, in setUp()
3732 CALLER_UID, in testRunAdSelectionWithRevokedUserConsentSuccess()
6829 CALLER_UID, in testAdSelectionConfigInvalidInput()
7194 CALLER_UID, in testRunAdSelectionFailsWithInvalidPackageName()
7290 CALLER_UID, in testRunAdSelectionFailsWhenAppCannotUsePPApi()
7382 CALLER_UID, in testRunAdSelectionFailsWhenAdTechFailsEnrollmentCheck()
7608 CALLER_UID, in testRunAdSelectionThrottledSubsequentCallFailure()
DAdSelectionServiceImplTest.java209 private static final int CALLER_UID = Process.myUid(); field in AdSelectionServiceImplTest
418 CALLER_UID, in setUp()
4706 CALLER_UID, in testReportImpressionWithRevokedUserConsentSuccess()
7015 CALLER_UID, in testReportImpressionForegroundCheckEnabledFails_throwsException()
7472 CALLER_UID, in testReportImpressionFailsWithInvalidPackageName()
7589 CALLER_UID, in testReportImpressionFailsWhenAppCannotUsePPApi()
7714 CALLER_UID, in testReportImpressionFailsWhenSellerFailsEnrollmentCheck()
7890 CALLER_UID, in testReportImpressionSucceedsWhenAdTechPassesEnrollmentCheck()
8171 CALLER_UID, in testReportImpressionSuccessThrottledSubsequentCallFailure()
DAuctionServerE2ETest.java215 private static final int CALLER_UID = Process.myUid(); field in AuctionServerE2ETest
510 eq(CALLER_UID), in testAuctionServer_consentDisabled_throwsException()
522 eq(CALLER_UID), in testAuctionServer_consentDisabled_throwsException()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/signals/
DEgressConfigurationGeneratorTest.java40 private static final int CALLER_UID = Process.myUid(); field in EgressConfigurationGeneratorTest
79 mPackageName, CALLER_UID, AD_ID_FETCHER_TIMEOUT)) in test_isUnlimitedEgressEnabled_success()
84 .isUnlimitedEgressEnabledForAuction(mPackageName, CALLER_UID) in test_isUnlimitedEgressEnabled_success()
89 .isLimitedAdTrackingEnabled(mPackageName, CALLER_UID, AD_ID_FETCHER_TIMEOUT); in test_isUnlimitedEgressEnabled_success()
104 mPackageName, CALLER_UID, AD_ID_FETCHER_TIMEOUT)) in test_isUnlimitedEgressEnabled_disabled()
109 .isUnlimitedEgressEnabledForAuction(mPackageName, CALLER_UID) in test_isUnlimitedEgressEnabled_disabled()
114 .isLimitedAdTrackingEnabled(mPackageName, CALLER_UID, AD_ID_FETCHER_TIMEOUT); in test_isUnlimitedEgressEnabled_disabled()
129 mPackageName, CALLER_UID, AD_ID_FETCHER_TIMEOUT)) in test_isUnlimitedEgressEnabled_limitedAdTrackingEnabled()
134 .isUnlimitedEgressEnabledForAuction(mPackageName, CALLER_UID) in test_isUnlimitedEgressEnabled_limitedAdTrackingEnabled()
139 .isLimitedAdTrackingEnabled(mPackageName, CALLER_UID, AD_ID_FETCHER_TIMEOUT); in test_isUnlimitedEgressEnabled_limitedAdTrackingEnabled()