/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/inputmethod/ |
H A D | InputMethodAndSubtypeUtilCompatTest.java | 33 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() 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() 139 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_SingleImeMultipleSubtypes() 151 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_MultipleImesNoSubtypes() 164 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_MultipleImesWithAndWithoutSubtypes() [all …]
|
H A D | InputMethodAndSubtypeUtilTest.java | 33 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() 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() 137 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_SingleImeMultipleSubtypes() 149 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_MultipleImesNoSubtypes() 162 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_MultipleImesWithAndWithoutSubtypes() [all …]
|
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
H A D | MockResources.java | 19 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; 28 private HashMap<Integer, String[]> mStringArrayValues; 31 mBooleanValues = new HashMap<Integer, Boolean>(); in MockResources() 32 mIntegerValues = new HashMap<Integer, Integer>(); in MockResources() 33 mStringValues = new HashMap<Integer, String>(); in MockResources() [all …]
|
/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
H A D | ResourceUtilsTests.java | 28 import java.util.HashMap; 35 final HashMap<String,String> anyKeyValue = new HashMap<>(); in testFindConstantForKeyValuePairsSimple() 37 final HashMap<String,String> nullKeyValue = null; in testFindConstantForKeyValuePairsSimple() 38 final HashMap<String,String> emptyKeyValue = new HashMap<>(); in testFindConstantForKeyValuePairsSimple() 59 final HashMap<String,String> keyValues = new HashMap<>(); in testFindConstantForKeyValuePairsSimple() 100 final HashMap<String,String> keyValues = new HashMap<>(); in testFindConstantForKeyValuePairsCombined() 139 final HashMap<String,String> keyValues = new HashMap<>(); in testFindConstantForKeyValuePairsRegexp()
|
/aosp12/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ProviderMap.java | 38 import java.util.HashMap; 56 private final HashMap<String, ContentProviderRecord> mSingletonByName 57 = new HashMap<String, ContentProviderRecord>(); 59 = new HashMap<ComponentName, ContentProviderRecord>(); 62 = new SparseArray<HashMap<String, ContentProviderRecord>>(); 174 … HashMap<String, ContentProviderRecord> newMap = new HashMap<String, ContentProviderRecord>(); in getProvidersByName() 184 final HashMap<ComponentName, ContentProviderRecord> map in getProvidersByClass() 187 HashMap<ComponentName, ContentProviderRecord> newMap in getProvidersByClass() 188 = new HashMap<ComponentName, ContentProviderRecord>(); in getProvidersByClass() 198 HashMap<ComponentName, ContentProviderRecord> providers, in collectPackageProvidersLocked() [all …]
|
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/license/ |
H A D | LicenseHtmlGeneratorFromXmlTest.java | 32 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()
|
/aosp12/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
H A D | ShadowCarUnitsManager.java | 27 import java.util.HashMap; 36 private static HashMap<Integer, Unit[]> sSupportedUnits = new HashMap<>(); 37 private static HashMap<Integer, Unit> sUnitsBeingUsed = new HashMap<>(); 79 sSupportedUnits = new HashMap<>(); in reset() 80 sUnitsBeingUsed = new HashMap<>(); in reset()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/graphics/ |
H A D | FontTestUtil.java | 23 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<>();
|
/aosp12/system/tools/aidl/tests/java/src/android/aidl/tests/ |
H A D | MapTests.java | 27 import java.util.HashMap; 42 foo.intEnumArrayMap = new HashMap<>(); in testWriteAndThenReadMaps() 45 foo.intArrayMap = new HashMap<>(); in testWriteAndThenReadMaps() 51 foo.barMap = new HashMap<>(); in testWriteAndThenReadMaps() 54 foo.barArrayMap = new HashMap<>(); in testWriteAndThenReadMaps() 57 foo.stringMap = new HashMap<>(); in testWriteAndThenReadMaps() 60 foo.stringArrayMap = new HashMap<>(); in testWriteAndThenReadMaps() 64 foo.interfaceMap = new HashMap<>(); in testWriteAndThenReadMaps() 67 foo.ibinderMap = new HashMap<>(); in testWriteAndThenReadMaps()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/provider/ |
H A D | NameValueCacheTest.java | 46 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()
|
/aosp12/packages/apps/Launcher3/tests/src/com/android/launcher3/util/ |
H A D | LauncherLayoutBuilder.java | 29 import java.util.HashMap; 70 private final ArrayList<Pair<String, HashMap<String, Object>>> mNodes = new ArrayList<>(); 107 ArrayList<Pair<String, HashMap<String, Object>>> nodes) throws IOException { in writeNodes() 108 for (Pair<String, HashMap<String, Object>> node : nodes) { in writeNodes() 109 ArrayList<Pair<String, HashMap<String, Object>>> children = null; in writeNodes() 114 children = (ArrayList<Pair<String, HashMap<String, Object>>>) attr.getValue(); in writeNodes() 129 final HashMap<String, Object> items = new HashMap<>(); 168 final ArrayList<Pair<String, HashMap<String, Object>>> mChildren = new ArrayList<>(); 171 HashMap<String, Object> items = new HashMap<>(); in addApp()
|
/aosp12/frameworks/base/services/usb/java/com/android/server/usb/descriptors/report/ |
H A D | UsbStrings.java | 23 import java.util.HashMap; 32 private static HashMap<Byte, String> sDescriptorNames; 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() 96 sClassNames = new HashMap<Integer, String>(); in initClassNames() 153 sTerminalNames = new HashMap<Integer, String>(); in initTerminalNames() [all …]
|
/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
H A D | AnimationDynamicColorsHelperTest.java | 34 import java.util.HashMap; 57 Map<String, Integer> layerToColor = new HashMap<>(); in setupAnimationDynamicColors_lightMode_containsLightColors() 67 Map<String, Integer> layerToColor = new HashMap<>(); in setupAnimationDynamicColors_darkMode_setsSymmetricDarkColors() 78 Map<String, Integer> layerToColor = new HashMap<>(); in setupAnimationDynamicColors_darkMode_setsAsymmetricColors() 95 Map<String, Integer> layerToColor = new HashMap<>(); in getUpdatedLayersForMode() 118 Map<String, Integer> result = new HashMap<>(); 124 Map<String, Integer> result = new HashMap<>(); 130 Map<String, Integer> result = new HashMap<>();
|
/aosp12/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/ |
H A D | SoundSettingsTest.java | 32 import java.util.HashMap; 43 private HashMap ringtoneSounds = new HashMap<String, String>() {{ 52 private HashMap ringtoneCodes = new HashMap<String, String>() {{ 61 private HashMap alarmSounds = new HashMap<String, String>() {{ 70 private HashMap alarmCodes = new HashMap<String, String>() {{ 79 private HashMap notificationSounds = new HashMap<String, String>() {{ 89 private HashMap notificationCodes = new HashMap<String, String>() {{
|
/aosp12/frameworks/base/core/java/android/animation/ |
H A D | PropertyValuesHolder.java | 29 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() 1152 private static final HashMap<Class, HashMap<String, Long>> sJNISetterPropertyMap = 1153 new HashMap<Class, HashMap<String, Long>>(); 1300 new HashMap<Class, HashMap<String, Long>>(); 1447 new HashMap<Class, HashMap<String, Long>>(); [all …]
|
/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
H A D | BinaryDictionaryTests.java | 48 import java.util.HashMap; 261 final HashMap<String, Integer> probabilityMap = new HashMap<>(); in testRandomlyAddUnigramWord() 343 final HashMap<String, Integer> unigramProbabilities = new HashMap<>(); in testRandomlyAddBigramWords() 485 final HashMap<String, Integer> unigramProbabilities = new HashMap<>(); in testAddBigramWordsAndFlashWithGC() 528 final HashMap<String, String> attributeMap = new HashMap<>(); in testRandomOperationsAndFlashWithGC() 548 final HashMap<String, Integer> unigramProbabilities = new HashMap<>(); in testRandomOperationsAndFlashWithGC() 630 final HashMap<String, Integer> unigramProbabilities = new HashMap<>(); in testAddManyUnigramsAndFlushWithGC() 659 final HashMap<String, String> attributeMap = new HashMap<>(); in testUnigramAndBigramCount() 728 final HashMap<String, Integer> wordProbabilities = new HashMap<>(); in testGetWordProperties() 729 final HashMap<String, HashSet<String>> bigrams = new HashMap<>(); in testGetWordProperties() [all …]
|
/aosp12/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
H A D | HomogenousBiMap.java | 19 import java.util.HashMap; 29 private final Map<T, T> mForwardMap = new HashMap<>(); 30 private final Map<T, T> mReverseMap = new HashMap<>(); 48 return new HashMap<>(mForwardMap); in getForwardMap() 56 return new HashMap<>(mReverseMap); in getReverseMap()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
H A D | ConvertUtilsTest.java | 42 import java.util.HashMap; 175 new HashMap<>(); in getIndexedUsageMap_returnsExpectedResult() 186 entryMap = new HashMap<>(); in getIndexedUsageMap_returnsExpectedResult() 190 entryMap = new HashMap<>(); in getIndexedUsageMap_returnsExpectedResult() 197 entryMap = new HashMap<>(); in getIndexedUsageMap_returnsExpectedResult() 207 entryMap = new HashMap<>(); in getIndexedUsageMap_returnsExpectedResult() 286 new HashMap<>(); in getIndexedUsageMap_usageTimeExceed_returnsExpectedResult() 294 entryMap = new HashMap<>(); in getIndexedUsageMap_usageTimeExceed_returnsExpectedResult() 298 entryMap = new HashMap<>(); in getIndexedUsageMap_usageTimeExceed_returnsExpectedResult() 334 entryMap = new HashMap<>(); in getIndexedUsageMap_hideBackgroundUsageTime_returnsExpectedResult() [all …]
|
/aosp12/frameworks/base/telecomm/java/android/telecom/Logging/ |
H A D | TimedEvent.java | 20 import java.util.HashMap; 31 HashMap<T, Integer> counts = new HashMap<>(); in averageTimings() 32 HashMap<T, Double> result = new HashMap<>(); in averageTimings()
|
/aosp12/frameworks/base/telecomm/java/android/telecom/ |
H A D | TimedEvent.java | 20 import java.util.HashMap; 31 HashMap<T, Integer> counts = new HashMap<>(); in averageTimings() 32 HashMap<T, Double> result = new HashMap<>(); in averageTimings()
|
/aosp12/frameworks/base/tools/powermodel/src/com/android/powermodel/component/ |
H A D | CpuProfile.java | 20 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[]>();
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
H A D | TestOnlyInsecureCertificateHelperTest.java | 16 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()
|
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
H A D | SubtypeLocaleUtils.java | 33 import java.util.HashMap; 59 private static final HashMap<String, String> sKeyboardLayoutToDisplayNameMap = new HashMap<>(); 61 private static final HashMap<String, Integer> sKeyboardLayoutToNameIdsMap = new HashMap<>(); 63 private static final HashMap<String, Integer> sExceptionalLocaleDisplayedInRootLocale = 64 new HashMap<>(); 66 private static final HashMap<String, Integer> sExceptionalLocaleToNameIdsMap = new HashMap<>(); 68 private static final HashMap<String, Integer> sExceptionalLocaleToWithLayoutNameIdsMap = 69 new HashMap<>(); 82 private static final HashMap<String, String> sLocaleAndExtraValueToKeyboardLayoutSetMap = 83 new HashMap<>();
|
/aosp12/frameworks/base/media/java/android/media/ |
H A D | MediaInserter.java | 26 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()
|
/aosp12/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | AutomaticActivity.java | 25 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()
|