Home
last modified time | relevance | path

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

/packages/services/Telephony/tests/src/com/android/phone/
DServiceStateProviderTest.java153 setTargetSdkVersion(Build.VERSION_CODES.R); in setUp()
243 setTargetSdkVersion(Build.VERSION_CODES.S); in query_publicColumns_targetS_noReadPrivilege_getPublicColumns()
255 setTargetSdkVersion(Build.VERSION_CODES.S); in query_hideColumn_targetS_noReadPrivilege_throwIllegalArgumentException()
271 setTargetSdkVersion(Build.VERSION_CODES.S); in query_allColumn_targetS_withReadPrivilegedAndLocation_getAllStateUnredacted()
287 setTargetSdkVersion(Build.VERSION_CODES.S); in query_locationColumn_targetS_withReadPrivilegeNoLocation_throwSecurityExecption()
303 setTargetSdkVersion(Build.VERSION_CODES.R); in query_allColumn_targetR_withLocation_getAllStateUnredacted()
318 setTargetSdkVersion(Build.VERSION_CODES.R); in query_allColumn_targetR_noLocation_getRedacted()
582 private void setTargetSdkVersion(int version) { in setTargetSdkVersion() method in ServiceStateProviderTest
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DVideoProviderTest.java194 mVideoCallImpl.setTargetSdkVersion(Build.VERSION_CODES.CUR_DEVELOPMENT); in testCameraChangePermissionFail()
223 mVideoCallImpl.setTargetSdkVersion(Build.VERSION_CODES.CUR_DEVELOPMENT); in testCameraChangeAppOpsFail()
253 mVideoCallImpl.setTargetSdkVersion(Build.VERSION_CODES.N); in testCameraChangeAppOpsBelowNMR1Fail()
282 mVideoCallImpl.setTargetSdkVersion(Build.VERSION_CODES.CUR_DEVELOPMENT); in testCameraChangeUserFail()
DTelecomServiceImplTest.java938 setTargetSdkVersion(Build.VERSION_CODES.Q); in testGetLine1NumberWithNoPermissionTargetPreR()
969 setTargetSdkVersion(Build.VERSION_CODES.Q); in testGetLine1NumberWithReadPhoneStateTargetPreR()
1040 setTargetSdkVersion(Build.VERSION_CODES.R); in setupGetLine1NumberTest()
1068 private void setTargetSdkVersion(int targetSdkVersion) throws Exception { in setTargetSdkVersion() method in TelecomServiceImplTest
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DSQLiteQueryBuilderTest.java738 builder.setTargetSdkVersion(Build.VERSION_CODES.Q); in assertEnforceStrictGrammarRelaxedByTargetSdk()
742 builder.setTargetSdkVersion(Build.VERSION_CODES.R); in assertEnforceStrictGrammarRelaxedByTargetSdk()
784 builder.setTargetSdkVersion(Build.VERSION_CODES.Q); in testStrict_158537159()
788 builder.setTargetSdkVersion(Build.VERSION_CODES.R); in testStrict_158537159()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DSQLiteQueryBuilder.java103 public void setTargetSdkVersion(int targetSdkVersion) { in setTargetSdkVersion() method in SQLiteQueryBuilder
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java4566 qb.setTargetSdkVersion(getCallingPackageTargetSdkVersion()); in getQueryBuilderInternal()