OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:tzdata
(Results
1 - 25
of
69
) sorted by null
1
2
3
/libcore/luni/src/test/java/libcore/util/
ZoneInfoDBTest.java
26
// The base
tzdata
file, always present on a device.
28
System.getenv("ANDROID_ROOT") + "/usr/share/zoneinfo/
tzdata
";
32
ZoneInfoDB.
TzData
data = new ZoneInfoDB.
TzData
(TZDATA_IN_ROOT);
33
ZoneInfoDB.
TzData
dataWithEmptyOverride =
34
new ZoneInfoDB.
TzData
(makeEmptyFile(), TZDATA_IN_ROOT);
41
ZoneInfoDB.
TzData
data = new ZoneInfoDB.
TzData
(TZDATA_IN_ROOT);
42
ZoneInfoDB.
TzData
dataWithCorruptOverride =
43
new ZoneInfoDB.
TzData
(makeCorruptFile(), TZDATA_IN_ROOT)
[
all
...]
/libcore/tzdata/tools/
createTzDataBundle.sh
6
# See libcore.
tzdata
.update.tools.CreateTzDataBundle for more information.
8
TOOLS_DIR=src/main/libcore/
tzdata
/update/tools
9
UPDATE_DIR=../update/src/main/libcore/
tzdata
/update
25
java -cp ${GEN_DIR} libcore.
tzdata
.update.tools.CreateTzDataBundle $@
tzupdate.properties
3
# This should be the
tzdata
version. e.g. "2015a". Lexicographical sort order
6
tzdata
.version=
11
checksum.file.local.1=../../../bionic/libc/zoneinfo/
tzdata
12
checksum.file.ondevice.1=/system/usr/share/zoneinfo/
tzdata
createIcuUpdateResources.sh
9
# ./createIcuUpdateResources.sh <
tzdata
tar.gz file> <ICU version>
19
echo "./createIcuUpdateResources.sh <
tzdata
tar.gz file> <ICU version>"
63
# Generate the
tzdata
.lst file used to configure which files are included.
66
TZ_FILES=
tzdata
.lst
/bionic/libc/zoneinfo/
Android.mk
4
LOCAL_MODULE :=
tzdata
16
LOCAL_MODULE :=
tzdata
-host
19
LOCAL_SRC_FILES :=
tzdata
/external/icu/icu4c/source/tools/tzcode/
Makefile.in
12
ifeq ($(
TZDATA
),)
13
TZDATA
= $(firstword $(wildcard ./
tzdata
*.tar.gz) $(wildcard $(srcdir)/
tzdata
*.tar.gz))
42
ifeq ($(
TZDATA
),)
44
@echo ERROR "
tzdata
*.tar.gz" can\'t be found.
59
ifeq ($(
TZDATA
),)
62
@echo ERROR "
tzdata
*.tar.gz" can\'t be found.
65
tzorig: $(TZCODE) $(
TZDATA
)
69
gunzip -d < $(
TZDATA
) | ( cd $@ ; tar xf -
[
all
...]
readme.txt
65
1. Obtain the current versions of tzdataYYYYV.tar.gz (aka `
tzdata
') from
69
$ wget "ftp://ftp.iana.org/tz/releases/
tzdata
*.tar.gz"
71
2. Copy only one
tzdata
*.tar.gz file into the icu/source/tools/tzcode/
74
*** Make sure you only have ONE FILE named
tzdata
*.tar.gz in the
85
tzcode and compile the original
tzdata
with icu supplemental data
icuzones
6
#
tzdata
time zone files, for consistent parsing by the tools that
7
# turn "Olson"
tzdata
into ICU's zoneinfo.txt.
/libcore/tzdata/update/src/test/libcore/tzdata/update/
TzDataBundleInstallerTest.java
16
package libcore.
tzdata
.update;
23
import libcore.
tzdata
.update.tools.TzDataBundleBuilder;
26
* Tests for {@link libcore.
tzdata
.update.TzDataBundleInstaller}.
30
private static final File SYSTEM_ZONE_INFO_FILE = new File("/system/usr/share/zoneinfo/
tzdata
");
64
ConfigBundle
tzData
= createValidTzDataBundle("2030a");
66
assertTrue(install(
tzData
));
67
assertTzDataInstalled(
tzData
);
104
ConfigBundle
tzData
= createValidTzDataBundle("2030a");
105
assertTrue(install(
tzData
));
106
assertTzDataInstalled(
tzData
);
[
all
...]
/libcore/tzdata/tools/src/main/libcore/tzdata/update/tools/
CreateTzDataBundle.java
16
package libcore.
tzdata
.update.tools;
26
import libcore.
tzdata
.update.ConfigBundle;
27
import libcore.
tzdata
.update.FileUtils;
33
*
tzdata
.properties file - the file describing the bundle (see template file in
tzdata
/tools)
53
.setTzDataVersion(getMandatoryProperty(p, "
tzdata
.version"))
TzDataBundleBuilder.java
16
package libcore.
tzdata
.update.tools;
25
import libcore.
tzdata
.update.ConfigBundle;
61
* Builds a {@link libcore.
tzdata
.update.ConfigBundle}.
/system/core/tzdatacheck/
tzdatacheck.cpp
32
static const char* TZDATA_FILENAME = "/
tzdata
";
33
//
tzdata
file header (as much as we need for the version):
40
"Compares the headers of two
tzdata
files. If the one in SYSTEM_TZ_DIR is the\n"
57
PLOG(FATAL) << "Error opening
tzdata
file " << tzDataFileName;
68
/* Checks the contents of headerBytes. It is a fatal error if it not a
tzdata
header. */
70
if (strncmp("
tzdata
", headerBytes, 6) != 0) {
71
LOG(FATAL) << fileName << " does not start with the expected bytes (
tzdata
)";
193
LOG(INFO) << "
tzdata
file " << dataTzDataFileName << " does not exist. No action required.";
210
LOG(INFO) << "
tzdata
file " << dataTzDataFileName << " is the newer than "
214
LOG(INFO) << "
tzdata
file " << dataTzDataFileName << " is the same as or older than
[
all
...]
/libcore/tzdata/update_test_app/
AndroidManifest.xml
3
package="libcore.
tzdata
.update_test_app.installupdatetestapp" >
24
android:authorities="libcore.
tzdata
.update_test_app.fileprovider"
/libcore/luni/src/main/java/libcore/util/
ZoneInfoDB.java
30
* Olson
tzdata
as the source of time zone information. However, to conserve
37
private static final
TzData
DATA =
38
new
TzData
(System.getenv("ANDROID_DATA") + "/misc/zoneinfo/current/
tzdata
",
39
System.getenv("ANDROID_ROOT") + "/usr/share/zoneinfo/
tzdata
");
41
public static class
TzData
{
83
public
TzData
(String... paths) {
90
// We didn't find any usable
tzdata
on disk, so let's just hard-code knowledge of "GMT".
93
System.logE("Couldn't find any
tzdata
!");
127
System.logE("
tzdata
file \"" + path + "\" was present but invalid!", ex)
[
all
...]
/external/icu/tools/
README.android
6
update-
tzdata
.py
7
- downloads
tzdata
updates and regenerates the ICU and
10
with
tzdata
updates that should be applied at the same time.
update-tzdata.py
33
return open('%s/
tzdata
' % bionic_libc_zoneinfo_dir).read().split('\x00', 1)[0]
108
new_version = re.search('(
tzdata
.+)\\.tar\\.gz', data_filename).group(1)
138
print 'Looking for new
tzdata
...'
169
print 'Found new
tzdata
: %s' % filename
182
print 'You already have the latest
tzdata
in bionic (%s)!' % current_version
/cts/tests/core/libcore/tzdata/
Android.mk
22
LOCAL_PACKAGE_NAME := android.core.tests.libcore.package.
tzdata
AndroidManifest.xml
19
package="android.core.tests.libcore.package.
tzdata
">
/libcore/tzdata/
Android.mk
21
# Library of tools classes for
tzdata
updates. Not required on device, except in tests.
31
# Library of support classes for
tzdata
updates. Shared between update generation and
/prebuilts/go/darwin-x86/lib/time/
update.bash
19
curl -O http://www.iana.org/time-zones/repository/releases/
tzdata
$DATA.tar.gz
21
tar xzf
tzdata
$DATA.tar.gz
/prebuilts/go/linux-x86/lib/time/
update.bash
19
curl -O http://www.iana.org/time-zones/repository/releases/
tzdata
$DATA.tar.gz
21
tar xzf
tzdata
$DATA.tar.gz
/libcore/
Android.mk
22
subdirs := benchmarks
tzdata
ojluni
JavaLibrary.mk
94
LOCAL_REQUIRED_MODULES :=
tzdata
111
LOCAL_REQUIRED_MODULES :=
tzdata
134
LOCAL_REQUIRED_MODULES :=
tzdata
170
LOCAL_REQUIRED_MODULES :=
tzdata
187
LOCAL_REQUIRED_MODULES :=
tzdata
290
LOCAL_REQUIRED_MODULES :=
tzdata
-host
307
LOCAL_REQUIRED_MODULES :=
tzdata
-host
323
LOCAL_REQUIRED_MODULES :=
tzdata
-host
/libcore/tzdata/update/src/main/libcore/tzdata/update/
ConfigBundle.java
16
package libcore.
tzdata
.update;
40
public static final String ZONEINFO_FILE_NAME = "
tzdata
";
/external/icu/icu4c/source/test/intltest/
tztest.h
111
// Some test case data is current date/
tzdata
version sensitive and producing errors
Completed in 831 milliseconds
1
2
3