Searched refs:indexMap (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/core/java/com/android/server/integrity/parser/ |
D | RuleIndexingController.java | 102 LinkedHashMap<String, Integer> indexMap, String searchedKey) { in searchIndexingKeysRangeContainingKey() argument 103 List<String> keys = indexMap.keySet().stream().collect(Collectors.toList()); in searchIndexingKeysRangeContainingKey() 107 indexMap.get(identifiedKeyRange.get(0)), indexMap.get(identifiedKeyRange.get(1))); in searchIndexingKeysRangeContainingKey()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | LongArrayMultiStateCounter.java | 127 public boolean combineValues(long[] array, int[] indexMap) { in combineValues() argument 128 if (indexMap.length != mLength) { in combineValues() 130 "Wrong index map size " + indexMap.length + ", expected " + mLength); in combineValues() 132 return native_combineValues(mNativeObject, array, indexMap); in combineValues() 156 int[] indexMap); in native_combineValues() argument
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | GenerationRegistry.java | 315 final ArrayMap<String, Integer> indexMap = mKeyToIndexMapMap.get(key); in dumpProto() local 318 if (indexMap == null || backingStore == null) { in dumpProto() 321 for (String setting : indexMap.keySet()) { in dumpProto() 359 final ArrayMap<String, Integer> indexMap = mKeyToIndexMapMap.get(key); in dump() local 362 if (indexMap == null || backingStore == null) { in dump() 365 for (String setting : indexMap.keySet()) { in dump()
|
/frameworks/av/drm/libmediadrm/ |
D | DrmMetricsConsumer.cpp | 226 std::map<String16, int> indexMap; in HidlMetricsToBundle() local 250 int index = indexMap[metricName]; in HidlMetricsToBundle() 253 indexMap[metricName] = ++index; in HidlMetricsToBundle()
|
/frameworks/base/ravenwood/runtime-helper-src/framework/com/android/platform/test/ravenwood/nativesubstitution/ |
D | LongArrayMultiStateCounter_host.java | 283 public static boolean native_combineValues(long instanceId, long[] array, int[] indexMap) { in native_combineValues() argument 290 int index = indexMap[i]; in native_combineValues()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | TextUtilsTest.java | 721 final int[] indexMap = {0, 1, 1, 2, 3, 4, 5}; in testToUpperCase_SpansArePreserved() local 747 assertEquals(indexMap[source.getSpanStart(span)], result.getSpanStart(span)); in testToUpperCase_SpansArePreserved() 748 assertEquals(indexMap[source.getSpanEnd(span)], result.getSpanEnd(span)); in testToUpperCase_SpansArePreserved()
|