Home
last modified time | relevance | path

Searched refs:sessionBuilder (Results 1 – 6 of 6) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DE2EMockStatic.java44 StaticMockitoSessionBuilder sessionBuilder) { in setUpMockedClasses() argument
45 sessionBuilder.spyStatic(PrivacyParams.class); in setUpMockedClasses()
46 sessionBuilder.spyStatic(AppManifestConfigHelper.class); in setUpMockedClasses()
47 return sessionBuilder; in setUpMockedClasses()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/fixture/
DTestableSystemProperties.java44 StaticMockitoSessionBuilder sessionBuilder) { in setUpMockedClasses() argument
45 sessionBuilder.spyStatic(SystemProperties.class); in setUpMockedClasses()
46 return sessionBuilder; in setUpMockedClasses()
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DDataFactory.java267 PlannedExerciseSessionRecord.Builder sessionBuilder = in plannedExerciseSession() local
273 sessionBuilder.setNotes("Some notes"); in plannedExerciseSession()
274 sessionBuilder.setTitle("Some training plan"); in plannedExerciseSession()
275 sessionBuilder.setStartZoneOffset(ZoneOffset.UTC); in plannedExerciseSession()
276 sessionBuilder.setEndZoneOffset(ZoneOffset.UTC); in plannedExerciseSession()
284 sessionBuilder.setBlocks(List.of(blockBuilder.build())); in plannedExerciseSession()
286 return sessionBuilder; in plannedExerciseSession()
/packages/services/Car/libs/car-test-lib/src/android/car/test/mocks/
DMockSettings.java48 public MockSettings(CustomMockitoSessionBuilder sessionBuilder) { in MockSettings() argument
50 sessionBuilder in MockSettings()
54 sessionBuilder.setSessionCallback(() -> setExpectations()); in MockSettings()
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DContactsIndexerUserInstanceTest.java1009 @NonNull StaticMockitoSessionBuilder sessionBuilder) { in setUpMockedClasses()
1010 sessionBuilder.spyStatic(AppSearchStatsLog.class); in setUpMockedClasses()
1011 return sessionBuilder; in setUpMockedClasses()
/packages/modules/AppSearch/testing/mockingservicestests/src/com/android/server/appsearch/
DAppSearchManagerServiceTest.java2040 @NonNull StaticMockitoSessionBuilder sessionBuilder) { in setUpMockedClasses()
2041 sessionBuilder.mockStatic(LocalManagerRegistry.class); in setUpMockedClasses()
2042 sessionBuilder.spyStatic(ServiceManager.class); in setUpMockedClasses()
2043 return sessionBuilder; in setUpMockedClasses()