Home | History | Annotate | Download | only in avbctl

Lines Matching defs:ab_suffix

91                         const std::string& ab_suffix,
96 ops, ab_suffix.c_str(), &verification_enabled)) {
106 if (ab_suffix != "") {
107 fprintf(stdout, " on slot with suffix %s", ab_suffix.c_str());
117 if (!avb_user_verification_set(ops, ab_suffix.c_str(), enable_verification)) {
125 if (ab_suffix != "") {
126 fprintf(stdout, " on slot with suffix %s", ab_suffix.c_str());
136 int do_get_verification(AvbOps* ops, const std::string& ab_suffix) {
140 ops, ab_suffix.c_str(), &verification_enabled)) {
148 if (ab_suffix != "") {
149 fprintf(stdout, " on slot with suffix %s", ab_suffix.c_str());
160 const std::string& ab_suffix,
164 if (!avb_user_verity_get(ops, ab_suffix.c_str(), &verity_enabled)) {
174 if (ab_suffix != "") {
175 fprintf(stdout, " on slot with suffix %s", ab_suffix.c_str());
185 if (!avb_user_verity_set(ops, ab_suffix.c_str(), enable_verity)) {
192 if (ab_suffix != "") {
193 fprintf(stdout, " on slot with suffix %s", ab_suffix.c_str());
203 int do_get_verity(AvbOps* ops, const std::string& ab_suffix) {
206 if (!avb_user_verity_get(ops, ab_suffix.c_str(), &verity_enabled)) {
212 if (ab_suffix != "") {
213 fprintf(stdout, " on slot with suffix %s", ab_suffix.c_str());
243 std::string ab_suffix = get_ab_suffix();
283 ret = do_set_verity(ops, ab_suffix, false);
286 ret = do_set_verity(ops, ab_suffix, true);
289 ret = do_get_verity(ops, ab_suffix);
292 ret = do_set_verification(ops, ab_suffix, false);
295 ret = do_set_verification(ops, ab_suffix, true);
298 ret = do_get_verification(ops, ab_suffix);