Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/autofill/
DAutofillManagerServiceTest.java18 import static com.android.server.autofill.AutofillManagerService.getAllowedCompatModePackages;
33 assertThat(getAllowedCompatModePackages(null)).isNull(); in testGetAllowedCompatModePackages_null()
38 assertThat(getAllowedCompatModePackages("")).isNull(); in testGetAllowedCompatModePackages_empty()
43 assertThat(getAllowedCompatModePackages("one_is_the_loniest_package")) in testGetAllowedCompatModePackages_onePackageNoUrls()
49 assertThat(getAllowedCompatModePackages("one_is_the_loniest_package[")).isEmpty(); in testGetAllowedCompatModePackages_onePackageMissingEndDelimiter()
55 getAllowedCompatModePackages("one_is_the_loniest_package[url]"); in testGetAllowedCompatModePackages_onePackageOneUrl()
63 getAllowedCompatModePackages("one_is_the_loniest_package[4,5,8,15,16,23,42]"); in testGetAllowedCompatModePackages_onePackageMultipleUrls()
71 final Map<String, String[]> result = getAllowedCompatModePackages("one:two["); in testGetAllowedCompatModePackages_multiplePackagesOneInvalid()
79 getAllowedCompatModePackages("p1[p1u1]:p2:p3[p3u1,p3u2]"); in testGetAllowedCompatModePackages_multiplePackagesMultipleUrls()
89 getAllowedCompatModePackages("p1[p1u1]:p2[:p3[p3u1,p3u2]"); in testGetAllowedCompatModePackages_threePackagesOneInvalid()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerService.java905 final Map<String, String[]> allowedPackages = getAllowedCompatModePackages(); in addCompatibilityModeRequestsLocked()
941 private Map<String, String[]> getAllowedCompatModePackages() { in getAllowedCompatModePackages() method in AutofillManagerService
942 return getAllowedCompatModePackages(getAllowedCompatModePackagesFromDeviceConfig()); in getAllowedCompatModePackages()
1054 static Map<String, String[]> getAllowedCompatModePackages(String setting) { in getAllowedCompatModePackages() method in AutofillManagerService