Home
last modified time | relevance | path

Searched refs:mockedFlags (Results 1 – 4 of 4) sorted by relevance

/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/mockito/
DAdServicesExtendedMockitoMocker.java42 public void mockGetFlags(Flags mockedFlags) { in mockGetFlags() argument
43 logV("mockGetFlags(%s)", mockedFlags); in mockGetFlags()
45 doReturn(mockedFlags).when(FlagsFactory::getFlags); in mockGetFlags()
DAdServicesStaticMockitoMocker.java36 void mockGetFlags(Flags mockedFlags); in mockGetFlags() argument
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/common/
DAdServicesExtendedMockitoTestCase.java173 public void mockGetFlags(Flags mockedFlags) { in mockGetFlags() argument
174 mAdServicesMocker.mockGetFlags(mockedFlags); in mockGetFlags()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/classifier/
DModelManagerTest.java149 Flags mockedFlags = mock(Flags.class); in testRetrieveModel_bundled_forceUsingBundledFiles() local
150 doReturn(true).when(mockedFlags).getClassifierForceUseBundledFiles(); in testRetrieveModel_bundled_forceUsingBundledFiles()
152 doReturn(mockedFlags).when(FlagsFactory::getFlags); in testRetrieveModel_bundled_forceUsingBundledFiles()