/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/ |
D | MeasurementImplTest.java | 150 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 …]
|
D | TestObjectProvider.java | 83 static MeasurementImpl getMeasurementImpl( in getMeasurementImpl() 89 new MeasurementImpl( in getMeasurementImpl()
|
D | DeleteUninstalledJobServiceTest.java | 79 @Mock private MeasurementImpl mMockMeasurementImpl; 89 .spyStatic(MeasurementImpl.class) 417 .when(() -> MeasurementImpl.getInstance(any())); in runWithMocks()
|
D | E2EMockTest.java | 126 MeasurementImpl mMeasurementImpl;
|
D | MeasurementServiceImplTest.java | 134 @Mock private MeasurementImpl mMockMeasurementImpl;
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | PackageChangedReceiverTest.java | 62 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/ |
D | MeasurementImpl.java | 85 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()
|
D | MeasurementServiceImpl.java | 102 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
|
D | DeleteUninstalledJobService.java | 78 MeasurementImpl.getInstance(this).deleteAllUninstalledMeasurementData(); in onStartJob()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/ |
D | EventReporterFactory.java | 32 import com.android.adservices.service.measurement.MeasurementImpl; 60 @NonNull private final MeasurementImpl mMeasurementService; 76 @NonNull MeasurementImpl measurementService, in EventReporterFactory()
|
D | ReportAndRegisterEventImpl.java | 42 import com.android.adservices.service.measurement.MeasurementImpl; 61 @NonNull private final MeasurementImpl mMeasurementService; 76 @NonNull MeasurementImpl measurementService, in ReportAndRegisterEventImpl()
|
D | ReportAndRegisterEventFallbackImpl.java | 39 import com.android.adservices.service.measurement.MeasurementImpl; 66 @NonNull MeasurementImpl measurementService, in ReportAndRegisterEventFallbackImpl()
|
D | AdSelectionServiceImpl.java | 108 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/ |
D | PackageChangedReceiver.java | 44 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/ |
D | MeasurementServiceTest.java | 53 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/ |
D | EventReporterFactoryTest.java | 32 import com.android.adservices.service.measurement.MeasurementImpl; 56 @Mock private MeasurementImpl mMeasurementServiceMock;
|
D | ReportAndRegisterEventE2ETest.java | 109 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()
|
D | ReportAndRegisterEventImplTest.java | 90 import com.android.adservices.service.measurement.MeasurementImpl; 171 @Mock private MeasurementImpl mMeasurementServiceMock;
|
D | ReportAndRegisterEventFallbackImplTest.java | 90 import com.android.adservices.service.measurement.MeasurementImpl; 177 @Mock private MeasurementImpl mMeasurementServiceMock;
|
D | AdSelectionServiceImplTest.java | 160 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/ |
D | ConsentManagerV2.java | 61 import com.android.adservices.service.measurement.MeasurementImpl; 123 private final MeasurementImpl mMeasurementImpl; 144 @NonNull MeasurementImpl measurementImpl, in ConsentManagerV2() 314 MeasurementImpl.getInstance(context), in getInstance()
|
D | ConsentManager.java | 69 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/ |
D | ConsentManagerV2Test.java | 132 import com.android.adservices.service.measurement.MeasurementImpl; 231 @Mock private MeasurementImpl mMeasurementImplMock;
|
D | ConsentManagerTest.java | 136 import com.android.adservices.service.measurement.MeasurementImpl; 228 @Mock private MeasurementImpl mMeasurementImplMock;
|