Home
last modified time | relevance | path

Searched refs:flattened (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/hardware/src/android/hardware/cts/helpers/
DSensorStatsTest.java54 Map<String, Object> flattened = stats.flatten(); in testFlatten() local
56 assertEquals(6, flattened.size()); in testFlatten()
57 assertEquals(0, (int) (Integer) flattened.get("value0")); in testFlatten()
58 assertEquals(1, (int) (Integer) flattened.get("value1")); in testFlatten()
59 assertEquals(2, (int) (Integer) flattened.get("stats0__value2")); in testFlatten()
60 assertEquals(3, (int) (Integer) flattened.get("stats0__value3")); in testFlatten()
61 assertEquals(4, (int) (Integer) flattened.get("stats0__stats1__value4")); in testFlatten()
62 assertEquals(5, (int) (Integer) flattened.get("stats0__stats1__value5")); in testFlatten()
DSensorStats.java129 final Map<String, Object> flattened = flatten(); in log() local
130 for (String key : getSortedKeys(flattened)) { in log()
131 Object value = flattened.get(key); in log()
142 final Map<String, Object> flattened = flatten(); in logToFile() local
145 for (String key : getSortedKeys(flattened)) { in logToFile()
146 Object value = flattened.get(key); in logToFile()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvContentRatingTest.java57 String flattened = TvContentRating.createRating(DOMAIN, RATING_SYSTEM, MAIN_RATING, in testFlattenAndUnflatten() local
59 TvContentRating rating = TvContentRating.unflattenFromString(flattened); in testFlattenAndUnflatten()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DDeviceInfoResult.java307 StringBuilder flattened = new StringBuilder(); in parseTag() local
315 flattened.append(getAttribute(parser, attrNames[i])); in parseTag()
317 flattened.append(attrDelim); in parseTag()
320 flattened.append(delim); in parseTag()
326 return flattened.toString(); in parseTag()