The link occurs in and UpdateEngine (AOSP’s update service).

auto counter = Keymaster::GetInstance()->GetRollbackIndex(); if (new_delta_version <= counter) RejectUpdate(); counter = new_delta_version;