Home
last modified time | relevance | path

Searched refs:getSdkLevelInt (Results 1 – 2 of 2) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DAdServicesBackCompatInitTest.java140 doReturn(Build.VERSION_CODES.TIRAMISU).when(AdServicesBackCompatInit::getSdkLevelInt); in testInitializeComponents_withTPlusFlagsOff_disablesComponentsCancelsJobs()
156 doReturn(Build.VERSION_CODES.TIRAMISU).when(AdServicesBackCompatInit::getSdkLevelInt); in testInitializeComponents_withTPlusFlagsOn_disablesComponentsCancelsJobs()
183 doReturn(Build.VERSION_CODES.S).when(AdServicesBackCompatInit::getSdkLevelInt); in testInitializeComponents_withSFlagOn_enablesComponents()
196 doReturn(Build.VERSION_CODES.R).when(AdServicesBackCompatInit::getSdkLevelInt); in testInitializeComponents_withRFlagOn_enablesComponents()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DAdServicesBackCompatInit.java190 int currentSdkInt = getSdkLevelInt(); in updateAdExtServicesServices()
227 static int getSdkLevelInt() { in getSdkLevelInt() method in AdServicesBackCompatInit