Home
last modified time | relevance | path

Searched refs:MeasurementImpl (Results 1 – 24 of 24) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DMeasurementImplTest.java150 private MeasurementImpl mMeasurementImpl;
227 new MeasurementImpl( in before()
243 MeasurementImpl measurement = in testDeleteRegistrations_successfulNoOptionalParameters()
244 new MeasurementImpl( in testDeleteRegistrations_successfulNoOptionalParameters()
427 MeasurementImpl measurementImpl = in testGetSourceType_clickVerificationDisabled_returnsNavigationSourceType()
428 new MeasurementImpl( in testGetSourceType_clickVerificationDisabled_returnsNavigationSourceType()
546 MeasurementImpl measurement = createMeasurementImpl(); in doDeleteRegistrations()
647 MeasurementImpl measurement = createMeasurementImpl(); in doDeletePackageRecords()
713 MeasurementImpl measurement = createMeasurementImpl(); in doDeleteAllMeasurementData()
732 MeasurementImpl measurement = createMeasurementImpl(); in testDeleteAllUninstalledMeasurementData_success_recordsDeletionInSystemServer()
[all …]
DTestObjectProvider.java83 static MeasurementImpl getMeasurementImpl( in getMeasurementImpl()
89 new MeasurementImpl( in getMeasurementImpl()
DDeleteUninstalledJobServiceTest.java79 @Mock private MeasurementImpl mMockMeasurementImpl;
89 .spyStatic(MeasurementImpl.class)
417 .when(() -> MeasurementImpl.getInstance(any())); in runWithMocks()
DE2EMockTest.java126 MeasurementImpl mMeasurementImpl;
DMeasurementServiceImplTest.java134 @Mock private MeasurementImpl mMockMeasurementImpl;
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DPackageChangedReceiverTest.java62 import com.android.adservices.service.measurement.MeasurementImpl;
94 @SpyStatic(MeasurementImpl.class)
570 MeasurementImpl mockMeasurementImpl = mock(MeasurementImpl.class); in runPackageFullyRemovedForMsmtKillSwitchOff()
571 doReturn(mockMeasurementImpl).when(() -> MeasurementImpl.getInstance(any())); in runPackageFullyRemovedForMsmtKillSwitchOff()
597 MeasurementImpl mockMeasurementImpl = mock(MeasurementImpl.class); in runPackageFullyRemovedForMsmtKillSwitchOn()
598 doReturn(mockMeasurementImpl).when(() -> MeasurementImpl.getInstance(any())); in runPackageFullyRemovedForMsmtKillSwitchOn()
786 MeasurementImpl mockMeasurementImpl = mock(MeasurementImpl.class); in runPackageAddedMsmtKillSwitchOff()
787 doReturn(mockMeasurementImpl).when(() -> MeasurementImpl.getInstance(any())); in runPackageAddedMsmtKillSwitchOff()
813 MeasurementImpl mockMeasurementImpl = mock(MeasurementImpl.class); in runPackageAddedForMsmtKillSwitchOn()
814 doReturn(mockMeasurementImpl).when(() -> MeasurementImpl.getInstance(any())); in runPackageAddedForMsmtKillSwitchOn()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DMeasurementImpl.java85 public final class MeasurementImpl { class
87 private static volatile MeasurementImpl sMeasurementImpl;
97 MeasurementImpl(Context context) { in MeasurementImpl() method in MeasurementImpl
108 public MeasurementImpl( in MeasurementImpl() method in MeasurementImpl
130 public static MeasurementImpl getInstance(Context context) { in getInstance()
132 synchronized (MeasurementImpl.class) { in getInstance()
134 sMeasurementImpl = new MeasurementImpl(context); in getInstance()
DMeasurementServiceImpl.java102 private final MeasurementImpl mMeasurementImpl;
118 MeasurementImpl.getInstance(context), in MeasurementServiceImpl()
131 @NonNull MeasurementImpl measurementImpl, in MeasurementServiceImpl()
596 Consumer<MeasurementImpl> execute, in performRegistration()
640 Function<MeasurementImpl, Integer> execute, in performDeletion() argument
DDeleteUninstalledJobService.java78 MeasurementImpl.getInstance(this).deleteAllUninstalledMeasurementData(); in onStartJob()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DEventReporterFactory.java32 import com.android.adservices.service.measurement.MeasurementImpl;
60 @NonNull private final MeasurementImpl mMeasurementService;
76 @NonNull MeasurementImpl measurementService, in EventReporterFactory()
DReportAndRegisterEventImpl.java42 import com.android.adservices.service.measurement.MeasurementImpl;
61 @NonNull private final MeasurementImpl mMeasurementService;
76 @NonNull MeasurementImpl measurementService, in ReportAndRegisterEventImpl()
DReportAndRegisterEventFallbackImpl.java39 import com.android.adservices.service.measurement.MeasurementImpl;
66 @NonNull MeasurementImpl measurementService, in ReportAndRegisterEventFallbackImpl()
DAdSelectionServiceImpl.java108 import com.android.adservices.service.measurement.MeasurementImpl;
996 MeasurementImpl measurementService; in reportInteraction()
999 measurementService = MeasurementImpl.getInstance(mContext); in reportInteraction()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DPackageChangedReceiver.java44 import com.android.adservices.service.measurement.MeasurementImpl;
201 MeasurementImpl.getInstance( in measurementOnPackageFullyRemoved()
223 MeasurementImpl.getInstance(context).deletePackageRecords(packageUri); in measurementOnPackageDataCleared()
241 MeasurementImpl.getInstance(context) in measurementOnPackageAdded()
/packages/modules/AdServices/adservices/apk/unittest/src/com/android/adservices/measurement/
DMeasurementServiceTest.java53 import com.android.adservices.service.measurement.MeasurementImpl;
92 @SpyStatic(MeasurementImpl.class)
101 @Mock private MeasurementImpl mMockMeasurementImpl;
210 .when(() -> MeasurementImpl.getInstance(any())); in runWithMocks()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DEventReporterFactoryTest.java32 import com.android.adservices.service.measurement.MeasurementImpl;
56 @Mock private MeasurementImpl mMeasurementServiceMock;
DReportAndRegisterEventE2ETest.java109 import com.android.adservices.service.measurement.MeasurementImpl;
235 private MeasurementImpl mMeasurementImplSpy;
275 .spyStatic(MeasurementImpl.class) in setup()
323 new MeasurementImpl( in setup()
330 doReturn(mMeasurementImplSpy).when(() -> MeasurementImpl.getInstance(CONTEXT)); in setup()
DReportAndRegisterEventImplTest.java90 import com.android.adservices.service.measurement.MeasurementImpl;
171 @Mock private MeasurementImpl mMeasurementServiceMock;
DReportAndRegisterEventFallbackImplTest.java90 import com.android.adservices.service.measurement.MeasurementImpl;
177 @Mock private MeasurementImpl mMeasurementServiceMock;
DAdSelectionServiceImplTest.java160 import com.android.adservices.service.measurement.MeasurementImpl;
320 @Mock private MeasurementImpl mMeasurementServiceMock;
344 .mockStatic(MeasurementImpl.class) in setUp()
10227 doReturn(mMeasurementServiceMock).when(() -> MeasurementImpl.getInstance(any())); in testReportEvent_callbackErrorReported()
10286 doReturn(mMeasurementServiceMock).when(() -> MeasurementImpl.getInstance(any())); in testReportEvent_disabled_failsFast()
10348 doReturn(mMeasurementServiceMock).when(() -> MeasurementImpl.getInstance(any())); in testReportEvent_onlyReport_success()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DConsentManagerV2.java61 import com.android.adservices.service.measurement.MeasurementImpl;
123 private final MeasurementImpl mMeasurementImpl;
144 @NonNull MeasurementImpl measurementImpl, in ConsentManagerV2()
314 MeasurementImpl.getInstance(context), in getInstance()
DConsentManager.java69 import com.android.adservices.service.measurement.MeasurementImpl;
135 private final MeasurementImpl mMeasurementImpl;
154 @NonNull MeasurementImpl measurementImpl, in ConsentManager()
291 MeasurementImpl.getInstance(context), in getInstance()
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/
DConsentManagerV2Test.java132 import com.android.adservices.service.measurement.MeasurementImpl;
231 @Mock private MeasurementImpl mMeasurementImplMock;
DConsentManagerTest.java136 import com.android.adservices.service.measurement.MeasurementImpl;
228 @Mock private MeasurementImpl mMeasurementImplMock;