Home
last modified time | relevance | path

Searched refs:S2 (Results 1 – 25 of 32) sorted by relevance

12

/packages/modules/GeoTZ/tzs2storage/
DREADME.md1 This directory contains files related to storage of TZ S2 data files used for offline geolocation
7 * `src/readonly/` - host + device code for reading TZ S2 data files
8 * `src/write/` - host code for writing TZ S2 data files
10 * `tools/` - host tooling to support generation / debugging / testing of TZ S2 data
16 The TZ S2 data file format builds on top of a generic "block file format" where
45 TZ S2 data file format information
48 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 be
61 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 …]
DAndroid.bp15 // 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.
/packages/modules/AdServices/shared/tests/side-less/java/com/android/adservices/shared/testing/
DAbstractSdkLevelSupportedRuleTest.java25 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 …]
DAndroidSdkLevelTest.java22 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()
/packages/services/Telephony/utils/satellite/
DREADME.md8 - `src/write` S2 write code used by tools to write the s2 cells into a
10 - `src/readonly` S2 read-only code used by the above read-write code and the class
28 - Runs the `satellite_createsats2file` to create a binary satellite S2 file from a
29 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 by
50 - Create a test binary satellite S2 file with the following ranges:
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/assets/msmt_e2e_tests/attribution_scope/
Dattribution_scope_smaller_attribution_scope_limit_deactivation.json46 // S2: attribution_scope_limit -> 4, priority -> 101
85 // 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]
Dattribution_scope_different_max_event_states_deactivation.json47 // 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.
Dattribution_scope_basic.json44 // S2: attribution scopes -> ["2"], destinations -> [D1]
158 // S1 should be selected to match the attribution scope; S2 should be deactivated after
230 // S2 matches the attribution scope but was deactivated after losing attribution at T1,
Dattribution_scope_highest_priority.json44 // S2: attribution scopes -> ["1"], destinations -> [D1], priority -> 102
119 // S2 should be selected to match the attribution scope and has the highest priority.
Dattribution_scope_older_scopes_removed.json47 // 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.
Dattribution_scope_information_gain.json45 // S2: event, attribution scopes -> ["1"], destinations -> [D2], priority -> 102
228 … // S4 should be selected to match the attribution scope and S2 with higher priority was rejected.
Dattribution_scope_multiple_trigger_attribution_scopes.json44 // S2: attribution scopes -> ["2"], destinations -> [D1], priority -> 102
Dattribution_scope_multiple_destinations.json51 // S2: attribution scopes -> ["1"], destinations -> [D2], priority -> 102
/packages/modules/AdServices/adservices/tests/unittest/service-core/assets/msmt_e2e_tests/fifo_destinations/
Dfifo_destination_with_reports_deletion.json13 …// S1: Has one common web destination with S4. It's the oldest source but S2 gets deleted because …
43 // S2
77 …// 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 it
247 // T2: Attributes to S2
356 // T5: Fails to attribute as S2 was deleted
Dfifo_destination_without_reports_deletion.json43 // S2
77 …// 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 it
247 // T2: Attributes to S2
356 // T5: Fails to attribute as S2 was deleted
/packages/modules/GeoTZ/tzs2storage/tools/src/proto/
Dgeotz_protos.proto24 // 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).
/packages/services/Telephony/utils/satellite/s2storage/
DAndroid.bp15 // 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.
/packages/services/Telephony/utils/satellite/tools/
DAndroid.bp33 // 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.
/packages/modules/GeoTZ/data_pipeline/src/main/proto/
Ds2_protos.proto28 // 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.
/packages/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/testing/
DAndroidSdk.java65 S2(SC_V2), enumConstant
98 return S2; in forLevel()
DAbstractSdkLevelSupportedRule.java191 ranges.add(Range.forAtLeast(Level.S2.getLevel()));
307 return getDeviceApiLevel().isAtLeast(Level.S2);
/packages/modules/GeoTZ/s2storage/
DAndroid.bp15 // Library for read-only access to TZ S2 data files.
DREADME.md1 This directory contains files related to storage of read-only S2 data in blocks.
/packages/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/meta_testing/
DTestAnnotations.java50 case S2: in newAnnotationForAtLeast()
/packages/modules/GeoTZ/data_pipeline/
DAndroid.bp88 // Converts TzS2Polygon proto files to TsS2CellUnion proto files at a maximum S2 level.

12