Searched refs:tokensToPackagesMap (Results 1 – 4 of 4) sorted by relevance
49 public final SparseArray<ArrayList<String>> tokensToPackagesMap = new SparseArray<>(); field in PackagesTokenData100 tokensToPackagesMap.put(token, tokenPackages); in getPackageTokenOrAdd()120 token = tokensToPackagesMap.get(packageToken).size(); in getTokenOrAdd()122 tokensToPackagesMap.get(packageToken).add(key); in getTokenOrAdd()134 final ArrayList<String> packageStrings = tokensToPackagesMap.get(packageToken); in getPackageString()150 return tokensToPackagesMap.get(packageToken).get(token); in getString()176 tokensToPackagesMap.delete(packageToken); in removePackage()
1168 final SparseArray<ArrayList<String>> tokensToPackagesMap = in readMappingsLocked() local1169 mPackagesTokenData.tokensToPackagesMap; in readMappingsLocked()1170 final int tokensToPackagesMapSize = tokensToPackagesMap.size(); in readMappingsLocked()1172 final int packageToken = tokensToPackagesMap.keyAt(i); in readMappingsLocked()1173 final ArrayList<String> tokensMap = tokensToPackagesMap.valueAt(i); in readMappingsLocked()1502 pw.println("Tokens Map Size: " + mPackagesTokenData.tokensToPackagesMap.size()); in dumpMappings()1503 for (int i = 0; i < mPackagesTokenData.tokensToPackagesMap.size(); i++) { in dumpMappings()1504 final int packageToken = mPackagesTokenData.tokensToPackagesMap.keyAt(i); in dumpMappings()1506 mPackagesTokenData.tokensToPackagesMap.valueAt(i)); in dumpMappings()
577 SparseArray<ArrayList<String>> tokensToPackagesMap) throws IOException { in loadPackagesMap() argument590 tokensToPackagesMap.put(key, strings); in loadPackagesMap()613 loadPackagesMap(proto, packagesTokenData.tokensToPackagesMap); in readObfuscatedData()633 final int mapSize = packagesTokenData.tokensToPackagesMap.size(); in writeObfuscatedData()636 int packageToken = packagesTokenData.tokensToPackagesMap.keyAt(i); in writeObfuscatedData()639 final ArrayList<String> strings = packagesTokenData.tokensToPackagesMap.valueAt(i); in writeObfuscatedData()
134 assertEquals(packagesTokenData.tokensToPackagesMap.size(), NUMBER_OF_PACKAGES); in testObfuscation()152 assertEquals(packagesTokenData.tokensToPackagesMap.size(), NUMBER_OF_PACKAGES); in testDeobfuscation()171 packagesTokenData.tokensToPackagesMap.remove(2); in testBadDataOnDeobfuscation()190 packagesTokenData.tokensToPackagesMap.valueAt(3).remove(2); in testBadPackageDataOnDeobfuscation()