Home
last modified time | relevance | path

Searched refs:setContext (Results 1 – 25 of 106) sorted by relevance

12345

/packages/modules/AdServices/adservices/tests/cts/endtoends/permissions/noperm/src/com/android/adservices/tests/permissions/
DPermissionsNoPermTest.java84 .setContext(sContext) in testNoPerm_topics()
99 .setContext(sContext) in testPermissionNotRequested_fledgeJoinCustomAudience()
122 .setContext(sContext) in testPermissionNotRequested_fledgeFetchAndJoinCustomAudience()
143 .setContext(sContext) in testPermissionNotRequested_fledgeLeaveCustomAudience()
165 .setContext(sContext) in testPermissionNotRequested_fledgeOverrideCustomAudienceRemoteInfo()
193 .setContext(sContext) in testPermissionNotRequested_fledgeRemoveCustomAudienceRemoteInfoOverride()
219 .setContext(sContext) in testPermissionNotRequested_fledgeResetAllCustomAudienceOverrides()
236 .setContext(sContext) in testPermissionNotRequested_selectAds_adSelectionConfig()
254 .setContext(sContext) in testPermissionNotRequested_selectAds_adSelectionFromOutcomesConfig()
272 .setContext(sContext) in testPermissionNotRequested_reportImpression()
[all …]
/packages/modules/AdServices/adservices/tests/cts/endtoends/permissions/appoptout/src/com/android/adservices/tests/permissions/
DPermissionsAppOptOutTest.java72 .setContext(sContext) in testAppOptOut_topics()
87 .setContext(sContext) in testNoEnrollment_fledgeJoinCustomAudience()
110 .setContext(sContext) in testNoEnrollment_fledgeFetchAndJoinCustomAudience()
132 .setContext(sContext) in testWithEnrollment_fledgeJoinCustomAudience()
153 .setContext(sContext) in testNoEnrollment_fledgeLeaveCustomAudience()
174 .setContext(sContext) in testWithEnrollment_fledgeLeaveCustomAudience()
195 .setContext(sContext) in testNoEnrollment_selectAds_adSelectionConfig()
216 .setContext(sContext) in testWithEnrollment_selectAds_adSelectionConfig()
238 .setContext(sContext) in testNoEnrollment_selectAds_adSelectionFromOutcomesConfig()
258 .setContext(sContext) in testWithEnrollment_selectAds_adSelectionFromOutcomesConfig()
[all …]
/packages/modules/AdServices/adservices/tests/cts/endtoends/permissions/valid/src/com/android/adservices/tests/permissions/
DPermissionsValidTest.java67 .setContext(sContext) in testValidPermissions_topics()
83 .setContext(sContext) in testValidPermissions_fledgeJoinCustomAudience()
102 .setContext(sContext) in testValidPermissions_fledgeFetchAndJoinCustomAudience()
127 .setContext(sContext) in testValidPermissions_selectAds_adSelectionConfig()
147 .setContext(sContext) in testValidPermissions_selectAds_adSelectionFromOutcomesConfig()
167 .setContext(sContext) in testValidPermissions_reportImpression()
190 .setContext(sContext) in testValidPermissions_reportEvent()
217 .setContext(sContext) in testValidPermissions_updateAdCounterHistogram()
241 .setContext(sContext) in testValidPermissions_fledgeLeaveCustomAudience()
/packages/modules/AdServices/adservices/tests/cts/endtoends/permissions/notallowed/src/com/android/adservices/tests/permissions/
DNotInAllowListTest.java73 .setContext(sContext) in testNotInAllowList_getTopics()
88 .setContext(sContext) in testNotInAllowList_fledgeJoinCustomAudience()
112 .setContext(sContext) in testNotInAllowList_fledgeFetchAndJoinCustomAudience()
132 .setContext(sContext) in testNotInAllowList_fledgeLeaveCustomAudience()
153 .setContext(sContext) in testNotInAllowList_selectAds_adSelectionConfig()
170 .setContext(sContext) in testNotInAllowList_selectAds_adSelectionFromOutcomesConfig()
186 .setContext(sContext) in testNotInAllowList_reportImpression()
206 .setContext(sContext) in testNotInAllowList_reportEvent()
230 .setContext(sContext) in testNotInAllowList_updateAdCounterHistogram()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DTestAdSelectionManagerTest.java128 .setContext(sContext) in setup()
149 .setContext(sContext) in testFailsWithInvalidAdSelectionId()
162 .setContext(sContext) in testFailsWithInvalidAdSelectionId_usingGetMethodToCreateManager()
246 .setContext(sContext) in testResetAllOverridesFailsWithDebugModeDisabled()
258 .setContext(sContext) in testResetAllOverridesFailsWithDebugModeDisabled_usingGetMethodToCreateManager()
284 .setContext(sContext) in testFailsWithInvalidAdSelectionConfigNoBuyers()
295 .setContext(sContext) in testFailsWithInvalidAdSelectionConfigNoBuyers_usingGetMethodToCreateManager()
327 .setContext(sContext) in overrideAdSelectionClient()
/packages/modules/AdServices/adservices/tests/cts/endtoends/topics/src/com/android/adservices/tests/cts/topics/
DTopicsManagerTest.java128 .setContext(sContext) in testTopicsManager_testTopicsKillSwitch()
152 .setContext(sContext) in testTopicsManager_disableDirectAppCalls_testEmptySdkNameRequests()
177 .setContext(sContext) in testTopicsManager_testOnDeviceKillSwitch_shouldUsePrecomputedList()
242 .setContext(sContext) in testTopicsManager_runDefaultClassifier()
288 .setContext(sContext) in testTopicsManager_runDefaultClassifier()
325 .setContext(sContext) in testTopicsManager_runOnDeviceClassifier()
404 .setContext(sContext) in testTopicsManager_runPrecomputedClassifier()
475 .setContext(sContext) in testTopicsManager_runPrecomputedClassifier_encryptedTopics()
DPreviewApiTest.java80 .setContext(sContext) in testRecordObservation()
89 .setContext(sContext) in testRecordObservation()
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/common/
DApplicationContextSingletonRuleTest.java200 Context setContext = mock(Context.class, "setContext"); in testSet() local
207 rule.set(setContext); in testSet()
210 .isSameInstanceAs(setContext); in testSet()
213 .isSameInstanceAs(setContext); in testSet()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/download/
DMobileDataDownloadFactory.java123 .setContext(context) in getMdd()
280 .setContext(context) in getTopicsManifestPopulator()
344 .setContext(context)
410 .setContext(context)
460 .setContext(context)
/packages/modules/AdServices/adservices/tests/cts/sandbox/fledge/providers/sdkFledge/src/com/android/tests/providers/sdkfledge/
DSdkFledge.java441 .setContext(getContext()) in setup()
446 .setContext(getContext()) in setup()
451 .setContext(getContext()) in setup()
456 .setContext(getContext()) in setup()
/packages/modules/AdServices/adservices/tests/cts/endtoends/topics/connection/src/com/android/adservices/tests/cts/topics/connection/
DTopicsConnectionTest.java89 .setContext(sContext) in testEnableGlobalKillSwitch()
106 .setContext(sContext) in testEnableGlobalKillSwitch()
/packages/modules/AdServices/adservices/tests/cts/endtoends/topics/mdd/src/com/android/adservices/tests/cts/topics/mdd/
DTopicsManagerMddTest.java107 .setContext(sContext) in testTopicsManager_downloadModelViaMdd_runPrecomputedClassifier()
132 .setContext(sContext) in testTopicsManager_downloadModelViaMdd_runPrecomputedClassifier()
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DCamera2PermissionTest.java55 public void setContext(Context context) { in setContext() method in Camera2PermissionTest
56 super.setContext(context); in setContext()
/packages/modules/AdServices/adservices/tests/endtoends/src/com/android/adservices/customaudience/
DCustomAudienceManagerTest.java107 .setContext(CONTEXT) in measureJoinCustomAudience()
126 .setContext(CONTEXT) in measureLeaveCustomAudience()
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/topics/
DTopicsEpochComputationPrecomputedClassifier.java121 .setContext(sContext) in testEpochComputation()
164 .setContext(sContext) in testEpochComputation()
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/testutils/
DShadowStatusBarNotification.java35 public static void setContext(Context context) { in setContext() method in ShadowStatusBarNotification
/packages/modules/Permission/tests/cts/permissionui/UsePermissionAppLocationProvider/src/android/permissionui/cts/accessmicrophoneapplocationprovider/
DUseMicrophoneActivity.kt63 .setContext(context) in useMic()
/packages/modules/AdServices/adservices/tests/cts/hosttests/app/src/com/android/adservices/cts/
DTopicsApiLogActivity.java41 .setContext(this) in onCreate()
/packages/modules/AdServices/sdksandbox/framework/java/android/app/sdksandbox/
DSdkSandboxSystemServiceRegistry.java109 Object setContext(@NonNull Object service, @NonNull Context context); in setContext() method
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/utils/
DProtectedAppSignalsTestFixture.java41 .setContext(CONTEXT)
/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClockApplication.kt40 Controller.getController().setContext(applicationContext) in onCreate()
/packages/modules/AdServices/adservices/apk/tests/settings/consenttestapp/java/com/example/adservices/samples/ui/consenttestapp/
DMainActivity.java50 .setContext(this) in onCreate()
/packages/apps/DeskClock/src/com/android/deskclock/controller/
DController.kt42 fun setContext(context: Context) { in setContext() method
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/
DAbstractPerfTest.java152 .setContext(mContext)
157 .setContext(mContext)
DAbstractSelectAdsLatencyTest.java82 .setContext(CONTEXT)
87 .setContext(CONTEXT)

12345