Searched refs:rc (Results 1 – 3 of 3) sorted by relevance
45 static bool logKeystore2ExceptionIfPresent(::ndk::ScopedAStatus& rc, in logKeystore2ExceptionIfPresent() argument47 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() local83 if (logKeystore2ExceptionIfPresent(rc, "getSecurityLevel")) in Keymaster()96 auto rc = securityLevel->generateKey( in generateKey() local99 if (logKeystore2ExceptionIfPresent(rc, "generateKey")) return false; in generateKey()123 auto rc = securityLevel->importKey( in importKey() local126 if (logKeystore2ExceptionIfPresent(rc, "importKey")) return false; in importKey()[all …]
35 int rc = hw_get_module_by_class(LIGHTS_HARDWARE_MODULE_ID, NULL, &module_); in VtsStructuralTestHalLightsBasicTest() local36 if (rc || !module_) { in VtsStructuralTestHalLightsBasicTest()42 rc = module_->methods->open( in VtsStructuralTestHalLightsBasicTest()45 if (rc || !device_) { in VtsStructuralTestHalLightsBasicTest()
35 int rc = in VtsStructuralTestHalPowerTest() local37 if (rc || !module_) { in VtsStructuralTestHalPowerTest()