Home
last modified time | relevance | path

Searched refs:SdkExtensions (Results 1 – 22 of 22) sorted by relevance

/packages/modules/AdServices/adservices/tests/jetpack/src/com/android/adservices/appsetid/
DAppSetIdManagerJetpackTest.java22 import android.os.ext.SdkExtensions;
42 int adServicesVersion = SdkExtensions.getExtensionVersion(SdkExtensions.AD_SERVICES); in setup()
43 int extServicesVersion = SdkExtensions.getExtensionVersion(Build.VERSION_CODES.S); in setup()
/packages/modules/AdServices/adservices/tests/jetpack/src/com/android/adservices/adid/
DAdIdManagerJetpackTest.java22 import android.os.ext.SdkExtensions;
42 int adServicesVersion = SdkExtensions.getExtensionVersion(SdkExtensions.AD_SERVICES); in setup()
43 int extServicesVersion = SdkExtensions.getExtensionVersion(Build.VERSION_CODES.S); in setup()
/packages/modules/SdkExtensions/javatests/com/android/os/ext/
DSdkExtensionsTest.java25 import static android.os.ext.SdkExtensions.AD_SERVICES;
43 import android.os.ext.SdkExtensions;
116 assertVersion(expectation, SdkExtensions.getExtensionVersion(extension)); in assertVersion()
118 int v = SdkExtensions.getAllExtensionVersions().get(extension); in assertVersion()
143 () -> SdkExtensions.getExtensionVersion(finalSdk)); in testBadArgument()
157 int version = SdkExtensions.getExtensionVersion(sdk); in testZeroValues()
179 Set<Integer> actualKeys = SdkExtensions.getAllExtensionVersions().keySet(); in testGetAllExtensionVersionsKeys()
/packages/modules/SdkExtensions/
DREADME.md1 # SdkExtensions module
3 SdkExtensions module is responsible for:
33 The module exposes a java class [`SdkExtensions`][sdkextensions-java] in the
48 [sdkextensions-java]: java/android/os/ext/SdkExtensions.java
73 4) **packages/modules/SdkExtensions:** Define the new SDK extension version.
76 $ packages/modules/SdkExtensions/gen_sdk/bump_sdk.sh <NEW_VERSION> <MODULES> <BUG>
89 * the cl generated in step #4 is included in the SdkExtensions build of the
95 running the SdkExtensions tests. They need to be updated to use module builds
116 [def]: https://android.googlesource.com/platform/packages/modules/SdkExtensions/+/5663ebb842412b023…
154 - Make the `SdkExtensions.getExtensionVersion` API support the new extensions.
/packages/modules/AdServices/adservices/tests/jetpack/src/com/android/adservices/topics/
DTopicsManagerJetpackTest.java22 import android.os.ext.SdkExtensions;
57 int adServicesVersion = SdkExtensions.getExtensionVersion(SdkExtensions.AD_SERVICES); in setup()
58 int extServicesVersion = SdkExtensions.getExtensionVersion(Build.VERSION_CODES.S); in setup()
/packages/modules/SdkExtensions/java/android/os/ext/
DAndroid.bp23 srcs: ["SdkExtensions.java"],
24 visibility: ["//packages/modules/SdkExtensions:__subpackages__"],
44 "//packages/modules/SdkExtensions/tests/e2e:__subpackages__",
DSdkExtensions.java42 public class SdkExtensions { class
97 private SdkExtensions() {} in SdkExtensions() method in SdkExtensions
/packages/modules/common/proto/
DAndroid.bp31 "//packages/modules/SdkExtensions/gen_sdk",
45 visibility: ["//packages/modules/SdkExtensions/derive_sdk"],
66 visibility: ["//packages/modules/SdkExtensions/derive_classpath"],
/packages/modules/AdServices/adservices/tests/jetpack/src/com/android/adservices/measurement/
DMeasurementManagerJetpackTest.java24 import android.os.ext.SdkExtensions;
62 int adServicesVersion = SdkExtensions.getExtensionVersion(SdkExtensions.AD_SERVICES); in setup()
63 int extServicesVersion = SdkExtensions.getExtensionVersion(Build.VERSION_CODES.S); in setup()
/packages/modules/SdkExtensions/javatests/com/android/sdkext/extensions/apps/
DReceiver.java23 import android.os.ext.SdkExtensions;
54 int sdkVersion = SdkExtensions.getExtensionVersion(extension); in onReceive()
/packages/modules/SdkExtensions/java/android/os/ext/testing/
DAndroid.bp18 default_visibility: ["//packages/modules/SdkExtensions/javatests:__subpackages__"],
31 "//packages/modules/SdkExtensions/javatests/com/android/sdkext:__subpackages__",
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/showmigrationinfointent/
DShowMigrationInfoIntentAbsentTest.java31 import android.os.ext.SdkExtensions;
76 int version = SdkExtensions.getExtensionVersion(Build.VERSION_CODES.UPSIDE_DOWN_CAKE) + 1; in testInsertMinDataMigrationSdkExtensionVersion_throwsException()
/packages/modules/SdkExtensions/java/android/os/ext/api/
Dcurrent.txt4 public class SdkExtensions {
/packages/modules/AdServices/adservices/tests/jetpack/src/com/android/adservices/protectedaudience/
DFledgeCtsDebuggableJetpackTest.java26 import android.os.ext.SdkExtensions;
200 int adServicesVersion = SdkExtensions.getExtensionVersion(SdkExtensions.AD_SERVICES); in setup()
201 int extServicesVersion = SdkExtensions.getExtensionVersion(Build.VERSION_CODES.S); in setup()
/packages/modules/SdkExtensions/javatests/
DAndroid.bp17 default_visibility: ["//packages/modules/SdkExtensions/javatests:__subpackages__"],
/packages/modules/common/java/com/android/modules/targetprep/
DAndroid.bp35 "//packages/modules/SdkExtensions",
/packages/modules/SdkExtensions/java/com/android/os/ext/testing/
DAndroid.bp18 default_visibility: ["//packages/modules/SdkExtensions/javatests:__subpackages__"],
/packages/providers/MediaProvider/tools/photopicker-gradle/app/src/main/java/com/android/providers/media/tools/photopicker/
DPhotoPickerToolActivity.java18 import android.os.ext.SdkExtensions;
198 && SdkExtensions.getExtensionVersion(Build.VERSION_CODES.R) >= 2; in isPhotoPickerAvailable()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/migration/
DMigrationStateManagerTest.java69 import android.os.ext.SdkExtensions;
477 SdkExtensions.getExtensionVersion( in testHandleIsUpdateStillRequired_isMinSdkExtensionVersion()
496 SdkExtensions.getExtensionVersion( in testHandleIsUpdateStillRequired_isNotMinSdkExtensionVersion()
516 SdkExtensions.getExtensionVersion( in testHandleIsUpdateStillRequired_noMigratorPackageAvailable()
/packages/modules/common/tools/
DAndroid.bp74 "//packages/modules/SdkExtensions:__subpackages__",
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/migration/
DDataMigrationTest.java83 import android.os.ext.SdkExtensions;
726 int version = SdkExtensions.getExtensionVersion(Build.VERSION_CODES.UPSIDE_DOWN_CAKE) + 1; in testInsertMinDataMigrationSdkExtensionVersion_upgradeRequired()
756 int version = SdkExtensions.getExtensionVersion(Build.VERSION_CODES.UPSIDE_DOWN_CAKE); in testInsertMinDataMigrationSdkExtensionVersion_noUpgradeRequired()
785 int version = SdkExtensions.getExtensionVersion(Build.VERSION_CODES.UPSIDE_DOWN_CAKE); in testInsertMinDataMigrationSdkExtensionVersion_jobsDisabled()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/
DMigrationStateManager.java54 import android.os.ext.SdkExtensions;
793 return SdkExtensions.getExtensionVersion(Build.VERSION_CODES.UPSIDE_DOWN_CAKE); in getUdcSdkExtensionVersion()