Home
last modified time | relevance | path

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

12345678910>>...32

/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DMockResources.java19 import java.util.HashMap;
23 private HashMap<Integer, Boolean> mBooleanValues;
24 private HashMap<Integer, Integer> mIntegerValues;
25 private HashMap<Integer, String> mStringValues;
26 private HashMap<Integer, CharSequence> mTextValues;
27 private HashMap<Integer, int[]> mIntArrayValues;
30 mBooleanValues = new HashMap<Integer, Boolean>(); in MockResources()
31 mIntegerValues = new HashMap<Integer, Integer>(); in MockResources()
32 mStringValues = new HashMap<Integer, String>(); in MockResources()
33 mTextValues = new HashMap<Integer, CharSequence>(); in MockResources()
[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/services/core/java/com/android/server/am/
DProviderMap.java36 import java.util.HashMap;
54 private final HashMap<String, ContentProviderRecord> mSingletonByName
55 = new HashMap<String, ContentProviderRecord>();
56 private final HashMap<ComponentName, ContentProviderRecord> mSingletonByClass
57 = new HashMap<ComponentName, ContentProviderRecord>();
59 private final SparseArray<HashMap<String, ContentProviderRecord>> mProvidersByNamePerUser
60 = new SparseArray<HashMap<String, ContentProviderRecord>>();
61 … private final SparseArray<HashMap<ComponentName, ContentProviderRecord>> mProvidersByClassPerUser
62 = new SparseArray<HashMap<ComponentName, ContentProviderRecord>>();
140 HashMap<String, ContentProviderRecord> map = getProvidersByName(userId); in removeProviderByName()
[all …]
/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/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/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/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/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()
DMediaFile.java28 import java.util.HashMap;
69 private static final HashMap<String, MediaFileType> sFileTypeMap = new HashMap<>();
73 private static final HashMap<String, Integer> sFileTypeToFormatMap = new HashMap<>();
77 private static final HashMap<String, Integer> sMimeTypeToFormatMap = new HashMap<>();
80 private static final HashMap<Integer, String> sFormatToMimeTypeMap = new HashMap<>();
/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/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.java38 import java.util.HashMap;
124 HashMap<String, WrappedKey> keysByAlias = new HashMap<>(); in decryptWrappedKeys_decryptsWrappedKeys_nullMetadata()
143 HashMap<String, WrappedKey> keysByAlias = new HashMap<>(); in decryptWrappedKeys_decryptsWrappedKeys_nonNullMetadata()
162 HashMap<String, WrappedKey> keysByAlias = new HashMap<>(); in decryptWrappedKeys_doesNotDieIfSomeKeysAreUnwrappable()
178 HashMap<String, WrappedKey> keysByAlias = new HashMap<>(); in decryptWrappedKeys_throwsIfPlatformKeyGenerationIdDoesNotMatch()
/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/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/drm/java/android/drm/
DDrmEvent.java19 import java.util.HashMap;
52 private HashMap<String, Object> mAttributes = new HashMap<String, Object>();
63 HashMap<String, Object> attributes) { in DrmEvent()
/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/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/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/base/wifi/tests/src/android/net/wifi/hotspot2/
DPasspointConfigurationTest.java37 import java.util.HashMap;
94 HashMap<Integer, String> requiredProtoPortMap = new HashMap<>(); in createPolicy()
155 Map<String, byte[]> trustRootCertList = new HashMap<>(); in createConfig()
170 Map<String, String> friendlyNames = new HashMap<>(); in createConfig()
395 Map<String, byte[]> trustRootCertList = new HashMap<>(); in validateConfigWithInvalidTrustRootCertUrl()
403 trustRootCertList = new HashMap<>(); in validateConfigWithInvalidTrustRootCertUrl()
419 Map<String, byte[]> trustRootCertList = new HashMap<>(); in validateConfigWithInvalidTrustRootCertFingerprint()
424 trustRootCertList = new HashMap<>(); in validateConfigWithInvalidTrustRootCertFingerprint()
429 trustRootCertList = new HashMap<>(); in validateConfigWithInvalidTrustRootCertFingerprint()
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
DWifiP2pDnsSdServiceResponse.java24 import java.util.HashMap;
70 private final HashMap<String, String> mTxtRecord = new HashMap<String, String>();
81 sVmpack = new HashMap<Integer, String>();
226 HashMap<Integer, String> vmpack = new HashMap<Integer, String>(sVmpack); in readDnsName()
/frameworks/base/telephony/common/com/google/android/mms/pdu/
DPduBody.java22 import java.util.HashMap;
41 mPartMapByContentId = new HashMap<String, PduPart>(); in PduBody()
42 mPartMapByContentLocation = new HashMap<String, PduPart>(); in PduBody()
43 mPartMapByName = new HashMap<String, PduPart>(); in PduBody()
44 mPartMapByFileName = new HashMap<String, PduPart>(); in PduBody()

12345678910>>...32