Searched refs:flattened (Results 1 – 3 of 3) sorted by relevance
/cts/tests/sensor/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 | 142 final Map<String, Object> flattened = flatten(); in log() local 143 for (String key : getSortedKeys(flattened)) { in log() 144 Object value = flattened.get(key); in log() 158 final Map<String, Object> flattened = flatten(); in logToFile() local 161 for (String key : getSortedKeys(flattened)) { in logToFile() 162 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()
|