/cts/suite/audio_quality/lib/src/task/ |
D | TaskCase.cpp | 68 typename std::map<android::String8, T>& map, in registerGeneric() argument 71 typename std::map<android::String8, T>::iterator it; in registerGeneric() 72 it = map.find(name); in registerGeneric() 73 if (it != map.end()) { in registerGeneric() 78 map[name] = data; in registerGeneric() 82 template <typename T> bool findGeneric(typename std::map<android::String8, T>& map, in findGeneric() argument 86 typename std::map<android::String8, T>::iterator it; in findGeneric() 87 it = map.find(name); in findGeneric() 88 if (it == map.end()) { in findGeneric() 95 template <typename T> bool updateGeneric(typename std::map<android::String8, T>& map, in updateGeneric() argument [all …]
|
/cts/tests/tests/util/src/android/util/cts/ |
D | ArrayMapTest.java | 165 private static void compareMaps(HashMap map, ArrayMap array) { in compareMaps() argument 166 if (map.size() != array.size()) { in compareMaps() 167 fail("Bad size: expected " + map.size() + ", got " + array.size()); in compareMaps() 170 Set<Map.Entry> mapSet = map.entrySet(); in compareMaps() 183 Object expValue = map.get(key); in compareMaps() 190 if (map.entrySet().hashCode() != array.entrySet().hashCode()) { in compareMaps() 192 + Integer.toHexString(map.entrySet().hashCode()) + " array=0x" in compareMaps() 196 if (!map.entrySet().equals(array.entrySet())) { in compareMaps() 200 if (!array.entrySet().equals(map.entrySet())) { in compareMaps() 204 if (map.keySet().hashCode() != array.keySet().hashCode()) { in compareMaps() [all …]
|
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/ |
D | TestRunHandler.java | 49 Map<String, Integer> map = stringToMap(mapString); in getTestRuns() local 50 Integer testRuns = map.get(id); in getTestRuns() 81 private static String mapToString(Map<String, Integer> map) { in mapToString() argument 83 for (Map.Entry<String, Integer> entry : map.entrySet()) { in mapToString() 90 Map<String, Integer> map = new HashMap<>(); in stringToMap() local 93 map.put(parts[0], Integer.parseInt(parts[1])); in stringToMap() 95 return map; in stringToMap()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | DebugTest.java | 286 Map<String, String> map = Debug.getRuntimeStats(); in testGetRuntimeStats() local 287 String gc_count = map.get("art.gc.gc-count"); in testGetRuntimeStats() 288 String gc_time = map.get("art.gc.gc-time"); in testGetRuntimeStats() 289 String bytes_allocated = map.get("art.gc.bytes-allocated"); in testGetRuntimeStats() 290 String bytes_freed = map.get("art.gc.bytes-freed"); in testGetRuntimeStats() 291 String blocking_gc_count = map.get("art.gc.blocking-gc-count"); in testGetRuntimeStats() 292 String blocking_gc_time = map.get("art.gc.blocking-gc-time"); in testGetRuntimeStats() 293 String gc_count_rate_histogram = map.get("art.gc.gc-count-rate-histogram"); in testGetRuntimeStats() 295 map.get("art.gc.blocking-gc-count-rate-histogram"); in testGetRuntimeStats() 334 Map<String, String> map = memoryInfo.getMemoryStats(); in testGetMemoryStats() local [all …]
|
D | ParcelTest.java | 271 HashMap map = new HashMap(); in testReadValue() local 273 map.put("string", "String"); in testReadValue() 274 map.put("int", Integer.MAX_VALUE); in testReadValue() 275 map.put("boolean", true); in testReadValue() 277 p.writeValue(map); in testReadValue() 281 assertEquals(map.size(), map2.size()); in testReadValue() 282 assertEquals("String", map.get("string")); in testReadValue() 283 assertEquals(Integer.MAX_VALUE, map.get("int")); in testReadValue() 284 assertEquals(true, map.get("boolean")); in testReadValue() 2865 HashMap map = new HashMap(); [all …]
|
/cts/tests/tests/content/src/android/content/cts/ |
D | BroadcastReceiverTest.java | 191 Bundle map = new Bundle(); in testManifestReceiverPackage() local 192 map.putString(MockReceiver.RESULT_EXTRAS_INVARIABLE_KEY, in testManifestReceiverPackage() 194 map.putString(MockReceiver.RESULT_EXTRAS_REMOVE_KEY, in testManifestReceiverPackage() 200 null, RESULT_INITIAL_CODE, RESULT_INITIAL_DATA, map); in testManifestReceiverPackage() 218 Bundle map = new Bundle(); in testManifestReceiverComponent() local 219 map.putString(MockReceiver.RESULT_EXTRAS_INVARIABLE_KEY, in testManifestReceiverComponent() 221 map.putString(MockReceiver.RESULT_EXTRAS_REMOVE_KEY, in testManifestReceiverComponent() 228 null, RESULT_INITIAL_CODE, RESULT_INITIAL_DATA, map); in testManifestReceiverComponent() 246 Bundle map = new Bundle(); in testManifestReceiverPermission() local 247 map.putString(MockReceiver.RESULT_EXTRAS_INVARIABLE_KEY, in testManifestReceiverPermission() [all …]
|
D | MockReceiver.java | 40 Bundle map = getResultExtras(false); in onReceive() local 41 map.remove(RESULT_EXTRAS_REMOVE_KEY); in onReceive() 42 map.putString(RESULT_EXTRAS_ADD_KEY, RESULT_EXTRAS_ADD_VALUE); in onReceive() 43 setResult(RESULT_CODE, RESULT_DATA, map); in onReceive()
|
D | MockReceiverFirst.java | 36 Bundle map = getResultExtras(false); in onReceive() local 37 map.putString(RESULT_EXTRAS_FIRST_KEY, RESULT_EXTRAS_FIRST_VALUE); in onReceive() 38 setResult(RESULT_CODE, RESULT_DATA, map); in onReceive()
|
D | MockReceiverAbort.java | 36 Bundle map = getResultExtras(false); in onReceive() local 37 map.putString(RESULT_EXTRAS_ABORT_KEY, RESULT_EXTRAS_ABORT_VALUE); in onReceive() 38 setResult(RESULT_CODE, RESULT_DATA, map); in onReceive()
|
D | ContentValuesTest.java | 58 Set<Map.Entry<String, Object>> map; in testValueSet() local 59 assertNotNull(map = mContentValues.valueSet()); in testValueSet() 60 assertTrue(map.isEmpty()); in testValueSet() 65 assertNotNull(map = mContentValues.valueSet()); in testValueSet() 66 assertFalse(map.isEmpty()); in testValueSet() 67 assertEquals(2, map.size()); in testValueSet()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MockFontProvider.java | 119 HashMap<String, Font[]> map = new HashMap<>(); 122 map.put(SINGLE_FONT_FAMILY_QUERY, new Font[] { in map.put() 126 map.put(MULTIPLE_FAMILY_QUERY, new Font[] { in map.put() 133 map.put(ALL_ATTRIBUTE_VALUES_QUERY, new Font[] { in map.put() 140 map.put(NOT_FOUND_QUERY, new Font[] { in map.put() 144 map.put(UNAVAILABLE_QUERY, new Font[] { in map.put() 148 map.put(MALFORMED_QUERY, new Font[] { in map.put() 152 map.put(NOT_FOUND_SECOND_QUERY, new Font[] { in map.put() 158 map.put(NOT_FOUND_THIRD_QUERY, new Font[] { in map.put() 166 map.put(NEGATIVE_ERROR_CODE_QUERY, new Font[] { in map.put() [all …]
|
/cts/common/util/src/com/android/compatibility/common/util/ |
D | KeyValueArgsParser.java | 31 final HashMap<String, String> map = new HashMap<String, String>(); in parse() local 40 map.put(key, s); in parse() 47 return map; in parse()
|
/cts/tools/utils/cts/ |
D | tools.py | 121 self.map = None 171 if not self.map: 176 self.map[package] = False 184 if not self.map: 185 self.map = {} 187 self.map[package] = False 191 self.map[package] = True 206 if self.map[package]:
|
/cts/suite/audio_quality/lib/include/task/ |
D | TaskCase.h | 132 std::map<android::String8, android::sp<Buffer> > mBufferList; 133 std::map<android::String8, int> mIndexList; 134 std::map<android::String8, Value> mValueList;
|
D | TaskGeneric.h | 113 std::map<android::String8, android::String8> mStringAttributes;
|
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/suite/ |
D | ModuleRepoSuite.java | 286 Map<String, List<String>> map = argsMap.get(target); in putArgs() local 287 if (map == null) { in putArgs() 288 map = new HashMap<>(); in putArgs() 289 argsMap.put(target, map); in putArgs() 291 List<String> valueList = map.get(key); in putArgs() 294 map.put(key, valueList); in putArgs()
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | SettingsIncidentTest.java | 77 .map((method) -> (SettingProto) invoke(method, settingsProto)) in getSettingProtos() 93 .map((arg) -> toPrimitive(arg.getClass())) in invoke()
|
/cts/suite/audio_quality/lib/include/audio/ |
D | RemoteAudio.h | 149 std::map<int, android::sp<Buffer> > mBufferList; 150 std::map<android::String8, int> mIdMap;
|
/cts/hostsidetests/security/securityPatch/CVE-2017-0586/ |
D | poc.c | 77 void *map; in main() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsSerializer.java | 133 StreamConfigurationMap map) in serializeStreamConfigurationMap() argument 138 int fmts[] = map.getOutputFormats(); in serializeStreamConfigurationMap() 141 Size sizes[] = map.getOutputSizes(fmts[fi]); in serializeStreamConfigurationMap() 150 map.getOutputMinFrameDuration(fmts[fi],sizes[si])); in serializeStreamConfigurationMap() 154 sizes = map.getHighResolutionOutputSizes(fmts[fi]); in serializeStreamConfigurationMap() 163 map.getOutputMinFrameDuration(fmts[fi],sizes[si])); in serializeStreamConfigurationMap() 263 private static Object serializeLensShadingMap(LensShadingMap map) in serializeLensShadingMap() argument 266 for (int row = 0; row < map.getRowCount(); row++) { in serializeLensShadingMap() 267 for (int col = 0; col < map.getColumnCount(); col++) { in serializeLensShadingMap() 269 mapObj.put(map.getGainFactor(ch, col, row)); in serializeLensShadingMap()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | CameraMetadataGetter.java | 303 StreamConfigurationMap map) in serializeStreamConfigurationMap() argument 308 int fmts[] = map.getOutputFormats(); in serializeStreamConfigurationMap() 311 Size sizes[] = map.getOutputSizes(fmts[fi]); in serializeStreamConfigurationMap() 320 map.getOutputMinFrameDuration(fmts[fi], sizes[si])); in serializeStreamConfigurationMap() 421 private static Object serializeLensShadingMap(LensShadingMap map) in serializeLensShadingMap() argument 424 for (int row = 0; row < map.getRowCount(); row++) { in serializeLensShadingMap() 425 for (int col = 0; col < map.getColumnCount(); col++) { in serializeLensShadingMap() 427 mapObj.put(map.getGainFactor(ch, col, row)); in serializeLensShadingMap()
|
/cts/tests/libcore/javautilcollections/libs/ |
D | guava-testlib-20.0.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/ |
D | ModuleRepo.java | 617 Map<String, List<String>> map = argsMap.get(target); in putArgs() local 618 if (map == null) { in putArgs() 619 map = new HashMap<>(); in putArgs() 620 argsMap.put(target, map); in putArgs() 622 List<String> valueList = map.get(name); in putArgs() 625 map.put(name, valueList); in putArgs()
|
/cts/suite/audio_quality/test_description/processing/ |
D | calc_delay.py | 55 result = pool.map(convolutionstar, TASK)
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/ |
D | DisplayModifier.java | 479 for (LinkedHashMap<String, DisplayModifier> map : mDisplayMap.values()) { in getMapAtIndex() 481 return map; in getMapAtIndex() 497 LinkedHashMap<String, DisplayModifier> map = getMapAtIndex(modifierMapIndex); in step() local 501 if (mIndices[modifierMapIndex] < map.size()) { in step()
|