Searched refs:packagesToTokensMap (Results 1 – 4 of 4) sorted by relevance
55 public final ArrayMap<String, ArrayMap<String, Integer>> packagesToTokensMap = new ArrayMap<>(); field in PackagesTokenData94 ArrayMap<String, Integer> packageTokensMap = packagesToTokensMap.get(packageName); in getPackageTokenOrAdd()97 packagesToTokensMap.put(packageName, packageTokensMap); in getPackageTokenOrAdd()124 int token = packagesToTokensMap.get(packageName).getOrDefault(key, UNASSIGNED_TOKEN); in getTokenOrAdd()127 packagesToTokensMap.get(packageName).put(key, token); in getTokenOrAdd()177 if (!packagesToTokensMap.containsKey(packageName)) { in removePackage()180 final int packageToken = packagesToTokensMap.get(packageName).get(packageName); in removePackage()181 packagesToTokensMap.remove(packageName); in removePackage()
239 for (int i = mDatabase.mPackagesTokenData.packagesToTokensMap.size() - 1; i >= 0; i--) { in updatePackageMappingsLocked()240 final String packageName = mDatabase.mPackagesTokenData.packagesToTokensMap.keyAt(i); in updatePackageMappingsLocked()
1210 mPackagesTokenData.packagesToTokensMap.put(tokensMap.get(0), packageStringsMap); in readMappingsLocked()
149 assertEquals(packagesTokenData.packagesToTokensMap.size(), NUMBER_OF_PACKAGES); in testObfuscation()167 assertEquals(packagesTokenData.packagesToTokensMap.size(), NUMBER_OF_PACKAGES); in testDeobfuscation()