History log of /packages/apps/TimeZoneData/oem_template/data_app/testing/Android.mk
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9ac17071860d1f8ce66b09f2534b802ddedf449a 17-Jul-2017 Neil Fuller <nfuller@google.com> Move testing data files to system/timezone

This concentrates all the data files in system/timezone
and means when format changes occur they mostly occur in
system/timezone.

Bug: 31008728
Test: Manual
Change-Id: I002a45651d23eba5aff6bf30d4d72e4ea5bf9f1d
/packages/apps/TimeZoneData/oem_template/data_app/testing/Android.mk
8ece8967cc728d8008a615adbdfd8943757df227 17-Jul-2017 Neil Fuller <nfuller@google.com> Add specification of min-sdk-version during build

The min-sdk-version for the time zone data app needs to be
specified during the build to prevent the latest .apk being
installed on *all* devices.

For example, this is what will prevent R .apks being being
installed on P devices. The R .apk will have a min-sdk-version
matching the R API number, while the P .apk will have one
matching the P API number. When a P device is looking for
the a matching .apk it won't be able to use the R one (since
that .apk requires R min), so the device will pick the latest
P one instead. This relies on the application version codes
being arranged sensibly too, as per
https://developer.android.com/google/play/publishing/multiple-apks.html

Bug: 31008728
Test: Manual testing
Change-Id: Idd6d06271e035e9d6f8900b4a859cf4bb0c04570
/packages/apps/TimeZoneData/oem_template/data_app/testing/Android.mk
57b633a1a49b733e973aa95ecb09e20b1107b03e 14-Jul-2017 Neil Fuller <nfuller@google.com> Stop using Java resources in xTS test jar

Switch to using the correct/approved way of adding .apk
dependencies to xTS tests.

Bug: 31008728
Test: Ran pending PTS test (in internal branch)
Change-Id: Iddd8da167c38690099482200c10c77d1af652125
/packages/apps/TimeZoneData/oem_template/data_app/testing/Android.mk
be496c78fff54e78279fa742562381c5e04e280e 07-Jul-2017 Neil Fuller <nfuller@google.com> Multiple improvements/extensions for TimeZoneData

This change rearranges the testing dir structure to
be more hierarchical to enable a distinction between
test data and xTS test code.

The testing/ disto.zip files have been moved under
the output_data dir to match the structure found in
system/timezone.

This change also adds the oem_template directory that
can be used to bootstrap OEMs' own time zone data apps
and tests:

1) Moved the "demo" app files to be under under
oem_template/data_app.
2) Added an xTS test class / host library that can be used
in OEM-specific test suites by OEMs to make sure they have
integrated the time zone updates correctly.

Test: Manual
Test: make droid
Bug: 31008728

Merged-In: Ia4d4dc12647263acb4602cfcb1aa4f11026072f1
Change-Id: Ia4d4dc12647263acb4602cfcb1aa4f11026072f1
(cherry picked from commit 84c56bd0fc1878ed95fbea0c13613ea4e46acd54)
/packages/apps/TimeZoneData/oem_template/data_app/testing/Android.mk