Home
last modified time | relevance | path

Searched refs:ordinals (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/timezonedetector/
DOrdinalGenerator.java53 int[] ordinals(List<T> objects) { in ordinals() method in OrdinalGenerator
54 int[] ordinals = new int[objects.size()]; in ordinals() local
55 for (int i = 0; i < ordinals.length; i++) { in ordinals()
56 ordinals[i] = ordinal(objects.get(i)); in ordinals()
58 return ordinals; in ordinals()
DMetricsTimeZoneDetectorState.java302 int[] zoneIdOrdinals = zoneIdOrdinalGenerator.ordinals(zoneIds); in createMetricsTimeZoneSuggestion()
/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/
DOrdinalGeneratorTest.java51 int[] oneTwoOrds = ordinalGenerator.ordinals(Arrays.asList("One", "Two")); in testOrdinals_withIdentityFunction()
52 int[] twoThreeOrds = ordinalGenerator.ordinals(Arrays.asList("Two", "Three")); in testOrdinals_withIdentityFunction()
79 int[] oneTwoOrds = ordinalGenerator.ordinals(Arrays.asList("One", "Two")); in testOrdinals_withCanonicalizationFunction()
80 int[] twoThreeOrds = ordinalGenerator.ordinals(Arrays.asList("Two", "Three")); in testOrdinals_withCanonicalizationFunction()
/frameworks/native/services/surfaceflinger/Scheduler/
DVSyncPredictor.cpp195 std::vector<nsecs_t> ordinals(numSamples); in addVsyncTimestamp() local
217 ordinals[i] = ordinal; in addVsyncTimestamp()
226 ordinals[i] -= meanOrdinal; in addVsyncTimestamp()
232 top += vsyncTS[i] * ordinals[i]; in addVsyncTimestamp()
233 bottom += ordinals[i] * ordinals[i]; in addVsyncTimestamp()
/frameworks/base/core/proto/android/app/
Dtime_zone_detector.proto72 // The ordinals for time zone(s) in the suggestion. Always empty for
/frameworks/proto_logging/stats/
Datoms.proto19918 // The ordinals for time zone(s) in the suggestion. Always empty for