/packages/modules/AdServices/adservices/tests/jetpack/src/com/android/adservices/appsetid/ |
D | AppSetIdManagerJetpackTest.java | 22 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/ |
D | AdIdManagerJetpackTest.java | 22 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/ |
D | SdkExtensionsTest.java | 25 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/ |
D | README.md | 1 # 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/ |
D | TopicsManagerJetpackTest.java | 22 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/ |
D | Android.bp | 23 srcs: ["SdkExtensions.java"], 24 visibility: ["//packages/modules/SdkExtensions:__subpackages__"], 44 "//packages/modules/SdkExtensions/tests/e2e:__subpackages__",
|
D | SdkExtensions.java | 42 public class SdkExtensions { class 97 private SdkExtensions() {} in SdkExtensions() method in SdkExtensions
|
/packages/modules/common/proto/ |
D | Android.bp | 31 "//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/ |
D | MeasurementManagerJetpackTest.java | 24 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/ |
D | Receiver.java | 23 import android.os.ext.SdkExtensions; 54 int sdkVersion = SdkExtensions.getExtensionVersion(extension); in onReceive()
|
/packages/modules/SdkExtensions/java/android/os/ext/testing/ |
D | Android.bp | 18 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/ |
D | ShowMigrationInfoIntentAbsentTest.java | 31 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/ |
D | current.txt | 4 public class SdkExtensions {
|
/packages/modules/AdServices/adservices/tests/jetpack/src/com/android/adservices/protectedaudience/ |
D | FledgeCtsDebuggableJetpackTest.java | 26 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/ |
D | Android.bp | 17 default_visibility: ["//packages/modules/SdkExtensions/javatests:__subpackages__"],
|
/packages/modules/common/java/com/android/modules/targetprep/ |
D | Android.bp | 35 "//packages/modules/SdkExtensions",
|
/packages/modules/SdkExtensions/java/com/android/os/ext/testing/ |
D | Android.bp | 18 default_visibility: ["//packages/modules/SdkExtensions/javatests:__subpackages__"],
|
/packages/providers/MediaProvider/tools/photopicker-gradle/app/src/main/java/com/android/providers/media/tools/photopicker/ |
D | PhotoPickerToolActivity.java | 18 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/ |
D | MigrationStateManagerTest.java | 69 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/ |
D | Android.bp | 74 "//packages/modules/SdkExtensions:__subpackages__",
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/migration/ |
D | DataMigrationTest.java | 83 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/ |
D | MigrationStateManager.java | 54 import android.os.ext.SdkExtensions; 793 return SdkExtensions.getExtensionVersion(Build.VERSION_CODES.UPSIDE_DOWN_CAKE); in getUdcSdkExtensionVersion()
|