Searched refs:flattened (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
D | SensorStatsTest.java | 54 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()
|
D | SensorStats.java | 137 final Map<String, Object> flattened = flatten(); in log() local 138 for (String key : getSortedKeys(flattened)) { in log() 139 Object value = flattened.get(key); in log() 150 final Map<String, Object> flattened = flatten(); in logToFile() local 153 for (String key : getSortedKeys(flattened)) { in logToFile() 154 Object value = flattened.get(key); in logToFile()
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvContentRatingTest.java | 53 String flattened = TvContentRating.createRating(DOMAIN, RATING_SYSTEM, MAIN_RATING_1, in testFlattenAndUnflatten() local 55 TvContentRating rating = TvContentRating.unflattenFromString(flattened); in testFlattenAndUnflatten()
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
D | DeviceInfoResult.java | 319 StringBuilder flattened = new StringBuilder(); in parseTag() local 327 flattened.append(getAttribute(parser, attrNames[i])); in parseTag() 329 flattened.append(attrDelim); in parseTag() 332 flattened.append(delim); in parseTag() 338 return flattened.toString(); in parseTag()
|