Home
last modified time | relevance | path

Searched refs:timezone (Results 1 – 25 of 217) sorted by relevance

123456789

/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DMetaData.java43 public String timezone; // local timezone used for Instance expansion field in MetaData.Fields
89 fields.timezone = mFields.timezone; in getFields()
118 fields.timezone = mFields.timezone; in getFieldsLocked()
131 String timezone = null; in readLocked() local
140 timezone = cursor.getString(METADATA_INDEX_LOCAL_TIMEZONE); in readLocked()
151 mFields.timezone = timezone; in readLocked()
170 public void write(String timezone, long begin, long end, int startDay, int endDay) { in write() argument
174 writeLocked(timezone, begin, end); in write()
194 public void writeLocked(String timezone, long begin, long end) { in writeLocked() argument
197 values.put(CalendarMetaData.LOCAL_TIMEZONE, timezone); in writeLocked()
[all …]
/packages/modules/GeoTZ/s2storage/tools/src/java/com/android/timezone/location/tools/dump/
DTzS2RangeFileDumper.java17 package com.android.timezone.location.tools.dump;
19 import static com.android.timezone.location.tools.dump.DumpUtils.binaryStringLength;
20 import static com.android.timezone.location.tools.dump.DumpUtils.hexStringLength;
21 import static com.android.timezone.location.tools.dump.DumpUtils.zeroPadBinary;
22 import static com.android.timezone.location.tools.dump.DumpUtils.zeroPadHex;
24 import com.android.timezone.location.storage.tzs2range.TzS2RangeFileFormat;
25 import com.android.timezone.location.storage.tzs2range.read.HeaderBlock;
26 import com.android.timezone.location.storage.tzs2range.read.SuffixTableBlock;
27 import com.android.timezone.location.storage.tzs2range.read.SuffixTableExtraInfo;
28 import com.android.timezone.location.storage.tzs2range.read.TzS2RangeFileReader;
[all …]
DSuffixTableBlockDumper.java17 package com.android.timezone.location.tools.dump;
19 import static com.android.timezone.location.tools.dump.DumpUtils.binaryStringLength;
20 import static com.android.timezone.location.tools.dump.DumpUtils.createPrintWriter;
21 import static com.android.timezone.location.tools.dump.DumpUtils.generateDumpFile;
22 import static com.android.timezone.location.tools.dump.DumpUtils.hexStringLength;
23 import static com.android.timezone.location.tools.dump.DumpUtils.zeroPadBinary;
24 import static com.android.timezone.location.tools.dump.DumpUtils.zeroPadHex;
26 import com.android.timezone.location.storage.tzs2range.read.SuffixTableBlock;
/packages/modules/GeoTZ/s2storage/src/write/java/com/android/timezone/location/storage/tzs2range/write/
DSuffixTableWriter.java17 package com.android.timezone.location.storage.tzs2range.write;
19 import static com.android.timezone.location.storage.s2.S2Support.cellIdToString;
21 import com.android.timezone.location.storage.block.read.BlockData;
22 import com.android.timezone.location.storage.block.write.BlockWriter;
23 import com.android.timezone.location.storage.block.write.EmptyBlockWriter;
24 import com.android.timezone.location.storage.io.write.TypedOutputStream;
25 import com.android.timezone.location.storage.s2.S2Support;
26 import com.android.timezone.location.storage.table.packed.write.PackedTableWriter;
27 import com.android.timezone.location.storage.tzs2range.SuffixTableRange;
28 import com.android.timezone.location.storage.tzs2range.SuffixTableSharedData;
[all …]
DTzS2RangeFileWriter.java17 package com.android.timezone.location.storage.tzs2range.write;
19 import com.android.timezone.location.storage.block.write.BlockFileWriter;
20 import com.android.timezone.location.storage.block.write.BlockWriter;
21 import com.android.timezone.location.storage.block.write.EmptyBlockWriter;
22 import com.android.timezone.location.storage.s2.S2Support;
23 import com.android.timezone.location.storage.tzs2range.SuffixTableRange;
24 import com.android.timezone.location.storage.tzs2range.SuffixTableSharedData;
25 import com.android.timezone.location.storage.tzs2range.TzS2Range;
26 import com.android.timezone.location.storage.tzs2range.TzS2RangeFileFormat;
/packages/modules/GeoTZ/locationtzprovider/src/main/java/com/android/timezone/location/provider/core/
DOfflineLocationTimeZoneDelegate.java17 package com.android.timezone.location.provider.core;
19 import static com.android.timezone.location.provider.core.LogUtils.formatElapsedRealtimeMillis;
20 import static com.android.timezone.location.provider.core.LogUtils.formatUtcTime;
21 import static com.android.timezone.location.provider.core.LogUtils.logDebug;
22 import static com.android.timezone.location.provider.core.LogUtils.logWarn;
23 import static com.android.timezone.location.provider.core.Mode.MODE_DESTROYED;
24 import static com.android.timezone.location.provider.core.Mode.MODE_FAILED;
25 import static com.android.timezone.location.provider.core.Mode.MODE_STARTED;
26 import static com.android.timezone.location.provider.core.Mode.MODE_STOPPED;
27 import static com.android.timezone.location.provider.core.Mode.prettyPrintListenModeEnum;
[all …]
DMode.java16 package com.android.timezone.location.provider.core;
18 import static com.android.timezone.location.provider.core.LogUtils.formatElapsedRealtimeMillis;
19 import static com.android.timezone.location.provider.core.OfflineLocationTimeZoneDelegate.LOCATION_…
20 import static com.android.timezone.location.provider.core.OfflineLocationTimeZoneDelegate.LOCATION_…
21 import static com.android.timezone.location.provider.core.OfflineLocationTimeZoneDelegate.LOCATION_…
29 import com.android.timezone.location.common.PiiLoggable;
30 import com.android.timezone.location.common.PiiLoggables;
31 import com.android.timezone.location.provider.core.OfflineLocationTimeZoneDelegate.ListenModeEnum;
DEnvironment.java16 package com.android.timezone.location.provider.core;
18 import static com.android.timezone.location.provider.core.LogUtils.formatElapsedRealtimeMillis;
19 import static com.android.timezone.location.provider.core.Mode.prettyPrintListenModeEnum;
29 import com.android.timezone.location.common.PiiLoggable;
30 import com.android.timezone.location.common.PiiLoggables;
31 import com.android.timezone.location.lookup.GeoTimeZonesFinder;
32 import com.android.timezone.location.provider.core.OfflineLocationTimeZoneDelegate.ListenModeEnum;
33 import com.android.timezone.location.common.PiiLoggables.PiiLoggableValue;
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/timezone/location/storage/tzs2range/read/
DSuffixTableBlock.java17 package com.android.timezone.location.storage.tzs2range.read;
19 import static com.android.timezone.location.storage.s2.S2Support.cellIdToString;
20 import static com.android.timezone.location.storage.s2.S2Support.getS2Level;
22 import com.android.timezone.location.storage.block.read.BlockData;
23 import com.android.timezone.location.storage.table.packed.read.IntValueTypedPackedTable;
24 import com.android.timezone.location.storage.tzs2range.SuffixTableRange;
25 import com.android.timezone.location.storage.tzs2range.TzS2RangeFileFormat;
26 import com.android.timezone.location.storage.util.BitwiseUtils;
27 import com.android.timezone.location.storage.util.Visitor;
DTzS2RangeFileReader.java17 package com.android.timezone.location.storage.tzs2range.read;
19 import com.android.timezone.location.storage.block.read.Block;
20 import com.android.timezone.location.storage.block.read.BlockFileReader;
21 import com.android.timezone.location.storage.block.read.BlockInfo;
22 import com.android.timezone.location.storage.s2.S2Support;
23 import com.android.timezone.location.storage.tzs2range.BankedTzIdSets;
24 import com.android.timezone.location.storage.tzs2range.SuffixTableRange;
25 import com.android.timezone.location.storage.tzs2range.TzS2Range;
26 import com.android.timezone.location.storage.tzs2range.TzS2RangeFileFormat;
27 import com.android.timezone.location.storage.util.Conditions;
[all …]
DPopulatedSuffixTableBlock.java1 package com.android.timezone.location.storage.tzs2range.read;
3 import static com.android.timezone.location.storage.s2.S2Support.MAX_FACE_ID;
4 import static com.android.timezone.location.storage.s2.S2Support.cellIdToString;
5 import static com.android.timezone.location.storage.util.Conditions.checkStateInRange;
7 import com.android.timezone.location.storage.table.packed.read.IntValueTypedPackedTable;
8 import com.android.timezone.location.storage.table.reader.IntValueTable;
9 import com.android.timezone.location.storage.tzs2range.SuffixTableRange;
10 import com.android.timezone.location.storage.tzs2range.SuffixTableSharedData;
11 import com.android.timezone.location.storage.tzs2range.TzS2RangeFileFormat;
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/tzs2cellunions_to_tzs2ranges/
DTzS2CellUnionsToTzS2RangesTest.java17 package com.android.timezone.location.data_pipeline.steps.tzs2cellunions_to_tzs2ranges;
19 import static com.android.timezone.location.data_pipeline.steps.TestSupport.copyTestResource;
23 import com.android.timezone.location.data_pipeline.steps.TestSupport;
24 import com.android.timezone.location.data_pipeline.steps.Types.ProtoStorageFormat;
25 import com.android.timezone.location.data_pipeline.steps.Types.TzS2Ranges;
26 import com.android.timezone.location.data_pipeline.steps.TzIds;
27 import com.android.timezone.location.data_pipeline.steps.TzS2CellUnionsToTzS2Ranges;
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/tzs2polygons_tzs2cellunions/
DTzS2PolygonsToTzS2CellUnionsTest.java17 package com.android.timezone.location.data_pipeline.steps.tzs2polygons_tzs2cellunions;
19 import static com.android.timezone.location.data_pipeline.steps.TestSupport.copyTestResource;
23 import com.android.timezone.location.data_pipeline.steps.TestSupport;
24 import com.android.timezone.location.data_pipeline.steps.Types.ProtoStorageFormat;
25 import com.android.timezone.location.data_pipeline.steps.Types.TzS2CellUnion;
26 import com.android.timezone.location.data_pipeline.steps.TzIds;
27 import com.android.timezone.location.data_pipeline.steps.TzS2PolygonsToTzS2CellUnions;
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/geojsontz_to_tzs2polygons/
DGeoJsonTzToTzS2PolygonsTest.java17 package com.android.timezone.location.data_pipeline.steps.geojsontz_to_tzs2polygons;
19 import static com.android.timezone.location.data_pipeline.steps.TestSupport.copyTestResource;
23 import com.android.timezone.location.data_pipeline.steps.GeoJsonTzToTzS2Polygons;
24 import com.android.timezone.location.data_pipeline.steps.TestSupport;
25 import com.android.timezone.location.data_pipeline.steps.Types.ProtoStorageFormat;
26 import com.android.timezone.location.data_pipeline.steps.Types.TzS2Polygons;
27 import com.android.timezone.location.data_pipeline.steps.TzIds;
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/canonicalizetzs2polygons/
DCanonicalizeTzS2PolygonsTest.java17 package com.android.timezone.location.data_pipeline.steps.canonicalizetzs2polygons;
19 import static com.android.timezone.location.data_pipeline.steps.TestSupport.copyTestResource;
20 import static com.android.timezone.location.data_pipeline.steps.TestSupport.copyTestResourceWithout…
21 import static com.android.timezone.location.data_pipeline.steps.Types.DEFAULT_PROTO_STORAGE_FORMAT;
25 import com.android.timezone.location.data_pipeline.steps.CanonicalizeTzS2Polygons;
26 import com.android.timezone.location.data_pipeline.steps.TestSupport;
27 import com.android.timezone.location.data_pipeline.steps.Types.TzS2Polygons;
/packages/modules/GeoTZ/data_pipeline/src/main/java/com/android/timezone/location/data_pipeline/steps/
DTzS2CellUnionsToTzS2Ranges.java17 package com.android.timezone.location.data_pipeline.steps;
19 import com.android.timezone.location.common.LicenseSupport;
20 import com.android.timezone.location.common.LicenseSupport.License;
21 import com.android.timezone.location.data_pipeline.steps.Types.Pair;
22 import com.android.timezone.location.data_pipeline.steps.Types.ProtoStorageFormat;
23 import com.android.timezone.location.data_pipeline.steps.Types.TzS2CellUnion;
24 import com.android.timezone.location.data_pipeline.steps.Types.TzS2Range;
25 import com.android.timezone.location.data_pipeline.steps.Types.TzS2Ranges;
26 import com.android.timezone.location.data_pipeline.util.NamedFuture;
DCreateTzS2ProtoDataFile.java17 package com.android.timezone.location.data_pipeline.steps;
19 import com.android.timezone.location.common.LicenseSupport;
20 import com.android.timezone.location.common.LicenseSupport.License;
21 import com.android.timezone.location.data_pipeline.steps.Types.ProtoStorageFormat;
22 import com.android.timezone.location.data_pipeline.steps.Types.TzS2Range;
23 import com.android.timezone.location.data_pipeline.steps.Types.TzS2Ranges;
24 import com.android.timezone.location.tools.proto.GeotzProtos;
DTzS2PolygonsToTzS2CellUnions.java17 package com.android.timezone.location.data_pipeline.steps;
19 import com.android.timezone.location.common.LicenseSupport;
20 import com.android.timezone.location.common.LicenseSupport.License;
21 import com.android.timezone.location.data_pipeline.steps.Types.Pair;
22 import com.android.timezone.location.data_pipeline.steps.Types.ProtoStorageFormat;
23 import com.android.timezone.location.data_pipeline.steps.Types.TzS2CellUnion;
24 import com.android.timezone.location.data_pipeline.steps.Types.TzS2Polygons;
25 import com.android.timezone.location.data_pipeline.util.NamedFuture;
/packages/modules/GeoTZ/data_pipeline/
DAndroid.bp56 // Converts geojson time zone boundaries (from timezone-boundary-builder) to TzS2Polygon proto
60 main_class: "com.android.timezone.location.data_pipeline.steps.GeoJsonTzToTzS2Polygons",
70 main_class: "com.android.timezone.location.data_pipeline.steps.CanonicalizeTzS2Polygons",
79 main_class: "com.android.timezone.location.data_pipeline.steps.TzS2PolygonsToTzS2CellUnions",
88 main_class: "com.android.timezone.location.data_pipeline.steps.TzS2CellUnionsToTzS2Ranges",
98 main_class: "com.android.timezone.location.data_pipeline.steps.MergeTzS2Ranges",
108 main_class: "com.android.timezone.location.data_pipeline.steps.CreateTzS2ProtoDataFile",
124 main_class: "com.android.timezone.location.data_pipeline.tools.PrintTzS2RangeStats",
131 main_class: "com.android.timezone.location.data_pipeline.tools.PrintTzS2CellUnionStats",
/packages/modules/GeoTZ/s2storage/src/test/java/com/android/timezone/location/storage/tzs2range/write/
DBankedTzIdSetsPackerTest.java17 package com.android.timezone.location.storage.tzs2range.write;
19 import static com.android.timezone.location.storage.s2.S2Support.cellId;
20 import static com.android.timezone.location.storage.testing.MoreAsserts.assertThrows;
21 import static com.android.timezone.location.storage.testing.TestSupport.listOf;
22 import static com.android.timezone.location.storage.testing.TestSupport.setOf;
26 import com.android.timezone.location.storage.tzs2range.BankedTzIdSets;
27 import com.android.timezone.location.storage.tzs2range.TzS2Range;
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/createtzs2protodatafile/
DCreateTzS2ProtoDataFileTest.java17 package com.android.timezone.location.data_pipeline.steps.createtzs2protodatafile;
19 import static com.android.timezone.location.data_pipeline.steps.TestSupport.copyTestResource;
23 import com.android.timezone.location.data_pipeline.steps.CreateTzS2ProtoDataFile;
24 import com.android.timezone.location.data_pipeline.steps.TestSupport;
25 import com.android.timezone.location.data_pipeline.steps.Types.ProtoStorageFormat;
26 import com.android.timezone.location.tools.proto.GeotzProtos;
/packages/modules/GeoTZ/s2storage/src/test/java/com/android/timezone/location/storage/block/
DBlockFileTest.java17 package com.android.timezone.location.storage.block;
19 import static com.android.timezone.location.storage.testing.MoreAsserts.assertThrows;
25 import com.android.timezone.location.storage.block.read.Block;
26 import com.android.timezone.location.storage.block.read.BlockData;
27 import com.android.timezone.location.storage.block.read.BlockFileReader;
28 import com.android.timezone.location.storage.block.read.BlockInfo;
29 import com.android.timezone.location.storage.block.read.BlockMatcher;
30 import com.android.timezone.location.storage.block.write.BlockFileWriter;
/packages/modules/GeoTZ/locationtzprovider/src/main/java/com/android/timezone/location/provider/
DEnvironmentImpl.java16 package com.android.timezone.location.provider;
22 import static com.android.timezone.location.provider.core.LogUtils.LOG_TAG;
23 import static com.android.timezone.location.provider.core.LogUtils.formatElapsedRealtimeMillis;
24 import static com.android.timezone.location.provider.core.OfflineLocationTimeZoneDelegate.LOCATION_…
25 import static com.android.timezone.location.provider.core.OfflineLocationTimeZoneDelegate.LOCATION_…
42 import com.android.timezone.location.lookup.GeoTimeZonesFinder;
43 import com.android.timezone.location.provider.core.Cancellable;
44 import com.android.timezone.location.provider.core.Environment;
45 import com.android.timezone.location.provider.core.LocationListeningAccountant;
46 import com.android.timezone.location.provider.core.MetricsReporter;
[all …]
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/mergetzs2ranges/
DMergeTzS2RangesTest.java17 package com.android.timezone.location.data_pipeline.steps.mergetzs2ranges;
19 import static com.android.timezone.location.data_pipeline.steps.TestSupport.copyTestResource;
23 import com.android.timezone.location.data_pipeline.steps.MergeTzS2Ranges;
24 import com.android.timezone.location.data_pipeline.steps.TestSupport;
25 import com.android.timezone.location.data_pipeline.steps.Types.ProtoStorageFormat;
26 import com.android.timezone.location.data_pipeline.steps.Types.TzS2Ranges;
/packages/modules/GeoTZ/s2storage/tools/src/java/com/android/timezone/location/tools/
DCreateTzS2File.java17 package com.android.timezone.location.tools;
19 import com.android.timezone.location.common.LicenseSupport;
20 import com.android.timezone.location.storage.tzs2range.TzS2Range;
21 import com.android.timezone.location.storage.tzs2range.TzS2RangeFileFormat;
22 import com.android.timezone.location.storage.tzs2range.write.TzS2RangeFileWriter;
23 import com.android.timezone.location.tools.proto.GeotzProtos;

123456789