Home
last modified time | relevance | path

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

12345678910>>...33

/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/inputmethod/
H A 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()
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 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()
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 …]
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/license/
H A DLicenseHtmlGeneratorFromXmlTest.java34 import java.util.HashMap;
226 Map<String, Set<String>> toBoth = new HashMap<>(); in testGenerateHtml()
227 Map<String, Set<String>> toOne = new HashMap<>(); in testGenerateHtml()
249 Map<String, Set<String>> toBoth = new HashMap<>(); in testGenerateNewHtml()
250 Map<String, Set<String>> toOne = new HashMap<>(); in testGenerateNewHtml()
251 Map<String, Set<String>> toOther = new HashMap<>(); in testGenerateNewHtml()
276 Map<String, Set<String>> toBoth = new HashMap<>(); in testGenerateHtmlWithCustomHeading()
277 Map<String, Set<String>> toOne = new HashMap<>(); in testGenerateHtmlWithCustomHeading()
299 Map<String, Set<String>> toBoth = new HashMap<>(); in testGenerateNewHtmlWithCustomHeading()
300 Map<String, Set<String>> toOne = new HashMap<>(); in testGenerateNewHtmlWithCustomHeading()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/grammaticalinflection/
H A DGrammaticalInflectionBackupTest.java49 import java.util.HashMap;
84 HashMap<String, Integer> payload = in testBackupPayload_AppsInstalled_returnsGender()
88 HashMap<String, Integer> expectationMap = new HashMap<>(); in testBackupPayload_AppsInstalled_returnsGender()
98 HashMap<String, Integer> testData = new HashMap<>(); in testApplyPayload_onPackageAdded_setApplicationGrammaticalGender()
122 private byte[] convertToByteArray(HashMap<String, Integer> pkgGenderInfo) throws IOException{ in convertToByteArray()
132 private HashMap<String, Integer> readFromByteArray(byte[] payload) in readFromByteArray()
134 HashMap<String, Integer> data; in readFromByteArray()
138 data = (HashMap<String, Integer>) in.readObject(); in readFromByteArray()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/touch/
H A DTouchInsetManager.java30 import java.util.HashMap;
106 final HashMap<AttachedSurfaceControl, Region> affectedSurfaces = new HashMap<>(); in updateTouchRegions()
143 private final HashMap<TouchInsetSession, HashMap<AttachedSurfaceControl, Region>>
144 mSessionRegions = new HashMap<>();
145 private final HashMap<AttachedSurfaceControl, Region> mLastAffectedSurfaces = new HashMap();
178 final HashMap<AttachedSurfaceControl, Region> affectedSurfaces = new HashMap<>(); in updateTouchInsets()
208 HashMap<AttachedSurfaceControl, Region> regions) { in setTouchRegions()
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DProviderMap.java38 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>>();
174HashMap<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 …]
/aosp14/frameworks/base/core/tests/coretests/src/android/graphics/
H A 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<>();
/aosp14/frameworks/base/services/core/java/com/android/server/grammaticalinflection/
H A DGrammaticalInflectionBackupHelper.java35 import java.util.HashMap;
53 final HashMap<String, Integer> mPackageStates;
57 mPackageStates = new HashMap<>(); in StagedData()
73 HashMap<String, Integer> pkgGenderInfo = new HashMap<>(); in getBackupPayload()
94 HashMap<String, Integer> pkgInfo = readFromByteArray(payload); in stageAndApplyRestoredPayload()
149 private byte[] convertToByteArray(HashMap<String, Integer> pkgGenderInfo) { in convertToByteArray()
160 private HashMap<String, Integer> readFromByteArray(byte[] payload) { in readFromByteArray()
161 HashMap<String, Integer> data = new HashMap<>(); in readFromByteArray()
165 data = (HashMap<String, Integer>) in.readObject(); in readFromByteArray()
/aosp14/frameworks/base/services/usb/java/com/android/server/usb/descriptors/report/
H A DUsbStrings.java23 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 …]
/aosp14/frameworks/base/telecomm/java/android/telecom/
H A DTimedEvent.java20 import java.util.HashMap;
31 HashMap<T, Integer> counts = new HashMap<>(); in averageTimings()
32 HashMap<T, Double> result = new HashMap<>(); in averageTimings()
/aosp14/frameworks/base/telecomm/java/android/telecom/Logging/
H A DTimedEvent.java20 import java.util.HashMap;
31 HashMap<T, Integer> counts = new HashMap<>(); in averageTimings()
32 HashMap<T, Double> result = new HashMap<>(); in averageTimings()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
H A DNoOpSettingsAdapter.java21 import java.util.HashMap;
30 private Map<String, Integer> mGlobalIntSettings = new HashMap<>();
31 private Map<String, String> mGlobalStringSettings = new HashMap<>();
59 private Map<String, Integer> mSystemIntSettings = new HashMap<>();
76 private Map<String, Integer> mSecureIntSettings = new HashMap<>();
77 private Map<String, String> mSecureStringSettings = new HashMap<>();
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskFpsCallbackController.java24 import java.util.HashMap;
29 private final HashMap<IBinder, Long> mTaskFpsCallbacks;
30 private final HashMap<IBinder, IBinder.DeathRecipient> mDeathRecipients;
34 mTaskFpsCallbacks = new HashMap<>(); in TaskFpsCallbackController()
35 mDeathRecipients = new HashMap<>(); in TaskFpsCallbackController()
/aosp14/frameworks/base/media/java/android/media/
H A 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()
/aosp14/frameworks/base/core/java/android/animation/
H A 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()
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 …]
/aosp14/frameworks/base/tools/powermodel/src/com/android/powermodel/component/
H A 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[]>();
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
H A 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()
/aosp14/frameworks/base/services/core/java/com/android/server/hdmi/
H A 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()
/aosp14/frameworks/base/core/java/android/hardware/camera2/params/
H A DDeviceStateSensorOrientationMap.java29 import java.util.HashMap;
73 private final HashMap<Long, Integer> mDeviceStateOrientationMap;
100 mDeviceStateOrientationMap = new HashMap<>(); in DeviceStateSensorOrientationMap()
122 @NonNull final HashMap<Long, Integer> deviceStateOrientationMap) { in DeviceStateSensorOrientationMap()
233 private final HashMap<Long, Integer> mDeviceStateOrientationMap = new HashMap<>();
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/
H A DComplicationLayoutEngine.java52 import java.util.HashMap;
378 private final HashMap<Integer, DirectionGroup> mDirectionGroups = new HashMap<>();
380 private final HashMap<Integer, Margins> mDirectionalMargins;
384 PositionGroup(int defaultDirectionalSpacing, HashMap<Integer, Margins> directionalMargins) { in PositionGroup()
582 private final HashMap<ComplicationId, ViewEntry> mEntries = new HashMap<>();
583 private final HashMap<Integer, PositionGroup> mPositions = new HashMap<>();
587 private final HashMap<Integer, HashMap<Integer, Margins>> mPositionDirectionMarginMapping;
612 private static HashMap<Integer, HashMap<Integer, Margins>>
617 HashMap<Integer, HashMap<Integer, Margins>> mapping = new HashMap<>(); in generatePositionDirectionalMarginsMapping()
639 private static void addToMapping(HashMap<Integer, HashMap<Integer, Margins>> mapping, in addToMapping()
[all …]
/aosp14/frameworks/base/drm/java/android/drm/
H A DDrmEvent.java19 import java.util.HashMap;
54 private HashMap<String, Object> mAttributes = new HashMap<String, Object>();
65 HashMap<String, Object> attributes) { in DrmEvent()
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/libcore/
H A DHashedCollectionsPerfTest.java29 import java.util.HashMap;
42 HashMap<String, String> map = new HashMap<String, String>(); in timeHashMapGet()
52 HashMap<String, String> map = new HashMap<String, String>(); in timeHashMapGet_Synchronized()
H A DVirtualVersusInterfacePerfTest.java29 import java.util.HashMap;
43 Map<String, String> map = new HashMap<String, String>(); in timeMapPut()
52 HashMap<String, String> map = new HashMap<String, String>(); in timeHashMapPut()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DHearingAidStatsLogUtils.java24 import java.util.HashMap;
30 private static final HashMap<String, Integer> sDeviceAddressToBondEntryMap = new HashMap<>();
68 static HashMap<String, Integer> getDeviceAddressToBondEntryMap() { in getDeviceAddressToBondEntryMap()
/aosp14/frameworks/base/tools/powermodel/src/com/android/powermodel/
H A 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()

12345678910>>...33