Searched refs:resultToStatus (Results 1 – 1 of 1) sorted by relevance
31 ::ndk::ScopedAStatus resultToStatus(Result<void> r) { in resultToStatus() function53 return resultToStatus(setValue(secure_env::OemLockField::ALLOWED_BY_CARRIER, in_allowed)); in setOemUnlockAllowedByCarrier()57 return resultToStatus(requestValue(secure_env::OemLockField::ALLOWED_BY_CARRIER, out_allowed)); in isOemUnlockAllowedByCarrier()61 return resultToStatus(setValue(secure_env::OemLockField::ALLOWED_BY_DEVICE, in_allowed)); in setOemUnlockAllowedByDevice()65 return resultToStatus(requestValue(secure_env::OemLockField::ALLOWED_BY_DEVICE, out_allowed)); in isOemUnlockAllowedByDevice()