Searched refs:S2 (Results 1 – 25 of 32) sorted by relevance
12
1 This directory contains files related to storage of TZ S2 data files used for offline geolocation7 * `src/readonly/` - host + device code for reading TZ S2 data files8 * `src/write/` - host code for writing TZ S2 data files10 * `tools/` - host tooling to support generation / debugging / testing of TZ S2 data16 The TZ S2 data file format builds on top of a generic "block file format" where45 TZ S2 data file format information48 The TZ S2 data file is a type of block file that uses packed tables. It overlays additional rules,54 The TZ S2 data file format is intended to be language neutral (e.g. Java or C code could easily be61 The file stores time zone geolocation data at a single S2 level. Logically, the data consists of:64 {start S2 cell ID (inclusive)}, {end S2 cell ID (exclusive)}, {time zone IDs}[all …]
15 // Library for read-only access to TZ S2 data files.38 // Library for read/write access to TZ S2 data files.50 // Tests for the TZ S2 storage code.
25 import static com.android.adservices.shared.testing.AndroidSdk.Level.S2;111 var rule = newRule(/* ruleLevel= */ ANY, /* deviceLevel= */ S2); in testRuleIsAtLeastMethods_deviceIsS2()228 Range.forAtLeast(S2.getLevel()), in testGetRequiredRange_annotatedTest()231 newAnnotationForAtLeast(S2, REASON)); in testGetRequiredRange_annotatedTest()243 Range.forAtMost(S2.getLevel()), in testGetRequiredRange_annotatedTest()248 Range.forRange(R.getLevel(), S2.getLevel()), in testGetRequiredRange_annotatedTest()251 sdkRange(R.getLevel(), S2.getLevel(), REASON)); in testGetRequiredRange_annotatedTest()266 Range.forRange(S2.getLevel(), U.getLevel()), in testGetRequiredRange_annotatedTest()269 newAnnotationForAtLeast(S2, REASON)); in testGetRequiredRange_annotatedTest()281 Range.forRange(R.getLevel(), S2.getLevel()), in testGetRequiredRange_annotatedTest()[all …]
22 import static com.android.adservices.shared.testing.AndroidSdk.Level.S2;50 expect.withMessage("level 32").that(for32).isSameInstanceAs(S2); in testFactoryMethod()72 expect.withMessage("level of S2").that(S2.getLevel()).isEqualTo(32); in testGetLevel()84 expect.withMessage("ANY.isAtLeast(S2)").that(ANY.isAtLeast(S2)).isFalse(); in testAtLeast()93 expect.withMessage("DEV.isAtLeast(S2)").that(DEV.isAtLeast(S2)).isTrue(); in testAtLeast()102 expect.withMessage("R.isAtLeast(S2)").that(R.isAtLeast(S2)).isFalse(); in testAtLeast()111 expect.withMessage("S.isAtLeast(S2)").that(S.isAtLeast(S2)).isFalse(); in testAtLeast()120 expect.withMessage("T.isAtLeast(S2)").that(T.isAtLeast(S2)).isTrue(); in testAtLeast()129 expect.withMessage("U.isAtLeast(S2)").that(U.isAtLeast(S2)).isTrue(); in testAtLeast()138 expect.withMessage("V.isAtLeast(S2)").that(V.isAtLeast(S2)).isTrue(); in testAtLeast()
8 - `src/write` S2 write code used by tools to write the s2 cells into a10 - `src/readonly` S2 read-only code used by the above read-write code and the class28 - Runs the `satellite_createsats2file` to create a binary satellite S2 file from a29 list of S2 cells ID.33 the ID of a S2 cell.34 - `--s2-level` The S2 level of all the cells in the input file.36 - `true` The input file contains a list of S2 cells where satellite services are allowed.37 - `false` The input file contains a list of S2 cells where satellite services are disallowed.38 - `--output-file` The created binary satellite S2 file, which will be used by50 - Create a test binary satellite S2 file with the following ranges:[all …]
46 // S2: attribution_scope_limit -> 4, priority -> 10185 // S2 will be NOT be deactivated as it has higher attribution_scope_limit.123 // T1: attribution scope -> "1", destination -> D1, source registered -> [S1, S2]194 // T2: attribution scope -> "2", destination -> D1, sources registered -> [S1, S2, S3]195 // Given S1 was deactivated and S3 has lower priority, this should match to S2.265 // T3: attribution scope -> "4", destination -> D1, sources registered -> [S1, S2, S3]
47 // S2: max_event_states -> 11 attribution scopes-> ["1", "2", "3"] destinations -> [D1]88 // Given S1 was deactivated, this should match to S2.159 // Given S1 was deactivated, this should match to S2.
44 // S2: attribution scopes -> ["2"], destinations -> [D1]158 // S1 should be selected to match the attribution scope; S2 should be deactivated after230 // S2 matches the attribution scope but was deactivated after losing attribution at T1,
44 // S2: attribution scopes -> ["1"], destinations -> [D1], priority -> 102119 // S2 should be selected to match the attribution scope and has the highest priority.
47 // S2: attribution scopes-> ["3", "4", "5"] destinations -> [D1]198 // This should match to S2 with the right scope. S3 is not selected due to scope mismatch.
45 // S2: event, attribution scopes -> ["1"], destinations -> [D2], priority -> 102228 … // S4 should be selected to match the attribution scope and S2 with higher priority was rejected.
44 // S2: attribution scopes -> ["2"], destinations -> [D1], priority -> 102
51 // S2: attribution scopes -> ["1"], destinations -> [D2], priority -> 102
13 …// S1: Has one common web destination with S4. It's the oldest source but S2 gets deleted because …43 // S277 …// S3: Similar source to S2 but from a different publisher - to ensure that the limit doesn't appl…111 // S4: Has one common web destination to S1; Leads to deletion of S2 to accommodate it247 // T2: Attributes to S2356 // T5: Fails to attribute as S2 was deleted
43 // S277 …// S3: Similar source to S2 but from a different publisher - to ensure that the limit doesn't appl…111 // S4: Has one common web destination to S1; Leads to deletion of S2 to accommodate it247 // T2: Attributes to S2356 // T5: Fails to attribute as S2 was deleted
24 // The format need to write a TZ S2 data file.29 // S2 cell ranges with the same time zone IDs. Must be ordered by (unsigned)30 // S2 start cell ID, no overlaps, gaps permitted.41 // An S2 cell range with the same time zone ID(s).44 // The start S2 cell ID (inclusive).47 // The end S2 cell ID (exclusive).
15 // Library for read-only access to Sat S2 data files.20 // Library for read-only access to satellite S2 data files.32 // Library for read/write access to satellite S2 data files.49 // Library for access to satellite S2 utils.62 // Tests for the satellite S2 storage code.
33 // A tool to create a binary satellite S2 file.42 // A tool to look up a location in the input binary satellite S2 file.51 // A tool to create a test satellite S2 file.60 // A tool to dump a satellite S2 file as text for debugging.
28 // The time zone ID associated with the S2 polygons.30 // The S2 polygons.53 // The time zone ID associated with the S2 cells.55 // The S2 cell IDs.
65 S2(SC_V2), enumConstant98 return S2; in forLevel()
191 ranges.add(Range.forAtLeast(Level.S2.getLevel()));307 return getDeviceApiLevel().isAtLeast(Level.S2);
15 // Library for read-only access to TZ S2 data files.
1 This directory contains files related to storage of read-only S2 data in blocks.
50 case S2: in newAnnotationForAtLeast()
88 // Converts TzS2Polygon proto files to TsS2CellUnion proto files at a maximum S2 level.