Home
last modified time | relevance | path

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

/packages/modules/ConfigInfrastructure/service/javatests/src/com/android/server/deviceconfig/
DServiceResourcesHelperTest.java19 import static com.android.server.deviceconfig.ServiceResourcesHelper.RESOURCES_PACKAGE_SUFFIX;
61 "random.package.name", "abc" + RESOURCES_PACKAGE_SUFFIX, "a.b.c"); in getResourcesPackageName_singleValidPackage_returnsThePackage()
64 .isEqualTo(Optional.of("abc" + RESOURCES_PACKAGE_SUFFIX)); in getResourcesPackageName_singleValidPackage_returnsThePackage()
71 "abc" + RESOURCES_PACKAGE_SUFFIX, "a" + RESOURCES_PACKAGE_SUFFIX); in getResourcesPackageName_multipleValidPackages_returnsFirstOne()
74 .isEqualTo(Optional.of("abc" + RESOURCES_PACKAGE_SUFFIX)); in getResourcesPackageName_multipleValidPackages_returnsFirstOne()
86 "random.package.name", "a.b.c", "abc" + RESOURCES_PACKAGE_SUFFIX); in getResourcesPackageName_usesOnlySystemPackages()
/packages/modules/ConfigInfrastructure/service/java/com/android/server/deviceconfig/
DServiceResourcesHelper.java39 static final String RESOURCES_PACKAGE_SUFFIX = field in ServiceResourcesHelper
63 getSystemPackageNameBySuffix(context, RESOURCES_PACKAGE_SUFFIX); in ServiceResourcesHelper()
82 if (packageInfo.packageName.endsWith(RESOURCES_PACKAGE_SUFFIX)) { in getSystemPackageNameBySuffix()