Searched refs:old_kernel_release (Results 1 – 2 of 2) sorted by relevance
27 bool IsKernelUpdateValid(const std::optional<KernelRelease>& old_kernel_release, in IsKernelUpdateValid() argument31 if (!old_kernel_release.has_value()) { in IsKernelUpdateValid()39 LOG(ERROR) << "Cannot update from GKI \"" << old_kernel_release->string() in IsKernelUpdateValid()46 if (old_kernel_release->kmi_version().tuple() > new_kernel_release->kmi_version().tuple()) { in IsKernelUpdateValid()47 LOG(ERROR) << "Cannot update from " << old_kernel_release->string() << " to " in IsKernelUpdateValid()54 if (old_kernel_release->android_release() > new_kernel_release->android_release()) { in IsKernelUpdateValid()55 LOG(ERROR) << "Cannot update from " << old_kernel_release->string() << " to " in IsKernelUpdateValid()62 if (old_kernel_release->kernel_version_tuple() > new_kernel_release->kernel_version_tuple()) { in IsKernelUpdateValid()63 LOG(ERROR) << "Cannot update from " << old_kernel_release->string() << " to " in IsKernelUpdateValid()68 LOG(INFO) << "Allow to update from " << old_kernel_release->string() << " to " in IsKernelUpdateValid()
28 bool IsKernelUpdateValid(const std::optional<KernelRelease>& old_kernel_release,