Home | History | Annotate | Download | only in tzdatacheck

Lines Matching full:distro

33 // The name of the directory that holds a staged time zone update distro. If this exists it should
35 // See also com.android.timezone.distro.installer.TimeZoneDistroInstaller.
38 // The name of the directory that holds the (optional) installed time zone update distro.
39 // See also com.android.timezone.distro.installer.TimeZoneDistroInstaller.
43 // See also com.android.timezone.distro.installer.TimeZoneDistroInstaller.
46 // The name of the file containing the distro version information.
47 // See also com.android.timezone.distro.TimeZoneDistro / com.android.timezone.distro.DistroVersion.
51 // AAA.BBB is the major/minor version of the distro format (e.g. 001.001),
53 // DDD is the android revision for this rules version to allow for distro corrections (e.g. 001)
57 // The major version of the distro format supported by this code as a null-terminated char[].
58 // See also com.android.timezone.distro.TimeZoneDistro / com.android.timezone.distro.DistroVersion.
61 // The length of the distro format major version excluding the \0
64 // The minor version of the distro format supported by this code as a null-terminated char[].
65 // See also com.android.timezone.distro.TimeZoneDistro / com.android.timezone.distro.DistroVersion.
68 // The length of the distro format minor version excluding the \0
71 // The length of the distro format version. e.g. 001.001
78 // Distro version bytes are: AAA.BBB|CCCCC - the rules version is CCCCC
81 // See also com.android.timezone.distro.TimeZoneDistro.
94 "Checks whether any timezone update distro in DATA_TZ_DIR is compatible with the\n"
306 * Deletes the timezone update distro directory.
311 LOG(WARNING) << "Deletion of distro dir " << distroDirName << " was not successful";
330 LOG(WARNING) << "Deletion of current distro " << dataCurrentDirName
340 LOG(WARNING) << "Current distro dir " << dataCurrentDirName
351 LOG(WARNING) << "Deletion of current distro " << dataCurrentDirName
374 LOG(WARNING) << "Deletion of current distro " << dataCurrentDirName
383 LOG(WARNING) << "Current distro dir " << dataCurrentDirName
418 LOG(WARNING) << "Staged distro dir " << dataStagedDirName
486 // Check the distro directory exists. If it does not, exit quickly: nothing to do.
489 LOG(INFO) << "timezone distro dir " << dataCurrentDirName
494 // If the distro directory path is not a directory or we can't stat() the path, exit with a
498 LOG(WARNING) << "Current distro dir " << dataCurrentDirName
503 // Check the installed distro version.
511 LOG(WARNING) << "distro version file " << distroVersionFileName
512 << " does not exist or is too short. Deleting distro dir.";
520 LOG(WARNING) << "distro version file " << distroVersionFileName
521 << " is not valid. Deleting distro dir.";
530 // Check the first 3 bytes of the distro version: these are the major version (e.g. 001).
537 LOG(INFO) << "distro version file " << distroVersionFileName
539 << ", was \"" << actualDistroVersion << "\". Deleting distro dir.";
540 // This implies there has been an OTA and the installed distro is not compatible with the
541 // new version of Android. Remove the installed distro.
547 // Check the last 3 bytes of the distro version: these are the minor version (e.g. 001).
548 // If the version in the distro is < the minor version required by this device it cannot be
555 LOG(INFO) << "distro version file " << distroVersionFileName
557 << ", was \"" << actualDistroVersion << "\". Deleting distro dir.";
558 // This implies there has been an OTA and the installed distro is not compatible with the
559 // new version of Android. Remove the installed distro.
583 // Compare the distro rules version against the system rules version.
588 LOG(INFO) << "Found an installed distro but it is valid. No action taken.";
594 // than the version installed in /data. Remove the installed distro.
595 LOG(INFO) << "timezone distro in " << dataCurrentDirName << " is older than data in "