Lines Matching refs:rc
45 static bool logKeystore2ExceptionIfPresent(::ndk::ScopedAStatus& rc, in logKeystore2ExceptionIfPresent() argument
47 if (rc.isOk()) return false; in logKeystore2ExceptionIfPresent()
49 auto exception_code = rc.getExceptionCode(); in logKeystore2ExceptionIfPresent()
53 << rc.getServiceSpecificError(); in logKeystore2ExceptionIfPresent()
81 auto rc = keystore2Service->getSecurityLevel( in Keymaster() local
83 if (logKeystore2ExceptionIfPresent(rc, "getSecurityLevel")) in Keymaster()
96 auto rc = securityLevel->generateKey( in generateKey() local
99 if (logKeystore2ExceptionIfPresent(rc, "generateKey")) return false; in generateKey()
123 auto rc = securityLevel->importKey( in importKey() local
126 if (logKeystore2ExceptionIfPresent(rc, "importKey")) return false; in importKey()
150 auto rc = securityLevel->convertStorageKeyToEphemeral( in exportKey() local
153 if (logKeystore2ExceptionIfPresent(rc, "exportKey")) goto out; in exportKey()