Searched refs:mapString (Results 1 – 2 of 2) sorted by relevance
34 String mapString = ""; in testParseAppNameMapFromString_emptyMap() local36 InstallCarrierAppUtils.getAppNameFromPackageName(appNameKey, mapString); in testParseAppNameMapFromString_emptyMap()47 String mapString = appName1Key + ":" + expectedAppName1 + ";" in testParseAppNameMapFromString_completeMap() local51 InstallCarrierAppUtils.getAppNameFromPackageName(appName1Key, mapString); in testParseAppNameMapFromString_completeMap()53 InstallCarrierAppUtils.getAppNameFromPackageName(appName2Key, mapString); in testParseAppNameMapFromString_completeMap()63 String mapString = appNameKey + ":" + expectedAppName + ";"; in testParseAppNameMapFromString_packageCaseMismatch() local67 InstallCarrierAppUtils.getAppNameFromPackageName(appNameCaseTestKey, mapString); in testParseAppNameMapFromString_packageCaseMismatch()76 String mapString = appNameKey + ":" + expectedAppName + ";"; in testParseAppNameMapFromString_packageNotFound() local80 InstallCarrierAppUtils.getAppNameFromPackageName(missingAppNameKey, mapString); in testParseAppNameMapFromString_packageNotFound()
179 public static String getAppNameFromPackageName(String packageName, String mapString) { in getAppNameFromPackageName() argument184 if (TextUtils.isEmpty(mapString)) { in getAppNameFromPackageName()188 List<String> keyValuePairList = Arrays.asList(mapString.split(pairDelim)); in getAppNameFromPackageName()