Searched refs:tokensToPackagesMap (Results 1 – 4 of 4) sorted by relevance
50 public final SparseArray<ArrayList<String>> tokensToPackagesMap = new SparseArray<>(); field in PackagesTokenData106 tokensToPackagesMap.put(token, tokenPackages); in getPackageTokenOrAdd()126 token = tokensToPackagesMap.get(packageToken).size(); in getTokenOrAdd()128 tokensToPackagesMap.get(packageToken).add(key); in getTokenOrAdd()140 final ArrayList<String> packageStrings = tokensToPackagesMap.get(packageToken); in getPackageString()156 return tokensToPackagesMap.get(packageToken).get(token); in getString()182 tokensToPackagesMap.delete(packageToken); in removePackage()
1197 final SparseArray<ArrayList<String>> tokensToPackagesMap = in readMappingsLocked() local1198 mPackagesTokenData.tokensToPackagesMap; in readMappingsLocked()1199 final int tokensToPackagesMapSize = tokensToPackagesMap.size(); in readMappingsLocked()1201 final int packageToken = tokensToPackagesMap.keyAt(i); in readMappingsLocked()1202 final ArrayList<String> tokensMap = tokensToPackagesMap.valueAt(i); in readMappingsLocked()1558 pw.println("Tokens Map Size: " + mPackagesTokenData.tokensToPackagesMap.size()); in dumpMappings()1563 for (int i = 0; i < mPackagesTokenData.tokensToPackagesMap.size(); i++) { in dumpMappings()1564 final int packageToken = mPackagesTokenData.tokensToPackagesMap.keyAt(i); in dumpMappings()1566 mPackagesTokenData.tokensToPackagesMap.valueAt(i)); in dumpMappings()
609 SparseArray<ArrayList<String>> tokensToPackagesMap) throws IOException { in loadPackagesMap() argument622 tokensToPackagesMap.put(key, strings); in loadPackagesMap()645 loadPackagesMap(proto, packagesTokenData.tokensToPackagesMap); in readObfuscatedData()665 final int mapSize = packagesTokenData.tokensToPackagesMap.size(); in writeObfuscatedData()668 int packageToken = packagesTokenData.tokensToPackagesMap.keyAt(i); in writeObfuscatedData()671 final ArrayList<String> strings = packagesTokenData.tokensToPackagesMap.valueAt(i); in writeObfuscatedData()
148 assertEquals(packagesTokenData.tokensToPackagesMap.size(), NUMBER_OF_PACKAGES); in testObfuscation()166 assertEquals(packagesTokenData.tokensToPackagesMap.size(), NUMBER_OF_PACKAGES); in testDeobfuscation()185 packagesTokenData.tokensToPackagesMap.remove(2); in testBadDataOnDeobfuscation()204 packagesTokenData.tokensToPackagesMap.valueAt(3).remove(2); in testBadPackageDataOnDeobfuscation()