Home
last modified time | relevance | path

Searched refs:HashMap (Results 1 – 25 of 823) sorted by relevance

12345678910>>...33

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/inputmethod/
DInputMethodAndSubtypeUtilCompatTest.java33 import java.util.HashMap;
55 HashMap<String, HashSet<String>> r = in parseInputMethodsAndSubtypesString_SingleImeNoSubtype()
62 HashMap<String, HashSet<String>> r = in parseInputMethodsAndSubtypesString_MultipleImesNoSubtype()
69 HashMap<String, HashSet<String>> r = in parseInputMethodsAndSubtypesString_SingleImeSingleSubtype()
76 HashMap<String, HashSet<String>> r = in parseInputMethodsAndSubtypesString_SingleImeDuplicateSameSubtypes()
84 HashMap<String, HashSet<String>> r = in parseInputMethodsAndSubtypesString_SingleImeMultipleSubtypes()
107 HashMap<String, HashSet<String>> r = in parseInputMethodsAndSubtypesString_MixedImeSubtypePairsAndImeNoSubtype()
117 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_EmptyInput()
123 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_SingleIme()
131 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_SingleImeSingleSubtype()
[all …]
DInputMethodAndSubtypeUtilTest.java33 import java.util.HashMap;
53 HashMap<String, HashSet<String>> r = in parseInputMethodsAndSubtypesString_SingleImeNoSubtype()
60 HashMap<String, HashSet<String>> r = in parseInputMethodsAndSubtypesString_MultipleImesNoSubtype()
67 HashMap<String, HashSet<String>> r = in parseInputMethodsAndSubtypesString_SingleImeSingleSubtype()
74 HashMap<String, HashSet<String>> r = in parseInputMethodsAndSubtypesString_SingleImeDuplicateSameSubtypes()
82 HashMap<String, HashSet<String>> r = in parseInputMethodsAndSubtypesString_SingleImeMultipleSubtypes()
105 HashMap<String, HashSet<String>> r = in parseInputMethodsAndSubtypesString_MixedImeSubtypePairsAndImeNoSubtype()
115 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_EmptyInput()
121 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_SingleIme()
129 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_SingleImeSingleSubtype()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/license/
DLicenseHtmlGeneratorFromXmlTest.java32 import java.util.HashMap;
107 Map<String, Set<String>> fileNameToContentIdMap = new HashMap<>(); in testParseValidXmlStream()
108 Map<String, String> contentIdToFileContentMap = new HashMap<>(); in testParseValidXmlStream()
122 Map<String, Set<String>> fileNameToContentIdMap = new HashMap<>(); in testParseInvalidXmlStream()
123 Map<String, String> contentIdToFileContentMap = new HashMap<>(); in testParseInvalidXmlStream()
132 Map<String, Set<String>> fileNameToContentIdMap = new HashMap<>(); in testGenerateHtml()
133 Map<String, String> contentIdToFileContentMap = new HashMap<>(); in testGenerateHtml()
148 Map<String, Set<String>> fileNameToContentIdMap = new HashMap<>(); in testGenerateHtmlWithCustomHeading()
149 Map<String, String> contentIdToFileContentMap = new HashMap<>(); in testGenerateHtmlWithCustomHeading()
/frameworks/base/core/tests/coretests/src/android/graphics/
DFontTestUtil.java23 import java.util.HashMap;
153 HashMap<Pair<Integer, Boolean>, String> map = new HashMap<>();
154 HashMap<Pair<Integer, Boolean>, Integer> ttcMap = new HashMap<>();
155 HashMap<Pair<Integer, Boolean>, String> variationMap = new HashMap<>();
156 HashMap<Character, Pair<Integer, Boolean>> reverseMap = new HashMap<>();
/frameworks/base/services/core/java/com/android/server/am/
DProviderMap.java38 import java.util.HashMap;
56 private final HashMap<String, ContentProviderRecord> mSingletonByName
57 = new HashMap<String, ContentProviderRecord>();
58 private final HashMap<ComponentName, ContentProviderRecord> mSingletonByClass
59 = new HashMap<ComponentName, ContentProviderRecord>();
61 private final SparseArray<HashMap<String, ContentProviderRecord>> mProvidersByNamePerUser
62 = new SparseArray<HashMap<String, ContentProviderRecord>>();
63 … private final SparseArray<HashMap<ComponentName, ContentProviderRecord>> mProvidersByClassPerUser
64 = new SparseArray<HashMap<ComponentName, ContentProviderRecord>>();
142 HashMap<String, ContentProviderRecord> map = getProvidersByName(userId); in removeProviderByName()
[all …]
/frameworks/base/core/tests/coretests/src/android/provider/
DNameValueCacheTest.java46 import java.util.HashMap;
70 private HashMap<String, HashMap<String, String>> mStorage;
82 mStorage = new HashMap<>(); in setUp()
91 HashMap<String, String> keyValues = in setUp()
92 (HashMap<String, String>) incomingBundle.getSerializable( in setUp()
115 mStorage.put(prefix, new HashMap<>()); in setUp()
117 HashMap<String, String> keyValues = mStorage.get(prefix); in setUp()
135 HashMap<String, String> keyValues = new HashMap<>(); in testCaching_singleNamespace()
177 HashMap<String, String> keyValues = new HashMap<>(); in testCaching_multipleNamespaces()
184 HashMap<String, String> keyValues2 = new HashMap<>(); in testCaching_multipleNamespaces()
/frameworks/base/telecomm/java/android/telecom/Logging/
DTimedEvent.java20 import java.util.HashMap;
31 HashMap<T, Integer> counts = new HashMap<>(); in averageTimings()
32 HashMap<T, Double> result = new HashMap<>(); in averageTimings()
/frameworks/base/telecomm/java/android/telecom/
DTimedEvent.java20 import java.util.HashMap;
31 HashMap<T, Integer> counts = new HashMap<>(); in averageTimings()
32 HashMap<T, Double> result = new HashMap<>(); in averageTimings()
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/report/
DUsbStrings.java23 import java.util.HashMap;
32 private static HashMap<Byte, String> sDescriptorNames;
33 private static HashMap<Byte, String> sACControlInterfaceNames;
34 private static HashMap<Byte, String> sACStreamingInterfaceNames;
35 private static HashMap<Integer, String> sClassNames;
36 private static HashMap<Integer, String> sAudioSubclassNames;
37 private static HashMap<Integer, String> sAudioEncodingNames;
38 private static HashMap<Integer, String> sTerminalNames;
39 private static HashMap<Integer, String> sFormatNames;
46 sDescriptorNames = new HashMap<Byte, String>(); in initDescriptorNames()
[all …]
/frameworks/base/media/java/android/media/
DMediaInserter.java26 import java.util.HashMap;
36 private final HashMap<Uri, List<ContentValues>> mRowMap =
37 new HashMap<Uri, List<ContentValues>>();
38 private final HashMap<Uri, List<ContentValues>> mPriorityRowMap =
39 new HashMap<Uri, List<ContentValues>>();
58 HashMap<Uri, List<ContentValues>> rowmap = priority ? mPriorityRowMap : mRowMap; in insert()
/frameworks/base/tools/powermodel/src/com/android/powermodel/component/
DCpuProfile.java20 import java.util.HashMap;
47 private HashMap<Integer,Float> mClusterOnPower = new HashMap<Integer,Float>();
48 private HashMap<Integer,int[]> mCoreSpeeds = new HashMap<Integer,int[]>();
49 private HashMap<Integer,float[]> mCorePower = new HashMap<Integer,float[]>();
/frameworks/base/services/core/java/com/android/server/wm/
DPackageConfigPersister.java44 import java.util.HashMap;
65 private final SparseArray<HashMap<String, PackageConfigRecord>> mPendingWrite =
68 private final SparseArray<HashMap<String, PackageConfigRecord>> mModified =
197 final HashMap<String, PackageConfigRecord> modifyRecords = mModified.get(userId); in removeUser()
198 final HashMap<String, PackageConfigRecord> writeRecords = mPendingWrite.get(userId); in removeUser()
203 final HashMap<String, PackageConfigRecord> tempList = new HashMap<>(modifyRecords); in removeUser()
264 SparseArray<HashMap<String, PackageConfigRecord>> list, String name, int userId) { in findRecordOrCreate()
265 HashMap<String, PackageConfigRecord> records = list.get(userId); in findRecordOrCreate()
267 records = new HashMap<>(); in findRecordOrCreate()
279 private PackageConfigRecord findRecord(SparseArray<HashMap<String, PackageConfigRecord>> list, in findRecord()
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiLogger.java25 import java.util.HashMap;
52 private final HashMap<String, Pair<Long, Integer>> mWarningTimingCache = new HashMap<>();
54 private final HashMap<String, Pair<Long, Integer>> mErrorTimingCache = new HashMap<>();
112 private static String updateLog(HashMap<String, Pair<Long, Integer>> cache, String logMessage) { in updateLog()
131 private static void increaseLogCount(HashMap<String, Pair<Long, Integer>> cache, in increaseLogCount()
/frameworks/base/core/java/android/animation/
DPropertyValuesHolder.java29 import java.util.HashMap;
102 private static final HashMap<Class, HashMap<String, Method>> sSetterPropertyMap =
103 new HashMap<Class, HashMap<String, Method>>();
104 private static final HashMap<Class, HashMap<String, Method>> sGetterPropertyMap =
105 new HashMap<Class, HashMap<String, Method>>();
756 HashMap<Class, HashMap<String, Method>> propertyMapMap, in setupSetterOrGetter()
763 HashMap<String, Method> propertyMap = propertyMapMap.get(targetClass); in setupSetterOrGetter()
774 propertyMap = new HashMap<String, Method>(); in setupSetterOrGetter()
1152 private static final HashMap<Class, HashMap<String, Long>> sJNISetterPropertyMap =
1153 new HashMap<Class, HashMap<String, Long>>();
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DTestOnlyInsecureCertificateHelperTest.java16 import java.util.HashMap;
68 Map<String, Pair<SecretKey, byte[]>> rawKeys = new HashMap<>(); in testKeepOnlyWhitelistedInsecureKeys_emptyKeysList()
69 Map<String, Pair<SecretKey, byte[]>> expectedResult = new HashMap<>(); in testKeepOnlyWhitelistedInsecureKeys_emptyKeysList()
79 Map<String, Pair<SecretKey, byte[]>> rawKeys = new HashMap<>(); in testKeepOnlyWhitelistedInsecureKeys_singleNonWhitelistedKey()
80 Map<String, Pair<SecretKey, byte[]>> expectedResult = new HashMap<>(); in testKeepOnlyWhitelistedInsecureKeys_singleNonWhitelistedKey()
93 Map<String, Pair<SecretKey, byte[]>> rawKeys = new HashMap<>(); in testKeepOnlyWhitelistedInsecureKeys_singleWhitelistedKey()
94 Map<String, Pair<SecretKey, byte[]>> expectedResult = new HashMap<>(); in testKeepOnlyWhitelistedInsecureKeys_singleWhitelistedKey()
108 Map<String, Pair<SecretKey, byte[]>> rawKeys = new HashMap<>(); in testKeepOnlyWhitelistedInsecureKeys()
109 Map<String, Pair<SecretKey, byte[]>> expectedResult = new HashMap<>(); in testKeepOnlyWhitelistedInsecureKeys()
DWrappedKeyTest.java37 import java.util.HashMap;
123 HashMap<String, WrappedKey> keysByAlias = new HashMap<>(); in decryptWrappedKeys_decryptsWrappedKeys_nullMetadata()
142 HashMap<String, WrappedKey> keysByAlias = new HashMap<>(); in decryptWrappedKeys_decryptsWrappedKeys_nonNullMetadata()
161 HashMap<String, WrappedKey> keysByAlias = new HashMap<>(); in decryptWrappedKeys_doesNotDieIfSomeKeysAreUnwrappable()
177 HashMap<String, WrappedKey> keysByAlias = new HashMap<>(); in decryptWrappedKeys_throwsIfPlatformKeyGenerationIdDoesNotMatch()
/frameworks/base/drm/java/android/drm/
DDrmEvent.java19 import java.util.HashMap;
54 private HashMap<String, Object> mAttributes = new HashMap<String, Object>();
65 HashMap<String, Object> attributes) { in DrmEvent()
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DAutomaticActivity.java25 import java.util.HashMap;
141 final HashMap<String, TestResult> mModifierResults = new HashMap<String, TestResult>();
142 final HashMap<String, TestResult> mIndividualResults = new HashMap<String, TestResult>();
143 final HashMap<String, TestResult> mModifierDiffResults = new HashMap<String, TestResult>();
144 final HashMap<String, TestResult> mIndividualDiffResults = new HashMap<String, TestResult>();
177 private static void logTestResultHash(String label, HashMap<String, TestResult> map) { in logTestResultHash()
249 HashMap<String, TestResult> modifierResults) { in addForAllModifiers()
/frameworks/base/core/java/com/android/internal/graphics/palette/
DQuantizerMap.java23 import java.util.HashMap;
35 private HashMap<Integer, Integer> mColorToCount;
40 final HashMap<Integer, Integer> colorToCount = new HashMap<>(); in quantize()
/frameworks/base/tools/powermodel/src/com/android/powermodel/
DAppList.java20 import java.util.HashMap;
57 private final HashMap<AttributionKey,BUILDER> mApps = new HashMap();
66 final HashMap<SpecialApp,APP> specialApps = new HashMap(); in build()
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
DFakeSettingsProvider.java25 import java.util.HashMap;
73 private final HashMap<String, HashMap<String, String>> mTables = new HashMap<>();
77 mTables.put(TABLES[i], new HashMap<String, String>()); in FakeSettingsProvider()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DSignature.java20 import java.util.HashMap;
44 private HashMap<String, PortInfo> mInputPorts = null;
45 private HashMap<String, PortInfo> mOutputPorts = null;
213 HashMap<String, PortInfo> getInputPorts() { in getInputPorts()
217 HashMap<String, PortInfo> getOutputPorts() { in getOutputPorts()
223 mInputPorts = new HashMap<String, PortInfo>(); in addInputPort()
233 mOutputPorts = new HashMap<String, PortInfo>(); in addOutputPort()
/frameworks/base/core/java/com/google/android/collect/
DMaps.java22 import java.util.HashMap;
34 public static <K, V> HashMap<K, V> newHashMap() { in newHashMap()
35 return new HashMap<K, V>(); in newHashMap()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/cache/
DIconCacheUpdateHandler.java34 import java.util.HashMap;
62 private final HashMap<String, PackageInfo> mPkgInfoMap;
73 mPkgInfoMap = new HashMap<>(); in IconCacheUpdateHandler()
109 HashMap<UserHandle, HashMap<ComponentName, T>> userComponentMap = new HashMap<>(); in updateIcons()
114 HashMap<ComponentName, T> componentMap = userComponentMap.get(userHandle); in updateIcons()
116 componentMap = new HashMap<>(); in updateIcons()
122 for (Entry<UserHandle, HashMap<ComponentName, T>> entry : userComponentMap.entrySet()) { in updateIcons()
136 private <T> void updateIconsPerUser(UserHandle user, HashMap<ComponentName, T> componentMap, in updateIconsPerUser()
/frameworks/base/core/java/android/hardware/camera2/
DTotalCaptureResult.java26 import java.util.HashMap;
65 private final HashMap<String, TotalCaptureResult> mPhysicalCaptureResults;
86 mPhysicalCaptureResults = new HashMap<String, TotalCaptureResult>(); in TotalCaptureResult()
115 mPhysicalCaptureResults = new HashMap<String, TotalCaptureResult>(); in TotalCaptureResult()
137 mPhysicalCaptureResults = new HashMap<String, TotalCaptureResult>(); in TotalCaptureResult()

12345678910>>...33