Home
last modified time | relevance | path

Searched refs:rc (Results 1 – 3 of 3) sorted by relevance

/test/vts-testcase/kernel/encryption/
DKeymaster.cpp45 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()
[all …]
/test/vts/testcases/target/hal_lights/
Dhal_lights_basic_test.cpp35 int rc = hw_get_module_by_class(LIGHTS_HARDWARE_MODULE_ID, NULL, &module_); in VtsStructuralTestHalLightsBasicTest() local
36 if (rc || !module_) { in VtsStructuralTestHalLightsBasicTest()
42 rc = module_->methods->open( in VtsStructuralTestHalLightsBasicTest()
45 if (rc || !device_) { in VtsStructuralTestHalLightsBasicTest()
/test/vts/testcases/target/hal_power/
Dhal_power_basic_test.cpp35 int rc = in VtsStructuralTestHalPowerTest() local
37 if (rc || !module_) { in VtsStructuralTestHalPowerTest()